Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fca3391

Browse filesBrowse files
nodejs-github-botdanielleadams
authored andcommitted
tools: update lint-md-dependencies to rollup@3.19.1
PR-URL: #47045 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 5501d12 commit fca3391
Copy full SHA for fca3391

File tree

Expand file treeCollapse file tree

3 files changed

+12
-12
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

3 files changed

+12
-12
lines changed
Open diff view settings
Collapse file

‎tools/lint-md/lint-md.mjs‎

Copy file name to clipboardExpand all lines: tools/lint-md/lint-md.mjs
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11966,20 +11966,20 @@ function parseParameters(value) {
1196611966
const parameters = {};
1196711967
return value
1196811968
.replace(
11969-
/\s+([-\w]+)(?:=(?:"((?:\\[\s\S]|[^"])+)"|'((?:\\[\s\S]|[^'])+)'|((?:\\[\s\S]|[^"'\s])+)))?/gi,
11969+
/\s+([-\w]+)(?:=(?:"((?:\\[\s\S]|[^"])*)"|'((?:\\[\s\S]|[^'])*)'|((?:\\[\s\S]|[^"'\s])+)))?/gi,
1197011970
replacer
1197111971
)
1197211972
.replace(/\s+/g, '')
1197311973
? null
1197411974
: parameters
1197511975
function replacer(_, $1, $2, $3, $4) {
11976-
let value = $2 || $3 || $4 || '';
11976+
let value = $2 === undefined ? ($3 === undefined ? $4 : $3) : $2;
1197711977
const number = Number(value);
11978-
if (value === 'true' || value === '') {
11978+
if (value === 'true' || value === undefined) {
1197911979
value = true;
1198011980
} else if (value === 'false') {
1198111981
value = false;
11982-
} else if (!Number.isNaN(number)) {
11982+
} else if (value.trim() && !Number.isNaN(number)) {
1198311983
value = number;
1198411984
}
1198511985
parameters[$1] = value;
Collapse file

‎tools/lint-md/package-lock.json‎

Copy file name to clipboardExpand all lines: tools/lint-md/package-lock.json
+7-7Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file

‎tools/lint-md/package.json‎

Copy file name to clipboardExpand all lines: tools/lint-md/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"devDependencies": {
1717
"@rollup/plugin-commonjs": "^24.0.1",
1818
"@rollup/plugin-node-resolve": "^15.0.1",
19-
"rollup": "^3.18.0",
19+
"rollup": "^3.19.1",
2020
"rollup-plugin-cleanup": "^3.2.1"
2121
}
2222
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.