Skip to content

Commit ec6de11

Browse files
TrottBethGriggs
authored andcommittedSep 21, 2021
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 <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>
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

+1-1
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

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.