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: #43230
Reviewed-By: Tobias Nießen <[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 bengl committed May 30, 2022
1 parent 09da764 commit df69146
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 38 deletions.
7 changes: 3 additions & 4 deletions tools/lint-md/lint-md.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -4935,7 +4935,6 @@ const htmlBlockNames = [
'p',
'param',
'section',
'source',
'summary',
'table',
'tbody',
Expand Down Expand Up @@ -6712,7 +6711,7 @@ function createTokenizer(parser, initialize, from) {
construct.name &&
context.parser.constructs.disable.null.includes(construct.name)
) {
return nok()
return nok(code)
}
return construct.tokenize.call(
fields ? Object.assign(Object.create(context), fields) : context,
Expand Down Expand Up @@ -11223,7 +11222,7 @@ function peekDelete() {
return '~'
}

function markdownTable(table, options = {}) {
function markdownTable(table, options) {
const align = (options.align || []).concat();
const stringLength = options.stringLength || defaultStringLength;
const alignments = [];
Expand Down Expand Up @@ -21324,7 +21323,7 @@ function translateLevel(level) {
has16m: level >= 3,
};
}
function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true}) {
const noFlagForceColor = envForceColor();
if (noFlagForceColor !== undefined) {
flagForceColor = noFlagForceColor;
Expand Down
66 changes: 33 additions & 33 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": "^22.0.0",
"@rollup/plugin-node-resolve": "^13.3.0",
"rollup": "^2.74.1",
"rollup": "^2.75.1",
"rollup-plugin-cleanup": "^3.2.1"
}
}

0 comments on commit df69146

Please sign in to comment.