Skip to content

Commit

Permalink
tools: update lint-md-dependencies to @rollup/plugin-node-resolve@13.1.2
Browse files Browse the repository at this point in the history
PR-URL: #41369
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
  • Loading branch information
nodejs-github-bot authored and danielleadams committed Jan 31, 2022
1 parent ad0bd0a commit eba60cd
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 47 deletions.
16 changes: 8 additions & 8 deletions tools/lint-md/lint-md.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import fs from 'fs';
import path$1 from 'path';
import { fileURLToPath, pathToFileURL, URL as URL$1 } from 'url';
import process$1 from 'process';
import process$2 from 'node:process';
import proc from 'process';
import process$1 from 'node:process';
import os from 'node:os';
import tty from 'node:tty';

Expand Down Expand Up @@ -266,13 +266,15 @@ class VFileMessage extends Error {
this.message = typeof reason === 'object' ? reason.message : reason;
this.stack = typeof reason === 'object' ? reason.stack : '';
this.reason = this.message;
this.fatal;
this.line = position.start.line;
this.column = position.start.column;
this.source = parts[0];
this.ruleId = parts[1];
this.position = position;
this.actual;
this.expected;
this.file;
this.fatal;
this.url;
this.note;
}
Expand All @@ -289,8 +291,6 @@ VFileMessage.prototype.source = null;
VFileMessage.prototype.ruleId = null;
VFileMessage.prototype.position = null;

const proc = process$1;

function isUrl(fileURLOrPath) {
return (
fileURLOrPath !== null &&
Expand Down Expand Up @@ -20815,13 +20815,13 @@ function compare(a, b, property) {
return String(a[property] || '').localeCompare(b[property] || '')
}

function hasFlag(flag, argv = process$2.argv) {
function hasFlag(flag, argv = process$1.argv) {
const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
const position = argv.indexOf(prefix + flag);
const terminatorPosition = argv.indexOf('--');
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
}
const {env} = process$2;
const {env} = process$1;
let flagForceColor;
if (
hasFlag('no-color')
Expand Down Expand Up @@ -20886,7 +20886,7 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
if (env.TERM === 'dumb') {
return min;
}
if (process$2.platform === 'win32') {
if (process$1.platform === 'win32') {
const osRelease = os.release().split('.');
if (
Number(osRelease[0]) >= 10
Expand Down
76 changes: 38 additions & 38 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 @@ -15,7 +15,7 @@
},
"devDependencies": {
"@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-node-resolve": "^13.1.1",
"@rollup/plugin-node-resolve": "^13.1.2",
"rollup": "^2.62.0",
"rollup-plugin-cleanup": "^3.2.1"
}
Expand Down

0 comments on commit eba60cd

Please sign in to comment.