From abe64db56b635714d0ca0bbd200fb774ad975685 Mon Sep 17 00:00:00 2001 From: svc-cli-bot Date: Thu, 28 Dec 2023 05:52:21 +0000 Subject: [PATCH] chore: updates from devScripts --- package.json | 4 +- src/commands/analytics/generate/template.ts | 6 +- src/commands/apex/generate/class.ts | 6 +- src/commands/apex/generate/trigger.ts | 6 +- src/commands/lightning/generate/app.ts | 6 +- src/commands/lightning/generate/component.ts | 6 +- src/commands/lightning/generate/event.ts | 6 +- src/commands/lightning/generate/interface.ts | 6 +- src/commands/lightning/generate/test.ts | 6 +- src/commands/project/generate.ts | 6 +- src/commands/static-resource/generate.ts | 6 +- .../visualforce/generate/component.ts | 6 +- src/commands/visualforce/generate/page.ts | 6 +- src/utils/templateCommand.ts | 4 +- yarn.lock | 164 ++++++++---------- 15 files changed, 112 insertions(+), 132 deletions(-) diff --git a/package.json b/package.json index a44a2de2..f74cb681 100644 --- a/package.json +++ b/package.json @@ -15,12 +15,12 @@ "devDependencies": { "@oclif/plugin-command-snapshot": "^5.0.4", "@salesforce/cli-plugins-testkit": "^5.1.3", - "@salesforce/dev-scripts": "^8.1.2", + "@salesforce/dev-scripts": "^8.1.3", "@salesforce/plugin-command-reference": "^3.0.54", "@types/yeoman-assert": "^3.1.4", "@types/yeoman-environment": "^2.10.9", "@types/yeoman-generator": "^5.2.13", - "eslint-plugin-sf-plugin": "^1.16.15", + "eslint-plugin-sf-plugin": "^1.17.0", "oclif": "^4.1.0", "shx": "^0.3.4", "ts-node": "^10.9.2", diff --git a/src/commands/analytics/generate/template.ts b/src/commands/analytics/generate/template.ts index dcab1cdc..3ee18f87 100644 --- a/src/commands/analytics/generate/template.ts +++ b/src/commands/analytics/generate/template.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { Messages } from '@salesforce/core'; import AnalyticsTemplateGenerator from '@salesforce/templates/lib/generators/analyticsTemplateGenerator.js'; @@ -13,7 +13,7 @@ import { AnalyticsTemplateOptions, CreateOutput } from '@salesforce/templates'; import { getCustomTemplates, runGenerator } from '../../../utils/templateCommand.js'; import { outputDirFlag } from '../../../utils/flags.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'analyticsTemplate'); export default class AnalyticsTemplate extends SfCommand { public static readonly examples = messages.getMessages('examples'); diff --git a/src/commands/apex/generate/class.ts b/src/commands/apex/generate/class.ts index aed8f088..1b45ea71 100644 --- a/src/commands/apex/generate/class.ts +++ b/src/commands/apex/generate/class.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { ApexClassOptions, CreateOutput } from '@salesforce/templates'; import ApexClassGenerator from '@salesforce/templates/lib/generators/apexClassGenerator.js'; @@ -14,7 +14,7 @@ import { Messages } from '@salesforce/core'; import { runGenerator, getCustomTemplates } from '../../../utils/templateCommand.js'; import { outputDirFlag } from '../../../utils/flags.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'apexClass'); const commonMessages = Messages.loadMessages('@salesforce/plugin-templates', 'messages'); const apexClassFileSuffix = /.cls$/; diff --git a/src/commands/apex/generate/trigger.ts b/src/commands/apex/generate/trigger.ts index 36854d00..1734f111 100644 --- a/src/commands/apex/generate/trigger.ts +++ b/src/commands/apex/generate/trigger.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { arrayWithDeprecation, Flags, @@ -21,7 +21,7 @@ import { Messages } from '@salesforce/core'; import { getCustomTemplates, runGenerator } from '../../../utils/templateCommand.js'; import { outputDirFlag } from '../../../utils/flags.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const apexTriggerFileSuffix = /.trigger$/; const commonMessages = Messages.loadMessages('@salesforce/plugin-templates', 'messages'); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'apexTrigger'); diff --git a/src/commands/lightning/generate/app.ts b/src/commands/lightning/generate/app.ts index d43b9fc1..1a6ef948 100644 --- a/src/commands/lightning/generate/app.ts +++ b/src/commands/lightning/generate/app.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { CreateOutput, LightningAppOptions } from '@salesforce/templates'; import LightningAppGenerator from '@salesforce/templates/lib/generators/lightningAppGenerator.js'; @@ -14,7 +14,7 @@ import { Messages } from '@salesforce/core'; import { getCustomTemplates, runGenerator } from '../../../utils/templateCommand.js'; import { internalFlag, outputDirFlagLightning } from '../../../utils/flags.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const lightningCommonMessages = Messages.loadMessages('@salesforce/plugin-templates', 'lightning'); const lightningAppMessages = Messages.loadMessages('@salesforce/plugin-templates', 'lightningApp'); const lightningAppFileSuffix = /.app$/; diff --git a/src/commands/lightning/generate/component.ts b/src/commands/lightning/generate/component.ts index 66dc0af1..b91207f9 100644 --- a/src/commands/lightning/generate/component.ts +++ b/src/commands/lightning/generate/component.ts @@ -7,8 +7,8 @@ // tslint:disable:no-unused-expression -import { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { CreateOutput, LightningComponentOptions } from '@salesforce/templates'; import LightningComponentGenerator from '@salesforce/templates/lib/generators/lightningComponentGenerator.js'; @@ -17,7 +17,7 @@ import { getCustomTemplates, runGenerator } from '../../../utils/templateCommand import { internalFlag, outputDirFlagLightning } from '../../../utils/flags.js'; const BUNDLE_TYPE = 'Component'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'lightningCmp'); const lightningCommon = Messages.loadMessages('@salesforce/plugin-templates', 'lightning'); export default class LightningComponent extends SfCommand { diff --git a/src/commands/lightning/generate/event.ts b/src/commands/lightning/generate/event.ts index e780de94..363c5d46 100644 --- a/src/commands/lightning/generate/event.ts +++ b/src/commands/lightning/generate/event.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { CreateOutput, LightningEventOptions } from '@salesforce/templates'; import LightningEventGenerator from '@salesforce/templates/lib/generators/lightningEventGenerator.js'; @@ -16,7 +16,7 @@ import { internalFlag, outputDirFlagLightning } from '../../../utils/flags.js'; const lightningEventFileSuffix = /.evt$/; const BUNDLE_TYPE = 'Event'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'lightningEvent'); const lightningCommon = Messages.loadMessages('@salesforce/plugin-templates', 'lightning'); diff --git a/src/commands/lightning/generate/interface.ts b/src/commands/lightning/generate/interface.ts index 861eb1ad..db2ce500 100644 --- a/src/commands/lightning/generate/interface.ts +++ b/src/commands/lightning/generate/interface.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { CreateOutput, LightningInterfaceOptions } from '@salesforce/templates'; import LightningInterfaceGenerator from '@salesforce/templates/lib/generators/lightningInterfaceGenerator.js'; @@ -16,7 +16,7 @@ import { internalFlag, outputDirFlagLightning } from '../../../utils/flags.js'; const lightningInterfaceFileSuffix = /.intf$/; const BUNDLE_TYPE = 'Interface'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'lightningInterface'); const lightningCommon = Messages.loadMessages('@salesforce/plugin-templates', 'lightning'); diff --git a/src/commands/lightning/generate/test.ts b/src/commands/lightning/generate/test.ts index 63e312e7..82e24430 100644 --- a/src/commands/lightning/generate/test.ts +++ b/src/commands/lightning/generate/test.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, SfCommand, orgApiVersionFlagWithDeprecations, Ux } from '@salesforce/sf-plugins-core'; import { CreateOutput, LightningTestOptions } from '@salesforce/templates'; import LightningTestGenerator from '@salesforce/templates/lib/generators/lightningTestGenerator.js'; @@ -15,7 +15,7 @@ import { getCustomTemplates, runGenerator } from '../../../utils/templateCommand import { internalFlag, outputDirFlagLightning } from '../../../utils/flags.js'; const lightningTestFileSuffix = /.resource$/; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'lightningTest'); const lightningMessages = Messages.loadMessages('@salesforce/plugin-templates', 'lightning'); export default class LightningTest extends SfCommand { diff --git a/src/commands/project/generate.ts b/src/commands/project/generate.ts index f5e23ce3..cbf6b2c4 100644 --- a/src/commands/project/generate.ts +++ b/src/commands/project/generate.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { CreateOutput, ProjectOptions } from '@salesforce/templates'; import ProjectGenerator from '@salesforce/templates/lib/generators/projectGenerator.js'; @@ -13,7 +13,7 @@ import { Messages } from '@salesforce/core'; import { getCustomTemplates, runGenerator } from '../../utils/templateCommand.js'; import { outputDirFlag } from '../../utils/flags.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'project'); export default class Project extends SfCommand { public static readonly summary = messages.getMessage('summary'); diff --git a/src/commands/static-resource/generate.ts b/src/commands/static-resource/generate.ts index 9b437474..46456f2f 100644 --- a/src/commands/static-resource/generate.ts +++ b/src/commands/static-resource/generate.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import { CreateOutput, StaticResourceOptions } from '@salesforce/templates'; import { Messages } from '@salesforce/core'; @@ -13,7 +13,7 @@ import StaticResourceGenerator from '@salesforce/templates/lib/generators/static import { outputDirFlag } from '../../utils/flags.js'; import { getCustomTemplates, runGenerator } from '../../utils/templateCommand.js'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'staticResource'); export default class StaticResource extends SfCommand { public static readonly summary = messages.getMessage('summary'); diff --git a/src/commands/visualforce/generate/component.ts b/src/commands/visualforce/generate/component.ts index 2d00b576..181e9a6a 100644 --- a/src/commands/visualforce/generate/component.ts +++ b/src/commands/visualforce/generate/component.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, SfCommand, orgApiVersionFlagWithDeprecations, Ux, loglevel } from '@salesforce/sf-plugins-core'; import { CreateOutput, VisualforceComponentOptions } from '@salesforce/templates'; import VisualforceComponentGenerator from '@salesforce/templates/lib/generators/visualforceComponentGenerator.js'; @@ -16,7 +16,7 @@ import { runGenerator, getCustomTemplates } from '../../../utils/templateCommand const visualforceComponentFileSuffix = /.component$/; const VF_TYPE = 'Component'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const commonMessages = Messages.loadMessages('@salesforce/plugin-templates', 'messages'); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'vf'); diff --git a/src/commands/visualforce/generate/page.ts b/src/commands/visualforce/generate/page.ts index fb37d880..e593faca 100644 --- a/src/commands/visualforce/generate/page.ts +++ b/src/commands/visualforce/generate/page.ts @@ -4,8 +4,8 @@ * 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 { dirname } from 'node:path'; -import { fileURLToPath } from 'node:url'; + + import { Flags, loglevel, orgApiVersionFlagWithDeprecations, SfCommand, Ux } from '@salesforce/sf-plugins-core'; import VisualforcePageGenerator from '@salesforce/templates/lib/generators/visualforcePageGenerator.js'; import { CreateOutput, CreateUtil, VisualforcePageOptions } from '@salesforce/templates'; @@ -15,7 +15,7 @@ import { outputDirFlag } from '../../../utils/flags.js'; const visualforcePageFileSuffix = /.page$/; const VF_TYPE = 'Page'; -Messages.importMessagesDirectory(dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const commonMessages = Messages.loadMessages('@salesforce/plugin-templates', 'messages'); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'vf'); export default class VisualforcePage extends SfCommand { diff --git a/src/utils/templateCommand.ts b/src/utils/templateCommand.ts index 48ec0803..7854dbad 100644 --- a/src/utils/templateCommand.ts +++ b/src/utils/templateCommand.ts @@ -6,7 +6,7 @@ */ import path from 'node:path'; -import { fileURLToPath } from 'node:url'; + import { Ux } from '@salesforce/sf-plugins-core'; import { ConfigAggregator, Messages, OrgConfigProperties } from '@salesforce/core'; import { CreateOutput, TemplateService } from '@salesforce/templates'; @@ -26,7 +26,7 @@ import AnalyticsTemplateGenerator from '@salesforce/templates/lib/generators/ana import LightningComponentGenerator from '@salesforce/templates/lib/generators/lightningComponentGenerator.js'; import ApexTriggerGenerator from '@salesforce/templates/lib/generators/apexTriggerGenerator.js'; -Messages.importMessagesDirectory(path.dirname(fileURLToPath(import.meta.url))); +Messages.importMessagesDirectoryFromMetaUrl(import.meta.url); const messages = Messages.loadMessages('@salesforce/plugin-templates', 'messages'); export type generatorInputs = { diff --git a/yarn.lock b/yarn.lock index 541e2ab6..3164474b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1017,16 +1017,16 @@ resolved "https://registry.yarnpkg.com/@salesforce/dev-config/-/dev-config-4.1.0.tgz#e529576466d074e7a5f1441236510fef123da01e" integrity sha512-2iDDepiIwjXHS5IVY7pwv8jMo4xWosJ7p/UTj+lllpB/gnJiYLhjJPE4Z3FCGFKyvfg5jGaimCd8Ca6bLGsCQA== -"@salesforce/dev-scripts@^8.1.2": - version "8.1.2" - resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.1.2.tgz#ec3e528328fe7c7b8b312688e970ea258913980b" - integrity sha512-DQscqQPMuj2b1D8sfh77zAKQVEuo0SQ05XlFSbVKgvxO/yPrSpUK0LgHsbyG4Js88TWBqsf4K7mkdaryukSnSA== +"@salesforce/dev-scripts@^8.1.3": + version "8.1.3" + resolved "https://registry.yarnpkg.com/@salesforce/dev-scripts/-/dev-scripts-8.1.3.tgz#b33c53b4b648b5090322d1144c6852ca587d6eb7" + integrity sha512-mSWCab+uO3O2QNBCRJpKsHw/UYpOGpNFWT12BC85e+VyWBp4LTIAsssBKDY8czRI02K7NwiYaC34fNdP+yqrzA== dependencies: "@commitlint/cli" "^17.1.2" "@commitlint/config-conventional" "^17.8.1" "@salesforce/dev-config" "^4.1.0" "@salesforce/prettier-config" "^0.0.3" - "@types/chai" "^4.3.10" + "@types/chai" "^4.3.11" "@types/mocha" "^10.0.6" "@types/node" "^18" "@types/sinon" "^10.0.20" @@ -1276,10 +1276,10 @@ "@types/node" "*" "@types/responselike" "^1.0.0" -"@types/chai@^4.3.10": - version "4.3.10" - resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.3.10.tgz#2ad2959d1767edee5b0e4efb1a0cd2b500747317" - integrity sha512-of+ICnbqjmFCiixUnqRulbylyXQrPqIGf/B3Jax1wIF3DvSheysQxAWvqHhZiW3IQrycvokcLcFQlveGp+vyNg== +"@types/chai@^4.3.11": + version "4.3.11" + resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.3.11.tgz#e95050bf79a932cb7305dd130254ccdf9bde671c" + integrity sha512-qQR1dr2rGIHYlJulmr8Ioq3De0Le9E4MJ5AiaeAETJJpndT1uUNHsGFK3L/UIu+rbkQSdj8J/w2bCsBZc/Y5fQ== "@types/cli-progress@^3.11.0": version "3.11.5" @@ -1331,7 +1331,7 @@ "@types/through" "*" rxjs "^7.2.0" -"@types/json-schema@*", "@types/json-schema@^7.0.12", "@types/json-schema@^7.0.9": +"@types/json-schema@*", "@types/json-schema@^7.0.12": version "7.0.15" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.15.tgz#596a1747233694d50f6ad8a7869fcb6f56cf5841" integrity sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA== @@ -1451,7 +1451,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== @@ -1561,14 +1561,6 @@ "@typescript-eslint/visitor-keys" "6.10.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.10.0": version "6.10.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.10.0.tgz#b0276118b13d16f72809e3cecc86a72c93708540" @@ -1577,6 +1569,14 @@ "@typescript-eslint/types" "6.10.0" "@typescript-eslint/visitor-keys" "6.10.0" +"@typescript-eslint/scope-manager@6.16.0": + version "6.16.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-6.16.0.tgz#f3e9a00fbc1d0701356359cd56489c54d9e37168" + integrity sha512-0N7Y9DSPdaBQ3sqSCwlrm9zJwkpOuc6HYm7LpzLAPqBL7dmzAUimr4M29dMkOP/tEwvOCC/Cxo//yOfJD3HUiw== + dependencies: + "@typescript-eslint/types" "6.16.0" + "@typescript-eslint/visitor-keys" "6.16.0" + "@typescript-eslint/type-utils@6.10.0": version "6.10.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-6.10.0.tgz#1007faede067c78bdbcef2e8abb31437e163e2e1" @@ -1587,28 +1587,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.10.0": version "6.10.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.10.0.tgz#f4f0a84aeb2ac546f21a66c6e0da92420e921367" integrity sha512-36Fq1PWh9dusgo3vH7qmQAj5/AZqARky1Wi6WpINxB6SkQdY5vQoT2/7rW7uBIsPDcvvGCLi4r10p0OJ7ITAeg== -"@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.16.0": + version "6.16.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.16.0.tgz#a3abe0045737d44d8234708d5ed8fef5d59dc91e" + integrity sha512-hvDFpLEvTJoHutVl87+MG/c5C8I6LOgEx05zExTSJDEVU7hhR3jhV8M5zuggbdFCw98+HhZWPHZeKS97kS3JoQ== "@typescript-eslint/typescript-estree@6.10.0": version "6.10.0" @@ -1623,7 +1610,21 @@ semver "^7.5.4" ts-api-utils "^1.0.1" -"@typescript-eslint/utils@6.10.0", "@typescript-eslint/utils@^6.10.0": +"@typescript-eslint/typescript-estree@6.16.0": + version "6.16.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-6.16.0.tgz#d6e0578e4f593045f0df06c4b3a22bd6f13f2d03" + integrity sha512-VTWZuixh/vr7nih6CfrdpmFNLEnoVBF1skfjdyGnNwXOH1SLeHItGdZDHhhAIzd3ACazyY2Fg76zuzOVTaknGA== + dependencies: + "@typescript-eslint/types" "6.16.0" + "@typescript-eslint/visitor-keys" "6.16.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + minimatch "9.0.3" + semver "^7.5.4" + ts-api-utils "^1.0.1" + +"@typescript-eslint/utils@6.10.0": version "6.10.0" resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.10.0.tgz#4d76062d94413c30e402c9b0df8c14aef8d77336" integrity sha512-v+pJ1/RcVyRc0o4wAGux9x42RHmAjIGzPRo538Z8M1tVx6HOnoQBCX/NoadHQlZeC+QO2yr4nNSFWOoraZCAyg== @@ -1636,27 +1637,18 @@ "@typescript-eslint/typescript-estree" "6.10.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.10.0", "@typescript-eslint/utils@^6.13.2": + version "6.16.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-6.16.0.tgz#1c291492d34670f9210d2b7fcf6b402bea3134ae" + integrity sha512-T83QPKrBm6n//q9mv7oiSvy/Xq/7Hyw9SzSEhMHJwznEmQayfBM87+oAlkNAMEO7/MjIwKyOHgBJbxB0s7gx2A== 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.16.0" + "@typescript-eslint/types" "6.16.0" + "@typescript-eslint/typescript-estree" "6.16.0" + semver "^7.5.4" "@typescript-eslint/visitor-keys@6.10.0": version "6.10.0" @@ -1666,6 +1658,14 @@ "@typescript-eslint/types" "6.10.0" eslint-visitor-keys "^3.4.1" +"@typescript-eslint/visitor-keys@6.16.0": + version "6.16.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-6.16.0.tgz#d50da18a05d91318ed3e7e8889bda0edc35f3a10" + integrity sha512-QSFQLruk7fhs91a/Ep/LqRdbJCZ1Rq03rqBdKT5Ky17Sz8zRLUksqIe9DW0pKtg/Z35/ztbLQ6qpOCN6rOC11A== + dependencies: + "@typescript-eslint/types" "6.16.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" @@ -3246,13 +3246,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" @@ -3274,14 +3274,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" @@ -3367,11 +3359,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" @@ -5391,6 +5378,13 @@ minimatch@5.0.1: dependencies: brace-expansion "^2.0.1" +minimatch@9.0.3, minimatch@^9.0.0, minimatch@^9.0.1, minimatch@^9.0.3: + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== + dependencies: + brace-expansion "^2.0.1" + minimatch@^3.0.4, minimatch@^3.0.5, minimatch@^3.1.1, minimatch@^3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" @@ -5412,13 +5406,6 @@ minimatch@^7.2.0: dependencies: brace-expansion "^2.0.1" -minimatch@^9.0.0, minimatch@^9.0.1, minimatch@^9.0.3: - version "9.0.3" - resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" - integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== - dependencies: - brace-expansion "^2.0.1" - minimist-options@4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -6965,7 +6952,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== @@ -7610,7 +7597,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== @@ -7620,13 +7607,6 @@ tslib@^2, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.5.0, tslib@^2.6.2: 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"