From 06e90ecc2a27f032c25620053bf7eca3daeef67e Mon Sep 17 00:00:00 2001 From: "street-side-software-automation[bot]" <74785433+street-side-software-automation[bot]@users.noreply.github.com> Date: Thu, 15 Sep 2022 15:45:48 +0200 Subject: [PATCH] feat: Update CSpell to (6.9.0) (main) (#965) fix: Update CSpell to (6.9.0) Co-authored-by: Jason3S --- action-src/package.json | 4 +- .../cspell-default.config.js | 18 ++- .../@cspell/cspell-bundled-dicts/package.json | 12 +- .../@cspell/cspell-pipe/package.json | 6 +- .../@cspell/cspell-service-bus/package.json | 6 +- .../@cspell/cspell-types/package.json | 4 +- .../cspell-gitignore/package.json | 8 +- action/node_modules/cspell-glob/package.json | 6 +- .../node_modules/cspell-grammar/package.json | 10 +- action/node_modules/cspell-io/package.json | 8 +- .../cspell-lib/dist/Settings/patterns.js | 4 +- .../node_modules/cspell-lib/dist/util/text.js | 23 +--- .../cspell-lib/dist/util/textRegex.js | 113 +++++++++++++++- action/node_modules/cspell-lib/package.json | 24 ++-- .../node_modules/cspell-trie-lib/package.json | 10 +- action/node_modules/cspell/package.json | 16 +-- action/package.json | 4 +- yarn.lock | 122 +++++++++--------- 18 files changed, 249 insertions(+), 149 deletions(-) diff --git a/action-src/package.json b/action-src/package.json index 8214cd036..9bb9718b3 100644 --- a/action-src/package.json +++ b/action-src/package.json @@ -37,8 +37,8 @@ "@octokit/core": "^4.0.5", "@octokit/plugin-rest-endpoint-methods": "^6.6.0", "@octokit/rest": "^19.0.4", - "cspell": "^6.8.2", - "cspell-glob": "^6.8.2", + "cspell": "^6.9.0", + "cspell-glob": "^6.9.0", "vscode-uri": "^3.0.4" } } diff --git a/action/node_modules/@cspell/cspell-bundled-dicts/cspell-default.config.js b/action/node_modules/@cspell/cspell-bundled-dicts/cspell-default.config.js index bff9f36cb..dd39921ff 100644 --- a/action/node_modules/@cspell/cspell-bundled-dicts/cspell-default.config.js +++ b/action/node_modules/@cspell/cspell-bundled-dicts/cspell-default.config.js @@ -22,13 +22,23 @@ const settings = { }, { name: 'MARKDOWN-link-reference', - description: 'Markdown reference link: `[This is a link][reference]`', + description: 'Markdown reference link: `[This is a link][reference]`, matches `[reference]`', pattern: /(?<=\])\[[-\w.`'"*&;#@ ]+\]/g, }, { name: 'MARKDOWN-link-footer', - description: 'Markdown referenced link: `[reference]: https://www.google.com`', - pattern: /\[[-\w.`'"*&;#@ ]+\]:/g, + description: 'Markdown referenced link: `[reference]: https://www.google.com`, matches the entire reference.', + pattern: /\[[-\w.`'"*&;#@ ]+\]:( [^\s]*)?/g, + }, + { + name: 'MARKDOWN-link', + description: 'Markdown link: `[link text](link)`, matches `link`', + pattern: /(?<=\]\()[^)\s]+/g, + }, + { + name: 'MARKDOWN-anchor', + description: 'Markdown Anchors: ``, matches `my_link`', + pattern: /(?<==14" }, "devDependencies": { - "@cspell/cspell-tools": "^6.8.2", - "@cspell/cspell-types": "^6.8.2" + "@cspell/cspell-tools": "^6.9.0", + "@cspell/cspell-types": "^6.9.0" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/@cspell/cspell-pipe/package.json b/action/node_modules/@cspell/cspell-pipe/package.json index baacdf695..142e1cbe5 100644 --- a/action/node_modules/@cspell/cspell-pipe/package.json +++ b/action/node_modules/@cspell/cspell-pipe/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "6.8.2", + "version": "6.9.0", "description": "Library to make working with Iterators/AsyncIterators easier.", "keywords": [ "cspell", @@ -93,9 +93,9 @@ "node": ">=14" }, "devDependencies": { - "@types/node": "^18.7.16", + "@types/node": "^18.7.18", "jest": "^29.0.3", "rimraf": "^3.0.2" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/@cspell/cspell-service-bus/package.json b/action/node_modules/@cspell/cspell-service-bus/package.json index 1554c54db..613ebf019 100644 --- a/action/node_modules/@cspell/cspell-service-bus/package.json +++ b/action/node_modules/@cspell/cspell-service-bus/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "6.8.2", + "version": "6.9.0", "description": "A Library for connecting requests to services that can fulfill them.", "keywords": [ "cspell" @@ -70,9 +70,9 @@ "node": ">=14" }, "devDependencies": { - "@types/node": "^18.7.16", + "@types/node": "^18.7.18", "jest": "^29.0.3", "rimraf": "^3.0.2" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/@cspell/cspell-types/package.json b/action/node_modules/@cspell/cspell-types/package.json index 6a9d54b76..0ec1c44f9 100644 --- a/action/node_modules/@cspell/cspell-types/package.json +++ b/action/node_modules/@cspell/cspell-types/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "6.8.2", + "version": "6.9.0", "description": "Types for cspell and cspell-lib", "type": "commonjs", "main": "dist/index.js", @@ -69,5 +69,5 @@ "ts-json-schema-generator": "^1.0.0", "typescript": "^4.8.3" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/cspell-gitignore/package.json b/action/node_modules/cspell-gitignore/package.json index 3c9ce1948..f74b85328 100644 --- a/action/node_modules/cspell-gitignore/package.json +++ b/action/node_modules/cspell-gitignore/package.json @@ -1,6 +1,6 @@ { "name": "cspell-gitignore", - "version": "6.8.2", + "version": "6.9.0", "description": "Gitignore Glob matcher for cspell", "keywords": [ "cspell", @@ -47,13 +47,13 @@ "node": ">=14" }, "dependencies": { - "cspell-glob": "^6.8.2", + "cspell-glob": "^6.9.0", "find-up": "^5.0.0" }, "devDependencies": { - "@types/node": "^18.7.16", + "@types/node": "^18.7.18", "jest": "^29.0.3", "rimraf": "^3.0.2" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/cspell-glob/package.json b/action/node_modules/cspell-glob/package.json index 744050ecf..4a248137d 100644 --- a/action/node_modules/cspell-glob/package.json +++ b/action/node_modules/cspell-glob/package.json @@ -1,6 +1,6 @@ { "name": "cspell-glob", - "version": "6.8.2", + "version": "6.9.0", "description": "Glob matcher for cspell", "keywords": [ "cspell", @@ -46,9 +46,9 @@ }, "devDependencies": { "@types/micromatch": "^4.0.2", - "@types/node": "^18.7.16", + "@types/node": "^18.7.18", "jest": "^29.0.3", "rimraf": "^3.0.2" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/cspell-grammar/package.json b/action/node_modules/cspell-grammar/package.json index d378cad00..8e1223a96 100644 --- a/action/node_modules/cspell-grammar/package.json +++ b/action/node_modules/cspell-grammar/package.json @@ -1,6 +1,6 @@ { "name": "cspell-grammar", - "version": "6.8.2", + "version": "6.9.0", "description": "Grammar parsing support for cspell", "keywords": [ "cspell", @@ -64,13 +64,13 @@ "node": ">=14" }, "devDependencies": { - "@types/node": "^18.7.16", + "@types/node": "^18.7.18", "jest": "^29.0.3", "rimraf": "^3.0.2" }, "dependencies": { - "@cspell/cspell-pipe": "^6.8.2", - "@cspell/cspell-types": "^6.8.2" + "@cspell/cspell-pipe": "^6.9.0", + "@cspell/cspell-types": "^6.9.0" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/cspell-io/package.json b/action/node_modules/cspell-io/package.json index 6492b470a..d8beeddf8 100644 --- a/action/node_modules/cspell-io/package.json +++ b/action/node_modules/cspell-io/package.json @@ -1,6 +1,6 @@ { "name": "cspell-io", - "version": "6.8.2", + "version": "6.9.0", "description": "A library of useful I/O functions used across various cspell tools.", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -39,7 +39,7 @@ }, "devDependencies": { "@types/fs-extra": "^9.0.13", - "@types/node": "^18.7.16", + "@types/node": "^18.7.18", "@types/node-fetch": "^2.6.2", "fs-extra": "^10.1.0", "jest": "^29.0.3", @@ -47,8 +47,8 @@ "rimraf": "^3.0.2" }, "dependencies": { - "@cspell/cspell-service-bus": "^6.8.2", + "@cspell/cspell-service-bus": "^6.9.0", "node-fetch": "^2.6.7" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/cspell-lib/dist/Settings/patterns.js b/action/node_modules/cspell-lib/dist/Settings/patterns.js index 481ea1786..9cbe69859 100644 --- a/action/node_modules/cspell-lib/dist/Settings/patterns.js +++ b/action/node_modules/cspell-lib/dist/Settings/patterns.js @@ -1,7 +1,7 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.resolvePatterns = void 0; -const text_1 = require("../util/text"); +const textRegex_1 = require("../util/textRegex"); const util_1 = require("../util/util"); function resolvePatterns(regExpList = [], patternDefinitions = []) { const patternMap = new Map(patternDefinitions.map((def) => [def.name.toLowerCase(), def.pattern])); @@ -27,6 +27,6 @@ function resolvePatterns(regExpList = [], patternDefinitions = []) { } exports.resolvePatterns = resolvePatterns; function toRegExp(pattern) { - return pattern instanceof RegExp ? new RegExp(pattern) : (0, text_1.stringToRegExp)(pattern, 'gim', 'g'); + return pattern instanceof RegExp ? new RegExp(pattern) : (0, textRegex_1.stringToRegExp)(pattern, 'gim', 'g'); } //# sourceMappingURL=patterns.js.map \ No newline at end of file diff --git a/action/node_modules/cspell-lib/dist/util/text.js b/action/node_modules/cspell-lib/dist/util/text.js index 69e9c258a..fb244be17 100644 --- a/action/node_modules/cspell-lib/dist/util/text.js +++ b/action/node_modules/cspell-lib/dist/util/text.js @@ -1,11 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.__testing__ = exports.removeAccents = exports.calculateTextDocumentOffsets = exports.stringToRegExp = exports.extractText = exports.textOffset = exports.matchCase = exports.camelToSnake = exports.snakeToCamel = exports.lcFirst = exports.ucFirst = exports.isFirstCharacterLower = exports.isFirstCharacterUpper = exports.isLowerCase = exports.isUpperCase = exports.extractWordsFromCodeTextOffset = exports.extractWordsFromCode = exports.extractPossibleWordsFromTextOffset = exports.cleanTextOffset = exports.cleanText = exports.extractWordsFromTextOffset = exports.extractWordsFromText = exports.extractLinesOfText = exports.matchToTextOffset = exports.matchStringToTextOffset = exports.match = exports.splitCamelCaseWord = exports.splitCamelCaseWordWithOffset = void 0; +exports.__testing__ = exports.removeAccents = exports.calculateTextDocumentOffsets = exports.extractText = exports.textOffset = exports.matchCase = exports.camelToSnake = exports.snakeToCamel = exports.lcFirst = exports.ucFirst = exports.isFirstCharacterLower = exports.isFirstCharacterUpper = exports.isLowerCase = exports.isUpperCase = exports.extractWordsFromCodeTextOffset = exports.extractWordsFromCode = exports.extractPossibleWordsFromTextOffset = exports.cleanTextOffset = exports.cleanText = exports.extractWordsFromTextOffset = exports.extractWordsFromText = exports.extractLinesOfText = exports.matchToTextOffset = exports.matchStringToTextOffset = exports.match = exports.splitCamelCaseWord = exports.splitCamelCaseWordWithOffset = exports.stringToRegExp = void 0; const cspell_pipe_1 = require("@cspell/cspell-pipe"); const gensequence_1 = require("gensequence"); const search_1 = require("./search"); const textRegex_1 = require("./textRegex"); const util_1 = require("./util"); +var textRegex_2 = require("./textRegex"); +Object.defineProperty(exports, "stringToRegExp", { enumerable: true, get: function () { return textRegex_2.stringToRegExp; } }); // CSpell:ignore ings ning gimuy tsmerge function splitCamelCaseWordWithOffset(wo) { return splitCamelCaseWord(wo.text).map((0, util_1.scanMap)((last, text) => ({ text, offset: last.offset + last.text.length }), { @@ -155,25 +157,6 @@ exports.extractText = extractText; function offsetMap(offset) { return (xo) => ({ ...xo, offset: xo.offset + offset }); } -function stringToRegExp(pattern, defaultFlags = 'gimu', forceFlags = 'g') { - if (pattern instanceof RegExp) { - return pattern; - } - try { - const [, pat, flag] = [...(pattern.match(textRegex_1.regExMatchRegExParts) || ['', pattern, defaultFlags]), forceFlags]; - // Make sure the flags are unique. - const flags = [...new Set(forceFlags + flag)].join('').replace(/[^gimuy]/g, ''); - if (pat) { - const regex = new RegExp(pat, flags); - return regex; - } - } - catch (e) { - /* empty */ - } - return undefined; -} -exports.stringToRegExp = stringToRegExp; function calculateTextDocumentOffsets(uri, doc, wordOffsets) { const lines = [ -1, diff --git a/action/node_modules/cspell-lib/dist/util/textRegex.js b/action/node_modules/cspell-lib/dist/util/textRegex.js index 89362a126..fbd0d80fe 100644 --- a/action/node_modules/cspell-lib/dist/util/textRegex.js +++ b/action/node_modules/cspell-lib/dist/util/textRegex.js @@ -1,7 +1,7 @@ "use strict"; -// cspell:ignore ings ning gimuy anrvtbf +// cspell:ignore ings ning gimuy anrvtbf gimuxy Object.defineProperty(exports, "__esModule", { value: true }); -exports.regExTrailingEndings = exports.regExDanglingQuote = exports.regExEscapeCharacters = exports.regExAccents = exports.regExMatchRegExParts = exports.regExPossibleWordBreaks = exports.regExAllLower = exports.regExAllUpper = exports.regExFirstUpper = exports.regExIgnoreCharacters = exports.regExWordsAndDigits = exports.regExWords = exports.regExSplitWords2 = exports.regExSplitWords = exports.regExUpperSOrIng = exports.regExLines = void 0; +exports.stringToRegExp = exports.regExTrailingEndings = exports.regExDanglingQuote = exports.regExEscapeCharacters = exports.regExAccents = exports.regExMatchRegExParts = exports.regExPossibleWordBreaks = exports.regExAllLower = exports.regExAllUpper = exports.regExFirstUpper = exports.regExIgnoreCharacters = exports.regExWordsAndDigits = exports.regExWords = exports.regExSplitWords2 = exports.regExSplitWords = exports.regExUpperSOrIng = exports.regExLines = void 0; exports.regExLines = /.*(\r?\n|$)/g; exports.regExUpperSOrIng = /([\p{Lu}\p{M}]+\\?['’]?(?:s|ing|ies|es|ings|ed|ning))(?!\p{Ll})/gu; exports.regExSplitWords = /(\p{Ll}\p{M}?)(\p{Lu})/gu; @@ -13,11 +13,118 @@ exports.regExFirstUpper = /^\p{Lu}\p{M}?\p{Ll}+$/u; exports.regExAllUpper = /^(?:\p{Lu}\p{M}?)+$/u; exports.regExAllLower = /^(?:\p{Ll}\p{M}?)+$/u; exports.regExPossibleWordBreaks = /[-_’']/g; -exports.regExMatchRegExParts = /^\/(.*)\/([gimuy]*)$/; +exports.regExMatchRegExParts = /^\s*\/([\s\S]*?)\/([gimuxy]*)\s*$/; exports.regExAccents = /\p{M}/gu; exports.regExEscapeCharacters = /(?<=\\)[anrvtbf]/gi; /** Matches against leading `'` or `{single letter}'` */ exports.regExDanglingQuote = /(?<=(?:^|(?!\p{M})\P{L})(?:\p{L}\p{M}?)?)[']/gu; /** Match tailing endings after CAPS words */ exports.regExTrailingEndings = /(?<=(?:\p{Lu}\p{M}?){2})['’]?(?:s|d|ings?|ies|e[ds]?|ning|th|nth)(?!\p{Ll})/gu; +function stringToRegExp(pattern, defaultFlags = 'gimu', forceFlags = 'g') { + if (pattern instanceof RegExp) { + return pattern; + } + try { + const [, pat, flag] = [ + ...(pattern.match(exports.regExMatchRegExParts) || ['', pattern.trim(), defaultFlags]), + forceFlags, + ]; + if (pat) { + const regPattern = flag.includes('x') ? removeVerboseFromRegExp(pat) : pat; + // Make sure the flags are unique. + const flags = [...new Set(forceFlags + flag)].join('').replace(/[^gimuy]/g, ''); + const regex = new RegExp(regPattern, flags); + return regex; + } + } + catch (e) { + /* empty */ + } + return undefined; +} +exports.stringToRegExp = stringToRegExp; +const SPACES = { + ' ': true, + '\n': true, + '\r': true, + '\t': true, +}; +/** + * Remove all whitespace and comments from a regexp string. The format follows Pythons Verbose. + * Note: this is a best attempt. Special cases for comments: `#` and spaces should be proceeded with a `\` + * + * All space must be proceeded by a `\` or in a character class `[]` + * + * @param pattern - the pattern to clean + */ +function removeVerboseFromRegExp(pattern) { + function escape(acc) { + const char = pattern[acc.idx]; + if (char !== '\\') + return undefined; + const next = pattern[++acc.idx]; + acc.idx++; + if (next === '#') { + acc.result += '#'; + return acc; + } + if (!(next in SPACES)) { + acc.result += '\\' + next; + return acc; + } + acc.result += next; + if (next === '\r' && pattern[acc.idx] === '\n') { + acc.result += '\n'; + acc.idx++; + } + return acc; + } + function braces(acc) { + const char = pattern[acc.idx]; + if (char !== '[') + return undefined; + acc.result += char; + acc.idx++; + let escCount = 0; + while (acc.idx < pattern.length) { + const char = pattern[acc.idx]; + acc.result += char; + acc.idx++; + if (char === ']' && !(escCount & 1)) + break; + escCount = char === '\\' ? escCount + 1 : 0; + } + return acc; + } + function spaces(acc) { + const char = pattern[acc.idx]; + if (!(char in SPACES)) + return undefined; + acc.idx++; + return acc; + } + function comments(acc) { + const char = pattern[acc.idx]; + if (char !== '#') + return undefined; + while (acc.idx < pattern.length && pattern[acc.idx] !== '\n') { + acc.idx++; + } + return acc; + } + function copy(acc) { + const char = pattern[acc.idx++]; + acc.result += char; + return acc; + } + const reducers = [escape, braces, spaces, comments, copy]; + const result = { idx: 0, result: '' }; + while (result.idx < pattern.length) { + for (const r of reducers) { + if (r(result)) + break; + } + } + return result.result; +} //# sourceMappingURL=textRegex.js.map \ No newline at end of file diff --git a/action/node_modules/cspell-lib/package.json b/action/node_modules/cspell-lib/package.json index bdf3eb4b2..1df3c790e 100644 --- a/action/node_modules/cspell-lib/package.json +++ b/action/node_modules/cspell-lib/package.json @@ -1,6 +1,6 @@ { "name": "cspell-lib", - "version": "6.8.2", + "version": "6.9.0", "description": "A library of useful functions used across various cspell tools.", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -48,17 +48,17 @@ }, "homepage": "https://github.com/streetsidesoftware/cspell#readme", "dependencies": { - "@cspell/cspell-bundled-dicts": "^6.8.2", - "@cspell/cspell-pipe": "^6.8.2", - "@cspell/cspell-types": "^6.8.2", + "@cspell/cspell-bundled-dicts": "^6.9.0", + "@cspell/cspell-pipe": "^6.9.0", + "@cspell/cspell-types": "^6.9.0", "clear-module": "^4.1.2", "comment-json": "^4.2.3", "configstore": "^5.0.1", "cosmiconfig": "^7.0.1", - "cspell-glob": "^6.8.2", - "cspell-grammar": "^6.8.2", - "cspell-io": "^6.8.2", - "cspell-trie-lib": "^6.8.2", + "cspell-glob": "^6.9.0", + "cspell-grammar": "^6.9.0", + "cspell-io": "^6.9.0", + "cspell-trie-lib": "^6.9.0", "fast-equals": "^4.0.3", "find-up": "^5.0.0", "fs-extra": "^10.1.0", @@ -83,15 +83,15 @@ "@cspell/dict-python": "^2.0.6", "@types/configstore": "^5.0.1", "@types/fs-extra": "^9.0.13", - "@types/jest": "^29.0.1", - "@types/node": "^18.7.16", + "@types/jest": "^29.0.2", + "@types/node": "^18.7.18", "cspell-dict-nl-nl": "^1.1.2", "jest": "^29.0.3", "lorem-ipsum": "^2.0.8", "rimraf": "^3.0.2", "rollup": "^2.79.0", "rollup-plugin-dts": "^4.2.2", - "ts-jest": "^29.0.0" + "ts-jest": "^29.0.1" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/cspell-trie-lib/package.json b/action/node_modules/cspell-trie-lib/package.json index b538d3b2a..e5b9ea672 100644 --- a/action/node_modules/cspell-trie-lib/package.json +++ b/action/node_modules/cspell-trie-lib/package.json @@ -1,6 +1,6 @@ { "name": "cspell-trie-lib", - "version": "6.8.2", + "version": "6.9.0", "description": "Trie Data Structure to support cspell.", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -37,8 +37,8 @@ }, "homepage": "https://github.com/streetsidesoftware/cspell#readme", "dependencies": { - "@cspell/cspell-pipe": "^6.8.2", - "@cspell/cspell-types": "^6.8.2", + "@cspell/cspell-pipe": "^6.9.0", + "@cspell/cspell-types": "^6.9.0", "fs-extra": "^10.1.0", "gensequence": "^4.0.2" }, @@ -49,9 +49,9 @@ "@cspell/dict-en_us": "^2.3.3", "@cspell/dict-es-es": "^2.2.1", "@types/fs-extra": "^9.0.13", - "@types/node": "^18.7.16", + "@types/node": "^18.7.18", "jest": "^29.0.3", "rimraf": "^3.0.2" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/node_modules/cspell/package.json b/action/node_modules/cspell/package.json index c702f28e6..240b4733f 100644 --- a/action/node_modules/cspell/package.json +++ b/action/node_modules/cspell/package.json @@ -1,6 +1,6 @@ { "name": "cspell", - "version": "6.8.2", + "version": "6.9.0", "description": "A Spelling Checker for Code!", "funding": "https://github.com/streetsidesoftware/cspell?sponsor=1", "main": "dist/index.js", @@ -70,12 +70,12 @@ }, "homepage": "https://streetsidesoftware.github.io/cspell/", "dependencies": { - "@cspell/cspell-pipe": "^6.8.2", + "@cspell/cspell-pipe": "^6.9.0", "chalk": "^4.1.2", "commander": "^9.4.0", - "cspell-gitignore": "^6.8.2", - "cspell-glob": "^6.8.2", - "cspell-lib": "^6.8.2", + "cspell-gitignore": "^6.9.0", + "cspell-glob": "^6.9.0", + "cspell-lib": "^6.9.0", "fast-json-stable-stringify": "^2.1.0", "file-entry-cache": "^6.0.1", "fs-extra": "^10.1.0", @@ -90,8 +90,8 @@ "node": ">=14" }, "devDependencies": { - "@cspell/cspell-json-reporter": "^6.8.2", - "@cspell/cspell-types": "^6.8.2", + "@cspell/cspell-json-reporter": "^6.9.0", + "@cspell/cspell-types": "^6.9.0", "@types/file-entry-cache": "^5.0.2", "@types/fs-extra": "^9.0.13", "@types/glob": "^8.0.0", @@ -106,5 +106,5 @@ "rollup": "^2.79.0", "rollup-plugin-dts": "^4.2.2" }, - "gitHead": "fb47a5f2f93d333fe5540142f3217e4981a7c27d" + "gitHead": "d68b540deb382bafb2dce1be8f14935cc0d3cd5d" } diff --git a/action/package.json b/action/package.json index f5289ddcf..2b8814744 100644 --- a/action/package.json +++ b/action/package.json @@ -14,8 +14,8 @@ "@octokit/core": "^4.0.5", "@octokit/plugin-rest-endpoint-methods": "^6.6.0", "@octokit/rest": "^19.0.4", - "cspell": "^6.8.2", - "cspell-glob": "^6.8.2", + "cspell": "^6.9.0", + "cspell-glob": "^6.9.0", "vscode-uri": "^3.0.4" } } diff --git a/yarn.lock b/yarn.lock index 8ab0a5634..62ff35c1a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -322,10 +322,10 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@cspell/cspell-bundled-dicts@^6.8.2": - version "6.8.2" - resolved "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-6.8.2.tgz#0e55acfcd4f7fa8a1e1f0487f8c955096320c450" - integrity sha512-E4sNdcG23nj0ztiI69PeU+ALL6DgL3GoqVZuLhpRwgRL4RN7n7FuUJdJ91cgpNvx50+HhdyxFqEpKRigD3yeNQ== +"@cspell/cspell-bundled-dicts@^6.9.0": + version "6.9.0" + resolved "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-6.9.0.tgz#c89ce17c3f2630349e8ce7ed5c22db225fc812f9" + integrity sha512-4U2MGYSqaIWB+Tx+ITm/+782MJIekMSE2IV/iLVrDSfBtR0KQdl0AR/b9zt5pY0Hhcmzu5SumVNivUEhXQV21Q== dependencies: "@cspell/dict-ada" "^2.0.1" "@cspell/dict-aws" "^2.0.0" @@ -370,20 +370,20 @@ "@cspell/dict-typescript" "^2.0.1" "@cspell/dict-vue" "^2.0.2" -"@cspell/cspell-pipe@^6.8.2": - version "6.8.2" - resolved "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-6.8.2.tgz#89db609309d55e094626947a8ce3cb6fd7a5c7f5" - integrity sha512-9GXBibZ8bcU+2KhX6WTEASPhIhsqdFYITwBJ39jfUl2MiPgpvjYxQKrAgnZOm5WpRzCUxoelU2SVaoI+rn/Stg== +"@cspell/cspell-pipe@^6.9.0": + version "6.9.0" + resolved "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-6.9.0.tgz#8e66aa2355768f528922f0ee7fb44affae12fbcd" + integrity sha512-jHCxIo9ss87ziDp+c6LpBEcwsc4UA1I133jsvaoS0y4pKUNdicQ0skdh5UCz9K1JA+U4Xv0cSqMkU1Y9eHQO1Q== -"@cspell/cspell-service-bus@^6.8.2": - version "6.8.2" - resolved "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-6.8.2.tgz#df82637f29fd56cfd01459cef6fa87076489ac94" - integrity sha512-YvEauGv/QZb5xRiKKvwiXz7lj7twc5TgispnujgHYDEt6OcXiWjYj676WzKkGJ2yM+QfurGJCCvOb2L1HQ6rYg== +"@cspell/cspell-service-bus@^6.9.0": + version "6.9.0" + resolved "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-6.9.0.tgz#d9fefc588e56456652183c4d387d818ad1ac61e0" + integrity sha512-yzXGfhCbdVExjnDcBBjLhiLpzJzaypZ2l62E5Bcde7rtzlDo1L1gKuPtUVvN53zA2c8vCTjuR1pO41HwY/jHaQ== -"@cspell/cspell-types@^6.8.2": - version "6.8.2" - resolved "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-6.8.2.tgz#78f4fa979b8e365251b3212f3f8b5da40d186a84" - integrity sha512-jFg+D1L+MkIad2IR+qlnOYIuwqaosbTrtqhpWhbOGMvFQjxMyKg9IVxbmtjDCdRohdBUvRq96rkp0vx1FviiwQ== +"@cspell/cspell-types@^6.9.0": + version "6.9.0" + resolved "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-6.9.0.tgz#615f654564504d0793ebf02c5f352fc0779a78f4" + integrity sha512-kXNPuzpXFXUUpTkZMkVkdAuji29anhhx5jtB0J+26Q1/9mous+fvdqvzj1F6uYd2HfNiJ98Dft4blksRvC/OPg== "@cspell/dict-ada@^2.0.1": version "2.0.1" @@ -1858,53 +1858,53 @@ crypto-random-string@^2.0.0: resolved "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" integrity sha512-v1plID3y9r/lPhviJ1wrXpLeyUIGAZ2SHNYTEapm7/8A9nLPoyvVp3RK/EPFqn5kEznyWgYZNsRtYYIWbuG8KA== -cspell-gitignore@^6.8.2: - version "6.8.2" - resolved "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-6.8.2.tgz#aa2edeefcb580daeb4da41063b3e5d9a38cfccbf" - integrity sha512-JoU/rGeGrjSqOMvY5q+bloxtO5Y8QLpJEEIAvHHZ+oTOlExZ/CIAYnO6X3lC6ylNRYc1+I2KEOFa6R0+0OSdVQ== +cspell-gitignore@^6.9.0: + version "6.9.0" + resolved "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-6.9.0.tgz#886518397093e8f1c3fbedcb4dc48fb399c56cdf" + integrity sha512-RW2jaRzRzsB1etLIcop8hyZrVeVoACjhECxq0l3Xp7a1emgecArfWrYoX37Z6zk3B5xj+FGxSt/JHpScpNV5bA== dependencies: - cspell-glob "^6.8.2" + cspell-glob "^6.9.0" find-up "^5.0.0" -cspell-glob@^6.8.2: - version "6.8.2" - resolved "https://registry.npmjs.org/cspell-glob/-/cspell-glob-6.8.2.tgz#c8b01def75a2d8bab52c5d7c03a1923847669b92" - integrity sha512-FKy2EIdQKO9b/vP0r8yqxtGQNA8M48DkwMSjW2mN1Qku5wRT8SPByKg87BjK4oztlIiQJoJ6+8OTrWnJwdbpQw== +cspell-glob@^6.9.0: + version "6.9.0" + resolved "https://registry.npmjs.org/cspell-glob/-/cspell-glob-6.9.0.tgz#0be9afcf567ba106da51e85dce1f4466b44ce709" + integrity sha512-6pL8CvngR5wkZWh8IsTqgqC7Lw+bfTKy9A90D6h+b1xUf4omZZbELSPDF6859GSmjj7/v6jrRFizvz0uBF8Ybw== dependencies: micromatch "^4.0.5" -cspell-grammar@^6.8.2: - version "6.8.2" - resolved "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-6.8.2.tgz#464cd6a012b51d83812ca45fc5f03483b37c1283" - integrity sha512-RHvIsNRDlBYKddKAdob5XT2+odOiO3eJVaw/vt5+CRx1cJSjuaIOyHwXKH2Xl1ioUUhEb9Ew3pg7JktRdzKn5w== +cspell-grammar@^6.9.0: + version "6.9.0" + resolved "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-6.9.0.tgz#4d0208e2ed7cf2b7e09a559b297d71874bbe9530" + integrity sha512-d4ZRLHwMrvMI1oOPrfiH0sJW00nws0fsYvRe7yxenpQkIFAOcrYi5vb5TDwgzM2Z7H1OG8Jcuv2FztPb649zpg== dependencies: - "@cspell/cspell-pipe" "^6.8.2" - "@cspell/cspell-types" "^6.8.2" + "@cspell/cspell-pipe" "^6.9.0" + "@cspell/cspell-types" "^6.9.0" -cspell-io@^6.8.2: - version "6.8.2" - resolved "https://registry.npmjs.org/cspell-io/-/cspell-io-6.8.2.tgz#1e4af4121da996c5087bef854d57384cc3273ead" - integrity sha512-QpdePUXD8fTM2XuZdeS5ygTeIW9pnaQhTVWBWGbnrYlMn5iV9Jo81dHheHw4InxQJUjhyS/CuxdNGfYZXGJuaQ== +cspell-io@^6.9.0: + version "6.9.0" + resolved "https://registry.npmjs.org/cspell-io/-/cspell-io-6.9.0.tgz#5f696cf16ebf19ea142265847cff96fe47f03513" + integrity sha512-FGi9njXlzsa9dbXDJIhLMDqnJkYgJEFhkXO945H65wKr6OmlmYU3dNZF/Gv7JL/sn8jenvlpODWdqP4/NyTZmA== dependencies: - "@cspell/cspell-service-bus" "^6.8.2" + "@cspell/cspell-service-bus" "^6.9.0" node-fetch "^2.6.7" -cspell-lib@^6.8.2: - version "6.8.2" - resolved "https://registry.npmjs.org/cspell-lib/-/cspell-lib-6.8.2.tgz#ba6660a6cab499a58693101bf66fb3b6a01a9e75" - integrity sha512-K7UoaKB3qzq5KVnKynQM0+v8+4aXAA0coBKA6tH5czY2KDeuJSUu14b9WM+nxrUbMOOvNuSv+NaYw5lryaMFsg== +cspell-lib@^6.9.0: + version "6.9.0" + resolved "https://registry.npmjs.org/cspell-lib/-/cspell-lib-6.9.0.tgz#4b18873c4ea29ada6bc78a0e769587a7332e7b83" + integrity sha512-opkLYHkDUbGRnE4/dneu/o2ODiKN7niOA8WcQ2EN1zkSW3FBaWU8eLFc00Cc5+R0EWZus50DkhWCT+/fv+hX6w== dependencies: - "@cspell/cspell-bundled-dicts" "^6.8.2" - "@cspell/cspell-pipe" "^6.8.2" - "@cspell/cspell-types" "^6.8.2" + "@cspell/cspell-bundled-dicts" "^6.9.0" + "@cspell/cspell-pipe" "^6.9.0" + "@cspell/cspell-types" "^6.9.0" clear-module "^4.1.2" comment-json "^4.2.3" configstore "^5.0.1" cosmiconfig "^7.0.1" - cspell-glob "^6.8.2" - cspell-grammar "^6.8.2" - cspell-io "^6.8.2" - cspell-trie-lib "^6.8.2" + cspell-glob "^6.9.0" + cspell-grammar "^6.9.0" + cspell-io "^6.9.0" + cspell-trie-lib "^6.9.0" fast-equals "^4.0.3" find-up "^5.0.0" fs-extra "^10.1.0" @@ -1915,27 +1915,27 @@ cspell-lib@^6.8.2: vscode-languageserver-textdocument "^1.0.7" vscode-uri "^3.0.3" -cspell-trie-lib@^6.8.2: - version "6.8.2" - resolved "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-6.8.2.tgz#371750995d159be301172cbdd49fc98542e51544" - integrity sha512-jaNszLtSQglpz1BKejQ4RBFyJVSsYHQGW+1Rj4Zm103OcL+g6r/E1lm/dIbX/1UC4pBrNamjcGzXtPOBZJtUeQ== +cspell-trie-lib@^6.9.0: + version "6.9.0" + resolved "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-6.9.0.tgz#67f4f6dc8c6893cabf4f5721d2a2c1162df050b7" + integrity sha512-Wo0GPMFNh/GLEhIzfHBO6cJkXtrthGNRvTOAh1yZpKVKkF1VtvxlKwxhMAYIFAWRc4umgqKAGIhwQgWySXFUMQ== dependencies: - "@cspell/cspell-pipe" "^6.8.2" - "@cspell/cspell-types" "^6.8.2" + "@cspell/cspell-pipe" "^6.9.0" + "@cspell/cspell-types" "^6.9.0" fs-extra "^10.1.0" gensequence "^4.0.2" -cspell@^6.8.2: - version "6.8.2" - resolved "https://registry.npmjs.org/cspell/-/cspell-6.8.2.tgz#fe3780f0cc25951b462b3b6978a30aeb07f92f7a" - integrity sha512-WHF8tQXetHgAjyG6f0rDhWXRQllSpZULOIuDZj6PeZyHubuObzsMsW0asDvL8j+EGKXr8NPo4J3vjxahYmSJ+w== +cspell@^6.9.0: + version "6.9.0" + resolved "https://registry.npmjs.org/cspell/-/cspell-6.9.0.tgz#cd67b690d3b9e94143ecc744867481be4499b967" + integrity sha512-2Bqle0F67jRQRgKZGajAMZJ9/0C3CZDrXZ0pdU1O0zwCD4fvC6Hd8pKw+PSd7AYTsnw1Dulh2JkvZBN2f8bJlA== dependencies: - "@cspell/cspell-pipe" "^6.8.2" + "@cspell/cspell-pipe" "^6.9.0" chalk "^4.1.2" commander "^9.4.0" - cspell-gitignore "^6.8.2" - cspell-glob "^6.8.2" - cspell-lib "^6.8.2" + cspell-gitignore "^6.9.0" + cspell-glob "^6.9.0" + cspell-lib "^6.9.0" fast-json-stable-stringify "^2.1.0" file-entry-cache "^6.0.1" fs-extra "^10.1.0"