Skip to content

Commit

Permalink
tools: update ansi-regex in lint-md rollup
Browse files Browse the repository at this point in the history
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 <duhamelantoine1995@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Qingyu Deng <i@ayase-lab.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Trott authored and BethGriggs committed Sep 21, 2021

Verified

This commit was signed with the committer’s verified signature.
BethGriggs Bethany Griggs
1 parent 7376edc commit ec6de11
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion tools/lint-md.mjs
Original file line number Diff line number Diff line change
@@ -29678,7 +29678,7 @@ const supportsColor = {

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

12 changes: 6 additions & 6 deletions tools/node-lint-md-cli-rollup/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ec6de11

Please sign in to comment.