Skip to content

Commit

Permalink
tools: update lint-md-dependencies
Browse files Browse the repository at this point in the history
* @rollup/plugin-commonjs@21.1.0
* @rollup/plugin-node-resolve@13.2.1
* rollup@2.70.2

PR-URL: nodejs#42759
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
  • Loading branch information
nodejs-github-bot authored and xtx1130 committed Apr 25, 2022
1 parent 1ade640 commit db4bf18
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 47 deletions.
22 changes: 11 additions & 11 deletions tools/lint-md/lint-md.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19297,13 +19297,13 @@ var jsYaml = {
const SEMVER_SPEC_VERSION = '2.0.0';
const MAX_LENGTH$2 = 256;
const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER ||
9007199254740991;
9007199254740991;
const MAX_SAFE_COMPONENT_LENGTH = 16;
var constants = {
SEMVER_SPEC_VERSION,
MAX_LENGTH: MAX_LENGTH$2,
MAX_SAFE_INTEGER: MAX_SAFE_INTEGER$1,
MAX_SAFE_COMPONENT_LENGTH
MAX_SAFE_COMPONENT_LENGTH,
};

var re$2 = {exports: {}};
Expand All @@ -19327,7 +19327,7 @@ const t = exports.t = {};
let R = 0;
const createToken = (name, value, isGlobal) => {
const index = R++;
debug(index, value);
debug(name, index, value);
t[name] = index;
src[index] = value;
re[index] = new RegExp(value, isGlobal ? 'g' : undefined);
Expand Down Expand Up @@ -19407,17 +19407,17 @@ createToken('HYPHENRANGELOOSE', `^\\s*(${src[t.XRANGEPLAINLOOSE]})` +
`(${src[t.XRANGEPLAINLOOSE]})` +
`\\s*$`);
createToken('STAR', '(<|>)?=?\\s*\\*');
createToken('GTE0', '^\\s*>=\\s*0\.0\.0\\s*$');
createToken('GTE0PRE', '^\\s*>=\\s*0\.0\.0-0\\s*$');
createToken('GTE0', '^\\s*>=\\s*0\\.0\\.0\\s*$');
createToken('GTE0PRE', '^\\s*>=\\s*0\\.0\\.0-0\\s*$');
}(re$2, re$2.exports));

const opts = ['includePrerelease', 'loose', 'rtl'];
const parseOptions$2 = options =>
!options ? {}
: typeof options !== 'object' ? { loose: true }
: opts.filter(k => options[k]).reduce((options, k) => {
options[k] = true;
return options
: opts.filter(k => options[k]).reduce((o, k) => {
o[k] = true;
return o
}, {});
var parseOptions_1 = parseOptions$2;

Expand All @@ -19438,7 +19438,7 @@ const compareIdentifiers$1 = (a, b) => {
const rcompareIdentifiers = (a, b) => compareIdentifiers$1(b, a);
var identifiers = {
compareIdentifiers: compareIdentifiers$1,
rcompareIdentifiers
rcompareIdentifiers,
};

const debug = debug_1;
Expand Down Expand Up @@ -19652,7 +19652,7 @@ class SemVer$2 {
}
}
if (identifier) {
if (this.prerelease[0] === identifier) {
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
if (isNaN(this.prerelease[1])) {
this.prerelease = [identifier, 0];
}
Expand All @@ -19671,7 +19671,7 @@ class SemVer$2 {
}
var semver = SemVer$2;

const {MAX_LENGTH} = constants;
const { MAX_LENGTH } = constants;
const { re, t } = re$2.exports;
const SemVer$1 = semver;
const parseOptions = parseOptions_1;
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.

6 changes: 3 additions & 3 deletions tools/lint-md/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"vfile-reporter": "^7.0.4"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.3",
"@rollup/plugin-node-resolve": "^13.1.3",
"rollup": "^2.70.1",
"@rollup/plugin-commonjs": "^21.1.0",
"@rollup/plugin-node-resolve": "^13.2.1",
"rollup": "^2.70.2",
"rollup-plugin-cleanup": "^3.2.1"
}
}

0 comments on commit db4bf18

Please sign in to comment.