diff --git a/action-src/package.json b/action-src/package.json index 173521895..782951ef3 100644 --- a/action-src/package.json +++ b/action-src/package.json @@ -26,8 +26,8 @@ "@octokit/core": "^4.2.4", "@octokit/plugin-rest-endpoint-methods": "7.1.3", "@octokit/rest": "^19.0.13", - "cspell": "^6.31.2", - "cspell-glob": "^6.31.2", + "cspell": "^6.31.3", + "cspell-glob": "^6.31.3", "vscode-uri": "^3.0.7" } } diff --git a/action/node_modules/@cspell/cspell-bundled-dicts/package.json b/action/node_modules/@cspell/cspell-bundled-dicts/package.json index a1f3eaff2..bfb1eb118 100644 --- a/action/node_modules/@cspell/cspell-bundled-dicts/package.json +++ b/action/node_modules/@cspell/cspell-bundled-dicts/package.json @@ -1,6 +1,6 @@ { "name": "@cspell/cspell-bundled-dicts", - "version": "6.31.2", + "version": "6.31.3", "description": "Dictionaries bundled with cspell", "publishConfig": { "access": "public" @@ -95,9 +95,9 @@ "node": ">=14" }, "devDependencies": { - "@cspell/cspell-tools": "6.31.2", - "@cspell/cspell-types": "6.31.1", + "@cspell/cspell-tools": "6.31.3", + "@cspell/cspell-types": "6.31.3", "typescript": "^4.9.5" }, - "gitHead": "aa78fdb9d4fc45dc74bcf31b6a6366784fe0d1c4" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/@cspell/cspell-json-reporter/LICENSE b/action/node_modules/@cspell/cspell-json-reporter/LICENSE new file mode 100644 index 000000000..61d1e2960 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2019 cspell + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/action/node_modules/@cspell/cspell-json-reporter/README.md b/action/node_modules/@cspell/cspell-json-reporter/README.md new file mode 100644 index 000000000..0e1a87782 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/README.md @@ -0,0 +1,138 @@ +# `@cspell/cspell-json-reporter` + +> CSpell reporter with JSON output + +## Installation + +Install it as a development package in the repository that will use it. + +```sh +npm install -SD @cspell/cspell-json-reporter +``` + +## Usage + +Add this to `cspell.yaml`: + +```yaml +reporters: [['@cspell/cspell-json-reporter', { outFile: 'out.json' }]] +``` + +or `cspell.json` + +```json +{ + "reporters": [["@cspell/cspell-json-reporter", { "outFile": "out.json" }]] +} +``` + +## Output file format + +`@cspell/cspell-json-reporter` emits a JSON file with the following fields: + +- `issues` - found spelling issues +- `result` - CSpell linting results +- `error` - CSell error messages +- `progress` - file linting progress messages if `settings.progress` is enabled +- `info` - CSpell execution logs if `settings.verbose` is enabled +- `debug` - CSpell debug logs if `settings.debug` is enabled + +
+JSON Output Definition + + + +```ts +import type { + ErrorLike, + Issue, + MessageType, + ProgressFileComplete, + ProgressItem, + RunResult, +} from '@cspell/cspell-types'; + +export type CSpellJSONReporterOutput = { + /** + * Found spelling issues + */ + issues: Array; + /** + * CSpell execution logs + */ + info?: Array<{ message: string; msgType: MessageType }>; + /** + * CSpell debug logs + */ + debug?: Array<{ message: string }>; + /** + * CSpell error logs + */ + error?: Array<{ message: string; error: ErrorLike }>; + /** + * CSpell file progress logs + */ + progress?: Array; + /** + * Execution result + */ + result: RunResult; +}; +``` + + + +
+ +## Settings + +Possible settings: + +- `outFile` (required) - path for JSON file to emit +- `verbose` (default: false) - enable saving of execution logs +- `debug` (default: false) - enable saving of debug logs +- `progress` (default: false) - enable saving of file progress logs + +
+Reporter Settings + + + +```ts +/** + * CSpell-json-reporter settings type definition + */ +export type CSpellJSONReporterSettings = { + /** + * Path to the output file. + * + * Relative paths are relative to the current working directory. + * + * Special values: + * - `stdout` - write the JSON to `stdout`. + * - `stderr` - write the JSON to `stderr`. + * + * @default stdout + */ + outFile?: string; + /** + * Add more information about the files being checked and the configuration + * @default false + */ + verbose?: boolean; + /** + * Add information useful for debugging cspell.json files + * @default false + */ + debug?: boolean; + /** + * Add progress messages + * @default false + */ + progress?: boolean; +}; +``` + + + +
diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/CSpellJSONReporterOutput.js b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/CSpellJSONReporterOutput.js new file mode 100644 index 000000000..b5058f9d9 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/CSpellJSONReporterOutput.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=CSpellJSONReporterOutput.js.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/CSpellJSONReporterSettings.js b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/CSpellJSONReporterSettings.js new file mode 100644 index 000000000..88ed223ec --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/CSpellJSONReporterSettings.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=CSpellJSONReporterSettings.js.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/index.js b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/index.js new file mode 100644 index 000000000..ccc9c4bf8 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/index.js @@ -0,0 +1,102 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (this && this.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.getReporter = void 0; +const cspell_types_1 = require("@cspell/cspell-types"); +const fs_1 = require("fs"); +const path = __importStar(require("path")); +const setToJSONReplacer_js_1 = require("./utils/setToJSONReplacer.js"); +const validateSettings_js_1 = require("./utils/validateSettings.js"); +function mkdirp(p) { + return fs_1.promises.mkdir(p, { recursive: true }); +} +const noopReporter = () => undefined; +const STDOUT = 'stdout'; +const STDERR = 'stderr'; +function getReporter(settings, cliOptions) { + const useSettings = normalizeSettings(settings); + const reportData = { issues: [], info: [], debug: [], error: [], progress: [] }; + return { + issue: (issue) => { + reportData.issues.push(issue); + }, + info: (message, msgType) => { + if (msgType === cspell_types_1.MessageTypes.Debug && !useSettings.debug) { + return; + } + if (msgType === cspell_types_1.MessageTypes.Info && !useSettings.verbose) { + return; + } + reportData.info = push(reportData.info, { message, msgType }); + }, + debug: useSettings.debug + ? (message) => { + reportData.debug = push(reportData.debug, { message }); + } + : noopReporter, + error: (message, error) => { + reportData.error = push(reportData.error, { message, error }); + }, + progress: useSettings.progress + ? (item) => { + reportData.progress = push(reportData.progress, item); + } + : noopReporter, + result: async (result) => { + const outFile = useSettings.outFile || STDOUT; + const output = { + ...reportData, + result, + }; + const jsonData = JSON.stringify(output, setToJSONReplacer_js_1.setToJSONReplacer, 4); + if (outFile === STDOUT) { + console.log(jsonData); + return; + } + if (outFile === STDERR) { + console.error(jsonData); + return; + } + const outFilePath = path.join(cliOptions?.root ?? process.cwd(), outFile); + await mkdirp(path.dirname(outFilePath)); + return fs_1.promises.writeFile(outFilePath, jsonData); + }, + }; +} +exports.getReporter = getReporter; +function normalizeSettings(settings) { + if (settings === undefined) + return { outFile: STDOUT }; + (0, validateSettings_js_1.validateSettings)(settings); + return settings; +} +function push(src, value) { + if (src) { + src.push(value); + return src; + } + return [value]; +} +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/utils/setToJSONReplacer.js b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/utils/setToJSONReplacer.js new file mode 100644 index 000000000..1700dca3d --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/utils/setToJSONReplacer.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.setToJSONReplacer = void 0; +/** + * JSON.stringify replacer which converts Set to Array to allow serialization + */ +function setToJSONReplacer(_, value) { + if (typeof value === 'object' && value instanceof Set) { + return [...value]; + } + return value; +} +exports.setToJSONReplacer = setToJSONReplacer; +//# sourceMappingURL=setToJSONReplacer.js.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/utils/validateSettings.js b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/utils/validateSettings.js new file mode 100644 index 000000000..8ade6b142 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/cjs/utils/validateSettings.js @@ -0,0 +1,38 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.validateSettings = void 0; +const assert_1 = require("assert"); +function assertBooleanOrUndefined(key, value) { + if (typeof value !== 'boolean' && value !== undefined) { + throw new assert_1.AssertionError({ + message: `cspell-json-reporter settings.${key} must be a boolean`, + actual: typeof value, + expected: 'boolean', + }); + } +} +/** + * Throws an error if passed cspell-json-reporter settings are invalid + */ +function validateSettings(settings) { + if (!settings || typeof settings !== 'object' || Array.isArray(settings)) { + throw new assert_1.AssertionError({ + message: 'cspell-json-reporter settings must be an object', + actual: typeof settings, + expected: 'object', + }); + } + const { outFile = 'stdout', debug, verbose, progress } = settings; + if (typeof outFile !== 'string') { + throw new assert_1.AssertionError({ + message: 'cspell-json-reporter settings.outFile must be a string', + actual: typeof outFile, + expected: 'string', + }); + } + assertBooleanOrUndefined('verbose', verbose); + assertBooleanOrUndefined('debug', debug); + assertBooleanOrUndefined('progress', progress); +} +exports.validateSettings = validateSettings; +//# sourceMappingURL=validateSettings.js.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterOutput.d.mts b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterOutput.d.mts new file mode 100644 index 000000000..79c3d375a --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterOutput.d.mts @@ -0,0 +1,36 @@ +import type { ErrorLike, Issue, MessageType, ProgressFileComplete, ProgressItem, RunResult } from '@cspell/cspell-types'; +export type CSpellJSONReporterOutput = { + /** + * Found spelling issues + */ + issues: Array; + /** + * CSpell execution logs + */ + info?: Array<{ + message: string; + msgType: MessageType; + }>; + /** + * CSpell debug logs + */ + debug?: Array<{ + message: string; + }>; + /** + * CSpell error logs + */ + error?: Array<{ + message: string; + error: ErrorLike; + }>; + /** + * CSpell file progress logs + */ + progress?: Array; + /** + * Execution result + */ + result: RunResult; +}; +//# sourceMappingURL=CSpellJSONReporterOutput.d.mts.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterOutput.mjs b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterOutput.mjs new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterOutput.mjs @@ -0,0 +1 @@ +export {}; diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterSettings.d.mts b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterSettings.d.mts new file mode 100644 index 000000000..5675002f7 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterSettings.d.mts @@ -0,0 +1,33 @@ +/** + * CSpell-json-reporter settings type definition + */ +export type CSpellJSONReporterSettings = { + /** + * Path to the output file. + * + * Relative paths are relative to the current working directory. + * + * Special values: + * - `stdout` - write the JSON to `stdout`. + * - `stderr` - write the JSON to `stderr`. + * + * @default stdout + */ + outFile?: string; + /** + * Add more information about the files being checked and the configuration + * @default false + */ + verbose?: boolean; + /** + * Add information useful for debugging cspell.json files + * @default false + */ + debug?: boolean; + /** + * Add progress messages + * @default false + */ + progress?: boolean; +}; +//# sourceMappingURL=CSpellJSONReporterSettings.d.mts.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterSettings.mjs b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterSettings.mjs new file mode 100644 index 000000000..cb0ff5c3b --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/CSpellJSONReporterSettings.mjs @@ -0,0 +1 @@ +export {}; diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/index.d.mts b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/index.d.mts new file mode 100644 index 000000000..fb4d6f760 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/index.d.mts @@ -0,0 +1,4 @@ +import type { CSpellReporter, ReporterConfiguration } from '@cspell/cspell-types'; +import type { CSpellJSONReporterSettings } from './CSpellJSONReporterSettings.mjs'; +export declare function getReporter(settings: unknown | CSpellJSONReporterSettings, cliOptions?: ReporterConfiguration): Required; +//# sourceMappingURL=index.d.mts.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/index.mjs b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/index.mjs new file mode 100644 index 000000000..0b9f37de0 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/index.mjs @@ -0,0 +1,74 @@ +import { MessageTypes } from '@cspell/cspell-types'; +import { promises as fs } from 'fs'; +import * as path from 'path'; +import { setToJSONReplacer } from './utils/setToJSONReplacer.mjs'; +import { validateSettings } from './utils/validateSettings.mjs'; +function mkdirp(p) { + return fs.mkdir(p, { recursive: true }); +} +const noopReporter = () => undefined; +const STDOUT = 'stdout'; +const STDERR = 'stderr'; +export function getReporter(settings, cliOptions) { + const useSettings = normalizeSettings(settings); + const reportData = { issues: [], info: [], debug: [], error: [], progress: [] }; + return { + issue: (issue) => { + reportData.issues.push(issue); + }, + info: (message, msgType) => { + if (msgType === MessageTypes.Debug && !useSettings.debug) { + return; + } + if (msgType === MessageTypes.Info && !useSettings.verbose) { + return; + } + reportData.info = push(reportData.info, { message, msgType }); + }, + debug: useSettings.debug + ? (message) => { + reportData.debug = push(reportData.debug, { message }); + } + : noopReporter, + error: (message, error) => { + reportData.error = push(reportData.error, { message, error }); + }, + progress: useSettings.progress + ? (item) => { + reportData.progress = push(reportData.progress, item); + } + : noopReporter, + result: async (result) => { + const outFile = useSettings.outFile || STDOUT; + const output = { + ...reportData, + result, + }; + const jsonData = JSON.stringify(output, setToJSONReplacer, 4); + if (outFile === STDOUT) { + console.log(jsonData); + return; + } + if (outFile === STDERR) { + console.error(jsonData); + return; + } + const outFilePath = path.join(cliOptions?.root ?? process.cwd(), outFile); + await mkdirp(path.dirname(outFilePath)); + return fs.writeFile(outFilePath, jsonData); + }, + }; +} +function normalizeSettings(settings) { + if (settings === undefined) + return { outFile: STDOUT }; + validateSettings(settings); + return settings; +} +function push(src, value) { + if (src) { + src.push(value); + return src; + } + return [value]; +} diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/setToJSONReplacer.d.mts b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/setToJSONReplacer.d.mts new file mode 100644 index 000000000..06d592d4e --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/setToJSONReplacer.d.mts @@ -0,0 +1,5 @@ +/** + * JSON.stringify replacer which converts Set to Array to allow serialization + */ +export declare function setToJSONReplacer(_: string, value: unknown): unknown; +//# sourceMappingURL=setToJSONReplacer.d.mts.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/setToJSONReplacer.mjs b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/setToJSONReplacer.mjs new file mode 100644 index 000000000..83f193929 --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/setToJSONReplacer.mjs @@ -0,0 +1,9 @@ +/** + * JSON.stringify replacer which converts Set to Array to allow serialization + */ +export function setToJSONReplacer(_, value) { + if (typeof value === 'object' && value instanceof Set) { + return [...value]; + } + return value; +} diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/validateSettings.d.mts b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/validateSettings.d.mts new file mode 100644 index 000000000..3b9bae49c --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/validateSettings.d.mts @@ -0,0 +1,6 @@ +import type { CSpellJSONReporterSettings } from '../CSpellJSONReporterSettings.mjs'; +/** + * Throws an error if passed cspell-json-reporter settings are invalid + */ +export declare function validateSettings(settings: unknown): asserts settings is CSpellJSONReporterSettings; +//# sourceMappingURL=validateSettings.d.mts.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/validateSettings.mjs b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/validateSettings.mjs new file mode 100644 index 000000000..1d40b38fc --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/dist/esm/utils/validateSettings.mjs @@ -0,0 +1,33 @@ +import { AssertionError } from 'assert'; +function assertBooleanOrUndefined(key, value) { + if (typeof value !== 'boolean' && value !== undefined) { + throw new AssertionError({ + message: `cspell-json-reporter settings.${key} must be a boolean`, + actual: typeof value, + expected: 'boolean', + }); + } +} +/** + * Throws an error if passed cspell-json-reporter settings are invalid + */ +export function validateSettings(settings) { + if (!settings || typeof settings !== 'object' || Array.isArray(settings)) { + throw new AssertionError({ + message: 'cspell-json-reporter settings must be an object', + actual: typeof settings, + expected: 'object', + }); + } + const { outFile = 'stdout', debug, verbose, progress } = settings; + if (typeof outFile !== 'string') { + throw new AssertionError({ + message: 'cspell-json-reporter settings.outFile must be a string', + actual: typeof outFile, + expected: 'string', + }); + } + assertBooleanOrUndefined('verbose', verbose); + assertBooleanOrUndefined('debug', debug); + assertBooleanOrUndefined('progress', progress); +} diff --git a/action/node_modules/@cspell/cspell-json-reporter/package.json b/action/node_modules/@cspell/cspell-json-reporter/package.json new file mode 100644 index 000000000..22135058e --- /dev/null +++ b/action/node_modules/@cspell/cspell-json-reporter/package.json @@ -0,0 +1,58 @@ +{ + "name": "@cspell/cspell-json-reporter", + "version": "6.31.3", + "description": "JSON reporter for CSpell", + "author": "Jason Dent", + "license": "MIT", + "bugs": { + "url": "https://github.com/streetsidesoftware/cspell/labels/cspell-json-reporter" + }, + "homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-json-reporter#readme", + "type": "commonjs", + "main": "dist/cjs/index.js", + "types": "dist/cjs/index.d.ts", + "module": "dist/esm/index.mjs", + "exports": { + ".": { + "import": "./dist/esm/index.mjs", + "require": "./dist/cjs/index.js" + } + }, + "files": [ + "dist", + "!dist/esm/**/*.js", + "!dist/esm/**/*.ts", + "!**/*.tsbuildInfo", + "!**/__mocks__", + "!**/test/**", + "!**/*.test.*", + "!**/*.spec.*", + "!**/*.map" + ], + "publishConfig": { + "access": "public" + }, + "repository": { + "type": "git", + "url": "git+https://github.com/streetsidesoftware/cspell.git" + }, + "scripts": { + "clean": "shx rm -rf dist coverage .tsbuildinfo", + "build": "tsc -b . && ts2mjs dist/esm", + "build:esm": "tsc -p tsconfig.esm.json", + "clean-build": "pnpm run clean && pnpm run build", + "coverage": "pnpm coverage:vitest && pnpm coverage:fix", + "coverage:vitest": "vitest run --coverage", + "coverage:fix": "nyc report --temp-dir \"$(pwd)/coverage\" --reporter lcov --report-dir \"$(pwd)/coverage\" --cwd ../..", + "test:watch": "vitest", + "test": "vitest run", + "watch": "tsc -b . -w" + }, + "dependencies": { + "@cspell/cspell-types": "6.31.3" + }, + "engines": { + "node": ">=14" + }, + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" +} diff --git a/action/node_modules/@cspell/cspell-pipe/package.json b/action/node_modules/@cspell/cspell-pipe/package.json index f7e43a29c..abfcbd368 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.31.1", + "version": "6.31.3", "description": "Library to make working with Iterators/AsyncIterators easier.", "keywords": [ "cspell", @@ -127,5 +127,5 @@ "devDependencies": { "globby": "^13.1.3" }, - "gitHead": "43c3652e27588f6643cf78fd764f12f497f89fbf" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/@cspell/cspell-service-bus/package.json b/action/node_modules/@cspell/cspell-service-bus/package.json index 75014bf58..9c710d7f8 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.31.1", + "version": "6.31.3", "description": "A Library for connecting requests to services that can fulfill them.", "keywords": [ "cspell" @@ -54,5 +54,5 @@ "engines": { "node": ">=14" }, - "gitHead": "43c3652e27588f6643cf78fd764f12f497f89fbf" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/@cspell/cspell-types/package.json b/action/node_modules/@cspell/cspell-types/package.json index e27b9743b..061ba6c2b 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.31.1", + "version": "6.31.3", "description": "Types for cspell and cspell-lib", "type": "commonjs", "main": "./dist/cjs/index.js", @@ -90,5 +90,5 @@ "ts-json-schema-generator": "^1.2.0", "typescript": "^4.9.5" }, - "gitHead": "43c3652e27588f6643cf78fd764f12f497f89fbf" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs b/action/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs index 1d03b17a0..e6823bca7 100644 --- a/action/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs +++ b/action/node_modules/@cspell/dynamic-import/dist/esm/dynamicImport.mjs @@ -1,5 +1,6 @@ import { sep as pathSep } from 'path'; import { pathToFileURL } from 'url'; +const isWindowsPath = /^[a-z]:\\/i; /** * Dynamically import a module using `import`. * @param moduleName - name of module, or relative path. @@ -8,9 +9,10 @@ import { pathToFileURL } from 'url'; */ export async function dynamicImportFrom(moduleName, paths) { paths = Array.isArray(paths) ? paths : paths ? [paths] : undefined; + const modulesNameToImport = typeof moduleName === 'string' && isWindowsPath.test(moduleName) ? pathToFileURL(moduleName) : moduleName; if (!paths || !paths.length || typeof moduleName !== 'string') { try { - return await import(moduleName.toString()); + return await import(modulesNameToImport.toString()); } catch (e) { // console.log('%o', e); @@ -23,16 +25,20 @@ export async function dynamicImportFrom(moduleName, paths) { const { resolve } = importResolveModule; let lastError = undefined; for (const parent of paths) { + const url = typeof parent === 'string' + ? parent.startsWith('file://') + ? new URL(parent) + : pathToFileURL(parent + pathSep) + : parent; + let resolved = ''; + let location = ''; try { - const url = typeof parent === 'string' - ? parent.startsWith('file://') - ? new URL(parent) - : pathToFileURL(parent + pathSep) - : parent; - const location = await resolve(moduleName, url.toString()); + resolved = await resolve(modulesNameToImport.toString(), url.toString()); + location = isWindowsPath.test(resolved) ? pathToFileURL(resolved).toString() : resolved; return await import(location); } catch (err) { + // console.warn('%o', { moduleName, modulesNameToImport, paths, parentUrl: url, err, resolved, location }); lastError = err; } } diff --git a/action/node_modules/@cspell/dynamic-import/package.json b/action/node_modules/@cspell/dynamic-import/package.json index 3d9849c10..b90c908a8 100644 --- a/action/node_modules/@cspell/dynamic-import/package.json +++ b/action/node_modules/@cspell/dynamic-import/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "6.31.1", + "version": "6.31.3", "description": "Dynamic Module Loader", "keywords": [ "module", @@ -59,5 +59,5 @@ "dependencies": { "import-meta-resolve": "^2.2.2" }, - "gitHead": "43c3652e27588f6643cf78fd764f12f497f89fbf" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/@cspell/strong-weak-map/package.json b/action/node_modules/@cspell/strong-weak-map/package.json index 84579f042..da28e0555 100644 --- a/action/node_modules/@cspell/strong-weak-map/package.json +++ b/action/node_modules/@cspell/strong-weak-map/package.json @@ -3,7 +3,7 @@ "publishConfig": { "access": "public" }, - "version": "6.31.1", + "version": "6.31.3", "description": "A Map with weakly referenced values.", "keywords": [ "Map", @@ -60,5 +60,5 @@ "engines": { "node": ">=14.6" }, - "gitHead": "43c3652e27588f6643cf78fd764f12f497f89fbf" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/cspell-dictionary/dist/cjs/SpellingDictionary/SpellingDictionaryFromTrie.js b/action/node_modules/cspell-dictionary/dist/cjs/SpellingDictionary/SpellingDictionaryFromTrie.js index a05aa7e38..9e5a3ad89 100644 --- a/action/node_modules/cspell-dictionary/dist/cjs/SpellingDictionary/SpellingDictionaryFromTrie.js +++ b/action/node_modules/cspell-dictionary/dist/cjs/SpellingDictionary/SpellingDictionaryFromTrie.js @@ -161,8 +161,8 @@ class SpellingDictionaryFromTrie { return []; } } -SpellingDictionaryFromTrie.cachedWordsLimit = 50000; exports.SpellingDictionaryFromTrie = SpellingDictionaryFromTrie; +SpellingDictionaryFromTrie.cachedWordsLimit = 50000; /** * Create a dictionary from a trie file. * @param data - contents of a trie file. diff --git a/action/node_modules/cspell-dictionary/dist/esm/SpellingDictionary/SpellingDictionaryFromTrie.mjs b/action/node_modules/cspell-dictionary/dist/esm/SpellingDictionary/SpellingDictionaryFromTrie.mjs index d6a28caec..10946e0fa 100644 --- a/action/node_modules/cspell-dictionary/dist/esm/SpellingDictionary/SpellingDictionaryFromTrie.mjs +++ b/action/node_modules/cspell-dictionary/dist/esm/SpellingDictionary/SpellingDictionaryFromTrie.mjs @@ -7,7 +7,7 @@ import * as Defaults from './defaults.mjs'; import { createWeightMapFromDictionaryInformation, defaultNumSuggestions, hasOptionToSearchOption, impersonateCollector, suggestArgsToSuggestOptions, wordSearchForms, wordSuggestFormsArray, } from './SpellingDictionaryMethods.mjs'; const findWordOptionsCaseSensitive = Object.freeze({ caseSensitive: true }); const findWordOptionsNotCaseSensitive = Object.freeze({ caseSensitive: false }); -class SpellingDictionaryFromTrie { +export class SpellingDictionaryFromTrie { constructor(trie, name, options, source = 'from trie', size) { this.trie = trie; this.name = name; @@ -136,7 +136,6 @@ class SpellingDictionaryFromTrie { } } SpellingDictionaryFromTrie.cachedWordsLimit = 50000; -export { SpellingDictionaryFromTrie }; /** * Create a dictionary from a trie file. * @param data - contents of a trie file. diff --git a/action/node_modules/cspell-dictionary/package.json b/action/node_modules/cspell-dictionary/package.json index 287ef7861..1d0343dc9 100644 --- a/action/node_modules/cspell-dictionary/package.json +++ b/action/node_modules/cspell-dictionary/package.json @@ -1,6 +1,6 @@ { "name": "cspell-dictionary", - "version": "6.31.1", + "version": "6.31.3", "description": "A spelling dictionary library useful for checking words and getting suggestions.", "type": "commonjs", "main": "dist/cjs/index.js", @@ -52,11 +52,11 @@ "node": ">=14" }, "dependencies": { - "@cspell/cspell-pipe": "6.31.1", - "@cspell/cspell-types": "6.31.1", - "cspell-trie-lib": "6.31.1", + "@cspell/cspell-pipe": "6.31.3", + "@cspell/cspell-types": "6.31.3", + "cspell-trie-lib": "6.31.3", "fast-equals": "^4.0.3", "gensequence": "^5.0.2" }, - "gitHead": "43c3652e27588f6643cf78fd764f12f497f89fbf" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/cspell-gitignore/package.json b/action/node_modules/cspell-gitignore/package.json index 3ef51e57a..fd01eb55b 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.31.2", + "version": "6.31.3", "description": "Gitignore Glob matcher for cspell", "keywords": [ "cspell", @@ -58,8 +58,8 @@ "node": ">=14" }, "dependencies": { - "cspell-glob": "6.31.2", + "cspell-glob": "6.31.3", "find-up": "^5.0.0" }, - "gitHead": "aa78fdb9d4fc45dc74bcf31b6a6366784fe0d1c4" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/cspell-glob/package.json b/action/node_modules/cspell-glob/package.json index 99ccedbf3..947a1a638 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.31.2", + "version": "6.31.3", "description": "Glob matcher for cspell", "keywords": [ "cspell", @@ -59,5 +59,5 @@ "devDependencies": { "@types/micromatch": "^4.0.2" }, - "gitHead": "aa78fdb9d4fc45dc74bcf31b6a6366784fe0d1c4" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/cspell-grammar/package.json b/action/node_modules/cspell-grammar/package.json index 61b089ae6..68c517bac 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.31.1", + "version": "6.31.3", "description": "Grammar parsing support for cspell", "keywords": [ "cspell", @@ -87,8 +87,8 @@ "jest": "^29.5.0" }, "dependencies": { - "@cspell/cspell-pipe": "6.31.1", - "@cspell/cspell-types": "6.31.1" + "@cspell/cspell-pipe": "6.31.3", + "@cspell/cspell-types": "6.31.3" }, - "gitHead": "43c3652e27588f6643cf78fd764f12f497f89fbf" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/cspell-io/package.json b/action/node_modules/cspell-io/package.json index f0dadd154..edc1b2e41 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.31.2", + "version": "6.31.3", "description": "A library of useful I/O functions used across various cspell tools.", "type": "commonjs", "module": "dist/esm/index.mjs", @@ -54,8 +54,8 @@ "lorem-ipsum": "^2.0.8" }, "dependencies": { - "@cspell/cspell-service-bus": "6.31.1", + "@cspell/cspell-service-bus": "6.31.3", "node-fetch": "^2.6.9" }, - "gitHead": "aa78fdb9d4fc45dc74bcf31b6a6366784fe0d1c4" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/cspell-lib/package.json b/action/node_modules/cspell-lib/package.json index 488a1d84f..8a870804e 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.31.2", + "version": "6.31.3", "description": "A library of useful functions used across various cspell tools.", "type": "commonjs", "main": "dist/cjs/index.js", @@ -57,19 +57,19 @@ }, "homepage": "https://github.com/streetsidesoftware/cspell#readme", "dependencies": { - "@cspell/cspell-bundled-dicts": "6.31.2", - "@cspell/cspell-pipe": "6.31.1", - "@cspell/cspell-types": "6.31.1", - "@cspell/strong-weak-map": "6.31.1", + "@cspell/cspell-bundled-dicts": "6.31.3", + "@cspell/cspell-pipe": "6.31.3", + "@cspell/cspell-types": "6.31.3", + "@cspell/strong-weak-map": "6.31.3", "clear-module": "^4.1.2", "comment-json": "^4.2.3", "configstore": "^5.0.1", "cosmiconfig": "8.0.0", - "cspell-dictionary": "6.31.1", - "cspell-glob": "6.31.2", - "cspell-grammar": "6.31.1", - "cspell-io": "6.31.2", - "cspell-trie-lib": "6.31.1", + "cspell-dictionary": "6.31.3", + "cspell-glob": "6.31.3", + "cspell-grammar": "6.31.3", + "cspell-io": "6.31.3", + "cspell-trie-lib": "6.31.3", "fast-equals": "^4.0.3", "find-up": "^5.0.0", "gensequence": "^5.0.2", @@ -99,5 +99,5 @@ "lorem-ipsum": "^2.0.8", "ts-jest": "^29.1.0" }, - "gitHead": "aa78fdb9d4fc45dc74bcf31b6a6366784fe0d1c4" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/cspell-trie-lib/dist/cjs/lib/walker/walkerTypes.js b/action/node_modules/cspell-trie-lib/dist/cjs/lib/walker/walkerTypes.js index 108152c88..da15bfd77 100644 --- a/action/node_modules/cspell-trie-lib/dist/cjs/lib/walker/walkerTypes.js +++ b/action/node_modules/cspell-trie-lib/dist/cjs/lib/walker/walkerTypes.js @@ -17,5 +17,5 @@ var CompoundWordsMethod; * Create word compounds without separation. */ CompoundWordsMethod[CompoundWordsMethod["JOIN_WORDS"] = 2] = "JOIN_WORDS"; -})(CompoundWordsMethod = exports.CompoundWordsMethod || (exports.CompoundWordsMethod = {})); +})(CompoundWordsMethod || (exports.CompoundWordsMethod = CompoundWordsMethod = {})); //# sourceMappingURL=walkerTypes.js.map \ No newline at end of file diff --git a/action/node_modules/cspell-trie-lib/package.json b/action/node_modules/cspell-trie-lib/package.json index 957c5af5a..a212eea50 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.31.1", + "version": "6.31.3", "description": "Trie Data Structure to support cspell.", "type": "commonjs", "main": "dist/cjs/index.js", @@ -50,8 +50,8 @@ }, "homepage": "https://github.com/streetsidesoftware/cspell#readme", "dependencies": { - "@cspell/cspell-pipe": "6.31.1", - "@cspell/cspell-types": "6.31.1", + "@cspell/cspell-pipe": "6.31.3", + "@cspell/cspell-types": "6.31.3", "gensequence": "^5.0.2" }, "engines": { @@ -61,5 +61,5 @@ "@cspell/dict-en_us": "^3.0.0", "@cspell/dict-es-es": "^2.2.4" }, - "gitHead": "43c3652e27588f6643cf78fd764f12f497f89fbf" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/node_modules/cspell/package.json b/action/node_modules/cspell/package.json index 2ae2ab570..f0e8e1a46 100644 --- a/action/node_modules/cspell/package.json +++ b/action/node_modules/cspell/package.json @@ -1,6 +1,6 @@ { "name": "cspell", - "version": "6.31.2", + "version": "6.31.3", "description": "A Spelling Checker for Code!", "funding": "https://github.com/streetsidesoftware/cspell?sponsor=1", "bin": { @@ -88,15 +88,16 @@ }, "homepage": "https://streetsidesoftware.github.io/cspell/", "dependencies": { - "@cspell/cspell-pipe": "6.31.1", - "@cspell/cspell-types": "6.31.1", - "@cspell/dynamic-import": "6.31.1", + "@cspell/cspell-json-reporter": "6.31.3", + "@cspell/cspell-pipe": "6.31.3", + "@cspell/cspell-types": "6.31.3", + "@cspell/dynamic-import": "6.31.3", "chalk": "^4.1.2", "commander": "^10.0.0", - "cspell-gitignore": "6.31.2", - "cspell-glob": "6.31.2", - "cspell-io": "6.31.2", - "cspell-lib": "6.31.2", + "cspell-gitignore": "6.31.3", + "cspell-glob": "6.31.3", + "cspell-io": "6.31.3", + "cspell-lib": "6.31.3", "fast-glob": "^3.2.12", "fast-json-stable-stringify": "^2.1.0", "file-entry-cache": "^6.0.1", @@ -110,7 +111,6 @@ "node": ">=14" }, "devDependencies": { - "@cspell/cspell-json-reporter": "6.31.1", "@types/file-entry-cache": "^5.0.2", "@types/glob": "^8.1.0", "@types/imurmurhash": "^0.1.1", @@ -119,5 +119,5 @@ "micromatch": "^4.0.5", "minimatch": "^7.4.4" }, - "gitHead": "aa78fdb9d4fc45dc74bcf31b6a6366784fe0d1c4" + "gitHead": "0e8ca7b32f21aea40ade645172ef93017e6a143d" } diff --git a/action/package.json b/action/package.json index 94f016408..b0f363bc1 100644 --- a/action/package.json +++ b/action/package.json @@ -14,8 +14,8 @@ "@octokit/core": "^4.2.4", "@octokit/plugin-rest-endpoint-methods": "7.1.3", "@octokit/rest": "^19.0.13", - "cspell": "^6.31.2", - "cspell-glob": "^6.31.2", + "cspell": "^6.31.3", + "cspell-glob": "^6.31.3", "vscode-uri": "^3.0.7" } } diff --git a/yarn.lock b/yarn.lock index 45ca4ce99..f0be43c08 100644 --- a/yarn.lock +++ b/yarn.lock @@ -326,10 +326,10 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@cspell/cspell-bundled-dicts@6.31.2": - version "6.31.2" - resolved "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-6.31.2.tgz#42865a6c025b0ce5550efa24c9a78d7094b206dc" - integrity sha512-rQ5y/U1Ah5AaduIh3NU2z371hRrOr1cmNdhhP8oiuz2E4VqmcoVHflXIct9DgY8uIJpwsSCdR6ypOQWZYXYnwA== +"@cspell/cspell-bundled-dicts@6.31.3": + version "6.31.3" + resolved "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-6.31.3.tgz#b9d7fc363b6ce3e0e49e945a563d9d012346ceb6" + integrity sha512-KXy3qKWYzXOGYwqOGMCXHem3fV39iEmoKLiNhoWWry/SFdvAafmeY+LIDcQTXAcOQLkMDCwP2/rY/NadcWnrjg== dependencies: "@cspell/dict-ada" "^4.0.1" "@cspell/dict-aws" "^3.0.0" @@ -378,20 +378,27 @@ "@cspell/dict-typescript" "^3.1.1" "@cspell/dict-vue" "^3.0.0" -"@cspell/cspell-pipe@6.31.1": - version "6.31.1" - resolved "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-6.31.1.tgz#6c8edc92039125695a894186a899290d56d0f2c7" - integrity sha512-zk1olZi4dr6GLm5PAjvsiZ01HURNSruUYFl1qSicGnTwYN8GaN4RhAwannAytcJ7zJPIcyXlid0YsB58nJf3wQ== +"@cspell/cspell-json-reporter@6.31.3": + version "6.31.3" + resolved "https://registry.npmjs.org/@cspell/cspell-json-reporter/-/cspell-json-reporter-6.31.3.tgz#1911b6ef70d97821fa9d71ee9540efd67fc4a679" + integrity sha512-ZJwj2vT4lxncYxduXcxy0dCvjjMvXIfphbLSCN5CXvufrtupB4KlcjZUnOofCi4pfpp8qocCSn1lf2DU9xgUXA== + dependencies: + "@cspell/cspell-types" "6.31.3" + +"@cspell/cspell-pipe@6.31.3": + version "6.31.3" + resolved "https://registry.npmjs.org/@cspell/cspell-pipe/-/cspell-pipe-6.31.3.tgz#76e852728fb1b939c8fac045067b8259baa7d46e" + integrity sha512-Lv/y4Ya/TJyU1pf66yl1te7LneFZd3lZg1bN5oe1cPrKSmfWdiX48v7plTRecWd/OWyLGd0yN807v79A+/0W7A== -"@cspell/cspell-service-bus@6.31.1": - version "6.31.1" - resolved "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-6.31.1.tgz#ede5859e180f8d9be760df500e02164dae0084fe" - integrity sha512-YyBicmJyZ1uwKVxujXw7sgs9x+Eps43OkWmCtDZmZlnq489HdTSuhF1kTbVi2yeFSeaXIS87+uHo12z97KkQpg== +"@cspell/cspell-service-bus@6.31.3": + version "6.31.3" + resolved "https://registry.npmjs.org/@cspell/cspell-service-bus/-/cspell-service-bus-6.31.3.tgz#2bf2465a60bb6df8f9d301b33f45d37322f9dcab" + integrity sha512-x5j8j3n39KN8EXOAlv75CpircdpF5WEMCC5pcO916o6GBmJBy8SrdzdsBGJhVcYGGilqy6pf8R9RCZ3yAmG8gQ== -"@cspell/cspell-types@6.31.1": - version "6.31.1" - resolved "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-6.31.1.tgz#b3737ef7743c0e5803d57e667f816418ac8da1cf" - integrity sha512-1KeTQFiHMssW1eRoF2NZIEg4gPVIfXLsL2+VSD/AV6YN7lBcuf6gRRgV5KWYarhxtEfjxhDdDTmu26l/iJEUtw== +"@cspell/cspell-types@6.31.3": + version "6.31.3" + resolved "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-6.31.3.tgz#ff7493c435778fc76f5f6c6d786c86d12dc76790" + integrity sha512-wZ+t+lUsQJB65M31btZM4fH3K1CkRgE8pSeTiCwxYcnCL19pi4TMcEEMKdO8yFZMdocW4B7VRwzxNoQMw2ewBg== "@cspell/dict-ada@^4.0.1": version "4.0.2" @@ -630,17 +637,17 @@ resolved "https://registry.npmjs.org/@cspell/dict-vue/-/dict-vue-3.0.0.tgz#68ccb432ad93fcb0fd665352d075ae9a64ea9250" integrity sha512-niiEMPWPV9IeRBRzZ0TBZmNnkK3olkOPYxC1Ny2AX4TGlYRajcW0WUtoSHmvvjZNfWLSg2L6ruiBeuPSbjnG6A== -"@cspell/dynamic-import@6.31.1": - version "6.31.1" - resolved "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-6.31.1.tgz#26e218362e98158be5c88f970ce774458e53dd60" - integrity sha512-uliIUv9uZlnyYmjUlcw/Dm3p0xJOEnWJNczHAfqAl4Ytg6QZktw0GtUA9b1umbRXLv0KRTPtSC6nMq3cR7rRmQ== +"@cspell/dynamic-import@6.31.3": + version "6.31.3" + resolved "https://registry.npmjs.org/@cspell/dynamic-import/-/dynamic-import-6.31.3.tgz#f98ee7a8210e457b6f885be9a918b9608571b677" + integrity sha512-A6sT00+6UNGFksQ5SxW2ohNl6vUutai8F4jwJMHTjZL/9vivQpU7y5V4PpsfoPZtx3WZcbrzuTvJ+tLfdbWc4A== dependencies: import-meta-resolve "^2.2.2" -"@cspell/strong-weak-map@6.31.1": - version "6.31.1" - resolved "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-6.31.1.tgz#370faeae5ecb0c9a55344a34cd70f1690c62de01" - integrity sha512-z8AuWvUuSnugFKJOA9Ke0aiFuehcqLFqia9bk8XaQNEWr44ahPVn3sEWnAncTxPbpWuUw5UajoJa0egRAE1CCg== +"@cspell/strong-weak-map@6.31.3": + version "6.31.3" + resolved "https://registry.npmjs.org/@cspell/strong-weak-map/-/strong-weak-map-6.31.3.tgz#dd7470ce86c2372ec2cd889439c0f9808122b9c7" + integrity sha512-znwc9IlgGUPioHGshP/zyM8HsuYg1OY5S7HSiVXARh5H8RqcyBsnyn8abc0PPhqPrfDy9Fh5xHsAEPZ55dl1vQ== "@eslint-community/eslint-utils@^4.2.0": version "4.4.0" @@ -1946,66 +1953,66 @@ 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-dictionary@6.31.1: - version "6.31.1" - resolved "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-6.31.1.tgz#a5c52da365aa03d7b6454f017d97b0d4b3da8859" - integrity sha512-7+K7aQGarqbpucky26wled7QSCJeg6VkLUWS+hLjyf0Cqc9Zew5xsLa4QjReExWUJx+a97jbiflITZNuWxgMrg== +cspell-dictionary@6.31.3: + version "6.31.3" + resolved "https://registry.npmjs.org/cspell-dictionary/-/cspell-dictionary-6.31.3.tgz#5ab069e11e9c2231b01f66ecf250fff23215648c" + integrity sha512-3w5P3Md/tbHLVGPKVL0ePl1ObmNwhdDiEuZ2TXfm2oAIwg4aqeIrw42A2qmhaKLcuAIywpqGZsrGg8TviNNhig== dependencies: - "@cspell/cspell-pipe" "6.31.1" - "@cspell/cspell-types" "6.31.1" - cspell-trie-lib "6.31.1" + "@cspell/cspell-pipe" "6.31.3" + "@cspell/cspell-types" "6.31.3" + cspell-trie-lib "6.31.3" fast-equals "^4.0.3" gensequence "^5.0.2" -cspell-gitignore@6.31.2: - version "6.31.2" - resolved "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-6.31.2.tgz#c297f0c094a96ea1ba8849fd17fb1a7feb274318" - integrity sha512-B1i8aiXCIbb/08u0K3xnDyXtg0qD+lb5B2itOOXi7KXlPkKvIuN4hWyXxhVDweWyYWEzyXD5wBpPrqICVrStHQ== +cspell-gitignore@6.31.3: + version "6.31.3" + resolved "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-6.31.3.tgz#324ff7c8f2e35b103eeec81a185d578bf37c42f0" + integrity sha512-vCfVG4ZrdwJnsZHl/cdp8AY+YNPL3Ga+0KR9XJsaz69EkQpgI6porEqehuwle7hiXw5e3L7xFwNEbpCBlxgLRA== dependencies: - cspell-glob "6.31.2" + cspell-glob "6.31.3" find-up "^5.0.0" -cspell-glob@6.31.2, cspell-glob@^6.31.2: - version "6.31.2" - resolved "https://registry.npmjs.org/cspell-glob/-/cspell-glob-6.31.2.tgz#877d914420e38aa3b375066f425e5a33514cc5e2" - integrity sha512-ceTjHM4HaBgvG5S3oiB+PTPYq58EQYG6MmYpycDHzpR5I2H1NurK9lxWHfANmLbi0DsHn58tIZNDMUnnQj19Jw== +cspell-glob@6.31.3, cspell-glob@^6.31.3: + version "6.31.3" + resolved "https://registry.npmjs.org/cspell-glob/-/cspell-glob-6.31.3.tgz#99ed7e39f83735fbda9a77f13636a18fd54bef39" + integrity sha512-+koUJPSCOittQwhR0T1mj4xXT3N+ZnY2qQ53W6Gz9HY3hVfEEy0NpbwE/Uy7sIvFMbc426fK0tGXjXyIj72uhQ== dependencies: micromatch "^4.0.5" -cspell-grammar@6.31.1: - version "6.31.1" - resolved "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-6.31.1.tgz#f766df3d5f1ec95a1e472fc339716757d2acfa56" - integrity sha512-AsRVP0idcNFVSb9+p9XjMumFj3BUV67WIPWApaAzJl/dYyiIygQObRE+si0/QtFWGNw873b7hNhWZiKjqIdoaQ== +cspell-grammar@6.31.3: + version "6.31.3" + resolved "https://registry.npmjs.org/cspell-grammar/-/cspell-grammar-6.31.3.tgz#1c8ebb9f623ec866d307c78ace9fa4ba73c94822" + integrity sha512-TZYaOLIGAumyHlm4w7HYKKKcR1ZgEMKt7WNjCFqq7yGVW7U+qyjQqR8jqnLiUTZl7c2Tque4mca7n0CFsjVv5A== dependencies: - "@cspell/cspell-pipe" "6.31.1" - "@cspell/cspell-types" "6.31.1" + "@cspell/cspell-pipe" "6.31.3" + "@cspell/cspell-types" "6.31.3" -cspell-io@6.31.2: - version "6.31.2" - resolved "https://registry.npmjs.org/cspell-io/-/cspell-io-6.31.2.tgz#5b1059779b8417510df077781a82cbe2b5c7463b" - integrity sha512-Lp7LsF/f35LaOneROb/9mWiprShz2ONxjYFAt3bYP7gIxq41lWi8QhO+SN6spoqPp/wQXjSqJ7MuTZsemxPRnA== +cspell-io@6.31.3: + version "6.31.3" + resolved "https://registry.npmjs.org/cspell-io/-/cspell-io-6.31.3.tgz#a62e95196027ab9c7c8a35d9ec347ded8d054658" + integrity sha512-yCnnQ5bTbngUuIAaT5yNSdI1P0Kc38uvC8aynNi7tfrCYOQbDu1F9/DcTpbdhrsCv+xUn2TB1YjuCmm0STfJlA== dependencies: - "@cspell/cspell-service-bus" "6.31.1" + "@cspell/cspell-service-bus" "6.31.3" node-fetch "^2.6.9" -cspell-lib@6.31.2: - version "6.31.2" - resolved "https://registry.npmjs.org/cspell-lib/-/cspell-lib-6.31.2.tgz#46e1f89876e5a5c055bc2493562c2c6d7ebff8fb" - integrity sha512-LqaB2ZfVfQHKL5aZzYoKU6/UxxAtWeXAYwpC9l+satXmajYyXtAh4kWmuW+y7kKRH2jA79rJQS3QE6ToeSqgQQ== +cspell-lib@6.31.3: + version "6.31.3" + resolved "https://registry.npmjs.org/cspell-lib/-/cspell-lib-6.31.3.tgz#4b5034adb3af3e3d6acb49bbf251b9c18b280f50" + integrity sha512-Dv55aecaMvT/5VbNryKo0Zos8dtHon7e1K0z8DR4/kGZdQVT0bOFWeotSLhuaIqoNFdEt8ypfKbrIHIdbgt1Hg== dependencies: - "@cspell/cspell-bundled-dicts" "6.31.2" - "@cspell/cspell-pipe" "6.31.1" - "@cspell/cspell-types" "6.31.1" - "@cspell/strong-weak-map" "6.31.1" + "@cspell/cspell-bundled-dicts" "6.31.3" + "@cspell/cspell-pipe" "6.31.3" + "@cspell/cspell-types" "6.31.3" + "@cspell/strong-weak-map" "6.31.3" clear-module "^4.1.2" comment-json "^4.2.3" configstore "^5.0.1" cosmiconfig "8.0.0" - cspell-dictionary "6.31.1" - cspell-glob "6.31.2" - cspell-grammar "6.31.1" - cspell-io "6.31.2" - cspell-trie-lib "6.31.1" + cspell-dictionary "6.31.3" + cspell-glob "6.31.3" + cspell-grammar "6.31.3" + cspell-io "6.31.3" + cspell-trie-lib "6.31.3" fast-equals "^4.0.3" find-up "^5.0.0" gensequence "^5.0.2" @@ -2015,29 +2022,30 @@ cspell-lib@6.31.2: vscode-languageserver-textdocument "^1.0.8" vscode-uri "^3.0.7" -cspell-trie-lib@6.31.1: - version "6.31.1" - resolved "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-6.31.1.tgz#72b272e16d53c15de5a1ef3178dd2519670daca7" - integrity sha512-MtYh7s4Sbr1rKT31P2BK6KY+YfOy3dWsuusq9HnqCXmq6aZ1HyFgjH/9p9uvqGi/TboMqn1KOV8nifhXK3l3jg== +cspell-trie-lib@6.31.3: + version "6.31.3" + resolved "https://registry.npmjs.org/cspell-trie-lib/-/cspell-trie-lib-6.31.3.tgz#73060aa1e9926faeffe509f9f8b8fd74aa55d1a4" + integrity sha512-HNUcLWOZAvtM3E34U+7/mSSpO0F6nLd/kFlRIcvSvPb9taqKe8bnSa0Yyb3dsdMq9rMxUmuDQtF+J6arZK343g== dependencies: - "@cspell/cspell-pipe" "6.31.1" - "@cspell/cspell-types" "6.31.1" + "@cspell/cspell-pipe" "6.31.3" + "@cspell/cspell-types" "6.31.3" gensequence "^5.0.2" -cspell@^6.31.2: - version "6.31.2" - resolved "https://registry.npmjs.org/cspell/-/cspell-6.31.2.tgz#c334ac34353fe446d82c27fe348bb17b4b3e9f7f" - integrity sha512-HJcQ8jqL/1N3Mj5dufFnIZCX3ACuRoFTSVY6h3Bo5wBqd2iiJTyeQ1SY9Zymlxtb2KyJ6jQRiFmkWeFx2HVs7w== +cspell@^6.31.3: + version "6.31.3" + resolved "https://registry.npmjs.org/cspell/-/cspell-6.31.3.tgz#d06176e7fe7ac80c4dd5c4a927139446e433385a" + integrity sha512-VeeShDLWVM6YPiU/imeGy0lmg6ki63tbLEa6hz20BExhzzpmINOP5nSTYtpY0H9zX9TrF/dLbI38TuuYnyG3Uw== dependencies: - "@cspell/cspell-pipe" "6.31.1" - "@cspell/cspell-types" "6.31.1" - "@cspell/dynamic-import" "6.31.1" + "@cspell/cspell-json-reporter" "6.31.3" + "@cspell/cspell-pipe" "6.31.3" + "@cspell/cspell-types" "6.31.3" + "@cspell/dynamic-import" "6.31.3" chalk "^4.1.2" commander "^10.0.0" - cspell-gitignore "6.31.2" - cspell-glob "6.31.2" - cspell-io "6.31.2" - cspell-lib "6.31.2" + cspell-gitignore "6.31.3" + cspell-glob "6.31.3" + cspell-io "6.31.3" + cspell-lib "6.31.3" fast-glob "^3.2.12" fast-json-stable-stringify "^2.1.0" file-entry-cache "^6.0.1"