Skip to content

Commit ec6de11

Browse files
TrottBethGriggs
authored andcommitted
tools: update ansi-regex in lint-md rollup
Update ansi-regex from 6.0.0 to 6.0.1. Refs: https://snyk.io/vuln/SNYK-JS-ANSIREGEX-1583908 PR-URL: #40112 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Qingyu Deng <[email protected]> Reviewed-By: Tobias Nießen <[email protected]>
1 parent 7376edc commit ec6de11

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tools/lint-md.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29678,7 +29678,7 @@ const supportsColor = {
2967829678

2967929679
function ansiRegex({onlyFirst = false} = {}) {
2968029680
const pattern = [
29681-
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
29681+
'[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
2968229682
'(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'
2968329683
].join('|');
2968429684

tools/node-lint-md-cli-rollup/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)