deps: glob@11.0.3 · npm/cli@1676626 · GitHub
Skip to content

Commit 1676626

Browse files
committed
deps: glob@11.0.3
1 parent 817f0b1 commit 1676626

157 files changed

Lines changed: 1456 additions & 26961 deletions

File tree

Some content is hidden

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

node_modules/.gitignore

Lines changed: 6 additions & 18 deletions
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

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)