Skip to content

Commit 3053c65

Browse files
nodejs-github-botdanielleadams
authored andcommitted
tools: update lint-md-dependencies to rollup@3.2.5
PR-URL: #45332 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
1 parent 691da88 commit 3053c65

File tree

3 files changed

+29
-15
lines changed

3 files changed

+29
-15
lines changed

tools/lint-md/lint-md.mjs

+15-1
Original file line numberDiff line numberDiff line change
@@ -11097,8 +11097,22 @@ const gfmStrikethroughFromMarkdown = {
1109711097
enter: {strikethrough: enterStrikethrough},
1109811098
exit: {strikethrough: exitStrikethrough}
1109911099
};
11100+
const constructsWithoutStrikethrough = [
11101+
'autolink',
11102+
'destinationLiteral',
11103+
'destinationRaw',
11104+
'reference',
11105+
'titleQuote',
11106+
'titleApostrophe'
11107+
];
1110011108
const gfmStrikethroughToMarkdown = {
11101-
unsafe: [{character: '~', inConstruct: 'phrasing'}],
11109+
unsafe: [
11110+
{
11111+
character: '~',
11112+
inConstruct: 'phrasing',
11113+
notInConstruct: constructsWithoutStrikethrough
11114+
}
11115+
],
1110211116
handlers: {delete: handleDelete}
1110311117
};
1110411118
handleDelete.peek = peekDelete;

tools/lint-md/package-lock.json

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

tools/lint-md/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"devDependencies": {
1717
"@rollup/plugin-commonjs": "^23.0.2",
1818
"@rollup/plugin-node-resolve": "^15.0.1",
19-
"rollup": "^3.2.3",
19+
"rollup": "^3.2.5",
2020
"rollup-plugin-cleanup": "^3.2.1"
2121
}
2222
}

0 commit comments

Comments
 (0)