diff --git a/tools/lint-md.js b/tools/lint-md.js index 57aeb202322736..411e4553db1228 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"; @@ -49762,8 +49762,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) }); }); } @@ -50540,6 +50540,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 5fccba999a5ecf..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.2.0", - "resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.2.0.tgz", - "integrity": "sha512-85wnJs7HyQlY3Ae5HRxPjJx5cFBvAAOSfSpmyNVb6Fs9HYoR9ipimAxWfl2M1gYVT2rBrod8Jzu415dOMukzOw==", + "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.2.0", - "resolved": "https://registry.npmjs.org/remark-preset-lint-node/-/remark-preset-lint-node-2.2.0.tgz", - "integrity": "sha512-85wnJs7HyQlY3Ae5HRxPjJx5cFBvAAOSfSpmyNVb6Fs9HYoR9ipimAxWfl2M1gYVT2rBrod8Jzu415dOMukzOw==", + "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",