Skip to content

Commit

Permalink
tools: update lint-md-dependencies to rollup@4.1.5 unified@11.0.4
Browse files Browse the repository at this point in the history
PR-URL: nodejs#50461
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
nodejs-github-bot authored and anonrig committed Nov 9, 2023
1 parent f527e84 commit 779d509
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 74 deletions.
22 changes: 9 additions & 13 deletions tools/lint-md/lint-md.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3062,19 +3062,15 @@ function constructs(existing, list) {
function decodeNumericCharacterReference(value, base) {
const code = Number.parseInt(value, base);
if (
code < 9 ||
code === 11 ||
(code > 13 && code < 32) ||
(code > 126 && code < 160) ||
(code > 55_295 && code < 57_344) ||
(code > 64_975 && code < 65_008) ||
(code & 65_535) === 65_535 ||
(code & 65_535) === 65_534 ||
code > 1_114_111
) {
return '\uFFFD'
}
return String.fromCharCode(code)
code < 9 || code === 11 || code > 13 && code < 32 ||
code > 126 && code < 160 ||
code > 55_295 && code < 57_344 ||
code > 64_975 && code < 65_008 ||
(code & 65_535) === 65_535 || (code & 65_535) === 65_534 ||
code > 1_114_111) {
return "\uFFFD";
}
return String.fromCodePoint(code);
}

function normalizeIdentifier$1(value) {
Expand Down
118 changes: 59 additions & 59 deletions tools/lint-md/package-lock.json

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

4 changes: 2 additions & 2 deletions tools/lint-md/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"remark-preset-lint-node": "^5.0.0",
"remark-stringify": "^11.0.0",
"to-vfile": "^8.0.0",
"unified": "^11.0.3",
"unified": "^11.0.4",
"vfile-reporter": "^8.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-node-resolve": "^15.2.3",
"rollup": "^4.1.4",
"rollup": "^4.1.5",
"rollup-plugin-cleanup": "^3.2.1"
}
}

0 comments on commit 779d509

Please sign in to comment.