Skip to content

Commit

Permalink
tools: update lint-md-dependencies to [email protected]
Browse files Browse the repository at this point in the history
PR-URL: #45332
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Mohammed Keyvanzadeh <[email protected]>
  • Loading branch information
nodejs-github-bot authored and danielleadams committed Jan 3, 2023
1 parent 691da88 commit 3053c65
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 3053c65

Please sign in to comment.