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: #41315
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
  • Loading branch information
nodejs-github-bot authored and targos committed Jan 14, 2022
1 parent b2a87f7 commit 137c814
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 27 deletions.
9 changes: 8 additions & 1 deletion tools/lint-md/lint-md.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11296,7 +11296,14 @@ const gfmTableFromMarkdown = {
};
function enterTable(token) {
const align = token._align;
this.enter({type: 'table', align, children: []}, token);
this.enter(
{
type: 'table',
align: align.map((d) => (d === 'none' ? null : d)),
children: []
},
token
);
this.setData('inTable', true);
}
function exitTable(token) {
Expand Down
50 changes: 25 additions & 25 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": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.1",
"rollup": "^2.61.1",
"rollup": "^2.62.0",
"rollup-plugin-cleanup": "^3.2.1"
}
}

0 comments on commit 137c814

Please sign in to comment.