Skip to content

Commit 1676626

Browse files
committed
1 parent 817f0b1 commit 1676626

File tree

157 files changed

+1456
-26961
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+1456
-26961
lines changed

node_modules/.gitignore

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,11 @@
2525
!/@npmcli/map-workspaces
2626
!/@npmcli/map-workspaces/node_modules/
2727
/@npmcli/map-workspaces/node_modules/*
28-
!/@npmcli/map-workspaces/node_modules/glob
29-
!/@npmcli/map-workspaces/node_modules/jackspeak
3028
!/@npmcli/map-workspaces/node_modules/minimatch
31-
!/@npmcli/map-workspaces/node_modules/path-scurry
3229
!/@npmcli/metavuln-calculator
3330
!/@npmcli/name-from-folder
3431
!/@npmcli/node-gyp
3532
!/@npmcli/package-json
36-
!/@npmcli/package-json/node_modules/
37-
/@npmcli/package-json/node_modules/*
38-
!/@npmcli/package-json/node_modules/glob
39-
!/@npmcli/package-json/node_modules/jackspeak
40-
!/@npmcli/package-json/node_modules/minimatch
41-
!/@npmcli/package-json/node_modules/path-scurry
4233
!/@npmcli/promise-spawn
4334
!/@npmcli/query
4435
!/@npmcli/redact
@@ -68,12 +59,6 @@
6859
!/binary-extensions
6960
!/brace-expansion
7061
!/cacache
71-
!/cacache/node_modules/
72-
/cacache/node_modules/*
73-
!/cacache/node_modules/glob
74-
!/cacache/node_modules/jackspeak
75-
!/cacache/node_modules/minimatch
76-
!/cacache/node_modules/path-scurry
7762
!/chalk
7863
!/chownr
7964
!/ci-info
@@ -100,6 +85,9 @@
10085
!/foreground-child
10186
!/fs-minipass
10287
!/glob
88+
!/glob/node_modules/
89+
/glob/node_modules/*
90+
!/glob/node_modules/minimatch
10391
!/graceful-fs
10492
!/hosted-git-info
10593
!/http-cache-semantics
@@ -156,9 +144,12 @@
156144
!/node-gyp/node_modules/@npmcli/agent
157145
!/node-gyp/node_modules/cacache
158146
!/node-gyp/node_modules/chownr
147+
!/node-gyp/node_modules/glob
148+
!/node-gyp/node_modules/jackspeak
159149
!/node-gyp/node_modules/lru-cache
160150
!/node-gyp/node_modules/make-fetch-happen
161151
!/node-gyp/node_modules/mkdirp
152+
!/node-gyp/node_modules/path-scurry
162153
!/node-gyp/node_modules/tar
163154
!/node-gyp/node_modules/yallist
164155
!/nopt
@@ -185,9 +176,6 @@
185176
!/parse-conflict-json
186177
!/path-key
187178
!/path-scurry
188-
!/path-scurry/node_modules/
189-
/path-scurry/node_modules/*
190-
!/path-scurry/node_modules/lru-cache
191179
!/postcss-selector-parser
192180
!/proc-log
193181
!/proggy
Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
export default function ansiRegex({onlyFirst = false} = {}) {
22
// Valid string terminator sequences are BEL, ESC\, and 0x9c
33
const ST = '(?:\\u0007|\\u001B\\u005C|\\u009C)';
4-
const pattern = [
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=><~]))',
7-
].join('|');
4+
5+
// OSC sequences only: ESC ] ... ST (non-greedy until the first ST)
6+
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
7+
8+
// CSI and related: ESC/C1, optional intermediates, optional params (supports ; and :) then final byte
9+
const csi = '[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]';
10+
11+
const pattern = `${osc}|${csi}`;
812

913
return new RegExp(pattern, onlyFirst ? undefined : 'g');
1014
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ansi-regex",
3-
"version": "6.1.0",
3+
"version": "6.2.2",
44
"description": "Regular expression for matching ANSI escape codes",
55
"license": "MIT",
66
"repository": "chalk/ansi-regex",

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strip-ansi",
3-
"version": "7.1.0",
3+
"version": "7.1.2",
44
"description": "Strip ANSI escape codes from a string",
55
"license": "MIT",
66
"repository": "chalk/strip-ansi",
@@ -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
},

node_modules/@npmcli/map-workspaces/node_modules/glob/package.json

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)