mirror of
https://code.forgejo.org/actions/setup-node.git
synced 2025-06-13 07:31:12 +00:00
.
This commit is contained in:
parent
a004f0ae58
commit
fc725ba36b
7280 changed files with 19 additions and 1796407 deletions
node_modules/prompts/dist/util
7
node_modules/prompts/dist/util/strip.js
generated
vendored
7
node_modules/prompts/dist/util/strip.js
generated
vendored
|
@ -1,7 +0,0 @@
|
|||
'use strict';
|
||||
|
||||
module.exports = str => {
|
||||
const pattern = ['[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[a-zA-Z\\d]*)*)?\\u0007)', '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PRZcf-ntqry=><~]))'].join('|');
|
||||
const RGX = new RegExp(pattern, 'g');
|
||||
return typeof str === 'string' ? str.replace(RGX, '') : str;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue