Skip to content

Commit

Permalink
tools: update lint-md-dependencies to rollup@3.2.5
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
nodejs-github-bot authored and danielleadams committed Dec 28, 2022
1 parent b496cdd commit 6d60314
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 15 deletions.
16 changes: 15 additions & 1 deletion tools/lint-md/lint-md.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11097,8 +11097,22 @@ const gfmStrikethroughFromMarkdown = {
enter: {strikethrough: enterStrikethrough},
exit: {strikethrough: exitStrikethrough}
};
const constructsWithoutStrikethrough = [
'autolink',
'destinationLiteral',
'destinationRaw',
'reference',
'titleQuote',
'titleApostrophe'
];
const gfmStrikethroughToMarkdown = {
unsafe: [{character: '~', inConstruct: 'phrasing'}],
unsafe: [
{
character: '~',
inConstruct: 'phrasing',
notInConstruct: constructsWithoutStrikethrough
}
],
handlers: {delete: handleDelete}
};
handleDelete.peek = peekDelete;
Expand Down
26 changes: 13 additions & 13 deletions tools/lint-md/package-lock.json

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

2 changes: 1 addition & 1 deletion tools/lint-md/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-node-resolve": "^15.0.1",
"rollup": "^3.2.3",
"rollup": "^3.2.5",
"rollup-plugin-cleanup": "^3.2.1"
}
}

0 comments on commit 6d60314

Please sign in to comment.