From a9990876f703e54e6905626f344cf4d0b198f7b3 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Sun, 10 Oct 2021 22:18:27 -0700 Subject: [PATCH] tools: update lint-md dependencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update lint-md dependencies and re-create lint-md.mjs. PR-URL: https://github.com/nodejs/node/pull/40404 Reviewed-By: Michaël Zasso Reviewed-By: Zijian Liu Reviewed-By: Antoine du Hamel --- tools/lint-md/lint-md.mjs | 241 +++++++++----------- tools/lint-md/package-lock.json | 380 ++++++++++++++++++++------------ tools/lint-md/package.json | 2 +- 3 files changed, 349 insertions(+), 274 deletions(-) diff --git a/tools/lint-md/lint-md.mjs b/tools/lint-md/lint-md.mjs index af678e476c23d2..bd893097132255 100644 --- a/tools/lint-md/lint-md.mjs +++ b/tools/lint-md/lint-md.mjs @@ -2379,7 +2379,7 @@ function initializeDocument(effects) { while (index--) { if ( // The token starts before the line ending… - childFlow.events[index][1].start.offset < lineStartOffset && + childFlow.events[index][1].start.offset < lineStartOffset && // …and either is not ended yet… (!childFlow.events[index][1].end || // …or ends after it. childFlow.events[index][1].end.offset > lineStartOffset) ) { @@ -6447,6 +6447,10 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) { code === null || code === 91 || (code === 93 && !data) || + /* To do: remove in the future once we’ve switched from + * `micromark-extension-footnote` to `micromark-extension-gfm-footnote`, + * which doesn’t need this */ + /* Hidden footnotes hook */ /* c8 ignore next 3 */ @@ -8468,6 +8472,10 @@ function tokenizeLabelStartImage(effects, ok, nok) { /** @type {State} */ function after(code) { + /* To do: remove in the future once we’ve switched from + * `micromark-extension-footnote` to `micromark-extension-gfm-footnote`, + * which doesn’t need this */ + /* Hidden footnotes hook */ /* c8 ignore next 3 */ @@ -8507,6 +8515,10 @@ function tokenizeLabelStartLink(effects, ok, nok) { /** @type {State} */ function after(code) { + /* To do: remove in the future once we’ve switched from + * `micromark-extension-footnote` to `micromark-extension-gfm-footnote`, + * which doesn’t need this */ + /* Hidden footnotes hook. */ /* c8 ignore next 3 */ @@ -10241,6 +10253,13 @@ const own$5 = {}.hasOwnProperty; */ const fromMarkdown = + /** + * @type {( + * ((value: Value, encoding: Encoding, options?: Options) => Root) & + * ((value: Value, options?: Options) => Root) + * )} + */ + /** * @param {Value} value * @param {Encoding} [encoding] @@ -10783,7 +10802,9 @@ function compiler(options = {}) { function onenterlistitemvalue(token) { if (getData('expectingFirstListItemValue')) { - const ancestor = this.stack[this.stack.length - 2]; + const ancestor = + /** @type {List} */ + this.stack[this.stack.length - 2]; ancestor.start = Number.parseInt(this.sliceSerialize(token), 10); setData('expectingFirstListItemValue'); } @@ -10792,14 +10813,18 @@ function compiler(options = {}) { function onexitcodefencedfenceinfo() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Code} */ + this.stack[this.stack.length - 1]; node.lang = data; } /** @type {Handle} */ function onexitcodefencedfencemeta() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Code} */ + this.stack[this.stack.length - 1]; node.meta = data; } /** @type {Handle} */ @@ -10814,7 +10839,9 @@ function compiler(options = {}) { function onexitcodefenced() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Code} */ + this.stack[this.stack.length - 1]; node.value = data.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ''); setData('flowCodeInside'); } @@ -10822,7 +10849,9 @@ function compiler(options = {}) { function onexitcodeindented() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Code} */ + this.stack[this.stack.length - 1]; node.value = data.replace(/(\r?\n|\r)$/g, ''); } /** @type {Handle} */ @@ -10830,7 +10859,9 @@ function compiler(options = {}) { function onexitdefinitionlabelstring(token) { // Discard label, use the source content instead. const label = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Definition} */ + this.stack[this.stack.length - 1]; node.label = label; node.identifier = normalizeIdentifier( this.sliceSerialize(token) @@ -10840,20 +10871,26 @@ function compiler(options = {}) { function onexitdefinitiontitlestring() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Definition} */ + this.stack[this.stack.length - 1]; node.title = data; } /** @type {Handle} */ function onexitdefinitiondestinationstring() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Definition} */ + this.stack[this.stack.length - 1]; node.url = data; } /** @type {Handle} */ function onexitatxheadingsequence(token) { - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Heading} */ + this.stack[this.stack.length - 1]; if (!node.depth) { const depth = this.sliceSerialize(token).length; @@ -10868,7 +10905,9 @@ function compiler(options = {}) { /** @type {Handle} */ function onexitsetextheadinglinesequence(token) { - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Heading} */ + this.stack[this.stack.length - 1]; node.depth = this.sliceSerialize(token).charCodeAt(0) === 61 ? 1 : 2; } /** @type {Handle} */ @@ -10879,7 +10918,9 @@ function compiler(options = {}) { /** @type {Handle} */ function onenterdata(token) { - const parent = this.stack[this.stack.length - 1]; + const parent = + /** @type {Parent} */ + this.stack[this.stack.length - 1]; /** @type {Node} */ let tail = parent.children[parent.children.length - 1]; @@ -10934,27 +10975,35 @@ function compiler(options = {}) { function onexithtmlflow() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {HTML} */ + this.stack[this.stack.length - 1]; node.value = data; } /** @type {Handle} */ function onexithtmltext() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {HTML} */ + this.stack[this.stack.length - 1]; node.value = data; } /** @type {Handle} */ function onexitcodetext() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {InlineCode} */ + this.stack[this.stack.length - 1]; node.value = data; } /** @type {Handle} */ function onexitlink() { - const context = this.stack[this.stack.length - 1]; // To do: clean. + const context = + /** @type {Link & {identifier: string, label: string}} */ + this.stack[this.stack.length - 1]; // To do: clean. if (getData('inReference')) { context.type += 'Reference'; // @ts-expect-error: mutate. @@ -10975,7 +11024,9 @@ function compiler(options = {}) { /** @type {Handle} */ function onexitimage() { - const context = this.stack[this.stack.length - 1]; // To do: clean. + const context = + /** @type {Image & {identifier: string, label: string}} */ + this.stack[this.stack.length - 1]; // To do: clean. if (getData('inReference')) { context.type += 'Reference'; // @ts-expect-error: mutate. @@ -10996,7 +11047,9 @@ function compiler(options = {}) { /** @type {Handle} */ function onexitlabeltext(token) { - const ancestor = this.stack[this.stack.length - 2]; + const ancestor = + /** @type {(Link|Image) & {identifier: string, label: string}} */ + this.stack[this.stack.length - 2]; const string = this.sliceSerialize(token); ancestor.label = decodeString(string); ancestor.identifier = normalizeIdentifier(string).toLowerCase(); @@ -11004,9 +11057,13 @@ function compiler(options = {}) { /** @type {Handle} */ function onexitlabel() { - const fragment = this.stack[this.stack.length - 1]; + const fragment = + /** @type {Fragment} */ + this.stack[this.stack.length - 1]; const value = this.resume(); - const node = this.stack[this.stack.length - 1]; // Assume a reference. + const node = + /** @type {(Link|Image) & {identifier: string, label: string}} */ + this.stack[this.stack.length - 1]; // Assume a reference. setData('inReference', true); @@ -11021,14 +11078,18 @@ function compiler(options = {}) { function onexitresourcedestinationstring() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Link|Image} */ + this.stack[this.stack.length - 1]; node.url = data; } /** @type {Handle} */ function onexitresourcetitlestring() { const data = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Link|Image} */ + this.stack[this.stack.length - 1]; node.title = data; } /** @type {Handle} */ @@ -11045,7 +11106,9 @@ function compiler(options = {}) { function onexitreferencestring(token) { const label = this.resume(); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {LinkReference|ImageReference} */ + this.stack[this.stack.length - 1]; node.label = label; node.identifier = normalizeIdentifier( this.sliceSerialize(token) @@ -11086,14 +11149,18 @@ function compiler(options = {}) { function onexitautolinkprotocol(token) { onexitdata.call(this, token); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Link} */ + this.stack[this.stack.length - 1]; node.url = this.sliceSerialize(token); } /** @type {Handle} */ function onexitautolinkemail(token) { onexitdata.call(this, token); - const node = this.stack[this.stack.length - 1]; + const node = + /** @type {Link} */ + this.stack[this.stack.length - 1]; node.url = 'mailto:' + this.sliceSerialize(token); } // // Creaters. @@ -14650,19 +14717,7 @@ function gfmStrikethrough(options = {}) { */ function resolveAllStrikethrough(events, context) { - let index = -1; - /** @type {Token} */ - - let strikethrough; - /** @type {Token} */ - - let text; - /** @type {number} */ - - let open; - /** @type {Event[]} */ - - let nextEvents; // Walk through all events. + let index = -1; // Walk through all events. while (++index < events.length) { // Find a token that can close. @@ -14671,7 +14726,7 @@ function gfmStrikethrough(options = {}) { events[index][1].type === 'strikethroughSequenceTemporary' && events[index][1]._close ) { - open = index; // Now walk back to find an opener. + let open = index; // Now walk back to find an opener. while (open--) { // Find a token that can open the closer. @@ -14684,18 +14739,18 @@ function gfmStrikethrough(options = {}) { ) { events[index][1].type = 'strikethroughSequence'; events[open][1].type = 'strikethroughSequence'; - strikethrough = { + const strikethrough = { type: 'strikethrough', start: Object.assign({}, events[open][1].start), end: Object.assign({}, events[index][1].end) }; - text = { + const text = { type: 'strikethroughText', start: Object.assign({}, events[open][1].end), end: Object.assign({}, events[index][1].start) }; // Opening. - nextEvents = [ + const nextEvents = [ ['enter', strikethrough, context], ['enter', events[open][1], context], ['exit', events[open][1], context], @@ -14748,9 +14803,8 @@ function gfmStrikethrough(options = {}) { function start(code) { if ( - code !== 126 || - (previous === 126 && - events[events.length - 1][1].type !== 'characterEscape') + previous === 126 && + events[events.length - 1][1].type !== 'characterEscape' ) { return nok(code) } @@ -14960,9 +15014,6 @@ const nextPrefixedOrBlank = { function resolveTable(events, context) { let index = -1; - /** @type {Token} */ - - let token; /** @type {boolean|undefined} */ let inHead; @@ -14972,15 +15023,6 @@ function resolveTable(events, context) { /** @type {boolean|undefined} */ let inRow; - /** @type {Token} */ - - let cell; - /** @type {Token} */ - - let content; - /** @type {Token} */ - - let text; /** @type {number|undefined} */ let contentStart; @@ -14992,7 +15034,7 @@ function resolveTable(events, context) { let cellStart; while (++index < events.length) { - token = events[index][1]; + const token = events[index][1]; if (inRow) { if (token.type === 'temporaryTableCellContent') { @@ -15005,13 +15047,14 @@ function resolveTable(events, context) { (token.type === 'tableCellDivider' || token.type === 'tableRow') && contentEnd ) { - content = { + const content = { type: 'tableContent', - // @ts-expect-error `contentStart` is defined if `contentEnd` is too. start: events[contentStart][1].start, end: events[contentEnd][1].end }; - text = { + /** @type {Token} */ + + const text = { type: 'chunkText', start: content.start, end: content.end, @@ -15019,15 +15062,13 @@ function resolveTable(events, context) { contentType: 'text' }; events.splice( - // @ts-expect-error `contentStart` is defined if `contentEnd` is too. - contentStart, // @ts-expect-error `contentStart` is defined if `contentEnd` is too. + contentStart, contentEnd - contentStart + 1, ['enter', content, context], ['enter', text, context], ['exit', text, context], ['exit', content, context] - ); // @ts-expect-error `contentStart` is defined if `contentEnd` is too. - + ); index -= contentEnd - contentStart - 3; contentStart = undefined; contentEnd = undefined; @@ -15043,7 +15084,7 @@ function resolveTable(events, context) { (cellStart + 3 < index || events[cellStart][1].type !== 'whitespace'))) ) { - cell = { + const cell = { type: inDelimiterRow ? 'tableDelimiter' : inHead @@ -15205,7 +15246,6 @@ function tokenizeTable(effects, ok, nok) { /** @type {State} */ function atDelimiterLineStart(code) { - // To do: is the lazy setext thing still needed? return effects.check( setextUnderlineMini, nok, // Support an indent before the delimiter row. @@ -18880,71 +18920,6 @@ const remarkLintListItemIndent = lintRule( var remarkLintListItemIndent$1 = remarkLintListItemIndent; -/** - * @author Titus Wormer - * @copyright 2015 Titus Wormer - * @license MIT - * @module no-auto-link-without-protocol - * @fileoverview - * Warn for autolinks without protocol. - * Autolinks are URLs enclosed in `<` (less than) and `>` (greater than) - * characters. - * - * ## Fix - * - * [`remark-stringify`](https://github.com/remarkjs/remark/tree/HEAD/packages/remark-stringify) - * adds a protocol where needed. - * - * See [Using remark to fix your Markdown](https://github.com/remarkjs/remark-lint#using-remark-to-fix-your-markdown) - * on how to automatically fix warnings for this rule. - * - * @example - * {"name": "ok.md"} - * - * - * - * - * Most Markdown vendors don’t recognize the following as a link: - * - * - * @example - * {"name": "not-ok.md", "label": "input"} - * - * - * - * @example - * {"name": "not-ok.md", "label": "output"} - * - * 1:1-1:14: All automatic links must start with a protocol - */ - -// Protocol expression. -// See: . -const protocol = /^[a-z][a-z+.-]+:\/?/i; - -const remarkLintNoAutoLinkWithoutProtocol = lintRule( - { - origin: 'remark-lint:no-auto-link-without-protocol', - url: 'https://github.com/remarkjs/remark-lint/tree/main/packages/remark-lint-no-auto-link-without-protocol#readme' - }, - /** @type {import('unified-lint-rule').Rule} */ - (tree, file) => { - visit$1(tree, 'link', (node) => { - if ( - !generated(node) && - pointStart(node).column === pointStart(node.children[0]).column - 1 && - pointEnd(node).column === - pointEnd(node.children[node.children.length - 1]).column + 1 && - !protocol.test(toString(node)) - ) { - file.message('All automatic links must start with a protocol', node); - } - }); - } -); - -var remarkLintNoAutoLinkWithoutProtocol$1 = remarkLintNoAutoLinkWithoutProtocol; - /** * @author Titus Wormer * @copyright 2015 Titus Wormer @@ -20012,8 +19987,6 @@ const remarkPresetLintRecommended = { // Rendering across vendors differs greatly if using other styles. remarkLintListItemBulletIndent$1, [remarkLintListItemIndent$1, 'tab-size'], - // Differs or unsupported across vendors. - remarkLintNoAutoLinkWithoutProtocol$1, remarkLintNoBlockquoteWithoutMarker$1, remarkLintNoLiteralUrls$1, [remarkLintOrderedListMarkerStyle$1, '.'], diff --git a/tools/lint-md/package-lock.json b/tools/lint-md/package-lock.json index dfc8f3194bba14..4525157c8bf8af 100644 --- a/tools/lint-md/package-lock.json +++ b/tools/lint-md/package-lock.json @@ -16,15 +16,15 @@ "vfile-reporter": "^7.0.2" }, "devDependencies": { - "@rollup/plugin-commonjs": "^20.0.0", + "@rollup/plugin-commonjs": "^21.0.0", "@rollup/plugin-node-resolve": "^13.0.5", "rollup": "^2.58.0" } }, "node_modules/@rollup/plugin-commonjs": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-20.0.0.tgz", - "integrity": "sha512-5K0g5W2Ol8hAcTHqcTBHiA7M58tfmYi1o9KxeJuuRNpGaTa5iLjcyemBitCBcKXaHamOBBEH2dGom6v6Unmqjg==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-21.0.0.tgz", + "integrity": "sha512-XDQimjHl0kNotAV5lLo34XoygaI0teqiKGJ100B3iCU8+15YscJPeqk2KqkqD3NIe1H8ZTUo5lYjUFZyEgASTw==", "dev": true, "dependencies": { "@rollup/pluginutils": "^3.1.0", @@ -120,9 +120,9 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "node_modules/@types/node": { - "version": "16.10.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.10.2.tgz", - "integrity": "sha512-zCclL4/rx+W5SQTzFs9wyvvyCwoK9QtBpratqz2IYJ3O8Umrn0m3nsTv0wQBk9sRGpvUe9CwPDrQFB10f1FIjQ==", + "version": "16.10.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.10.3.tgz", + "integrity": "sha512-ho3Ruq+fFnBrZhUYI46n/bV2GjwzSkwuT4dTf0GkuNFmnb8nq4ny2z9JEVemFi6bdEJanHLlYfy9c6FN9B9McQ==", "dev": true }, "node_modules/@types/resolve": { @@ -275,6 +275,22 @@ "node": ">=0.10.0" } }, + "node_modules/dequal": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.2.tgz", + "integrity": "sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==", + "engines": { + "node": ">=6" + } + }, + "node_modules/diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==", + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/emoji-regex": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", @@ -509,6 +525,14 @@ "js-yaml": "bin/js-yaml.js" } }, + "node_modules/kleur": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz", + "integrity": "sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==", + "engines": { + "node": ">=6" + } + }, "node_modules/longest-streak": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.0.0.tgz", @@ -574,9 +598,9 @@ } }, "node_modules/mdast-util-from-markdown": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-1.0.2.tgz", - "integrity": "sha512-gXaxv/5fGdrr9TqSMlQK7FmshK8yR9DvW3+NapMBDm44inORxIZVJa1D3yjrUT9ISu8tB/jjblEkUzyzclquNg==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-1.0.4.tgz", + "integrity": "sha512-BlL42o885QO+6o43ceoc6KBdp/bi9oYyamj0hUbeu730yhP1WDC7m2XYSBfmQkOb0TdoHSAJ3de3SMqse69u+g==", "dependencies": { "@types/mdast": "^3.0.0", "@types/unist": "^2.0.0", @@ -588,7 +612,8 @@ "micromark-util-symbol": "^1.0.0", "micromark-util-types": "^1.0.0", "parse-entities": "^3.0.0", - "unist-util-stringify-position": "^3.0.0" + "unist-util-stringify-position": "^3.0.0", + "uvu": "^0.5.0" }, "funding": { "type": "opencollective", @@ -716,9 +741,9 @@ } }, "node_modules/micromark": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/micromark/-/micromark-3.0.5.tgz", - "integrity": "sha512-QfjERBnPw0G9mxhOCkkbRP0n8SX8lIBLrEKeEVceviUukqVMv3hWE4AgNTOK/W6GWqtPvvIHg2Apl3j1Dxm6aQ==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-3.0.7.tgz", + "integrity": "sha512-67ipZ2CzQVsDyH1kqNLh7dLwe5QMPJwjFBGppW7JCLByaSc6ZufV0ywPOxt13MIDAzzmj3wctDL6Ov5w0fOHXw==", "funding": [ { "type": "GitHub Sponsors", @@ -745,13 +770,14 @@ "micromark-util-subtokenize": "^1.0.0", "micromark-util-symbol": "^1.0.0", "micromark-util-types": "^1.0.1", - "parse-entities": "^3.0.0" + "parse-entities": "^3.0.0", + "uvu": "^0.5.0" } }, "node_modules/micromark-core-commonmark": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-1.0.1.tgz", - "integrity": "sha512-vEOw8hcQ3nwHkKKNIyP9wBi8M50zjNajtmI+cCUWcVfJS+v5/3WCh4PLKf7PPRZFUutjzl4ZjlHwBWUKfb/SkA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-1.0.3.tgz", + "integrity": "sha512-0E8aE27v0DYHPk40IxzhCdXnZWQuvZ6rbflrx1u8ZZAUJEB48o0fgLXA5+yMab28yXT+mi1Q4LXdsI4oGS6Vng==", "funding": [ { "type": "GitHub Sponsors", @@ -777,7 +803,8 @@ "micromark-util-subtokenize": "^1.0.0", "micromark-util-symbol": "^1.0.0", "micromark-util-types": "^1.0.1", - "parse-entities": "^3.0.0" + "parse-entities": "^3.0.0", + "uvu": "^0.5.0" } }, "node_modules/micromark-extension-gfm": { @@ -799,14 +826,15 @@ } }, "node_modules/micromark-extension-gfm-autolink-literal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.0.tgz", - "integrity": "sha512-t+K0aPK32mXypVTEKV+WRfoT/Rb7MERDgHZVRr56NXpyQQhgMk72QnK4NljYUlrgbuesH+MxiPQwThzqRDIwvA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.2.tgz", + "integrity": "sha512-z2Asd0v4iV/QoI1l23J1qB6G8IqVWTKmwdlP45YQfdGW47ZzpddyzSxZ78YmlucOLqIbS5H98ekKf9GunFfnLA==", "dependencies": { "micromark-util-character": "^1.0.0", "micromark-util-sanitize-uri": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" }, "funding": { "type": "opencollective", @@ -814,15 +842,16 @@ } }, "node_modules/micromark-extension-gfm-strikethrough": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.1.tgz", - "integrity": "sha512-fzGYXWz9HPWH1uHqYwdyR8XpEtuoYVHUjTdPQTnl3ETVZOQe1NXMwE3RA7AMqeON52hG+kO9g1/P1+pLONBSMQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.3.tgz", + "integrity": "sha512-PJKhBNyrNIo694ZQCE/FBBQOQSb6YC0Wi5Sv0OCah5XunnNaYbtak9CSv9/eq4YeFMMyd1jX84IRwUSE+7ioLA==", "dependencies": { "micromark-util-chunked": "^1.0.0", "micromark-util-classify-character": "^1.0.0", "micromark-util-resolve-all": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" }, "funding": { "type": "opencollective", @@ -830,14 +859,15 @@ } }, "node_modules/micromark-extension-gfm-table": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.0.tgz", - "integrity": "sha512-OATRuHDgEAT/aaJJRSdU12V+s01kNSnJ0jumdfLq5mPy0F5DkR3zbTSFLH4tjVYM0/kEG6umxIhHY62mFe4z5Q==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.2.tgz", + "integrity": "sha512-mRtt0S/jVT8IRWqIw2Wnl8dr/9yHh+b3NgiDQ4zdgheiAtkFYalng5CUQooFfQeSxQjfV+QKXqtPpjdIHu3AqQ==", "dependencies": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" }, "funding": { "type": "opencollective", @@ -857,14 +887,15 @@ } }, "node_modules/micromark-extension-gfm-task-list-item": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.0.tgz", - "integrity": "sha512-3tkHCq1NNwijtwpjYba9+rl1yvQ4xYg8iQpUAfTJRyq8MtIEsBUF/vW6B9Gh8Qwy1hE2FmpyHhP4jnFAt61zLg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.2.tgz", + "integrity": "sha512-8AZib9xxPtppTKig/d00i9uKi96kVgoqin7+TRtGprDb8uTUrN1ZfJ38ga8yUdmu7EDQxr2xH8ltZdbCcmdshg==", "dependencies": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" }, "funding": { "type": "opencollective", @@ -892,9 +923,9 @@ } }, "node_modules/micromark-factory-label": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-1.0.0.tgz", - "integrity": "sha512-XWEucVZb+qBCe2jmlOnWr6sWSY6NHx+wtpgYFsm4G+dufOf6tTQRRo0bdO7XSlGPu5fyjpJenth6Ksnc5Mwfww==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-1.0.2.tgz", + "integrity": "sha512-CTIwxlOnU7dEshXDQ+dsr2n+yxpP0+fn271pu0bwDIS8uqfFcumXpj5mLn3hSC8iw2MUr6Gx8EcKng1dD7i6hg==", "funding": [ { "type": "GitHub Sponsors", @@ -908,7 +939,8 @@ "dependencies": { "micromark-util-character": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "node_modules/micromark-factory-space": { @@ -931,9 +963,9 @@ } }, "node_modules/micromark-factory-title": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-1.0.0.tgz", - "integrity": "sha512-flvC7Gx0dWVWorXuBl09Cr3wB5FTuYec8pMGVySIp2ZlqTcIjN/lFohZcP0EG//krTptm34kozHk7aK/CleCfA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-1.0.2.tgz", + "integrity": "sha512-zily+Nr4yFqgMGRKLpTVsNl5L4PMu485fGFDOQJQBl2NFpjGte1e86zC0da93wf97jrc4+2G2GQudFMHn3IX+A==", "funding": [ { "type": "GitHub Sponsors", @@ -948,7 +980,8 @@ "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "node_modules/micromark-factory-whitespace": { @@ -1067,9 +1100,9 @@ } }, "node_modules/micromark-util-decode-string": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-1.0.0.tgz", - "integrity": "sha512-4g5UJ8P/J8wuRKUXCcB7udQuOBXpLyvBQSLSuznfBLCG+thKG6UTwFnXfHkrr/1wddprkUbPatCzxDjrJ+5zDg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-1.0.1.tgz", + "integrity": "sha512-Wf3H6jLaO3iIlHEvblESXaKAr72nK7JtBbLLICPwuZc3eJkMcp4j8rJ5Xv1VbQWMCWWDvKUbVUbE2MfQNznwTA==", "funding": [ { "type": "GitHub Sponsors", @@ -1083,6 +1116,7 @@ "dependencies": { "micromark-util-character": "^1.0.0", "micromark-util-decode-numeric-character-reference": "^1.0.0", + "micromark-util-symbol": "^1.0.0", "parse-entities": "^3.0.0" } }, @@ -1173,9 +1207,9 @@ } }, "node_modules/micromark-util-subtokenize": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-1.0.0.tgz", - "integrity": "sha512-EsnG2qscmcN5XhkqQBZni/4oQbLFjz9yk3ZM/P8a3YUjwV6+6On2wehr1ALx0MxK3+XXXLTzuBKHDFeDFYRdgQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-1.0.2.tgz", + "integrity": "sha512-d90uqCnXp/cy4G881Ub4psE57Sf8YD0pim9QdjCRNjfas2M1u6Lbt+XZK9gnHL2XFhnozZiEdCa9CNfXSfQ6xA==", "funding": [ { "type": "GitHub Sponsors", @@ -1189,7 +1223,8 @@ "dependencies": { "micromark-util-chunked": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "node_modules/micromark-util-symbol": { @@ -1234,6 +1269,14 @@ "node": "*" } }, + "node_modules/mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==", + "engines": { + "node": ">=4" + } + }, "node_modules/ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -1592,24 +1635,6 @@ "url": "https://opencollective.com/unified" } }, - "node_modules/remark-lint-no-auto-link-without-protocol": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/remark-lint-no-auto-link-without-protocol/-/remark-lint-no-auto-link-without-protocol-3.1.0.tgz", - "integrity": "sha512-GqZXDu/xfajWCEPhS8UjO9dYMTlY5lD8ShoYIaouUgz3nNQvLwX33pTKqfRpd/R9EmV1uQw0PCJ6TYwhBrnOXQ==", - "dependencies": { - "@types/mdast": "^3.0.0", - "mdast-util-to-string": "^3.0.0", - "unified": "^10.0.0", - "unified-lint-rule": "^2.0.0", - "unist-util-generated": "^2.0.0", - "unist-util-position": "^4.0.0", - "unist-util-visit": "^4.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/unified" - } - }, "node_modules/remark-lint-no-blockquote-without-marker": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/remark-lint-no-blockquote-without-marker/-/remark-lint-no-blockquote-without-marker-5.1.0.tgz", @@ -2119,9 +2144,9 @@ } }, "node_modules/remark-preset-lint-recommended": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/remark-preset-lint-recommended/-/remark-preset-lint-recommended-6.1.0.tgz", - "integrity": "sha512-1jUbuzRAP5idWu9GZ5x7M96Z1TcTWwJu0C8ziz5RLezWL9rChhw9kV6s0beR0lrY5Kl5E5pjA6SKaP7NyGi2ug==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/remark-preset-lint-recommended/-/remark-preset-lint-recommended-6.1.1.tgz", + "integrity": "sha512-ez8/QTY8x/XKZcewXbWd+vQWWhNbgHCEq+NwY6sf9/QuwxBarG9cmSkP9yXi5glYKGVaEefVZmrZRB4jvZWcog==", "dependencies": { "@types/mdast": "^3.0.0", "remark-lint": "^9.0.0", @@ -2129,7 +2154,6 @@ "remark-lint-hard-break-spaces": "^3.0.0", "remark-lint-list-item-bullet-indent": "^4.0.0", "remark-lint-list-item-indent": "^3.0.0", - "remark-lint-no-auto-link-without-protocol": "^3.0.0", "remark-lint-no-blockquote-without-marker": "^5.0.0", "remark-lint-no-duplicate-definitions": "^3.0.0", "remark-lint-no-heading-content-indent": "^4.0.0", @@ -2189,6 +2213,17 @@ "fsevents": "~2.3.2" } }, + "node_modules/sade": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/sade/-/sade-1.7.4.tgz", + "integrity": "sha512-y5yauMD93rX840MwUJr7C1ysLFBgMspsdTo4UVrDg3fXDvtwOyIqykhVAAm6fk/3au77773itJStObgK+LKaiA==", + "dependencies": { + "mri": "^1.1.0" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -2271,6 +2306,14 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/totalist": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/totalist/-/totalist-2.0.0.tgz", + "integrity": "sha512-+Y17F0YzxfACxTyjfhnJQEe7afPA0GSpYlFkl2VFMxYP7jshQf9gXV7cH47EfToBumFThfKBvfAcoUn6fdNeRQ==", + "engines": { + "node": ">=6" + } + }, "node_modules/trough": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/trough/-/trough-2.0.2.tgz", @@ -2423,6 +2466,24 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/uvu": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.2.tgz", + "integrity": "sha512-m2hLe7I2eROhh+tm3WE5cTo/Cv3WQA7Oc9f7JB6uWv+/zVKvfAm53bMyOoGOSZeQ7Ov2Fu9pLhFr7p07bnT20w==", + "dependencies": { + "dequal": "^2.0.0", + "diff": "^5.0.0", + "kleur": "^4.0.3", + "sade": "^1.7.3", + "totalist": "^2.0.0" + }, + "bin": { + "uvu": "bin.js" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/vfile": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.1.0.tgz", @@ -2537,9 +2598,9 @@ }, "dependencies": { "@rollup/plugin-commonjs": { - "version": "20.0.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-20.0.0.tgz", - "integrity": "sha512-5K0g5W2Ol8hAcTHqcTBHiA7M58tfmYi1o9KxeJuuRNpGaTa5iLjcyemBitCBcKXaHamOBBEH2dGom6v6Unmqjg==", + "version": "21.0.0", + "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-21.0.0.tgz", + "integrity": "sha512-XDQimjHl0kNotAV5lLo34XoygaI0teqiKGJ100B3iCU8+15YscJPeqk2KqkqD3NIe1H8ZTUo5lYjUFZyEgASTw==", "dev": true, "requires": { "@rollup/pluginutils": "^3.1.0", @@ -2619,9 +2680,9 @@ "integrity": "sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==" }, "@types/node": { - "version": "16.10.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.10.2.tgz", - "integrity": "sha512-zCclL4/rx+W5SQTzFs9wyvvyCwoK9QtBpratqz2IYJ3O8Umrn0m3nsTv0wQBk9sRGpvUe9CwPDrQFB10f1FIjQ==", + "version": "16.10.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.10.3.tgz", + "integrity": "sha512-ho3Ruq+fFnBrZhUYI46n/bV2GjwzSkwuT4dTf0GkuNFmnb8nq4ny2z9JEVemFi6bdEJanHLlYfy9c6FN9B9McQ==", "dev": true }, "@types/resolve": { @@ -2731,6 +2792,16 @@ "integrity": "sha512-FJ3UgI4gIl+PHZm53knsuSFpE+nESMr7M4v9QcgB7S63Kj/6WqMiFQJpBBYz1Pt+66bZpP3Q7Lye0Oo9MPKEdg==", "dev": true }, + "dequal": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.2.tgz", + "integrity": "sha512-q9K8BlJVxK7hQYqa6XISGmBZbtQQWVXSrRrWreHC94rMt1QL/Impruc+7p2CYSYuVIUr+YCt6hjrs1kkdJRTug==" + }, + "diff": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-5.0.0.tgz", + "integrity": "sha512-/VTCrvm5Z0JGty/BWHljh+BAiw3IK+2j87NGMu8Nwc/f48WoDAC395uomO9ZD117ZOBaHmkX1oyLvkVM/aIT3w==" + }, "emoji-regex": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", @@ -2886,6 +2957,11 @@ "argparse": "^2.0.1" } }, + "kleur": { + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.4.tgz", + "integrity": "sha512-8QADVssbrFjivHWQU7KkMgptGTl6WAcSdlbBPY4uNF+mWr6DGcKrvY2w4FQJoXch7+fKMjj0dRrL75vk3k23OA==" + }, "longest-streak": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/longest-streak/-/longest-streak-3.0.0.tgz", @@ -2932,9 +3008,9 @@ } }, "mdast-util-from-markdown": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-1.0.2.tgz", - "integrity": "sha512-gXaxv/5fGdrr9TqSMlQK7FmshK8yR9DvW3+NapMBDm44inORxIZVJa1D3yjrUT9ISu8tB/jjblEkUzyzclquNg==", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-1.0.4.tgz", + "integrity": "sha512-BlL42o885QO+6o43ceoc6KBdp/bi9oYyamj0hUbeu730yhP1WDC7m2XYSBfmQkOb0TdoHSAJ3de3SMqse69u+g==", "requires": { "@types/mdast": "^3.0.0", "@types/unist": "^2.0.0", @@ -2946,7 +3022,8 @@ "micromark-util-symbol": "^1.0.0", "micromark-util-types": "^1.0.0", "parse-entities": "^3.0.0", - "unist-util-stringify-position": "^3.0.0" + "unist-util-stringify-position": "^3.0.0", + "uvu": "^0.5.0" } }, "mdast-util-gfm": { @@ -3034,9 +3111,9 @@ "integrity": "sha512-n4Vypz/DZgwo0iMHLQL49dJzlp7YtAJP+N07MZHpjPf/5XJuHUWstviF4Mn2jEiR/GNmtnRRqnwsXExk3igfFA==" }, "micromark": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/micromark/-/micromark-3.0.5.tgz", - "integrity": "sha512-QfjERBnPw0G9mxhOCkkbRP0n8SX8lIBLrEKeEVceviUukqVMv3hWE4AgNTOK/W6GWqtPvvIHg2Apl3j1Dxm6aQ==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/micromark/-/micromark-3.0.7.tgz", + "integrity": "sha512-67ipZ2CzQVsDyH1kqNLh7dLwe5QMPJwjFBGppW7JCLByaSc6ZufV0ywPOxt13MIDAzzmj3wctDL6Ov5w0fOHXw==", "requires": { "@types/debug": "^4.0.0", "debug": "^4.0.0", @@ -3053,13 +3130,14 @@ "micromark-util-subtokenize": "^1.0.0", "micromark-util-symbol": "^1.0.0", "micromark-util-types": "^1.0.1", - "parse-entities": "^3.0.0" + "parse-entities": "^3.0.0", + "uvu": "^0.5.0" } }, "micromark-core-commonmark": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-1.0.1.tgz", - "integrity": "sha512-vEOw8hcQ3nwHkKKNIyP9wBi8M50zjNajtmI+cCUWcVfJS+v5/3WCh4PLKf7PPRZFUutjzl4ZjlHwBWUKfb/SkA==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-1.0.3.tgz", + "integrity": "sha512-0E8aE27v0DYHPk40IxzhCdXnZWQuvZ6rbflrx1u8ZZAUJEB48o0fgLXA5+yMab28yXT+mi1Q4LXdsI4oGS6Vng==", "requires": { "micromark-factory-destination": "^1.0.0", "micromark-factory-label": "^1.0.0", @@ -3075,7 +3153,8 @@ "micromark-util-subtokenize": "^1.0.0", "micromark-util-symbol": "^1.0.0", "micromark-util-types": "^1.0.1", - "parse-entities": "^3.0.0" + "parse-entities": "^3.0.0", + "uvu": "^0.5.0" } }, "micromark-extension-gfm": { @@ -3093,37 +3172,40 @@ } }, "micromark-extension-gfm-autolink-literal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.0.tgz", - "integrity": "sha512-t+K0aPK32mXypVTEKV+WRfoT/Rb7MERDgHZVRr56NXpyQQhgMk72QnK4NljYUlrgbuesH+MxiPQwThzqRDIwvA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-autolink-literal/-/micromark-extension-gfm-autolink-literal-1.0.2.tgz", + "integrity": "sha512-z2Asd0v4iV/QoI1l23J1qB6G8IqVWTKmwdlP45YQfdGW47ZzpddyzSxZ78YmlucOLqIbS5H98ekKf9GunFfnLA==", "requires": { "micromark-util-character": "^1.0.0", "micromark-util-sanitize-uri": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "micromark-extension-gfm-strikethrough": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.1.tgz", - "integrity": "sha512-fzGYXWz9HPWH1uHqYwdyR8XpEtuoYVHUjTdPQTnl3ETVZOQe1NXMwE3RA7AMqeON52hG+kO9g1/P1+pLONBSMQ==", + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-strikethrough/-/micromark-extension-gfm-strikethrough-1.0.3.tgz", + "integrity": "sha512-PJKhBNyrNIo694ZQCE/FBBQOQSb6YC0Wi5Sv0OCah5XunnNaYbtak9CSv9/eq4YeFMMyd1jX84IRwUSE+7ioLA==", "requires": { "micromark-util-chunked": "^1.0.0", "micromark-util-classify-character": "^1.0.0", "micromark-util-resolve-all": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "micromark-extension-gfm-table": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.0.tgz", - "integrity": "sha512-OATRuHDgEAT/aaJJRSdU12V+s01kNSnJ0jumdfLq5mPy0F5DkR3zbTSFLH4tjVYM0/kEG6umxIhHY62mFe4z5Q==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-table/-/micromark-extension-gfm-table-1.0.2.tgz", + "integrity": "sha512-mRtt0S/jVT8IRWqIw2Wnl8dr/9yHh+b3NgiDQ4zdgheiAtkFYalng5CUQooFfQeSxQjfV+QKXqtPpjdIHu3AqQ==", "requires": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "micromark-extension-gfm-tagfilter": { @@ -3135,14 +3217,15 @@ } }, "micromark-extension-gfm-task-list-item": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.0.tgz", - "integrity": "sha512-3tkHCq1NNwijtwpjYba9+rl1yvQ4xYg8iQpUAfTJRyq8MtIEsBUF/vW6B9Gh8Qwy1hE2FmpyHhP4jnFAt61zLg==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-extension-gfm-task-list-item/-/micromark-extension-gfm-task-list-item-1.0.2.tgz", + "integrity": "sha512-8AZib9xxPtppTKig/d00i9uKi96kVgoqin7+TRtGprDb8uTUrN1ZfJ38ga8yUdmu7EDQxr2xH8ltZdbCcmdshg==", "requires": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "micromark-factory-destination": { @@ -3156,13 +3239,14 @@ } }, "micromark-factory-label": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-1.0.0.tgz", - "integrity": "sha512-XWEucVZb+qBCe2jmlOnWr6sWSY6NHx+wtpgYFsm4G+dufOf6tTQRRo0bdO7XSlGPu5fyjpJenth6Ksnc5Mwfww==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-1.0.2.tgz", + "integrity": "sha512-CTIwxlOnU7dEshXDQ+dsr2n+yxpP0+fn271pu0bwDIS8uqfFcumXpj5mLn3hSC8iw2MUr6Gx8EcKng1dD7i6hg==", "requires": { "micromark-util-character": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "micromark-factory-space": { @@ -3175,14 +3259,15 @@ } }, "micromark-factory-title": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-1.0.0.tgz", - "integrity": "sha512-flvC7Gx0dWVWorXuBl09Cr3wB5FTuYec8pMGVySIp2ZlqTcIjN/lFohZcP0EG//krTptm34kozHk7aK/CleCfA==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-1.0.2.tgz", + "integrity": "sha512-zily+Nr4yFqgMGRKLpTVsNl5L4PMu485fGFDOQJQBl2NFpjGte1e86zC0da93wf97jrc4+2G2GQudFMHn3IX+A==", "requires": { "micromark-factory-space": "^1.0.0", "micromark-util-character": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "micromark-factory-whitespace": { @@ -3241,12 +3326,13 @@ } }, "micromark-util-decode-string": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-1.0.0.tgz", - "integrity": "sha512-4g5UJ8P/J8wuRKUXCcB7udQuOBXpLyvBQSLSuznfBLCG+thKG6UTwFnXfHkrr/1wddprkUbPatCzxDjrJ+5zDg==", + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-1.0.1.tgz", + "integrity": "sha512-Wf3H6jLaO3iIlHEvblESXaKAr72nK7JtBbLLICPwuZc3eJkMcp4j8rJ5Xv1VbQWMCWWDvKUbVUbE2MfQNznwTA==", "requires": { "micromark-util-character": "^1.0.0", "micromark-util-decode-numeric-character-reference": "^1.0.0", + "micromark-util-symbol": "^1.0.0", "parse-entities": "^3.0.0" } }, @@ -3287,13 +3373,14 @@ } }, "micromark-util-subtokenize": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-1.0.0.tgz", - "integrity": "sha512-EsnG2qscmcN5XhkqQBZni/4oQbLFjz9yk3ZM/P8a3YUjwV6+6On2wehr1ALx0MxK3+XXXLTzuBKHDFeDFYRdgQ==", + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-1.0.2.tgz", + "integrity": "sha512-d90uqCnXp/cy4G881Ub4psE57Sf8YD0pim9QdjCRNjfas2M1u6Lbt+XZK9gnHL2XFhnozZiEdCa9CNfXSfQ6xA==", "requires": { "micromark-util-chunked": "^1.0.0", "micromark-util-symbol": "^1.0.0", - "micromark-util-types": "^1.0.0" + "micromark-util-types": "^1.0.0", + "uvu": "^0.5.0" } }, "micromark-util-symbol": { @@ -3315,6 +3402,11 @@ "brace-expansion": "^1.1.7" } }, + "mri": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/mri/-/mri-1.2.0.tgz", + "integrity": "sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==" + }, "ms": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", @@ -3585,20 +3677,6 @@ "unist-util-visit": "^4.0.0" } }, - "remark-lint-no-auto-link-without-protocol": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/remark-lint-no-auto-link-without-protocol/-/remark-lint-no-auto-link-without-protocol-3.1.0.tgz", - "integrity": "sha512-GqZXDu/xfajWCEPhS8UjO9dYMTlY5lD8ShoYIaouUgz3nNQvLwX33pTKqfRpd/R9EmV1uQw0PCJ6TYwhBrnOXQ==", - "requires": { - "@types/mdast": "^3.0.0", - "mdast-util-to-string": "^3.0.0", - "unified": "^10.0.0", - "unified-lint-rule": "^2.0.0", - "unist-util-generated": "^2.0.0", - "unist-util-position": "^4.0.0", - "unist-util-visit": "^4.0.0" - } - }, "remark-lint-no-blockquote-without-marker": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/remark-lint-no-blockquote-without-marker/-/remark-lint-no-blockquote-without-marker-5.1.0.tgz", @@ -3999,9 +4077,9 @@ } }, "remark-preset-lint-recommended": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/remark-preset-lint-recommended/-/remark-preset-lint-recommended-6.1.0.tgz", - "integrity": "sha512-1jUbuzRAP5idWu9GZ5x7M96Z1TcTWwJu0C8ziz5RLezWL9rChhw9kV6s0beR0lrY5Kl5E5pjA6SKaP7NyGi2ug==", + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/remark-preset-lint-recommended/-/remark-preset-lint-recommended-6.1.1.tgz", + "integrity": "sha512-ez8/QTY8x/XKZcewXbWd+vQWWhNbgHCEq+NwY6sf9/QuwxBarG9cmSkP9yXi5glYKGVaEefVZmrZRB4jvZWcog==", "requires": { "@types/mdast": "^3.0.0", "remark-lint": "^9.0.0", @@ -4009,7 +4087,6 @@ "remark-lint-hard-break-spaces": "^3.0.0", "remark-lint-list-item-bullet-indent": "^4.0.0", "remark-lint-list-item-indent": "^3.0.0", - "remark-lint-no-auto-link-without-protocol": "^3.0.0", "remark-lint-no-blockquote-without-marker": "^5.0.0", "remark-lint-no-duplicate-definitions": "^3.0.0", "remark-lint-no-heading-content-indent": "^4.0.0", @@ -4052,6 +4129,14 @@ "fsevents": "~2.3.2" } }, + "sade": { + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/sade/-/sade-1.7.4.tgz", + "integrity": "sha512-y5yauMD93rX840MwUJr7C1ysLFBgMspsdTo4UVrDg3fXDvtwOyIqykhVAAm6fk/3au77773itJStObgK+LKaiA==", + "requires": { + "mri": "^1.1.0" + } + }, "semver": { "version": "7.3.5", "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.5.tgz", @@ -4106,6 +4191,11 @@ "vfile": "^5.1.0" } }, + "totalist": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/totalist/-/totalist-2.0.0.tgz", + "integrity": "sha512-+Y17F0YzxfACxTyjfhnJQEe7afPA0GSpYlFkl2VFMxYP7jshQf9gXV7cH47EfToBumFThfKBvfAcoUn6fdNeRQ==" + }, "trough": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/trough/-/trough-2.0.2.tgz", @@ -4214,6 +4304,18 @@ "unist-util-is": "^5.0.0" } }, + "uvu": { + "version": "0.5.2", + "resolved": "https://registry.npmjs.org/uvu/-/uvu-0.5.2.tgz", + "integrity": "sha512-m2hLe7I2eROhh+tm3WE5cTo/Cv3WQA7Oc9f7JB6uWv+/zVKvfAm53bMyOoGOSZeQ7Ov2Fu9pLhFr7p07bnT20w==", + "requires": { + "dequal": "^2.0.0", + "diff": "^5.0.0", + "kleur": "^4.0.3", + "sade": "^1.7.3", + "totalist": "^2.0.0" + } + }, "vfile": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.1.0.tgz", diff --git a/tools/lint-md/package.json b/tools/lint-md/package.json index ffa82b4b14f2fb..a6c883f9882c85 100644 --- a/tools/lint-md/package.json +++ b/tools/lint-md/package.json @@ -14,7 +14,7 @@ "vfile-reporter": "^7.0.2" }, "devDependencies": { - "@rollup/plugin-commonjs": "^20.0.0", + "@rollup/plugin-commonjs": "^21.0.0", "@rollup/plugin-node-resolve": "^13.0.5", "rollup": "^2.58.0" }