From 9923d127d0f476d5019042e580fc93029913b468 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 13:18:47 -0600 Subject: [PATCH] chore(dev-deps): bump eslint-config-oclif-typescript from 3.1.4 to 3.1.6 (#856) * chore(dev-deps): bump eslint-config-oclif-typescript from 3.1.4 to 3.1.6 Bumps [eslint-config-oclif-typescript](https://github.com/oclif/eslint-config-oclif-typescript) from 3.1.4 to 3.1.6. - [Release notes](https://github.com/oclif/eslint-config-oclif-typescript/releases) - [Changelog](https://github.com/oclif/eslint-config-oclif-typescript/blob/main/CHANGELOG.md) - [Commits](https://github.com/oclif/eslint-config-oclif-typescript/compare/3.1.4...3.1.6) --- updated-dependencies: - dependency-name: eslint-config-oclif-typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] * chore: satisfy linter --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mike Donnalley --- package.json | 2 +- src/commands/plugins/inspect.ts | 4 +- src/npm.ts | 4 +- src/plugins.ts | 2 +- yarn.lock | 78 ++++++++++++++++++++++++++------- 5 files changed, 69 insertions(+), 21 deletions(-) diff --git a/package.json b/package.json index 07e2f641..330fb6d8 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "commitlint": "^18", "eslint": "^8.56.0", "eslint-config-oclif": "^5.1.3", - "eslint-config-oclif-typescript": "^3.1.4", + "eslint-config-oclif-typescript": "^3.1.6", "eslint-config-prettier": "^9.1.0", "husky": "^9", "lint-staged": "^15.2.2", diff --git a/src/commands/plugins/inspect.ts b/src/commands/plugins/inspect.ts index 60dcd572..f4c0a136 100644 --- a/src/commands/plugins/inspect.ts +++ b/src/commands/plugins/inspect.ts @@ -22,7 +22,7 @@ function trimUntil(fsPath: string, part: string): string { } type Dependencies = Record -type PluginWithDeps = Omit< +type PluginWithDeps = {deps: Dependencies} & Omit< Plugin, | '_commandsDir' | '_debug' @@ -36,7 +36,7 @@ type PluginWithDeps = Omit< | 'topics' | 'warn' | 'warned' -> & {deps: Dependencies} +> export default class PluginsInspect extends Command { static args = { diff --git a/src/npm.ts b/src/npm.ts index 85e59074..1e508ff4 100644 --- a/src/npm.ts +++ b/src/npm.ts @@ -9,9 +9,9 @@ import {LogLevel} from './log-level.js' const debug = makeDebug('@oclif/plugin-plugins:npm') -type InstallOptions = ExecOptions & { +type InstallOptions = { prod?: boolean -} +} & ExecOptions export class NPM { private bin: string | undefined diff --git a/src/plugins.ts b/src/plugins.ts index 57e26e11..6cd1d13f 100644 --- a/src/plugins.ts +++ b/src/plugins.ts @@ -461,7 +461,7 @@ export default class Plugins { return JSON.parse(await readFile(this.pjsonPath, 'utf8')) as Interfaces.PJSON.User } catch (error: unknown) { this.debug(error) - const err = error as Error & {code?: string} + const err = error as {code?: string} & Error if (err.code !== 'ENOENT') process.emitWarning(err) } } diff --git a/yarn.lock b/yarn.lock index 5eb8ef90..c6176095 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2137,7 +2137,7 @@ resolved "https://registry.yarnpkg.com/@types/http-cache-semantics/-/http-cache-semantics-4.0.4.tgz#b979ebad3919799c979b17c72621c0bc0a31c6c4" integrity sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA== -"@types/json-schema@^7.0.12": +"@types/json-schema@^7.0.12", "@types/json-schema@^7.0.15": version "7.0.15" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== @@ -2263,6 +2263,14 @@ "@typescript-eslint/types" "6.21.0" "@typescript-eslint/visitor-keys" "6.21.0" +"@typescript-eslint/scope-manager@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.7.1.tgz#07fe59686ca843f66e3e2b5c151522bc38effab2" + integrity sha512-PytBif2SF+9SpEUKynYn5g1RHFddJUcyynGpztX3l/ik7KmZEv19WCMhUBkHXPU9es/VWGD3/zg3wg90+Dh2rA== + dependencies: + "@typescript-eslint/types" "7.7.1" + "@typescript-eslint/visitor-keys" "7.7.1" + "@typescript-eslint/type-utils@6.21.0": version "6.21.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.21.0.tgz#6473281cfed4dacabe8004e8521cee0bd9d4c01e" @@ -2278,6 +2286,11 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.21.0.tgz#205724c5123a8fef7ecd195075fa6e85bac3436d" integrity sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg== +"@typescript-eslint/types@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.7.1.tgz#f903a651fb004c75add08e4e9e207f169d4b98d7" + integrity sha512-AmPmnGW1ZLTpWa+/2omPrPfR7BcbUU4oha5VIbSbS1a1Tv966bklvLNXxp3mrbc+P2j4MNOTfDffNsk4o0c6/w== + "@typescript-eslint/typescript-estree@6.21.0": version "6.21.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.21.0.tgz#c47ae7901db3b8bddc3ecd73daff2d0895688c46" @@ -2292,7 +2305,21 @@ semver "^7.5.4" ts-api-utils "^1.0.1" -"@typescript-eslint/utils@6.21.0", "@typescript-eslint/utils@^6.13.0": +"@typescript-eslint/typescript-estree@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.7.1.tgz#5cafde48fe390fe1c1b329b2ce0ba8a73c1e87b2" + integrity sha512-CXe0JHCXru8Fa36dteXqmH2YxngKJjkQLjxzoj6LYwzZ7qZvgsLSc+eqItCrqIop8Vl2UKoAi0StVWu97FQZIQ== + dependencies: + "@typescript-eslint/types" "7.7.1" + "@typescript-eslint/visitor-keys" "7.7.1" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + minimatch "^9.0.4" + semver "^7.6.0" + ts-api-utils "^1.3.0" + +"@typescript-eslint/utils@6.21.0": version "6.21.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.21.0.tgz#4714e7a6b39e773c1c8e97ec587f520840cd8134" integrity sha512-NfWVaC8HP9T8cbKQxHcsJBY5YE1O33+jpMwN45qzWWaPDZgLIbo12toGMWnmhvCpd3sIxkpDw3Wv1B3dYrbDQQ== @@ -2305,6 +2332,19 @@ "@typescript-eslint/typescript-estree" "6.21.0" semver "^7.5.4" +"@typescript-eslint/utils@^6.13.0 || ^7.0.0": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.7.1.tgz#5d161f2b4a55e1bc38b634bebb921e4bd4e4a16e" + integrity sha512-QUvBxPEaBXf41ZBbaidKICgVL8Hin0p6prQDu6bbetWo39BKbWJxRsErOzMNT1rXvTll+J7ChrbmMCXM9rsvOQ== + dependencies: + "@eslint-community/eslint-utils" "^4.4.0" + "@types/json-schema" "^7.0.15" + "@types/semver" "^7.5.8" + "@typescript-eslint/scope-manager" "7.7.1" + "@typescript-eslint/types" "7.7.1" + "@typescript-eslint/typescript-estree" "7.7.1" + semver "^7.6.0" + "@typescript-eslint/visitor-keys@6.21.0": version "6.21.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.21.0.tgz#87a99d077aa507e20e238b11d56cc26ade45fe47" @@ -2313,6 +2353,14 @@ "@typescript-eslint/types" "6.21.0" eslint-visitor-keys "^3.4.1" +"@typescript-eslint/visitor-keys@7.7.1": + version "7.7.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.7.1.tgz#da2294796220bb0f3b4add5ecbb1b9c3f4f65798" + integrity sha512-gBL3Eq25uADw1LQ9kVpf3hRM+DWzs0uZknHYK3hq4jcTPqVCClHGDnB6UUUV2SFeBeA4KWHWbbLqmbGcZ4FYbw== + dependencies: + "@typescript-eslint/types" "7.7.1" + eslint-visitor-keys "^3.4.3" + "@ungap/structured-clone@^1.2.0": version "1.2.0" resolved "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.2.0.tgz" @@ -3400,19 +3448,19 @@ escape-string-regexp@^1.0.5: resolved "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== -eslint-config-oclif-typescript@^3.1.4: - version "3.1.4" - resolved "https://registry.yarnpkg.com/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.1.4.tgz#2adb5702ce78487bf3481dbf9dd99c59226d35a9" - integrity sha512-sqqAQEmw++8x5b1OOzly11s6s8nlHiH0mYGgTp5kDpzXztVsqUAvK1eQID7ZEEe5jYAd42MMv4T4LIGoUVF//g== +eslint-config-oclif-typescript@^3.1.6: + version "3.1.6" + resolved "https://registry.yarnpkg.com/eslint-config-oclif-typescript/-/eslint-config-oclif-typescript-3.1.6.tgz#d0d7f568f592aa4ac5c497290ed1cf28804aa5db" + integrity sha512-K/Gv19vzTaeLQcs5syZ+Rup8RZfMclIuO2mV9YPG3GN64nSPA545+I7/uiaaxE4Ka+fKg2kZmMq3cFT0TOidpA== dependencies: "@typescript-eslint/eslint-plugin" "^6.21.0" "@typescript-eslint/parser" "^6.21.0" eslint-config-xo-space "^0.35.0" eslint-import-resolver-typescript "^3.6.1" eslint-plugin-import "^2.29.1" - eslint-plugin-mocha "^10.4.1" + eslint-plugin-mocha "^10.4.3" eslint-plugin-n "^15" - eslint-plugin-perfectionist "^2.8.0" + eslint-plugin-perfectionist "^2.9.0" eslint-config-oclif@^5.1.3: version "5.1.3" @@ -3503,7 +3551,7 @@ eslint-plugin-import@^2.29.1: semver "^6.3.1" tsconfig-paths "^3.15.0" -eslint-plugin-mocha@^10.4.1, eslint-plugin-mocha@^10.4.3: +eslint-plugin-mocha@^10.4.3: version "10.4.3" resolved "https://registry.yarnpkg.com/eslint-plugin-mocha/-/eslint-plugin-mocha-10.4.3.tgz#bf641379d9f1c7d6a84646a3fc1a0baa50da8bfd" integrity sha512-emc4TVjq5Ht0/upR+psftuz6IBG5q279p+1dSRDeHf+NS9aaerBi3lXKo1SEzwC29hFIW21gO89CEWSvRsi8IQ== @@ -3526,12 +3574,12 @@ eslint-plugin-n@^15, eslint-plugin-n@^15.1.0: resolve "^1.22.1" semver "^7.3.8" -eslint-plugin-perfectionist@^2.8.0: - version "2.8.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-2.8.0.tgz#4bcca444dae8144e4d8d7711907116c9f98c6bdc" - integrity sha512-XBjQ4ctU1rOzQ4bFJoUowe8XdsIIz42JqNrouFlae1TO78HjoyYBaRP8+gAHDDQCSdHY10pbChyzlJeBA6D51w== +eslint-plugin-perfectionist@^2.9.0: + version "2.10.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-perfectionist/-/eslint-plugin-perfectionist-2.10.0.tgz#15cf9f5545ce2db24d1ccdf3226645a097480faf" + integrity sha512-P+tdrkHeMWBc55+DZsoDOAftV1WCsEoHaKm6JC7zajFus/syfT4vUPBFb3atGFSuyaVnGQGHlcKpP9X3Q0gH/w== dependencies: - "@typescript-eslint/utils" "^6.13.0" + "@typescript-eslint/utils" "^6.13.0 || ^7.0.0" minimatch "^9.0.3" natural-compare-lite "^1.4.0" @@ -6826,7 +6874,7 @@ trim-newlines@^3.0.0: resolved "https://registry.npmjs.org/trim-newlines/-/trim-newlines-3.0.1.tgz" integrity sha512-c1PTsA3tYrIsLGkJkzHF+w9F2EyxfXGo4UyJc4pFL++FMjnq0HJS69T3M7d//gKrFKwy429bouPescbjecU+Zw== -ts-api-utils@^1.0.1: +ts-api-utils@^1.0.1, ts-api-utils@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-1.3.0.tgz#4b490e27129f1e8e686b45cc4ab63714dc60eea1" integrity sha512-UQMIo7pb8WRomKR1/+MFVLTroIvDVtMX3K6OUir8ynLyzB8Jeriont2bTAtmNPa1ekAgN7YPDyf6V+ygrdU+eQ==