From 70b7b8fd887b4d18991a96929ea7815e4dc5581d Mon Sep 17 00:00:00 2001 From: "street-side-software-automation[bot]" <74785433+street-side-software-automation[bot]@users.noreply.github.com> Date: Wed, 6 Oct 2021 17:28:30 +0200 Subject: [PATCH] ci: Workflow Bot -- Update ALL Dependencies (#402) Co-authored-by: Jason3S --- .../@cspell/cspell-bundled-dicts/package.json | 8 +-- .../dist/settings/CSpellSettingsDef.js | 3 + .../cspell-types/dist/settings/index.js | 14 ++++ .../@cspell/cspell-types/package.json | 4 +- .../cspell-gitignore/dist/GitIgnoreServer.js | 14 ++++ .../cspell-gitignore/package.json | 4 +- action/node_modules/cspell-lib/package.json | 8 +-- .../node_modules/cspell/dist/cli-reporter.js | 6 +- action/node_modules/cspell/dist/lint.js | 8 ++- .../cspell/dist/util/cache/DiskCache.js | 6 +- action/node_modules/cspell/package.json | 12 ++-- yarn.lock | 64 +++++++++---------- 12 files changed, 94 insertions(+), 57 deletions(-) create mode 100644 action/node_modules/@cspell/cspell-types/dist/settings/CSpellSettingsDef.js create mode 100644 action/node_modules/@cspell/cspell-types/dist/settings/index.js create mode 100644 action/node_modules/cspell-gitignore/dist/GitIgnoreServer.js diff --git a/action/node_modules/@cspell/cspell-bundled-dicts/package.json b/action/node_modules/@cspell/cspell-bundled-dicts/package.json index c4153c998..d2c7ca346 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": "5.12.0", + "version": "5.12.1", "description": "Dictionaries bundled with cspell", "publishConfig": { "access": "public" @@ -83,8 +83,8 @@ "node": ">=12.13.0" }, "devDependencies": { - "@cspell/cspell-tools": "^5.12.0", - "@cspell/cspell-types": "^5.12.0" + "@cspell/cspell-tools": "^5.12.1", + "@cspell/cspell-types": "^5.12.1" }, - "gitHead": "1dbf5b70cbf27a600f10e439eabc2ab0f908bafd" + "gitHead": "43a626145377e1f760ad51fc58701313c7a26243" } diff --git a/action/node_modules/@cspell/cspell-types/dist/settings/CSpellSettingsDef.js b/action/node_modules/@cspell/cspell-types/dist/settings/CSpellSettingsDef.js new file mode 100644 index 000000000..0bc5e0201 --- /dev/null +++ b/action/node_modules/@cspell/cspell-types/dist/settings/CSpellSettingsDef.js @@ -0,0 +1,3 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +//# sourceMappingURL=CSpellSettingsDef.js.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-types/dist/settings/index.js b/action/node_modules/@cspell/cspell-types/dist/settings/index.js new file mode 100644 index 000000000..c7f0b37c5 --- /dev/null +++ b/action/node_modules/@cspell/cspell-types/dist/settings/index.js @@ -0,0 +1,14 @@ +"use strict"; +var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __exportStar = (this && this.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +__exportStar(require("./CSpellSettingsDef"), exports); +//# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/action/node_modules/@cspell/cspell-types/package.json b/action/node_modules/@cspell/cspell-types/package.json index 2b958a012..525689879 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": "5.12.0", + "version": "5.12.1", "description": "Types for cspell and cspell-lib", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -56,5 +56,5 @@ "typedoc-plugin-markdown": "^3.11.2", "typescript": "^4.4.3" }, - "gitHead": "1dbf5b70cbf27a600f10e439eabc2ab0f908bafd" + "gitHead": "43a626145377e1f760ad51fc58701313c7a26243" } diff --git a/action/node_modules/cspell-gitignore/dist/GitIgnoreServer.js b/action/node_modules/cspell-gitignore/dist/GitIgnoreServer.js new file mode 100644 index 000000000..d4aa31f7d --- /dev/null +++ b/action/node_modules/cspell-gitignore/dist/GitIgnoreServer.js @@ -0,0 +1,14 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GitIgnoreServer = void 0; +class GitIgnoreServer { + constructor() { + // private roots = new Map(); + // private resolvedGitIgnoreFiles = new Map(); + // private knownGitIgnoreFiles = new Map>(); + this.knownGitIgnoreHierarchies = new Map(); + } + findGitIgnoreHierarchy(directory) { } +} +exports.GitIgnoreServer = GitIgnoreServer; +//# sourceMappingURL=GitIgnoreServer.js.map \ No newline at end of file diff --git a/action/node_modules/cspell-gitignore/package.json b/action/node_modules/cspell-gitignore/package.json index d5b812f86..5d26babb6 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": "5.12.0", + "version": "5.12.1", "description": "Gitignore Glob matcher for cspell", "keywords": [ "cspell", @@ -51,5 +51,5 @@ "jest": "^27.2.4", "rimraf": "^3.0.2" }, - "gitHead": "1dbf5b70cbf27a600f10e439eabc2ab0f908bafd" + "gitHead": "43a626145377e1f760ad51fc58701313c7a26243" } diff --git a/action/node_modules/cspell-lib/package.json b/action/node_modules/cspell-lib/package.json index b8df6f47b..458efad1b 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": "5.12.0", + "version": "5.12.1", "description": "A library of useful functions used across various cspell tools.", "main": "dist/index.js", "typings": "dist/index.d.ts", @@ -47,8 +47,8 @@ }, "homepage": "https://github.com/streetsidesoftware/cspell#readme", "dependencies": { - "@cspell/cspell-bundled-dicts": "^5.12.0", - "@cspell/cspell-types": "^5.12.0", + "@cspell/cspell-bundled-dicts": "^5.12.1", + "@cspell/cspell-types": "^5.12.1", "clear-module": "^4.1.1", "comment-json": "^4.1.1", "configstore": "^5.0.1", @@ -86,5 +86,5 @@ "rimraf": "^3.0.2", "ts-jest": "^27.0.5" }, - "gitHead": "1dbf5b70cbf27a600f10e439eabc2ab0f908bafd" + "gitHead": "43a626145377e1f760ad51fc58701313c7a26243" } diff --git a/action/node_modules/cspell/dist/cli-reporter.js b/action/node_modules/cspell/dist/cli-reporter.js index ec6bb684f..1c24cbd9d 100644 --- a/action/node_modules/cspell/dist/cli-reporter.js +++ b/action/node_modules/cspell/dist/cli-reporter.js @@ -73,12 +73,14 @@ function reportProgress(p) { const fn = (' '.repeat(fc.length) + p.fileNum).slice(-fc.length); const idx = fn + '/' + fc; const filename = chalk.gray(relativeFilename(p.filename)); - const time = reportTime(p.elapsedTimeMs); + const time = reportTime(p.elapsedTimeMs, !!p.cached); const skipped = p.processed === false ? ' skipped' : ''; const hasErrors = p.numErrors ? chalk.red ` X` : ''; console.error(`${idx} ${filename} ${time}${skipped}${hasErrors}`); } -function reportTime(elapsedTimeMs) { +function reportTime(elapsedTimeMs, cached) { + if (cached) + return chalk.green('cached'); if (elapsedTimeMs === undefined) return '-'; const color = elapsedTimeMs < 1000 ? chalk.white : elapsedTimeMs < 2000 ? chalk.yellow : chalk.redBright; diff --git a/action/node_modules/cspell/dist/lint.js b/action/node_modules/cspell/dist/lint.js index d7c3b8f12..8fba206b1 100644 --- a/action/node_modules/cspell/dist/lint.js +++ b/action/node_modules/cspell/dist/lint.js @@ -104,6 +104,7 @@ async function runLint(cfg) { elapsedTimeMs: result === null || result === void 0 ? void 0 : result.elapsedTimeMs, processed: result === null || result === void 0 ? void 0 : result.processed, numErrors: result === null || result === void 0 ? void 0 : result.issues.length, + cached: result === null || result === void 0 ? void 0 : result.cached, }); async function* loadAndProcessFiles() { for (let i = 0; i < files.length; i++) { @@ -114,14 +115,15 @@ async function runLint(cfg) { } for await (const fileP of loadAndProcessFiles()) { const { filename, fileNum, result } = await fileP; - if (!result.fileInfo.text) { - emitProgress(filename, fileNum); + if (!result.fileInfo.text === undefined) { + status.files += result.cached ? 1 : 0; + emitProgress(filename, fileNum, result); continue; } + status.files += 1; emitProgress(filename, fileNum, result); // Show the spelling errors after emitting the progress. result.issues.filter(cfg.uniqueFilter).forEach((issue) => reporter.issue(issue)); - status.files += 1; if (result.issues.length || result.errors) { status.filesWithIssues.add(filename); status.issues += result.issues.length; diff --git a/action/node_modules/cspell/dist/util/cache/DiskCache.js b/action/node_modules/cspell/dist/util/cache/DiskCache.js index 8eb9c8819..429dc66b9 100644 --- a/action/node_modules/cspell/dist/util/cache/DiskCache.js +++ b/action/node_modules/cspell/dist/util/cache/DiskCache.js @@ -27,11 +27,13 @@ class DiskCache { } // Skip reading empty files and files without lint error const hasErrors = meta.result.errors > 0 || meta.result.configErrors > 0 || meta.result.issues.length > 0; - const shouldReadFile = meta.size !== 0 && hasErrors; + const cached = !!meta.size; + const shouldReadFile = cached && hasErrors; return { ...meta.result, - elapsedTimeMs: 0, + elapsedTimeMs: undefined, fileInfo: shouldReadFile ? await (0, fileHelper_1.readFileInfo)(filename) : { filename }, + cached, }; } setCachedLintResults({ fileInfo, elapsedTimeMs: _, ...result }, configInfo) { diff --git a/action/node_modules/cspell/package.json b/action/node_modules/cspell/package.json index 18a3accf0..87d04ef4a 100644 --- a/action/node_modules/cspell/package.json +++ b/action/node_modules/cspell/package.json @@ -1,6 +1,6 @@ { "name": "cspell", - "version": "5.12.0", + "version": "5.12.1", "description": "A Spelling Checker for Code!", "funding": "https://github.com/streetsidesoftware/cspell?sponsor=1", "main": "dist/index.js", @@ -72,9 +72,9 @@ "chalk": "^4.1.2", "commander": "^8.2.0", "comment-json": "^4.1.1", - "cspell-gitignore": "^5.12.0", + "cspell-gitignore": "^5.12.1", "cspell-glob": "^5.12.0", - "cspell-lib": "^5.12.0", + "cspell-lib": "^5.12.1", "fast-json-stable-stringify": "^2.1.0", "file-entry-cache": "^6.0.1", "fs-extra": "^10.0.0", @@ -88,8 +88,8 @@ "node": ">=12.13.0" }, "devDependencies": { - "@cspell/cspell-json-reporter": "^5.12.0", - "@cspell/cspell-types": "^5.12.0", + "@cspell/cspell-json-reporter": "^5.12.1", + "@cspell/cspell-types": "^5.12.1", "@types/file-entry-cache": "^5.0.2", "@types/fs-extra": "^9.0.13", "@types/glob": "^7.1.4", @@ -101,5 +101,5 @@ "minimatch": "^3.0.4", "rimraf": "^3.0.2" }, - "gitHead": "1dbf5b70cbf27a600f10e439eabc2ab0f908bafd" + "gitHead": "43a626145377e1f760ad51fc58701313c7a26243" } diff --git a/yarn.lock b/yarn.lock index 8c7728c5b..52e56d5ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -333,10 +333,10 @@ resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@cspell/cspell-bundled-dicts@^5.12.0": - version "5.12.0" - resolved "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-5.12.0.tgz#1b2ae260569b2b3ff3c7f7b2042af689def6980b" - integrity sha512-oY8CqTRM6bCFpLQARPn5iVAMaWiAhCknTE/OHk3rNw7ONZebuKYiK7MWbiflQ4wMQKa71suqomp4G7H+VspLKA== +"@cspell/cspell-bundled-dicts@^5.12.1": + version "5.12.1" + resolved "https://registry.npmjs.org/@cspell/cspell-bundled-dicts/-/cspell-bundled-dicts-5.12.1.tgz#9f71f686534c06cdbcdee123103f6c10becf191a" + integrity sha512-o5kxlRxaFZLdXeXXO1Yfu2ZM2MWN2WLjCkEOY6QaVoK30WF3mcQ7G9aKVDmGHO1Lp+3Hit1vWiveokRCTmc5+A== dependencies: "@cspell/dict-ada" "^1.1.2" "@cspell/dict-aws" "^1.0.14" @@ -374,10 +374,10 @@ "@cspell/dict-software-terms" "^1.0.46" "@cspell/dict-typescript" "^1.0.19" -"@cspell/cspell-types@^5.12.0": - version "5.12.0" - resolved "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-5.12.0.tgz#6e4e3385bcc2a8dca97d35794b329d53b62f33cc" - integrity sha512-32DUOLgK61i+pDzGhqpKC/QxJXcPohEKfU8adiUGV6nBOuWm1HC9hf/4+1cgMvbjnsZUVNmhPeESIuj4BeqpRw== +"@cspell/cspell-types@^5.12.1": + version "5.12.1" + resolved "https://registry.npmjs.org/@cspell/cspell-types/-/cspell-types-5.12.1.tgz#617064835b9c1f02a74d5d6e6ae5c2e7d146f4f5" + integrity sha512-cUQ+D1N8jFN4wwPAJ/hxERyur/ciz2Jf5Ix5Ek69RLYiSuPdsGyXV+HKWgNAszvegdcf7xL4a28RtSgfbWIxQA== "@cspell/dict-ada@^1.1.2": version "1.1.2" @@ -1079,9 +1079,9 @@ integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ== "@types/node@*": - version "16.10.2" - resolved "https://registry.npmjs.org/@types/node/-/node-16.10.2.tgz#5764ca9aa94470adb4e1185fe2e9f19458992b2e" - integrity sha512-zCclL4/rx+W5SQTzFs9wyvvyCwoK9QtBpratqz2IYJ3O8Umrn0m3nsTv0wQBk9sRGpvUe9CwPDrQFB10f1FIjQ== + version "16.10.3" + resolved "https://registry.npmjs.org/@types/node/-/node-16.10.3.tgz#7a8f2838603ea314d1d22bb3171d899e15c57bd5" + integrity sha512-ho3Ruq+fFnBrZhUYI46n/bV2GjwzSkwuT4dTf0GkuNFmnb8nq4ny2z9JEVemFi6bdEJanHLlYfy9c6FN9B9McQ== "@types/normalize-package-data@^2.4.0": version "2.4.1" @@ -1578,9 +1578,9 @@ camelcase@^6.2.0: integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg== caniuse-lite@^1.0.30001264: - version "1.0.30001264" - resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001264.tgz#88f625a60efb6724c7c62ac698bc8dbd9757e55b" - integrity sha512-Ftfqqfcs/ePiUmyaySsQ4PUsdcYyXG2rfoBVsk3iY1ahHaJEw65vfb7Suzqm+cEkwwPIv/XWkg27iCpRavH4zA== + version "1.0.30001265" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001265.tgz#0613c9e6c922e422792e6fcefdf9a3afeee4f8c3" + integrity sha512-YzBnspggWV5hep1m9Z6sZVLOt7vrju8xWooFAgN6BA5qvy98qPAPb7vNUzypFaoh2pb3vlfzbDO8tB57UPGbtw== chalk@^2.0.0, chalk@^2.4.2: version "2.4.2" @@ -1967,10 +1967,10 @@ 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@^5.12.0: - version "5.12.0" - resolved "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-5.12.0.tgz#d36efcd60dff084753b0d13cf73e275556b8322c" - integrity sha512-lOJqw5ySBMkIhDDFskRYWtBXVTTEKazhfoK0D1AgrDYcrr9h9V4iAsMJoVO36LR/Rs1mOKtCUntLo9UfUYAfvQ== +cspell-gitignore@^5.12.1: + version "5.12.1" + resolved "https://registry.npmjs.org/cspell-gitignore/-/cspell-gitignore-5.12.1.tgz#2f66a82c7b1e1af7533619f5d1aec82e9a77f5d9" + integrity sha512-/hbmYBFZgTIr3/BoCAEJWQ1oUS2P+kiyCmJk9pb4PUplH1sudGFqs4Oq8UXqtSYWAzFVR+iLFbcBamSu3cjDOQ== dependencies: cspell-glob "^5.12.0" find-up "^5.0.0" @@ -1987,13 +1987,13 @@ cspell-io@^5.12.0: resolved "https://registry.npmjs.org/cspell-io/-/cspell-io-5.12.0.tgz#2985c23ee7299f0bde19a22f9516b438a1cba1aa" integrity sha512-XNOQgxy3/fx3Rv7w0NO1jMgxVT+ZliJ6L2HI+BCCIBQSkDmKpjXZyOR2mURyS9G4y6wJ44wO0MWtpC7FGBk7TA== -cspell-lib@^5.12.0: - version "5.12.0" - resolved "https://registry.npmjs.org/cspell-lib/-/cspell-lib-5.12.0.tgz#10a96cec817fbd8449e0d98dba3bec9a18e12c3e" - integrity sha512-KfYF2STiNG6NRj/bTOBHKwqsB0tOXrjJWQXfbrpOMxu4yhnSy1gz27jsUSVFJoNE2SxWY91tJBBfCuU6pqSMiw== +cspell-lib@^5.12.1: + version "5.12.1" + resolved "https://registry.npmjs.org/cspell-lib/-/cspell-lib-5.12.1.tgz#a61ad2a339fe2dfe3d9a33158818e2c757a33160" + integrity sha512-SNGUmNZi/S83NjHggeppcy525ZIEmnboXx+7L+v82yITljLG/JMEw/VNzduuSFsJ6ZAHf6ckfD5x5FPPOWpWjw== dependencies: - "@cspell/cspell-bundled-dicts" "^5.12.0" - "@cspell/cspell-types" "^5.12.0" + "@cspell/cspell-bundled-dicts" "^5.12.1" + "@cspell/cspell-types" "^5.12.1" clear-module "^4.1.1" comment-json "^4.1.1" configstore "^5.0.1" @@ -2018,16 +2018,16 @@ cspell-trie-lib@^5.12.0: gensequence "^3.1.1" cspell@^5.10.1: - version "5.12.0" - resolved "https://registry.npmjs.org/cspell/-/cspell-5.12.0.tgz#4af6b46080b3989479232d42d8d29d95c6ac4d06" - integrity sha512-Up74oWkR5mUy5MIrVv9EY7eFG2qoAoWO4oXdetj4PznJ7u0PavyrhSEbvUBxDroGihXNCX3ut7CrDnR8D/6g7A== + version "5.12.1" + resolved "https://registry.npmjs.org/cspell/-/cspell-5.12.1.tgz#94a4ce59c1971d25194400a18acd66b9559cee71" + integrity sha512-hEiTTLtX2uBsOzph9dO64WaeoF4A0hl8gQNXSSUoNAaQWgm5Kctdc9OUBoVc2wQVxNjciLp6ZcJbfw6fa1dAMA== dependencies: chalk "^4.1.2" commander "^8.2.0" comment-json "^4.1.1" - cspell-gitignore "^5.12.0" + cspell-gitignore "^5.12.1" cspell-glob "^5.12.0" - cspell-lib "^5.12.0" + cspell-lib "^5.12.1" fast-json-stable-stringify "^2.1.0" file-entry-cache "^6.0.1" fs-extra "^10.0.0" @@ -2202,9 +2202,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.3.857: - version "1.3.859" - resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.859.tgz#4e0abc918e1c22b306ba13b4c3649f78295f5937" - integrity sha512-gXRXKNWedfdiKIzwr0Mg/VGCvxXzy+4SuK9hp1BDvfbCwx0O5Ot+2f4CoqQkqEJ3Zj/eAV/GoAFgBVFgkBLXuQ== + version "1.3.860" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.860.tgz#d612e54ed75fa524c12af8da3ad8121ebfe2802b" + integrity sha512-gWwGZ+Wv4Mou2SJRH6JQzhTPjL5f95SX7n6VkLTQ/Q/INsZLZNQ1vH2GlZjozKyvT0kkFuCmWTwIoCj+/hUDPw== emittery@^0.8.1: version "0.8.1"