Skip to content

Commit eb6498d

Browse files
committed
1 parent 475285b commit eb6498d

File tree

5 files changed

+26
-16
lines changed

5 files changed

+26
-16
lines changed

node_modules/@isaacs/cliui/node_modules/ansi-regex/index.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
export default function ansiRegex({onlyFirst = false} = {}) {
2+
// Valid string terminator sequences are BEL, ESC\, and 0x9c
3+
const ST = '(?:\\u0007|\\u001B\\u005C|\\u009C)';
24
const pattern = [
3-
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
4-
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
5+
`[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${ST})`,
6+
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))',
57
].join('|');
68

79
return new RegExp(pattern, onlyFirst ? undefined : 'g');

node_modules/@isaacs/cliui/node_modules/ansi-regex/package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ansi-regex",
3-
"version": "6.0.1",
3+
"version": "6.1.0",
44
"description": "Regular expression for matching ANSI escape codes",
55
"license": "MIT",
66
"repository": "chalk/ansi-regex",
@@ -12,6 +12,8 @@
1212
},
1313
"type": "module",
1414
"exports": "./index.js",
15+
"types": "./index.d.ts",
16+
"sideEffects": false,
1517
"engines": {
1618
"node": ">=12"
1719
},
@@ -51,8 +53,9 @@
5153
"pattern"
5254
],
5355
"devDependencies": {
56+
"ansi-escapes": "^5.0.0",
5457
"ava": "^3.15.0",
55-
"tsd": "^0.14.0",
56-
"xo": "^0.38.2"
58+
"tsd": "^0.21.0",
59+
"xo": "^0.54.2"
5760
}
5861
}

node_modules/wrap-ansi/node_modules/ansi-regex/index.js

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
export default function ansiRegex({onlyFirst = false} = {}) {
2+
// Valid string terminator sequences are BEL, ESC\, and 0x9c
3+
const ST = '(?:\\u0007|\\u001B\\u005C|\\u009C)';
24
const pattern = [
3-
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
4-
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
5+
`[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?${ST})`,
6+
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))',
57
].join('|');
68

79
return new RegExp(pattern, onlyFirst ? undefined : 'g');

node_modules/wrap-ansi/node_modules/ansi-regex/package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ansi-regex",
3-
"version": "6.0.1",
3+
"version": "6.1.0",
44
"description": "Regular expression for matching ANSI escape codes",
55
"license": "MIT",
66
"repository": "chalk/ansi-regex",
@@ -12,6 +12,8 @@
1212
},
1313
"type": "module",
1414
"exports": "./index.js",
15+
"types": "./index.d.ts",
16+
"sideEffects": false,
1517
"engines": {
1618
"node": ">=12"
1719
},
@@ -51,8 +53,9 @@
5153
"pattern"
5254
],
5355
"devDependencies": {
56+
"ansi-escapes": "^5.0.0",
5457
"ava": "^3.15.0",
55-
"tsd": "^0.14.0",
56-
"xo": "^0.38.2"
58+
"tsd": "^0.21.0",
59+
"xo": "^0.54.2"
5760
}
5861
}

package-lock.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -2977,9 +2977,9 @@
29772977
}
29782978
},
29792979
"node_modules/@isaacs/cliui/node_modules/ansi-regex": {
2980-
"version": "6.0.1",
2981-
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
2982-
"integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
2980+
"version": "6.1.0",
2981+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
2982+
"integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
29832983
"inBundle": true,
29842984
"license": "MIT",
29852985
"engines": {
@@ -18157,9 +18157,9 @@
1815718157
}
1815818158
},
1815918159
"node_modules/wrap-ansi/node_modules/ansi-regex": {
18160-
"version": "6.0.1",
18161-
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
18162-
"integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==",
18160+
"version": "6.1.0",
18161+
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
18162+
"integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
1816318163
"inBundle": true,
1816418164
"license": "MIT",
1816518165
"engines": {

0 commit comments

Comments
 (0)