From 484b8785827aa0676bed9d25612da36eb34a4c32 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Wed, 2 Jun 2021 16:45:51 -0700 Subject: [PATCH] tools: bump remark-preset-lint-node to 2.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/38910 Reviewed-By: Antoine du Hamel Reviewed-By: Michaƫl Zasso --- tools/lint-md.js | 7 +++-- .../node-lint-md-cli-rollup/package-lock.json | 30 +++++++++---------- tools/node-lint-md-cli-rollup/package.json | 2 +- 3 files changed, 20 insertions(+), 19 deletions(-) diff --git a/tools/lint-md.js b/tools/lint-md.js index 5c2f40abc7b43a..9dfa33e9614366 100644 --- a/tools/lint-md.js +++ b/tools/lint-md.js @@ -39714,7 +39714,7 @@ const dependencies$1 = { remark: "^13.0.0", "remark-gfm": "^1.0.0", "remark-lint": "^8.0.0", - "remark-preset-lint-node": "^2.0.1", + "remark-preset-lint-node": "^2.3.0", "unified-args": "^8.1.0" }; const main = "dist/index.js"; @@ -49757,8 +49757,8 @@ function prohibitedStrings (ast, file, strings) { results.forEach(({ result, index }) => { const message = val.yes ? `Use "${val.yes}" instead of "${result}"` : `Do not use "${result}"`; file.message(message, { - start: location.toPosition(initial + index), - end: location.toPosition(initial + index + [...result].length) + start: location.toPoint(initial + index), + end: location.toPoint(initial + index + [...result].length) }); }); } @@ -50535,6 +50535,7 @@ var plugins$2 = [ { yes: "GitHub" }, { no: "hostname", yes: "host name" }, { yes: "JavaScript" }, + { no: "[Ll]ong[ -][Tt]erm [Ss]upport", yes: "Long Term Support" }, { no: "Node", yes: "Node.js", ignoreNextTo: "-API" }, { yes: "Node.js" }, { no: "Node[Jj][Ss]", yes: "Node.js" }, diff --git a/tools/node-lint-md-cli-rollup/package-lock.json b/tools/node-lint-md-cli-rollup/package-lock.json index f2e9be4fc61bb5..70cf0ee00459dd 100644 --- a/tools/node-lint-md-cli-rollup/package-lock.json +++ b/tools/node-lint-md-cli-rollup/package-lock.json @@ -11,7 +11,7 @@ "remark": "^13.0.0", "remark-gfm": "^1.0.0", "remark-lint": "^8.0.0", - "remark-preset-lint-node": "^2.0.1", + "remark-preset-lint-node": "^2.3.0", "unified-args": "^8.1.0" }, "devDependencies": { @@ -1999,9 +1999,9 @@ } }, "node_modules/remark-lint-prohibited-strings": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/remark-lint-prohibited-strings/-/remark-lint-prohibited-strings-1.5.2.tgz", - "integrity": "sha512-1+WIHboeLxmAnlxTFW6XNfvxvhnC2WRxn0rGgcNp/M7CrANHhnadY2/YeXFLF9oY22SAylrxiPG9eAuUmJuW6w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/remark-lint-prohibited-strings/-/remark-lint-prohibited-strings-2.0.0.tgz", + "integrity": "sha512-N94RTdAT4qmYNBczNZEZbnpGvtl9GiLPO/xdG569IpbbtNFh5l+Nf5Mx5B1VeJMC8/hAR7wShag03Zf29MOO6Q==", "dependencies": { "escape-string-regexp": "^4.0.0", "unified-lint-rule": "^1.0.2", @@ -2111,9 +2111,9 @@ } }, "node_modules/remark-preset-lint-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.1.1.tgz", - "integrity": "sha512-3Cv4kDVaC8V0XsiK/ntdpOEztOx0v8L9DczQ3KRIN7QwyPS3Gjaq2DJ7wNglXVK4z7PekcND0mXK78eLduhwwA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.3.0.tgz", + "integrity": "sha512-k2whtqbZ0/RRH2ffumvsNEkpKrbrcYLA2K8bZ5bnPeM/jahmJukas0uk9cYXUmsfDLzV6kuJHaO0EAzaYmVvMg==", "dependencies": { "js-yaml": "^4.0.0", "remark-lint": "^8.0.0", @@ -2140,7 +2140,7 @@ "remark-lint-no-table-indentation": "^3.0.0", "remark-lint-no-tabs": "^2.0.0", "remark-lint-no-trailing-spaces": "^2.0.1", - "remark-lint-prohibited-strings": "^1.5.2", + "remark-lint-prohibited-strings": "^2.0.0", "remark-lint-rule-style": "^2.0.0", "remark-lint-strong-marker": "^2.0.0", "remark-lint-table-cell-padding": "^3.0.0", @@ -4142,9 +4142,9 @@ } }, "remark-lint-prohibited-strings": { - "version": "1.5.2", - "resolved": "https://registry.npmjs.org/remark-lint-prohibited-strings/-/remark-lint-prohibited-strings-1.5.2.tgz", - "integrity": "sha512-1+WIHboeLxmAnlxTFW6XNfvxvhnC2WRxn0rGgcNp/M7CrANHhnadY2/YeXFLF9oY22SAylrxiPG9eAuUmJuW6w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/remark-lint-prohibited-strings/-/remark-lint-prohibited-strings-2.0.0.tgz", + "integrity": "sha512-N94RTdAT4qmYNBczNZEZbnpGvtl9GiLPO/xdG569IpbbtNFh5l+Nf5Mx5B1VeJMC8/hAR7wShag03Zf29MOO6Q==", "requires": { "escape-string-regexp": "^4.0.0", "unified-lint-rule": "^1.0.2", @@ -4226,9 +4226,9 @@ } }, "remark-preset-lint-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.1.1.tgz", - "integrity": "sha512-3Cv4kDVaC8V0XsiK/ntdpOEztOx0v8L9DczQ3KRIN7QwyPS3Gjaq2DJ7wNglXVK4z7PekcND0mXK78eLduhwwA==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.3.0.tgz", + "integrity": "sha512-k2whtqbZ0/RRH2ffumvsNEkpKrbrcYLA2K8bZ5bnPeM/jahmJukas0uk9cYXUmsfDLzV6kuJHaO0EAzaYmVvMg==", "requires": { "js-yaml": "^4.0.0", "remark-lint": "^8.0.0", @@ -4255,7 +4255,7 @@ "remark-lint-no-table-indentation": "^3.0.0", "remark-lint-no-tabs": "^2.0.0", "remark-lint-no-trailing-spaces": "^2.0.1", - "remark-lint-prohibited-strings": "^1.5.2", + "remark-lint-prohibited-strings": "^2.0.0", "remark-lint-rule-style": "^2.0.0", "remark-lint-strong-marker": "^2.0.0", "remark-lint-table-cell-padding": "^3.0.0", diff --git a/tools/node-lint-md-cli-rollup/package.json b/tools/node-lint-md-cli-rollup/package.json index 146e5f78ec47b0..5d8913fb497463 100644 --- a/tools/node-lint-md-cli-rollup/package.json +++ b/tools/node-lint-md-cli-rollup/package.json @@ -14,7 +14,7 @@ "remark": "^13.0.0", "remark-gfm": "^1.0.0", "remark-lint": "^8.0.0", - "remark-preset-lint-node": "^2.0.1", + "remark-preset-lint-node": "^2.3.0", "unified-args": "^8.1.0" }, "main": "dist/index.js",