diff --git a/README.md b/README.md index b66d0b6b..891899d5 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Config and alias commands for the `sf` Salesforce CLI > > If you are looking for the `sfdx` command repos, they can be found here: [plugin-config](https://github.com/salesforcecli/plugin-config) and [plugin-alias](https://github.com/salesforcecli/plugin-alias) -This plugin is bundled with the [Salesforce CLI](https://developer.salesforce.com/tools/sfdxcli). For more information on the CLI, read the [getting started guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm). +This plugin is bundled with the [Salesforce CLI](https://developer.salesforce.com/tools/salesforcecli). For more information on the CLI, read the [getting started guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm). We always recommend using the latest version of these commands bundled with the CLI, however, you can install a specific version or tag if needed. diff --git a/package.json b/package.json index 974a5531..3e42a8f5 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,8 @@ "@salesforce/plugin-command-reference": "^3.0.51", "@salesforce/plugin-deploy-retrieve": "^1.20.3", "@salesforce/ts-sinon": "^1.4.17", - "@salesforce/ts-types": "^2.0.9", "@types/fast-levenshtein": "^0.0.3", - "eslint-plugin-sf-plugin": "^1.16.15", + "eslint-plugin-sf-plugin": "^1.17.0", "oclif": "^4.0.4", "shx": "0.3.4", "ts-node": "^10.9.2", diff --git a/src/commands/alias/list.ts b/src/commands/alias/list.ts index 3ce48241..e1b45862 100644 --- a/src/commands/alias/list.ts +++ b/src/commands/alias/list.ts @@ -5,13 +5,11 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; import { StateAggregator, Messages } from '@salesforce/core'; import { loglevel } from '@salesforce/sf-plugins-core'; import { AliasCommand, AliasResults } from '../../alias.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'alias.list'); export default class AliasList extends AliasCommand { public static summary = messages.getMessage('summary'); diff --git a/src/commands/alias/set.ts b/src/commands/alias/set.ts index f1435c26..6d98a04d 100644 --- a/src/commands/alias/set.ts +++ b/src/commands/alias/set.ts @@ -5,13 +5,11 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; import { loglevel, parseVarArgs } from '@salesforce/sf-plugins-core'; import { StateAggregator, Messages } from '@salesforce/core'; import { AliasCommand, AliasResults } from '../../alias.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'alias.set'); export default class AliasSet extends AliasCommand { diff --git a/src/commands/alias/unset.ts b/src/commands/alias/unset.ts index bc753e9b..494e51e3 100644 --- a/src/commands/alias/unset.ts +++ b/src/commands/alias/unset.ts @@ -5,13 +5,11 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; import { Flags, loglevel } from '@salesforce/sf-plugins-core'; import { StateAggregator, Messages } from '@salesforce/core'; import { AliasCommand, AliasResults } from '../../alias.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'alias.unset'); export default class AliasUnset extends AliasCommand { diff --git a/src/commands/config/get.ts b/src/commands/config/get.ts index 5b3a1798..6188a6da 100644 --- a/src/commands/config/get.ts +++ b/src/commands/config/get.ts @@ -4,8 +4,7 @@ * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; + import { Flags, loglevel, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { ConfigAggregator, Messages } from '@salesforce/core'; import { @@ -17,7 +16,7 @@ import { ConfigResponses, } from '../../config.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'config.get'); export class Get extends SfCommand { diff --git a/src/commands/config/list.ts b/src/commands/config/list.ts index 6d0f4415..47bc4959 100644 --- a/src/commands/config/list.ts +++ b/src/commands/config/list.ts @@ -4,13 +4,12 @@ * Licensed under the BSD 3-Clause license. * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; + import { ConfigAggregator, Messages } from '@salesforce/core'; import { loglevel, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { ConfigResponses, buildSuccessMsg, output } from '../../config.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'config.list'); export default class List extends SfCommand { diff --git a/src/commands/config/set.ts b/src/commands/config/set.ts index 35d6063c..401b7758 100644 --- a/src/commands/config/set.ts +++ b/src/commands/config/set.ts @@ -5,13 +5,11 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; import { parseVarArgs, Flags, loglevel, Ux, SfCommand } from '@salesforce/sf-plugins-core'; import { Config, Messages, Org, SfError, OrgConfigProperties } from '@salesforce/core'; import { CONFIG_HELP_SECTION, Msg, buildFailureMsg, calculateSuggestion, output } from '../../config.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'config.set'); export type SetOrUnsetConfigCommandResult = { successes: Msg[]; failures: Msg[] }; diff --git a/src/commands/config/unset.ts b/src/commands/config/unset.ts index 0f623938..ec3ddb5c 100644 --- a/src/commands/config/unset.ts +++ b/src/commands/config/unset.ts @@ -5,14 +5,12 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; import { Flags, loglevel, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { Config, Messages } from '@salesforce/core'; import { CONFIG_HELP_SECTION, buildFailureMsg, calculateSuggestion, output } from '../../config.js'; import { SetOrUnsetConfigCommandResult } from './set.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'config.unset'); export class UnSet extends SfCommand { diff --git a/src/config.ts b/src/config.ts index b2842f17..085720a9 100644 --- a/src/config.ts +++ b/src/config.ts @@ -9,7 +9,6 @@ import { Ux } from '@salesforce/sf-plugins-core'; import { ConfigInfo, SfError, Config } from '@salesforce/core'; import { toHelpSection } from '@salesforce/sf-plugins-core'; import Levenshtein from 'fast-levenshtein'; -import { isJsonMap } from '@salesforce/ts-types'; import { HelpSection } from '@oclif/core'; export type Msg = { @@ -59,7 +58,7 @@ export const buildSuccessMsg = (configInfo: ConfigInfo): Msg => { if (Array.isArray(configInfo.value)) { throw new SfError(`Config ${configInfo.key} is an Array. It should be a primitive.`); } - if (isJsonMap(configInfo.value)) { + if (typeof configInfo.value === 'object') { throw new SfError(`Config ${configInfo.key} is an Object. It should be a primitive.`); } return { diff --git a/test/commands/alias/set.nut.ts b/test/commands/alias/set.nut.ts index 56c56d4a..ca350fa6 100644 --- a/test/commands/alias/set.nut.ts +++ b/test/commands/alias/set.nut.ts @@ -5,14 +5,11 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; -import { getNumber, getString } from '@salesforce/ts-types'; import { expect } from 'chai'; import { Messages } from '@salesforce/core'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'alias.set'); function unsetAll() { @@ -157,11 +154,11 @@ describe('alias set NUTs', () => { it('alias set --json', () => { // access each member individually because the stack trace will be different const res = execCmd('alias set --json'); - expect(getNumber(res.jsonOutput, 'status')).to.equal(1); - expect(getString(res.jsonOutput, 'name')).to.equal('ArgumentsRequiredError'); - expect(getString(res.jsonOutput, 'stack')).to.contain('ArgumentsRequiredError'); - expect(getString(res.jsonOutput, 'message')).to.include(messages.getMessages('error.ArgumentsRequired')); - expect(getNumber(res.jsonOutput, 'exitCode')).to.equal(1); + expect(res.jsonOutput?.status).to.equal(1); + expect(res.jsonOutput?.name).to.equal('ArgumentsRequiredError'); + expect(res.jsonOutput?.stack).to.contain('ArgumentsRequiredError'); + expect(res.jsonOutput?.message).to.include(messages.getMessages('error.ArgumentsRequired')); + expect(res.jsonOutput?.exitCode).to.equal(1); }); it('alias set without varargs stdout', () => { diff --git a/test/commands/alias/unset.nut.ts b/test/commands/alias/unset.nut.ts index 72baf5df..32a7ca45 100644 --- a/test/commands/alias/unset.nut.ts +++ b/test/commands/alias/unset.nut.ts @@ -5,14 +5,12 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; import { expect } from 'chai'; import { Messages } from '@salesforce/core'; import { AliasResults } from '../../../src/alias.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'alias.unset'); describe('alias unset NUTs', () => { diff --git a/test/commands/config/set.nut.ts b/test/commands/config/set.nut.ts index 29b2757a..02ca8989 100644 --- a/test/commands/config/set.nut.ts +++ b/test/commands/config/set.nut.ts @@ -5,14 +5,12 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ -import { fileURLToPath } from 'node:url'; -import { dirname } from 'node:path'; import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; import { assert, expect } from 'chai'; import { Messages } from '@salesforce/core'; import { SetOrUnsetConfigCommandResult } from '../../../src/commands/config/set.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-settings', 'config.set'); let testSession: TestSession; diff --git a/test/commands/sfdx/alias/set.nut.ts b/test/commands/sfdx/alias/set.nut.ts index 8cda2e10..af536426 100644 --- a/test/commands/sfdx/alias/set.nut.ts +++ b/test/commands/sfdx/alias/set.nut.ts @@ -5,7 +5,6 @@ * For full license text, see LICENSE.txt file in the repo root or https://opensource.org/licenses/BSD-3-Clause */ import { execCmd, TestSession } from '@salesforce/cli-plugins-testkit'; -import { getNumber, getString } from '@salesforce/ts-types'; import { expect } from 'chai'; let testSession: TestSession; @@ -101,14 +100,13 @@ describe('alias:set NUTs', async () => { it('alias:set --json', () => { // access each member individually because the stack trace will be different const res = execCmd('alias:set --json'); - expect(getNumber(res.jsonOutput, 'status')).to.equal(1); - expect(getString(res.jsonOutput, 'name')).to.equal('ArgumentsRequiredError'); - expect(getString(res.jsonOutput, 'stack')).to.contain('ArgumentsRequiredError'); - expect(getString(res.jsonOutput, 'message')).to.contain( + expect(res.jsonOutput?.status).to.equal(1); + expect(res.jsonOutput?.name).to.equal('ArgumentsRequiredError'); + expect(res.jsonOutput?.stack).to.contain('ArgumentsRequiredError'); + expect(res.jsonOutput?.message).to.contain( 'You must provide one or more aliases to set. Use the --help flag to see examples.' ); - expect(getNumber(res.jsonOutput, 'exitCode')).to.equal(1); - expect(getNumber(res.jsonOutput, 'status')).to.equal(1); + expect(res.jsonOutput?.exitCode).to.equal(1); }); it('alias:set without varargs stdout', () => { diff --git a/yarn.lock b/yarn.lock index bea4f42b..c469a2ea 100644 --- a/yarn.lock +++ b/yarn.lock @@ -986,7 +986,7 @@ strip-ansi "6.0.1" ts-retry-promise "^0.7.1" -"@salesforce/core@^5.3.1", "@salesforce/core@^5.3.17", "@salesforce/core@^5.3.18", "@salesforce/core@^5.3.20": +"@salesforce/core@^5.3.1", "@salesforce/core@^5.3.17", "@salesforce/core@^5.3.18": version "5.3.20" resolved "https://registry.yarnpkg.com/@salesforce/core/-/core-5.3.20.tgz#4e934d4551bb70423cb1c4115615bc41cffca41e" integrity sha512-y+O6O2c8OYFDrAy2qsG+pAcNxoyL14nmBXcBRRcYA7Huj8ikK+aLJK84PuVAYdQz+hNwImQF+69IWtDkpK4Irg== @@ -1435,7 +1435,7 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/json-schema@^7.0.12", "@types/json-schema@^7.0.9": +"@types/json-schema@^7.0.12": version "7.0.14" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.14.tgz#74a97a5573980802f32c8e47b663530ab3b6b7d1" integrity sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw== @@ -1530,7 +1530,7 @@ dependencies: "@types/node" "*" -"@types/semver@^7.3.12", "@types/semver@^7.5.0", "@types/semver@^7.5.4", "@types/semver@^7.5.6": +"@types/semver@^7.5.0", "@types/semver@^7.5.4", "@types/semver@^7.5.6": version "7.5.6" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.6.tgz#c65b2bfce1bec346582c07724e3f8c1017a20339" integrity sha512-dn1l8LaMea/IjDoHNd9J52uBbInB796CDffS6VdIxvqYCPSG0V0DzHp76GpaWnlhg88uYyPbXCDIowa86ybd5A== @@ -1598,14 +1598,6 @@ "@typescript-eslint/visitor-keys" "6.11.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.62.0.tgz#d9457ccc6a0b8d6b37d0eb252a23022478c5460c" - integrity sha512-VXuvVvZeQCQb5Zgf4HAxc04q5j+WrNAtNh9OwCsCgpKqESMTu3tF/jhZ3xG6T4NZwWl65Bg8KuS2uEvhSfLl0w== - dependencies: - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/visitor-keys" "5.62.0" - "@typescript-eslint/scope-manager@6.11.0": version "6.11.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.11.0.tgz#621f603537c89f4d105733d949aa4d55eee5cea8" @@ -1614,6 +1606,14 @@ "@typescript-eslint/types" "6.11.0" "@typescript-eslint/visitor-keys" "6.11.0" +"@typescript-eslint/scope-manager@6.14.0": + version "6.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.14.0.tgz#53d24363fdb5ee0d1d8cda4ed5e5321272ab3d48" + integrity sha512-VT7CFWHbZipPncAZtuALr9y3EuzY1b1t1AEkIq2bTXUPKw+pHoXflGNG5L+Gv6nKul1cz1VH8fz16IThIU0tdg== + dependencies: + "@typescript-eslint/types" "6.14.0" + "@typescript-eslint/visitor-keys" "6.14.0" + "@typescript-eslint/type-utils@6.11.0": version "6.11.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.11.0.tgz#d0b8b1ab6c26b974dbf91de1ebc5b11fea24e0d1" @@ -1624,28 +1624,15 @@ debug "^4.3.4" ts-api-utils "^1.0.1" -"@typescript-eslint/types@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.62.0.tgz#258607e60effa309f067608931c3df6fed41fd2f" - integrity sha512-87NVngcbVXUahrRTqIK27gD2t5Cu1yuCXxbLcFtCzZGlfyVWWh8mLHkoxzjsB6DDNnvdL+fW8MiwPEJyGJQDgQ== - "@typescript-eslint/types@6.11.0": version "6.11.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.11.0.tgz#8ad3aa000cbf4bdc4dcceed96e9b577f15e0bf53" integrity sha512-ZbEzuD4DwEJxwPqhv3QULlRj8KYTAnNsXxmfuUXFCxZmO6CF2gM/y+ugBSAQhrqaJL3M+oe4owdWunaHM6beqA== -"@typescript-eslint/typescript-estree@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.62.0.tgz#7d17794b77fabcac615d6a48fb143330d962eb9b" - integrity sha512-CmcQ6uY7b9y694lKdRB8FEel7JbU/40iSAPomu++SjLMntB+2Leay2LO6i8VnJk58MtE9/nQSFIH6jpyRWyYzA== - dependencies: - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/visitor-keys" "5.62.0" - debug "^4.3.4" - globby "^11.1.0" - is-glob "^4.0.3" - semver "^7.3.7" - tsutils "^3.21.0" +"@typescript-eslint/types@6.14.0": + version "6.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.14.0.tgz#935307f7a931016b7a5eb25d494ea3e1f613e929" + integrity sha512-uty9H2K4Xs8E47z3SnXEPRNDfsis8JO27amp2GNCnzGETEW3yTqEIVg5+AI7U276oGF/tw6ZA+UesxeQ104ceA== "@typescript-eslint/typescript-estree@6.11.0": version "6.11.0" @@ -1660,7 +1647,20 @@ semver "^7.5.4" ts-api-utils "^1.0.1" -"@typescript-eslint/utils@6.11.0", "@typescript-eslint/utils@^6.7.5": +"@typescript-eslint/typescript-estree@6.14.0": + version "6.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.14.0.tgz#90c7ddd45cd22139adf3d4577580d04c9189ac13" + integrity sha512-yPkaLwK0yH2mZKFE/bXkPAkkFgOv15GJAUzgUVonAbv0Hr4PK/N2yaA/4XQbTZQdygiDkpt5DkxPELqHguNvyw== + dependencies: + "@typescript-eslint/types" "6.14.0" + "@typescript-eslint/visitor-keys" "6.14.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.5.4" + ts-api-utils "^1.0.1" + +"@typescript-eslint/utils@6.11.0": version "6.11.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.11.0.tgz#11374f59ef4cea50857b1303477c08aafa2ca604" integrity sha512-p23ibf68fxoZy605dc0dQAEoUsoiNoP3MD9WQGiHLDuTSOuqoTsa4oAy+h3KDkTcxbbfOtUjb9h3Ta0gT4ug2g== @@ -1673,27 +1673,18 @@ "@typescript-eslint/typescript-estree" "6.11.0" semver "^7.5.4" -"@typescript-eslint/utils@^5.59.11": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.62.0.tgz#141e809c71636e4a75daa39faed2fb5f4b10df86" - integrity sha512-n8oxjeb5aIbPFEtmQxQYOLI0i9n5ySBEY/ZEHHZqKQSFnxio1rv6dthascc9dLuwrL0RC5mPCxB7vnAVGAYWAQ== +"@typescript-eslint/utils@^6.13.2", "@typescript-eslint/utils@^6.7.5": + version "6.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.14.0.tgz#856a9e274367d99ffbd39c48128b93a86c4261e3" + integrity sha512-XwRTnbvRr7Ey9a1NT6jqdKX8y/atWG+8fAIu3z73HSP8h06i3r/ClMhmaF/RGWGW1tHJEwij1uEg2GbEmPYvYg== dependencies: - "@eslint-community/eslint-utils" "^4.2.0" - "@types/json-schema" "^7.0.9" - "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.62.0" - "@typescript-eslint/types" "5.62.0" - "@typescript-eslint/typescript-estree" "5.62.0" - eslint-scope "^5.1.1" - semver "^7.3.7" - -"@typescript-eslint/visitor-keys@5.62.0": - version "5.62.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.62.0.tgz#2174011917ce582875954ffe2f6912d5931e353e" - integrity sha512-07ny+LHRzQXepkGg6w0mFY41fVUNBrL2Roj/++7V1txKugfjm/Ci/qSND03r2RhlJhJYMcTn9AhhSSqQp0Ysyw== - dependencies: - "@typescript-eslint/types" "5.62.0" - eslint-visitor-keys "^3.3.0" + "@eslint-community/eslint-utils" "^4.4.0" + "@types/json-schema" "^7.0.12" + "@types/semver" "^7.5.0" + "@typescript-eslint/scope-manager" "6.14.0" + "@typescript-eslint/types" "6.14.0" + "@typescript-eslint/typescript-estree" "6.14.0" + semver "^7.5.4" "@typescript-eslint/visitor-keys@6.11.0": version "6.11.0" @@ -1703,6 +1694,14 @@ "@typescript-eslint/types" "6.11.0" eslint-visitor-keys "^3.4.1" +"@typescript-eslint/visitor-keys@6.14.0": + version "6.14.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.14.0.tgz#1d1d486581819287de824a56c22f32543561138e" + integrity sha512-fB5cw6GRhJUz03MrROVuj5Zm/Q+XWlVdIsFj+Zb1Hvqouc8t+XP2H5y53QYU/MGtd2dPg6/vJJlhoX3xc2ehfw== + dependencies: + "@typescript-eslint/types" "6.14.0" + eslint-visitor-keys "^3.4.1" + "@ungap/structured-clone@^1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" @@ -3345,13 +3344,13 @@ eslint-plugin-perfectionist@^2.1.0: minimatch "^9.0.3" natural-compare-lite "^1.4.0" -eslint-plugin-sf-plugin@^1.16.15: - version "1.16.15" - resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.16.15.tgz#99d0b522bb7eebefc8e456aa4b725f6fbbf2fa01" - integrity sha512-Vog0xc8DwLOCoPbwFx9GxaXHqpG0FvlpITkGzp//SdjcV7wqVW4CT76JES8IGenGv6mAecW5VqSyQzsIHFZGew== +eslint-plugin-sf-plugin@^1.17.0: + version "1.17.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-sf-plugin/-/eslint-plugin-sf-plugin-1.17.0.tgz#9a7e81cb63bc6f36aae7c7797f95e2179def7fd3" + integrity sha512-grW7leP0FJbKQZgDjBZanLSTYrus0itKaEmoflEuqTZSyqH4feP53rHby5ysbOnw9OvgZfuq9NSc0a/CzcIbtQ== dependencies: - "@salesforce/core" "^5.3.20" - "@typescript-eslint/utils" "^5.59.11" + "@salesforce/core" "^6.4.0" + "@typescript-eslint/utils" "^6.13.2" eslint-plugin-unicorn@^49.0.0: version "49.0.0" @@ -3373,14 +3372,6 @@ eslint-plugin-unicorn@^49.0.0: semver "^7.5.4" strip-indent "^3.0.0" -eslint-scope@^5.1.1: - version "5.1.1" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" - integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== - dependencies: - esrecurse "^4.3.0" - estraverse "^4.1.1" - eslint-scope@^7.2.2: version "7.2.2" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.2.2.tgz#deb4f92563390f32006894af62a22dba1c46423f" @@ -3466,11 +3457,6 @@ esrecurse@^4.3.0: dependencies: estraverse "^5.2.0" -estraverse@^4.1.1: - version "4.3.0" - resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" - integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== - estraverse@^5.1.0, estraverse@^5.2.0: version "5.3.0" resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" @@ -7228,7 +7214,7 @@ secure-json-parse@^2.4.0: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.2.tgz#48d55db737c3287cd4835e17fa13feace1c41ef8" integrity sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g== -semver@7.5.4, semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: +semver@7.5.4, semver@^7.0.0, semver@^7.1.1, semver@^7.1.3, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semver@^7.3.5, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== @@ -7925,7 +7911,7 @@ tsconfig-paths@^3.14.2: minimist "^1.2.6" strip-bom "^3.0.0" -tslib@^1.8.1, tslib@^1.9.0: +tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== @@ -7935,13 +7921,6 @@ tslib@^2, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.5.0, tslib@^2.6.1, resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== -tsutils@^3.21.0: - version "3.21.0" - resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" - integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== - dependencies: - tslib "^1.8.1" - tuf-js@^1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/tuf-js/-/tuf-js-1.1.7.tgz#21b7ae92a9373015be77dfe0cb282a80ec3bbe43"