Skip to content

Commit

Permalink
tools: update lint-md-dependencies to rollup@2.75.5
Browse files Browse the repository at this point in the history
PR-URL: #43313
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
nodejs-github-bot authored and danielleadams committed Jun 13, 2022
1 parent d5d0f01 commit 7f45d69
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
6 changes: 3 additions & 3 deletions tools/lint-md/lint-md.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6711,7 +6711,7 @@ function createTokenizer(parser, initialize, from) {
construct.name &&
context.parser.constructs.disable.null.includes(construct.name)
) {
return nok(code)
return nok()
}
return construct.tokenize.call(
fields ? Object.assign(Object.create(context), fields) : context,
Expand Down Expand Up @@ -11222,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 @@ -21323,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
46 changes: 23 additions & 23 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.75.3",
"rollup": "^2.75.5",
"rollup-plugin-cleanup": "^3.2.1"
}
}

0 comments on commit 7f45d69

Please sign in to comment.