diff --git a/.eslintrc.js b/.eslintrc.js index 204784f1..4563c141 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -264,6 +264,17 @@ module.exports = { 'wrap-iife': 'off', 'wrap-regex': 'off', 'yield-star-spacing': 'off', + 'import/order': [ + 'error', + { + alphabetize: { + order: 'asc', + caseInsensitive: false, + }, + groups: ['builtin', 'external', 'parent', 'index', 'sibling'], + 'newlines-between': 'always', + }, + ], }, env: { browser: false, diff --git a/__tests__/functional/delta.nut.ts b/__tests__/functional/delta.nut.ts index dee3fd8f..849fdd19 100644 --- a/__tests__/functional/delta.nut.ts +++ b/__tests__/functional/delta.nut.ts @@ -1,8 +1,9 @@ 'use strict' -import { expect } from '@salesforce/command/lib/test' -import { execCmd } from '@salesforce/cli-plugins-testkit' -import readline from 'readline' import fs from 'fs' +import readline from 'readline' + +import { execCmd } from '@salesforce/cli-plugins-testkit' +import { expect } from '@salesforce/command/lib/test' describe('sgd:source:delta NUTS', () => { it('run help', () => { diff --git a/__tests__/functional/main.test.ts b/__tests__/functional/main.test.ts index 69d36d0a..fde446a4 100644 --- a/__tests__/functional/main.test.ts +++ b/__tests__/functional/main.test.ts @@ -1,7 +1,8 @@ ;`use strict` +import { expect, jest, describe, it } from '@jest/globals' + // eslint-disable-next-line @typescript-eslint/no-var-requires const sgd = require('../../src/main') -import { expect, jest, describe, it } from '@jest/globals' const mockValidateConfig = jest.fn() jest.mock('../../src/utils/cliHelper', () => { diff --git a/__tests__/integration/services.test.ts b/__tests__/integration/services.test.ts index 3513cfda..e24604ff 100644 --- a/__tests__/integration/services.test.ts +++ b/__tests__/integration/services.test.ts @@ -1,15 +1,16 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata } from '../__utils__/globalTestHelper' + import { ADDITION, DELETION, MODIFICATION, } from '../../src/constant/gitConstants' -import { readPathFromGit } from '../../src/utils/fsHelper' -import { Work } from '../../src/types/work' -import TypeHandlerFactory from '../../src/service/typeHandlerFactory' import { MetadataRepository } from '../../src/metadata/MetadataRepository' +import TypeHandlerFactory from '../../src/service/typeHandlerFactory' +import { Work } from '../../src/types/work' +import { readPathFromGit } from '../../src/utils/fsHelper' +import { getGlobalMetadata } from '../__utils__/globalTestHelper' jest.mock('../../src/utils/fsHelper') diff --git a/__tests__/unit/lib/adapter/GitAdapter.test.ts b/__tests__/unit/lib/adapter/GitAdapter.test.ts index ee08ea4f..38a2d506 100644 --- a/__tests__/unit/lib/adapter/GitAdapter.test.ts +++ b/__tests__/unit/lib/adapter/GitAdapter.test.ts @@ -1,19 +1,20 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getWork } from '../../../__utils__/globalTestHelper' -import { Config } from '../../../../src/types/config' +import { readFile } from 'fs-extra' +import { WalkerEntry, WalkerIterateCallback } from 'isomorphic-git' + import GitAdapter, { contentWalker, diffLineWalker, filePathWalker, iterate, } from '../../../../src/adapter/GitAdapter' +import { Config } from '../../../../src/types/config' import { getLFSObjectContentPath, isLFS, } from '../../../../src/utils/gitLfsHelper' -import { readFile } from 'fs-extra' -import { WalkerEntry, WalkerIterateCallback } from 'isomorphic-git' +import { getWork } from '../../../__utils__/globalTestHelper' const mockedDirExists = jest.fn() const mockedFileExists = jest.fn() diff --git a/__tests__/unit/lib/metadata/MetadataRepositoryImpl.test.ts b/__tests__/unit/lib/metadata/MetadataRepositoryImpl.test.ts index 38e50cb7..bab2f452 100644 --- a/__tests__/unit/lib/metadata/MetadataRepositoryImpl.test.ts +++ b/__tests__/unit/lib/metadata/MetadataRepositoryImpl.test.ts @@ -1,7 +1,8 @@ 'use strict' import { expect, describe, it } from '@jest/globals' -import { MetadataRepositoryImpl } from '../../../../src/metadata/MetadataRepositoryImpl' + import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { MetadataRepositoryImpl } from '../../../../src/metadata/MetadataRepositoryImpl' import { Metadata } from '../../../../src/types/metadata' describe('MetadataRepositoryImpl', () => { diff --git a/__tests__/unit/lib/metadata/metadataManager.test.ts b/__tests__/unit/lib/metadata/metadataManager.test.ts index 723de103..69c244b4 100644 --- a/__tests__/unit/lib/metadata/metadataManager.test.ts +++ b/__tests__/unit/lib/metadata/metadataManager.test.ts @@ -1,5 +1,7 @@ 'use strict' import { expect, describe, it } from '@jest/globals' + +import { MetadataRepositoryImpl } from '../../../../src/metadata/MetadataRepositoryImpl' import { getDefinition, getInFileAttributes, @@ -8,7 +10,6 @@ import { isVersionSupported, } from '../../../../src/metadata/metadataManager' import { Metadata } from '../../../../src/types/metadata' -import { MetadataRepositoryImpl } from '../../../../src/metadata/MetadataRepositoryImpl' describe(`test if metadata`, () => { it('provide latest when apiVersion does not exist', async () => { diff --git a/__tests__/unit/lib/post-processor/baseProcessor.test.ts b/__tests__/unit/lib/post-processor/baseProcessor.test.ts index c3d33228..8a176314 100644 --- a/__tests__/unit/lib/post-processor/baseProcessor.test.ts +++ b/__tests__/unit/lib/post-processor/baseProcessor.test.ts @@ -1,9 +1,10 @@ 'use strict' import { beforeAll, expect, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import BaseProcessor from '../../../../src/post-processor/baseProcessor' import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' describe('BaseProcessor', () => { let work: Work, metadata: MetadataRepository diff --git a/__tests__/unit/lib/post-processor/flowTranslationProcessor.test.ts b/__tests__/unit/lib/post-processor/flowTranslationProcessor.test.ts index 7db25214..9c8f36b3 100644 --- a/__tests__/unit/lib/post-processor/flowTranslationProcessor.test.ts +++ b/__tests__/unit/lib/post-processor/flowTranslationProcessor.test.ts @@ -1,17 +1,18 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' import { pathExists } from 'fs-extra' -import FlowTranslationProcessor from '../../../../src/post-processor/flowTranslationProcessor' -import { parseXmlFileToJson } from '../../../../src/utils/fxpHelper' + import { FLOW_XML_NAME, TRANSLATION_TYPE, } from '../../../../src/constant/metadataConstants' -import { isSubDir, readFile, treatPathSep } from '../../../../src/utils/fsUtils' -import { writeFile, readDir } from '../../../../src/utils/fsHelper' -import { Work } from '../../../../src/types/work' import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import FlowTranslationProcessor from '../../../../src/post-processor/flowTranslationProcessor' +import { Work } from '../../../../src/types/work' +import { writeFile, readDir } from '../../../../src/utils/fsHelper' +import { isSubDir, readFile, treatPathSep } from '../../../../src/utils/fsUtils' +import { parseXmlFileToJson } from '../../../../src/utils/fxpHelper' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('fs-extra') jest.mock('../../../../src/utils/fsHelper') diff --git a/__tests__/unit/lib/post-processor/includeProcessor.test.ts b/__tests__/unit/lib/post-processor/includeProcessor.test.ts index d0011b19..8697374e 100644 --- a/__tests__/unit/lib/post-processor/includeProcessor.test.ts +++ b/__tests__/unit/lib/post-processor/includeProcessor.test.ts @@ -1,13 +1,14 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import IncludeProcessor from '../../../../src/post-processor/includeProcessor' +import { Work } from '../../../../src/types/work' import { IgnoreHelper, buildIncludeHelper, } from '../../../../src/utils/ignoreHelper' -import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' const mockProcess = jest.fn() jest.mock('../../../../src/service/diffLineInterpreter', () => { diff --git a/__tests__/unit/lib/post-processor/packageGenerator.test.ts b/__tests__/unit/lib/post-processor/packageGenerator.test.ts index 38b5964d..087f6be7 100644 --- a/__tests__/unit/lib/post-processor/packageGenerator.test.ts +++ b/__tests__/unit/lib/post-processor/packageGenerator.test.ts @@ -1,10 +1,11 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import PackageGenerator from '../../../../src/post-processor/packageGenerator' import fse from 'fs-extra' -import { Work } from '../../../../src/types/work' + import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import PackageGenerator from '../../../../src/post-processor/packageGenerator' +import { Work } from '../../../../src/types/work' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('fs-extra') diff --git a/__tests__/unit/lib/post-processor/postProcessorManager.test.ts b/__tests__/unit/lib/post-processor/postProcessorManager.test.ts index 7f00f983..ced8c967 100644 --- a/__tests__/unit/lib/post-processor/postProcessorManager.test.ts +++ b/__tests__/unit/lib/post-processor/postProcessorManager.test.ts @@ -1,12 +1,13 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import BaseProcessor from '../../../../src/post-processor/baseProcessor' import PostProcessorManager, { getPostProcessors, } from '../../../../src/post-processor/postProcessorManager' -import BaseProcessor from '../../../../src/post-processor/baseProcessor' import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' const processSpy = jest.fn() diff --git a/__tests__/unit/lib/service/botHandler.test.ts b/__tests__/unit/lib/service/botHandler.test.ts index bf7b0b0e..7834645e 100644 --- a/__tests__/unit/lib/service/botHandler.test.ts +++ b/__tests__/unit/lib/service/botHandler.test.ts @@ -1,10 +1,11 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import BotHandler from '../../../../src/service/botHandler' -import { copyFiles } from '../../../../src/utils/fsHelper' import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { copyFiles } from '../../../../src/utils/fsHelper' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fsHelper') diff --git a/__tests__/unit/lib/service/customObjectHandler.test.ts b/__tests__/unit/lib/service/customObjectHandler.test.ts index 871e8373..40ca2a0f 100644 --- a/__tests__/unit/lib/service/customObjectHandler.test.ts +++ b/__tests__/unit/lib/service/customObjectHandler.test.ts @@ -1,16 +1,17 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import CustomObjectHandler from '../../../../src/service/customObjectHandler' + import { MASTER_DETAIL_TAG } from '../../../../src/constant/metadataConstants' +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import CustomObjectHandler from '../../../../src/service/customObjectHandler' +import { Work } from '../../../../src/types/work' import { copyFiles, pathExists, readDir, readPathFromGit, } from '../../../../src/utils/fsHelper' -import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fsHelper') diff --git a/__tests__/unit/lib/service/diffLineInterpreter-compatibility.test.ts b/__tests__/unit/lib/service/diffLineInterpreter-compatibility.test.ts index 9cb54087..c3bf9dff 100644 --- a/__tests__/unit/lib/service/diffLineInterpreter-compatibility.test.ts +++ b/__tests__/unit/lib/service/diffLineInterpreter-compatibility.test.ts @@ -1,10 +1,11 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import DiffLineInterpreter from '../../../../src/service/diffLineInterpreter' import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('os', () => ({ availableParallelism: null, diff --git a/__tests__/unit/lib/service/diffLineInterpreter.test.ts b/__tests__/unit/lib/service/diffLineInterpreter.test.ts index 0ea0ebbc..ec7e0b7b 100644 --- a/__tests__/unit/lib/service/diffLineInterpreter.test.ts +++ b/__tests__/unit/lib/service/diffLineInterpreter.test.ts @@ -1,9 +1,10 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import DiffLineInterpreter from '../../../../src/service/diffLineInterpreter' import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' const mockHandle = jest.fn() jest.mock('../../../../src/service/typeHandlerFactory', () => { diff --git a/__tests__/unit/lib/service/inBundleHandler.test.ts b/__tests__/unit/lib/service/inBundleHandler.test.ts index 18eb200f..a8fce5b0 100644 --- a/__tests__/unit/lib/service/inBundleHandler.test.ts +++ b/__tests__/unit/lib/service/inBundleHandler.test.ts @@ -1,9 +1,10 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import InBundleHandler from '../../../../src/service/inBundleHandler' import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' const objectType = 'digitalExperiences' const entityPath = diff --git a/__tests__/unit/lib/service/inFileHandler.test.ts b/__tests__/unit/lib/service/inFileHandler.test.ts index 3159b703..b823d208 100644 --- a/__tests__/unit/lib/service/inFileHandler.test.ts +++ b/__tests__/unit/lib/service/inFileHandler.test.ts @@ -1,10 +1,11 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import { writeFile } from '../../../../src/utils/fsHelper' -import { Work } from '../../../../src/types/work' -import InFileHandler from '../../../../src/service/inFileHandler' + import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import InFileHandler from '../../../../src/service/inFileHandler' +import { Work } from '../../../../src/types/work' +import { writeFile } from '../../../../src/utils/fsHelper' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' const mockCompare = jest.fn() const mockPrune = jest.fn() diff --git a/__tests__/unit/lib/service/inFolderHandler.test.ts b/__tests__/unit/lib/service/inFolderHandler.test.ts index 480644f9..0b732f0f 100644 --- a/__tests__/unit/lib/service/inFolderHandler.test.ts +++ b/__tests__/unit/lib/service/inFolderHandler.test.ts @@ -1,11 +1,12 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import InFolder from '../../../../src/service/inFolderHandler' -import { copyFiles, readDir } from '../../../../src/utils/fsHelper' + import { METAFILE_SUFFIX } from '../../../../src/constant/metadataConstants' -import { Work } from '../../../../src/types/work' import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import InFolder from '../../../../src/service/inFolderHandler' +import { Work } from '../../../../src/types/work' +import { copyFiles, readDir } from '../../../../src/utils/fsHelper' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fsHelper') const mockedReadDir = jest.mocked(readDir) diff --git a/__tests__/unit/lib/service/inResourceHandler.test.ts b/__tests__/unit/lib/service/inResourceHandler.test.ts index 0c62a5c8..5d93e356 100644 --- a/__tests__/unit/lib/service/inResourceHandler.test.ts +++ b/__tests__/unit/lib/service/inResourceHandler.test.ts @@ -1,11 +1,12 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' + +import { METAFILE_SUFFIX } from '../../../../src/constant/metadataConstants' +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import InResourceHandler from '../../../../src/service/inResourceHandler' import { Work } from '../../../../src/types/work' import { copyFiles, pathExists, readDir } from '../../../../src/utils/fsHelper' -import { METAFILE_SUFFIX } from '../../../../src/constant/metadataConstants' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fsHelper') diff --git a/__tests__/unit/lib/service/lwcHandler.test.ts b/__tests__/unit/lib/service/lwcHandler.test.ts index e437f572..d247c00d 100644 --- a/__tests__/unit/lib/service/lwcHandler.test.ts +++ b/__tests__/unit/lib/service/lwcHandler.test.ts @@ -1,15 +1,16 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import LwcHandler from '../../../../src/service/lwcHandler' -import { copyFiles } from '../../../../src/utils/fsHelper' -import { Work } from '../../../../src/types/work' + import { ADDITION, DELETION, MODIFICATION, } from '../../../../src/constant/gitConstants' import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import LwcHandler from '../../../../src/service/lwcHandler' +import { Work } from '../../../../src/types/work' +import { copyFiles } from '../../../../src/utils/fsHelper' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fsHelper') diff --git a/__tests__/unit/lib/service/objectTranslationHandler.test.ts b/__tests__/unit/lib/service/objectTranslationHandler.test.ts index 2e07498f..62a98d24 100644 --- a/__tests__/unit/lib/service/objectTranslationHandler.test.ts +++ b/__tests__/unit/lib/service/objectTranslationHandler.test.ts @@ -1,10 +1,11 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import { Work } from '../../../../src/types/work' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import ObjectTranslation from '../../../../src/service/objectTranslationHandler' +import { Work } from '../../../../src/types/work' import { writeFile, copyFiles } from '../../../../src/utils/fsHelper' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' const mockCompare = jest.fn() const mockprune = jest.fn() diff --git a/__tests__/unit/lib/service/sharedFolderHandler.test.ts b/__tests__/unit/lib/service/sharedFolderHandler.test.ts index 6708a24e..547e23c6 100644 --- a/__tests__/unit/lib/service/sharedFolderHandler.test.ts +++ b/__tests__/unit/lib/service/sharedFolderHandler.test.ts @@ -1,11 +1,12 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import SharedFolderHandler from '../../../../src/service/sharedFolderHandler' -import { copyFiles } from '../../../../src/utils/fsHelper' + import { METAFILE_SUFFIX } from '../../../../src/constant/metadataConstants' -import { Work } from '../../../../src/types/work' import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import SharedFolderHandler from '../../../../src/service/sharedFolderHandler' +import { Work } from '../../../../src/types/work' +import { copyFiles } from '../../../../src/utils/fsHelper' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fsHelper') diff --git a/__tests__/unit/lib/service/standardHandler.test.ts b/__tests__/unit/lib/service/standardHandler.test.ts index 47c7cbb5..8c65032b 100644 --- a/__tests__/unit/lib/service/standardHandler.test.ts +++ b/__tests__/unit/lib/service/standardHandler.test.ts @@ -1,16 +1,17 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import StandardHandler from '../../../../src/service/standardHandler' -import { METAFILE_SUFFIX } from '../../../../src/constant/metadataConstants' + import { ADDITION, MODIFICATION, DELETION, } from '../../../../src/constant/gitConstants' -import { copyFiles } from '../../../../src/utils/fsHelper' -import { Work } from '../../../../src/types/work' +import { METAFILE_SUFFIX } from '../../../../src/constant/metadataConstants' import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import StandardHandler from '../../../../src/service/standardHandler' +import { Work } from '../../../../src/types/work' +import { copyFiles } from '../../../../src/utils/fsHelper' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fsHelper') const mockedCopyFiles = jest.mocked(copyFiles) diff --git a/__tests__/unit/lib/service/subCustomObjectHandler.test.ts b/__tests__/unit/lib/service/subCustomObjectHandler.test.ts index 37a38c6d..0de0d9c2 100644 --- a/__tests__/unit/lib/service/subCustomObjectHandler.test.ts +++ b/__tests__/unit/lib/service/subCustomObjectHandler.test.ts @@ -1,11 +1,12 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import SubCustomObjectHandler from '../../../../src/service/subCustomObjectHandler' + import { MASTER_DETAIL_TAG } from '../../../../src/constant/metadataConstants' -import { readPathFromGit, copyFiles } from '../../../../src/utils/fsHelper' -import { Work } from '../../../../src/types/work' import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import SubCustomObjectHandler from '../../../../src/service/subCustomObjectHandler' +import { Work } from '../../../../src/types/work' +import { readPathFromGit, copyFiles } from '../../../../src/utils/fsHelper' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fsHelper') diff --git a/__tests__/unit/lib/service/typeHandlerFactory.test.ts b/__tests__/unit/lib/service/typeHandlerFactory.test.ts index 4f051b3c..53a47f1c 100644 --- a/__tests__/unit/lib/service/typeHandlerFactory.test.ts +++ b/__tests__/unit/lib/service/typeHandlerFactory.test.ts @@ -1,14 +1,15 @@ 'use strict' import { expect, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import { Work } from '../../../../src/types/work' -import SubCustomObject from '../../../../src/service/subCustomObjectHandler' -import InResource from '../../../../src/service/inResourceHandler' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' import InFolder from '../../../../src/service/inFolderHandler' +import InResource from '../../../../src/service/inResourceHandler' import SharedFolder from '../../../../src/service/sharedFolderHandler' import Standard from '../../../../src/service/standardHandler' +import SubCustomObject from '../../../../src/service/subCustomObjectHandler' import TypeHandlerFactory from '../../../../src/service/typeHandlerFactory' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { Work } from '../../../../src/types/work' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' describe('the type handler factory', () => { let typeHandlerFactory: TypeHandlerFactory diff --git a/__tests__/unit/lib/utils/cliHelper.test.ts b/__tests__/unit/lib/utils/cliHelper.test.ts index fce30391..3f05d2a8 100644 --- a/__tests__/unit/lib/utils/cliHelper.test.ts +++ b/__tests__/unit/lib/utils/cliHelper.test.ts @@ -1,17 +1,19 @@ 'use strict' +import { format } from 'util' + import { expect, jest, describe, it } from '@jest/globals' -import { getWork } from '../../../__utils__/globalTestHelper' -import CLIHelper from '../../../../src/utils/cliHelper' -import { getLatestSupportedVersion } from '../../../../src/metadata/metadataManager' + import messages from '../../../../src/locales/en' +import { getLatestSupportedVersion } from '../../../../src/metadata/metadataManager' import { Work } from '../../../../src/types/work' +import CLIHelper from '../../../../src/utils/cliHelper' import { readFile, dirExists, fileExists, sanitizePath, } from '../../../../src/utils/fsUtils' -import { format } from 'util' +import { getWork } from '../../../__utils__/globalTestHelper' const mockParseRev = jest.fn() const mockConfigureRepository = jest.fn() diff --git a/__tests__/unit/lib/utils/fsHelper.test.ts b/__tests__/unit/lib/utils/fsHelper.test.ts index 6e6671af..bd4b4fdd 100644 --- a/__tests__/unit/lib/utils/fsHelper.test.ts +++ b/__tests__/unit/lib/utils/fsHelper.test.ts @@ -1,6 +1,10 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getWork } from '../../../__utils__/globalTestHelper' +import { outputFile } from 'fs-extra' +import { Ignore } from 'ignore' + +import { Config } from '../../../../src/types/config' +import { Work } from '../../../../src/types/work' import { copyFiles, pathExists, @@ -12,10 +16,7 @@ import { IgnoreHelper, buildIgnoreHelper, } from '../../../../src/utils/ignoreHelper' -import { outputFile } from 'fs-extra' -import { Work } from '../../../../src/types/work' -import { Config } from '../../../../src/types/config' -import { Ignore } from 'ignore' +import { getWork } from '../../../__utils__/globalTestHelper' jest.mock('fs-extra') diff --git a/__tests__/unit/lib/utils/fsUtils.test.ts b/__tests__/unit/lib/utils/fsUtils.test.ts index a139ced5..b8bbe471 100644 --- a/__tests__/unit/lib/utils/fsUtils.test.ts +++ b/__tests__/unit/lib/utils/fsUtils.test.ts @@ -1,5 +1,9 @@ 'use strict' +import { sep } from 'path' + import { expect, jest, describe, it } from '@jest/globals' +import { Stats, stat, readFile as fsReadFile } from 'fs-extra' + import { dirExists, fileExists, @@ -8,8 +12,6 @@ import { sanitizePath, treatPathSep, } from '../../../../src/utils/fsUtils' -import { Stats, stat, readFile as fsReadFile } from 'fs-extra' -import { sep } from 'path' jest.mock('fs-extra') diff --git a/__tests__/unit/lib/utils/fxpHelper.test.ts b/__tests__/unit/lib/utils/fxpHelper.test.ts index c79ca73d..05e21d46 100644 --- a/__tests__/unit/lib/utils/fxpHelper.test.ts +++ b/__tests__/unit/lib/utils/fxpHelper.test.ts @@ -1,13 +1,14 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' + +import { Config } from '../../../../src/types/config' +import { readPathFromGit } from '../../../../src/utils/fsHelper' import { asArray, parseXmlFileToJson, convertJsonToXml, xml2Json, } from '../../../../src/utils/fxpHelper' -import { readPathFromGit } from '../../../../src/utils/fsHelper' -import { Config } from '../../../../src/types/config' const mockedReadPathFromGit = jest.mocked(readPathFromGit) diff --git a/__tests__/unit/lib/utils/gitLfsHelper.test.ts b/__tests__/unit/lib/utils/gitLfsHelper.test.ts index ed7a370e..a5ce1af4 100644 --- a/__tests__/unit/lib/utils/gitLfsHelper.test.ts +++ b/__tests__/unit/lib/utils/gitLfsHelper.test.ts @@ -1,5 +1,6 @@ 'use strict' import { expect, describe, it } from '@jest/globals' + import { isLFS, getLFSObjectContentPath, diff --git a/__tests__/unit/lib/utils/ignoreHelper.test.ts b/__tests__/unit/lib/utils/ignoreHelper.test.ts index 7105d105..a322ab54 100644 --- a/__tests__/unit/lib/utils/ignoreHelper.test.ts +++ b/__tests__/unit/lib/utils/ignoreHelper.test.ts @@ -1,5 +1,13 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' + +import { + ADDITION, + MODIFICATION, + DELETION, +} from '../../../../src/constant/gitConstants' +import { Config } from '../../../../src/types/config' +import { readFile } from '../../../../src/utils/fsUtils' import { IgnoreHelper, buildIgnoreHelper, @@ -7,13 +15,6 @@ import { resetIncludeInstance, resetIgnoreInstance, } from '../../../../src/utils/ignoreHelper' -import { readFile } from '../../../../src/utils/fsUtils' -import { - ADDITION, - MODIFICATION, - DELETION, -} from '../../../../src/constant/gitConstants' -import { Config } from '../../../../src/types/config' jest.mock('../../../../src/utils/fsUtils') const mockedReadFile = jest.mocked(readFile) diff --git a/__tests__/unit/lib/utils/metadataDiff.test.ts b/__tests__/unit/lib/utils/metadataDiff.test.ts index fe9ad934..e05eacb7 100644 --- a/__tests__/unit/lib/utils/metadataDiff.test.ts +++ b/__tests__/unit/lib/utils/metadataDiff.test.ts @@ -1,14 +1,15 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' -import MetadataDiff from '../../../../src/utils/metadataDiff' + +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { Work } from '../../../../src/types/work' import { parseXmlFileToJson, convertJsonToXml, } from '../../../../src/utils/fxpHelper' -import { Work } from '../../../../src/types/work' -import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import MetadataDiff from '../../../../src/utils/metadataDiff' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' jest.mock('../../../../src/utils/fxpHelper', () => { // eslint-disable-next-line @typescript-eslint/no-explicit-any diff --git a/__tests__/unit/lib/utils/packageHelper.test.ts b/__tests__/unit/lib/utils/packageHelper.test.ts index 7cd5a14d..e50c8d5e 100644 --- a/__tests__/unit/lib/utils/packageHelper.test.ts +++ b/__tests__/unit/lib/utils/packageHelper.test.ts @@ -1,10 +1,11 @@ 'use strict' import { expect, describe, it } from '@jest/globals' + +import { Config } from '../../../../src/types/config' +import { Manifest } from '../../../../src/types/work' import PackageBuilder, { fillPackageWithParameter, } from '../../../../src/utils/packageHelper' -import { Config } from '../../../../src/types/config' -import { Manifest } from '../../../../src/types/work' const config: Config = { apiVersion: 46, diff --git a/__tests__/unit/lib/utils/repoGitDiff.test.ts b/__tests__/unit/lib/utils/repoGitDiff.test.ts index 826a7c47..af5d728a 100644 --- a/__tests__/unit/lib/utils/repoGitDiff.test.ts +++ b/__tests__/unit/lib/utils/repoGitDiff.test.ts @@ -1,14 +1,15 @@ 'use strict' import { expect, jest, describe, it } from '@jest/globals' -import { getGlobalMetadata } from '../../../__utils__/globalTestHelper' -import RepoGitDiff from '../../../../src/utils/repoGitDiff' + import { ADDITION, DELETION, MODIFICATION, } from '../../../../src/constant/gitConstants' -import { Config } from '../../../../src/types/config' import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' +import { Config } from '../../../../src/types/config' +import RepoGitDiff from '../../../../src/utils/repoGitDiff' +import { getGlobalMetadata } from '../../../__utils__/globalTestHelper' const mockGetDiffLines = jest.fn() jest.mock('../../../../src/adapter/GitAdapter', () => ({ diff --git a/package.json b/package.json index 0f47f282..673b8518 100644 --- a/package.json +++ b/package.json @@ -67,20 +67,20 @@ "dependencies:upgrade": "shx rm -rf yarn.lock ; shx touch yarn.lock ; yarn-upgrade-all ; yarn-audit-fix" }, "devDependencies": { - "@commitlint/cli": "^18.5.0", - "@commitlint/config-conventional": "^18.5.0", + "@commitlint/cli": "^18.6.0", + "@commitlint/config-conventional": "^18.6.0", "@jest/globals": "^29.7.0", "@oclif/dev-cli": "^1.26.10", - "@salesforce/cli-plugins-testkit": "^5.1.7", + "@salesforce/cli-plugins-testkit": "^5.1.8", "@salesforce/dev-config": "^4.1.0", "@salesforce/ts-sinon": "^1.4.19", "@stryker-mutator/core": "^8.0.0", "@stryker-mutator/jest-runner": "^8.0.0", - "@swc/core": "^1.3.105", + "@swc/core": "^1.3.106", "@types/async": "^3.2.24", "@types/jest": "^29.5.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.6", + "@types/node": "^20.11.7", "@typescript-eslint/eslint-plugin": "^6.19.1", "@typescript-eslint/parser": "^6.19.1", "benchmark": "^2.1.4", @@ -90,7 +90,7 @@ "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.29.1", "eslint-plugin-prettier": "^5.1.3", - "husky": "^8.0.3", + "husky": "^9.0.6", "jest": "^29.7.0", "lint-staged": "^15.2.0", "mocha": "^10.2.0", diff --git a/src/adapter/GitAdapter.ts b/src/adapter/GitAdapter.ts index e284d577..02bf85a6 100644 --- a/src/adapter/GitAdapter.ts +++ b/src/adapter/GitAdapter.ts @@ -1,8 +1,11 @@ +import fs from 'fs' +import { join } from 'path' + +import { readFile } from 'fs-extra' import git, { TREE, WalkerEntry, WalkerIterateCallback } from 'isomorphic-git' import { simpleGit, SimpleGit } from 'simple-git' -import { readFile } from 'fs-extra' -import fs from 'fs' -import { Config } from '../types/config' + +import { DOT, PATH_SEP } from '../constant/fsConstants' import { UTF8_ENCODING, GIT_FOLDER, @@ -10,12 +13,11 @@ import { DELETION, MODIFICATION, } from '../constant/gitConstants' +import { Config } from '../types/config' +import { FileGitRef } from '../types/git' import { SOURCE_DEFAULT_VALUE } from '../utils/cliConstants' import { dirExists, fileExists, treatPathSep } from '../utils/fsUtils' -import { DOT, PATH_SEP } from '../constant/fsConstants' -import { join } from 'path' import { getLFSObjectContentPath, isLFS } from '../utils/gitLfsHelper' -import { FileGitRef } from '../types/git' const firstCommitParams = ['rev-list', '--max-parents=0', 'HEAD'] const BLOB_TYPE = 'blob' diff --git a/src/commands/sgd/source/delta.ts b/src/commands/sgd/source/delta.ts index f28bbd31..cc8efce9 100644 --- a/src/commands/sgd/source/delta.ts +++ b/src/commands/sgd/source/delta.ts @@ -1,14 +1,15 @@ import { flags, SfdxCommand } from '@salesforce/command' import { Messages } from '@salesforce/core' + import sgd from '../../../main' +import { Config } from '../../../types/config' +import { Output } from '../../../types/output' import { TO_DEFAULT_VALUE, REPO_DEFAULT_VALUE, SOURCE_DEFAULT_VALUE, OUTPUT_DEFAULT_VALUE, } from '../../../utils/cliConstants' -import { Config } from '../../../types/config' -import { Output } from '../../../types/output' // Initialize Messages with the current plugin directory Messages.importMessagesDirectory(__dirname) diff --git a/src/main.ts b/src/main.ts index 97259ff7..a4d71088 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,12 +1,12 @@ 'use strict' -import DiffLineInterpreter from './service/diffLineInterpreter' +import { MetadataRepository } from './metadata/MetadataRepository' import { getDefinition } from './metadata/metadataManager' -import CLIHelper from './utils/cliHelper' -import RepoGitDiff from './utils/repoGitDiff' import { getPostProcessors } from './post-processor/postProcessorManager' +import DiffLineInterpreter from './service/diffLineInterpreter' import { Config } from './types/config' import { Work } from './types/work' -import { MetadataRepository } from './metadata/MetadataRepository' +import CLIHelper from './utils/cliHelper' +import RepoGitDiff from './utils/repoGitDiff' const sgd = async (config: Config): Promise => { const work: Work = { diff --git a/src/metadata/MetadataRepositoryImpl.ts b/src/metadata/MetadataRepositoryImpl.ts index 3fc04d18..605eb5af 100644 --- a/src/metadata/MetadataRepositoryImpl.ts +++ b/src/metadata/MetadataRepositoryImpl.ts @@ -1,7 +1,8 @@ 'use strict' import { parse } from 'path' -import { Metadata } from '../types/metadata' + +import { DOT, PATH_SEP } from '../constant/fsConstants' import { CUSTOM_APPLICATION_TYPE, METAFILE_SUFFIX, @@ -11,8 +12,9 @@ import { SUB_OBJECT_TYPES, TERRITORY_MODEL_TYPE, } from '../constant/metadataConstants' +import { Metadata } from '../types/metadata' + import { MetadataRepository } from './MetadataRepository' -import { DOT, PATH_SEP } from '../constant/fsConstants' export class MetadataRepositoryImpl implements MetadataRepository { protected readonly metadataPerExt: Map diff --git a/src/metadata/metadataManager.ts b/src/metadata/metadataManager.ts index 7517870d..c64f8e26 100644 --- a/src/metadata/metadataManager.ts +++ b/src/metadata/metadataManager.ts @@ -1,12 +1,15 @@ 'use strict' import { resolve } from 'path' + import { readFile, readdir } from 'fs-extra' + import { BaseMetadata, Metadata, SharedFileMetadata, SharedFolderMetadata, } from '../types/metadata' + import { MetadataRepository } from './MetadataRepository' import { MetadataRepositoryImpl } from './MetadataRepositoryImpl' diff --git a/src/post-processor/flowTranslationProcessor.ts b/src/post-processor/flowTranslationProcessor.ts index 37a37722..e13e107b 100644 --- a/src/post-processor/flowTranslationProcessor.ts +++ b/src/post-processor/flowTranslationProcessor.ts @@ -1,6 +1,9 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ 'use strict' -import BaseProcessor from './baseProcessor' +import { parse, join } from 'path' + +import { pathExists } from 'fs-extra' + import { FLOW_XML_NAME, META_REGEX, @@ -8,20 +11,20 @@ import { TRANSLATION_EXTENSION, TRANSLATION_TYPE, } from '../constant/metadataConstants' +import { MetadataRepository } from '../metadata/MetadataRepository' +import { Work } from '../types/work' import { writeFile, readDir } from '../utils/fsHelper' import { isSubDir, readFile, treatPathSep } from '../utils/fsUtils' -import { pathExists } from 'fs-extra' -import { parse, join } from 'path' -import { buildIgnoreHelper } from '../utils/ignoreHelper' import { asArray, parseXmlFileToJson, xml2Json, convertJsonToXml, } from '../utils/fxpHelper' +import { buildIgnoreHelper } from '../utils/ignoreHelper' import { fillPackageWithParameter } from '../utils/packageHelper' -import { Work } from '../types/work' -import { MetadataRepository } from '../metadata/MetadataRepository' + +import BaseProcessor from './baseProcessor' const EXTENSION = `.${TRANSLATION_EXTENSION}${METAFILE_SUFFIX}` diff --git a/src/post-processor/includeProcessor.ts b/src/post-processor/includeProcessor.ts index 97ff7128..30081a9c 100644 --- a/src/post-processor/includeProcessor.ts +++ b/src/post-processor/includeProcessor.ts @@ -1,12 +1,13 @@ 'use strict' -import BaseProcessor from './baseProcessor' -import { buildIncludeHelper, IgnoreHelper } from '../utils/ignoreHelper' -import DiffLineInterpreter from '../service/diffLineInterpreter' -import { treatPathSep } from '../utils/fsUtils' -import { ADDITION, DELETION } from '../constant/gitConstants' -import { Work } from '../types/work' import GitAdapter from '../adapter/GitAdapter' +import { ADDITION, DELETION } from '../constant/gitConstants' import { MetadataRepository } from '../metadata/MetadataRepository' +import DiffLineInterpreter from '../service/diffLineInterpreter' +import { Work } from '../types/work' +import { treatPathSep } from '../utils/fsUtils' +import { buildIncludeHelper, IgnoreHelper } from '../utils/ignoreHelper' + +import BaseProcessor from './baseProcessor' const TAB = '\t' export default class IncludeProcessor extends BaseProcessor { diff --git a/src/post-processor/packageGenerator.ts b/src/post-processor/packageGenerator.ts index fa815516..8ef2c04b 100644 --- a/src/post-processor/packageGenerator.ts +++ b/src/post-processor/packageGenerator.ts @@ -1,10 +1,12 @@ 'use strict' -import BaseProcessor from './baseProcessor' -import PackageBuilder from '../utils/packageHelper' +import { join } from 'path' import { outputFile } from 'fs-extra' -import { join } from 'path' + +import PackageBuilder from '../utils/packageHelper' + +import BaseProcessor from './baseProcessor' const DESTRUCTIVE_CHANGES_FILE_NAME = 'destructiveChanges' const PACKAGE_FILE_NAME = 'package' diff --git a/src/post-processor/postProcessorManager.ts b/src/post-processor/postProcessorManager.ts index 4a293b32..a17e34b0 100644 --- a/src/post-processor/postProcessorManager.ts +++ b/src/post-processor/postProcessorManager.ts @@ -1,10 +1,11 @@ 'use strict' +import { MetadataRepository } from '../metadata/MetadataRepository' +import { Work } from '../types/work' + import BaseProcessor from './baseProcessor' -import PackageGenerator from './packageGenerator' import FlowTranslationProcessor from './flowTranslationProcessor' import IncludeProcessor from './includeProcessor' -import { Work } from '../types/work' -import { MetadataRepository } from '../metadata/MetadataRepository' +import PackageGenerator from './packageGenerator' const processors: Array = [ FlowTranslationProcessor, diff --git a/src/service/botHandler.ts b/src/service/botHandler.ts index 48141ef0..9ab622ab 100644 --- a/src/service/botHandler.ts +++ b/src/service/botHandler.ts @@ -1,8 +1,10 @@ 'use strict' -import ShareFolderHandler from './sharedFolderHandler' -import { fillPackageWithParameter } from '../utils/packageHelper' import { parse } from 'path' + import { DOT, PATH_SEP } from '../constant/fsConstants' +import { fillPackageWithParameter } from '../utils/packageHelper' + +import ShareFolderHandler from './sharedFolderHandler' const BOT_TYPE = 'Bot' const BOT_EXTENSION = 'bot' diff --git a/src/service/customObjectHandler.ts b/src/service/customObjectHandler.ts index 8217a0bf..28d6a1fc 100644 --- a/src/service/customObjectHandler.ts +++ b/src/service/customObjectHandler.ts @@ -1,13 +1,15 @@ 'use strict' -import StandardHandler from './standardHandler' -import asyncFilter from '../utils/asyncFilter' -import { pathExists, readDir, readPathFromGit } from '../utils/fsHelper' +import { join, parse } from 'path' + import { FIELD_DIRECTORY_NAME, MASTER_DETAIL_TAG, OBJECT_TYPE, } from '../constant/metadataConstants' -import { join, parse } from 'path' +import asyncFilter from '../utils/asyncFilter' +import { pathExists, readDir, readPathFromGit } from '../utils/fsHelper' + +import StandardHandler from './standardHandler' export default class CustomObjectHandler extends StandardHandler { public override async handleAddition() { diff --git a/src/service/diffLineInterpreter.ts b/src/service/diffLineInterpreter.ts index f903a4da..12c49e92 100644 --- a/src/service/diffLineInterpreter.ts +++ b/src/service/diffLineInterpreter.ts @@ -1,10 +1,13 @@ 'use strict' -import { MetadataRepository } from '../metadata/MetadataRepository' -import { Work } from '../types/work' -import TypeHandlerFactory from './typeHandlerFactory' import { availableParallelism } from 'os' + import { queue } from 'async' + +import { MetadataRepository } from '../metadata/MetadataRepository' +import { Work } from '../types/work' + import StandardHandler from './standardHandler' +import TypeHandlerFactory from './typeHandlerFactory' export default class DiffLineInterpreter { constructor( diff --git a/src/service/inBundleHandler.ts b/src/service/inBundleHandler.ts index 6fbe87bb..7efca2f4 100644 --- a/src/service/inBundleHandler.ts +++ b/src/service/inBundleHandler.ts @@ -1,7 +1,8 @@ 'use strict' -import InResourceHandler from './inResourceHandler' -import { META_REGEX } from '../constant/metadataConstants' import { PATH_SEP } from '../constant/fsConstants' +import { META_REGEX } from '../constant/metadataConstants' + +import InResourceHandler from './inResourceHandler' export default class BundleHandler extends InResourceHandler { protected override _getElementName() { diff --git a/src/service/inFileHandler.ts b/src/service/inFileHandler.ts index fc104418..bcbe7e49 100644 --- a/src/service/inFileHandler.ts +++ b/src/service/inFileHandler.ts @@ -1,14 +1,16 @@ 'use strict' -import { LABEL_EXTENSION, LABEL_XML_NAME } from '../constant/metadataConstants' -import StandardHandler from './standardHandler' import { basename } from 'path' -import { writeFile } from '../utils/fsHelper' + import { DOT } from '../constant/fsConstants' +import { LABEL_EXTENSION, LABEL_XML_NAME } from '../constant/metadataConstants' +import { MetadataRepository } from '../metadata/MetadataRepository' import { getInFileAttributes, isPackable } from '../metadata/metadataManager' +import { Manifest, Work } from '../types/work' +import { writeFile } from '../utils/fsHelper' import MetadataDiff from '../utils/metadataDiff' import { fillPackageWithParameter } from '../utils/packageHelper' -import { Manifest, Work } from '../types/work' -import { MetadataRepository } from '../metadata/MetadataRepository' + +import StandardHandler from './standardHandler' const getRootType = (line: string) => basename(line).split(DOT)[0] const getNamePrefix = ({ subType, line }: { subType: string; line: string }) => diff --git a/src/service/inFolderHandler.ts b/src/service/inFolderHandler.ts index d3ff33d0..ba948476 100644 --- a/src/service/inFolderHandler.ts +++ b/src/service/inFolderHandler.ts @@ -1,13 +1,15 @@ 'use strict' -import StandardHandler from './standardHandler' +import { join, parse } from 'path' + +import { PATH_SEP } from '../constant/fsConstants' import { INFOLDER_SUFFIX, META_REGEX, METAFILE_SUFFIX, } from '../constant/metadataConstants' -import { join, parse } from 'path' import { readDir } from '../utils/fsHelper' -import { PATH_SEP } from '../constant/fsConstants' + +import StandardHandler from './standardHandler' const INFOLDER_SUFFIX_REGEX = new RegExp(`${INFOLDER_SUFFIX}$`) const EXTENSION_SUFFIX_REGEX = new RegExp(/\.[^/.]+$/) diff --git a/src/service/inResourceHandler.ts b/src/service/inResourceHandler.ts index a0f90ec1..7f652f52 100644 --- a/src/service/inResourceHandler.ts +++ b/src/service/inResourceHandler.ts @@ -1,11 +1,13 @@ 'use strict' -import StandardHandler from './standardHandler' import { join, parse } from 'path' -import { pathExists } from '../utils/fsHelper' -import { META_REGEX, METAFILE_SUFFIX } from '../constant/metadataConstants' + import { DOT, PATH_SEP } from '../constant/fsConstants' -import { Work } from '../types/work' +import { META_REGEX, METAFILE_SUFFIX } from '../constant/metadataConstants' import { MetadataRepository } from '../metadata/MetadataRepository' +import { Work } from '../types/work' +import { pathExists } from '../utils/fsHelper' + +import StandardHandler from './standardHandler' export default class ResourceHandler extends StandardHandler { protected readonly metadataName: string diff --git a/src/service/lwcHandler.ts b/src/service/lwcHandler.ts index 9d89073f..d091dc1b 100644 --- a/src/service/lwcHandler.ts +++ b/src/service/lwcHandler.ts @@ -1,7 +1,9 @@ 'use strict' +import { parse } from 'path' + import { PATH_SEP } from '../constant/fsConstants' + import InResourceHandler from './inResourceHandler' -import { parse } from 'path' export default class LwcHandler extends InResourceHandler { protected override _isProcessable() { diff --git a/src/service/objectTranslationHandler.ts b/src/service/objectTranslationHandler.ts index bbe575a3..05e7db8c 100644 --- a/src/service/objectTranslationHandler.ts +++ b/src/service/objectTranslationHandler.ts @@ -1,12 +1,14 @@ 'use strict' -import ResourceHandler from './inResourceHandler' -import StandardHandler from './standardHandler' -import { getInFileAttributes } from '../metadata/metadataManager' +import { parse } from 'path' + +import { PATH_SEP } from '../constant/fsConstants' import { OBJECT_TRANSLATION_META_XML_SUFFIX } from '../constant/metadataConstants' +import { getInFileAttributes } from '../metadata/metadataManager' import { writeFile } from '../utils/fsHelper' -import { parse } from 'path' import MetadataDiff from '../utils/metadataDiff' -import { PATH_SEP } from '../constant/fsConstants' + +import ResourceHandler from './inResourceHandler' +import StandardHandler from './standardHandler' export default class ObjectTranslationHandler extends ResourceHandler { public override async handleAddition() { diff --git a/src/service/sharedFolderHandler.ts b/src/service/sharedFolderHandler.ts index dc6a8e44..6c929156 100644 --- a/src/service/sharedFolderHandler.ts +++ b/src/service/sharedFolderHandler.ts @@ -1,11 +1,13 @@ 'use strict' -import StandardHandler from './standardHandler' -import { fillPackageWithParameter } from '../utils/packageHelper' -import { getSharedFolderMetadata } from '../metadata/metadataManager' -import { METAFILE_SUFFIX } from '../constant/metadataConstants' import { parse, join } from 'path' -import { Manifest, Work } from '../types/work' + +import { METAFILE_SUFFIX } from '../constant/metadataConstants' import { MetadataRepository } from '../metadata/MetadataRepository' +import { getSharedFolderMetadata } from '../metadata/metadataManager' +import { Manifest, Work } from '../types/work' +import { fillPackageWithParameter } from '../utils/packageHelper' + +import StandardHandler from './standardHandler' export default class SharedFolderHandler extends StandardHandler { protected readonly sharedFolderMetadata: Map diff --git a/src/service/standardHandler.ts b/src/service/standardHandler.ts index 01f19598..72f64745 100644 --- a/src/service/standardHandler.ts +++ b/src/service/standardHandler.ts @@ -1,5 +1,7 @@ 'use strict' import { join, parse, ParsedPath } from 'path' + +import { DOT, PATH_SEP } from '../constant/fsConstants' import { ADDITION, DELETION, @@ -7,13 +9,12 @@ import { GIT_DIFF_TYPE_REGEX, } from '../constant/gitConstants' import { META_REGEX, METAFILE_SUFFIX } from '../constant/metadataConstants' -import { DOT, PATH_SEP } from '../constant/fsConstants' -import { fillPackageWithParameter } from '../utils/packageHelper' -import { copyFiles } from '../utils/fsHelper' -import { Manifest, Manifests, Work } from '../types/work' -import { Metadata } from '../types/metadata' -import { Config } from '../types/config' import { MetadataRepository } from '../metadata/MetadataRepository' +import { Config } from '../types/config' +import { Metadata } from '../types/metadata' +import { Manifest, Manifests, Work } from '../types/work' +import { copyFiles } from '../utils/fsHelper' +import { fillPackageWithParameter } from '../utils/packageHelper' const RegExpEscape = (s: string) => s.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') diff --git a/src/service/subCustomObjectHandler.ts b/src/service/subCustomObjectHandler.ts index 751e9165..93868b15 100644 --- a/src/service/subCustomObjectHandler.ts +++ b/src/service/subCustomObjectHandler.ts @@ -1,12 +1,14 @@ 'use strict' -import StandardHandler from './standardHandler' +import { join } from 'path' + +import { PATH_SEP } from '../constant/fsConstants' import { MASTER_DETAIL_TAG, OBJECT_META_XML_SUFFIX, } from '../constant/metadataConstants' import { readPathFromGit } from '../utils/fsHelper' -import { join } from 'path' -import { PATH_SEP } from '../constant/fsConstants' + +import StandardHandler from './standardHandler' export default class SubCustomObjectHandler extends StandardHandler { public override async handleAddition() { diff --git a/src/service/typeHandlerFactory.ts b/src/service/typeHandlerFactory.ts index 1547192d..5a7e8163 100644 --- a/src/service/typeHandlerFactory.ts +++ b/src/service/typeHandlerFactory.ts @@ -1,4 +1,7 @@ 'use strict' +import { MetadataRepository } from '../metadata/MetadataRepository' +import { Work } from '../types/work' + import Bot from './botHandler' import CustomObject from './customObjectHandler' import InBundleHandler from './inBundleHandler' @@ -6,13 +9,10 @@ import InFile from './inFileHandler' import InFolder from './inFolderHandler' import InResource from './inResourceHandler' import LwcHandler from './lwcHandler' -import Standard from './standardHandler' -import SubCustomObject from './subCustomObjectHandler' import ObjectTranslation from './objectTranslationHandler' import SharedFolder from './sharedFolderHandler' - -import { Work } from '../types/work' -import { MetadataRepository } from '../metadata/MetadataRepository' +import Standard from './standardHandler' +import SubCustomObject from './subCustomObjectHandler' const handlerMap = { assignmentRules: InFile, diff --git a/src/utils/cliHelper.ts b/src/utils/cliHelper.ts index c069a686..31d1c98b 100644 --- a/src/utils/cliHelper.ts +++ b/src/utils/cliHelper.ts @@ -1,16 +1,18 @@ 'use strict' -import asyncFilter from './asyncFilter' -import messages from '../locales/en' +import { join } from 'path' +import { format } from 'util' + import GitAdapter from '../adapter/GitAdapter' +import messages from '../locales/en' import { getLatestSupportedVersion, isVersionSupported, } from '../metadata/metadataManager' -import { format } from 'util' -import { readFile, dirExists, fileExists, sanitizePath } from './fsUtils' -import { join } from 'path' -import { Work } from '../types/work' import { Config } from '../types/config' +import { Work } from '../types/work' + +import asyncFilter from './asyncFilter' +import { readFile, dirExists, fileExists, sanitizePath } from './fsUtils' const isBlank = (str: string) => !str || /^\s*$/.test(str) diff --git a/src/utils/fsHelper.ts b/src/utils/fsHelper.ts index a87e0406..b74b32e7 100644 --- a/src/utils/fsHelper.ts +++ b/src/utils/fsHelper.ts @@ -1,11 +1,14 @@ 'use strict' -import { outputFile } from 'fs-extra' -import { buildIgnoreHelper } from './ignoreHelper' import { join } from 'path' -import { Config } from '../types/config' + +import { outputFile } from 'fs-extra' + import GitAdapter from '../adapter/GitAdapter' +import { Config } from '../types/config' import { FileGitRef } from '../types/git' + import { treatPathSep } from './fsUtils' +import { buildIgnoreHelper } from './ignoreHelper' const copiedFiles = new Set() const writtenFiles = new Set() diff --git a/src/utils/fsUtils.ts b/src/utils/fsUtils.ts index 534911a8..4ae226db 100644 --- a/src/utils/fsUtils.ts +++ b/src/utils/fsUtils.ts @@ -1,6 +1,8 @@ 'use strict' -import { stat, readFile as fsReadFile } from 'fs-extra' import { isAbsolute, normalize, relative } from 'path' + +import { stat, readFile as fsReadFile } from 'fs-extra' + import { PATH_SEPARATOR_REGEX, UTF8_ENCODING, diff --git a/src/utils/fxpHelper.ts b/src/utils/fxpHelper.ts index 8ae69fdb..c2df6de5 100644 --- a/src/utils/fxpHelper.ts +++ b/src/utils/fxpHelper.ts @@ -1,10 +1,12 @@ 'use strict' import { XMLBuilder, XMLParser } from 'fast-xml-parser' + import { Config } from '../types/config' -import { readPathFromGit } from './fsHelper' import { FileGitRef } from '../types/git' +import { readPathFromGit } from './fsHelper' + const XML_PARSER_OPTION = { commentPropName: '#comment', ignoreAttributes: false, diff --git a/src/utils/gitLfsHelper.ts b/src/utils/gitLfsHelper.ts index 885eb29d..b0e0719f 100644 --- a/src/utils/gitLfsHelper.ts +++ b/src/utils/gitLfsHelper.ts @@ -1,7 +1,8 @@ 'use strict' import { sep } from 'path' -import { GIT_FOLDER } from '../constant/gitConstants' + import { UTF8_ENCODING } from '../constant/fsConstants' +import { GIT_FOLDER } from '../constant/gitConstants' const LFS_HEADER = Buffer.from('version https://git-lfs') diff --git a/src/utils/ignoreHelper.ts b/src/utils/ignoreHelper.ts index 5670a8cd..12ea9f66 100644 --- a/src/utils/ignoreHelper.ts +++ b/src/utils/ignoreHelper.ts @@ -1,5 +1,5 @@ import ignore, { Ignore } from 'ignore' -import { readFile } from './fsUtils' + import { ADDITION, DELETION, @@ -7,6 +7,8 @@ import { GIT_DIFF_TYPE_REGEX, } from '../constant/gitConstants' +import { readFile } from './fsUtils' + // QUESTION: Why we should ignore recordTypes for destructive changes manifest ? // Because the operation is note enabled on the metadata API https://ideas.salesforce.com/s/idea/a0B8W00000GdeGKUAZ/allow-deletion-of-record-type-using-metadata-api const BASE_DESTRUCTIVE_IGNORE = ['recordTypes/'] diff --git a/src/utils/metadataDiff.ts b/src/utils/metadataDiff.ts index b2df4be5..5f2b957f 100644 --- a/src/utils/metadataDiff.ts +++ b/src/utils/metadataDiff.ts @@ -1,18 +1,20 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ 'use strict' +import { isEqual } from 'lodash' + +import { MetadataRepository } from '../metadata/MetadataRepository' +import { Config } from '../types/config' +import { SharedFileMetadata } from '../types/metadata' +import { Manifest } from '../types/work' + import { asArray, parseXmlFileToJson, convertJsonToXml, ATTRIBUTE_PREFIX, } from './fxpHelper' -import { isEqual } from 'lodash' import { fillPackageWithParameter } from './packageHelper' -import { Manifest } from '../types/work' -import { Config } from '../types/config' -import { SharedFileMetadata } from '../types/metadata' -import { MetadataRepository } from '../metadata/MetadataRepository' type ManifestTypeMember = { type: string diff --git a/src/utils/packageHelper.ts b/src/utils/packageHelper.ts index fbc3ec91..5ea7769c 100644 --- a/src/utils/packageHelper.ts +++ b/src/utils/packageHelper.ts @@ -1,5 +1,6 @@ 'use strict' import { create } from 'xmlbuilder2' + import { OBJECT_XML_NAME } from '../constant/metadataConstants' import { Config } from '../types/config' import { Manifest } from '../types/work' diff --git a/src/utils/repoGitDiff.ts b/src/utils/repoGitDiff.ts index 8ee9331b..d6b42acd 100644 --- a/src/utils/repoGitDiff.ts +++ b/src/utils/repoGitDiff.ts @@ -1,9 +1,10 @@ 'use strict' -import { buildIgnoreHelper } from './ignoreHelper' -import { Config } from '../types/config' import GitAdapter from '../adapter/GitAdapter' import { ADDITION, DELETION } from '../constant/gitConstants' import { MetadataRepository } from '../metadata/MetadataRepository' +import { Config } from '../types/config' + +import { buildIgnoreHelper } from './ignoreHelper' export default class RepoGitDiff { protected readonly gitAdapter: GitAdapter diff --git a/yarn.lock b/yarn.lock index 147c7047..421e1e1f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,7 +22,7 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.22.13, @babel/code-frame@npm:^7.23.5": +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.23.5": version: 7.23.5 resolution: "@babel/code-frame@npm:7.23.5" dependencies: @@ -40,25 +40,25 @@ __metadata: linkType: hard "@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3, @babel/core@npm:^7.7.5, @babel/core@npm:~7.23.0": - version: 7.23.7 - resolution: "@babel/core@npm:7.23.7" + version: 7.23.9 + resolution: "@babel/core@npm:7.23.9" dependencies: "@ampproject/remapping": ^2.2.0 "@babel/code-frame": ^7.23.5 "@babel/generator": ^7.23.6 "@babel/helper-compilation-targets": ^7.23.6 "@babel/helper-module-transforms": ^7.23.3 - "@babel/helpers": ^7.23.7 - "@babel/parser": ^7.23.6 - "@babel/template": ^7.22.15 - "@babel/traverse": ^7.23.7 - "@babel/types": ^7.23.6 + "@babel/helpers": ^7.23.9 + "@babel/parser": ^7.23.9 + "@babel/template": ^7.23.9 + "@babel/traverse": ^7.23.9 + "@babel/types": ^7.23.9 convert-source-map: ^2.0.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 json5: ^2.2.3 semver: ^6.3.1 - checksum: 32d5bf73372a47429afaae9adb0af39e47bcea6a831c4b5dcbb4791380cda6949cb8cb1a2fea8b60bb1ebe189209c80e333903df1fa8e9dcb04798c0ce5bf59e + checksum: 634a511f74db52a5f5a283c1121f25e2227b006c095b84a02a40a9213842489cd82dc7d61cdc74e10b5bcd9bb0a4e28bab47635b54c7e2256d47ab57356e2a76 languageName: node linkType: hard @@ -96,9 +96,9 @@ __metadata: languageName: node linkType: hard -"@babel/helper-create-class-features-plugin@npm:^7.23.6, @babel/helper-create-class-features-plugin@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/helper-create-class-features-plugin@npm:7.23.7" +"@babel/helper-create-class-features-plugin@npm:^7.23.6, @babel/helper-create-class-features-plugin@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/helper-create-class-features-plugin@npm:7.23.9" dependencies: "@babel/helper-annotate-as-pure": ^7.22.5 "@babel/helper-environment-visitor": ^7.22.20 @@ -111,7 +111,7 @@ __metadata: semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0 - checksum: 33e60714b856c3816a7965d4c76278cc8f430644a2dfc4eeafad2f7167c4fbd2becdb74cbfeb04b02efd6bbd07176ef53c6683262b588e65d378438e9c55c26b + checksum: 0f0c8592ec8833c0fd1d131655de929af07942fd626049d1e8fae5d85c1fe33fad97f7e9457a14b10258bc926a0cb39debc54a553abe8b4f7575c446d1c16d80 languageName: node linkType: hard @@ -251,14 +251,14 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.23.7": - version: 7.23.8 - resolution: "@babel/helpers@npm:7.23.8" +"@babel/helpers@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/helpers@npm:7.23.9" dependencies: - "@babel/template": ^7.22.15 - "@babel/traverse": ^7.23.7 - "@babel/types": ^7.23.6 - checksum: 8b522d527921f8df45a983dc7b8e790c021250addf81ba7900ba016e165442a527348f6f877aa55e1debb3eef9e860a334b4e8d834e6c9b438ed61a63d9a7ad4 + "@babel/template": ^7.23.9 + "@babel/traverse": ^7.23.9 + "@babel/types": ^7.23.9 + checksum: 2678231192c0471dbc2fc403fb19456cc46b1afefcfebf6bc0f48b2e938fdb0fef2e0fe90c8c8ae1f021dae5012b700372e4b5d15867f1d7764616532e4a6324 languageName: node linkType: hard @@ -273,25 +273,25 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.6, @babel/parser@npm:~7.23.0": - version: 7.23.6 - resolution: "@babel/parser@npm:7.23.6" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.6, @babel/parser@npm:^7.23.9, @babel/parser@npm:~7.23.0": + version: 7.23.9 + resolution: "@babel/parser@npm:7.23.9" bin: parser: ./bin/babel-parser.js - checksum: 140801c43731a6c41fd193f5c02bc71fd647a0360ca616b23d2db8be4b9739b9f951a03fc7c2db4f9b9214f4b27c1074db0f18bc3fa653783082d5af7c8860d5 + checksum: e7cd4960ac8671774e13803349da88d512f9292d7baa952173260d3e8f15620a28a3701f14f709d769209022f9e7b79965256b8be204fc550cfe783cdcabe7c7 languageName: node linkType: hard "@babel/plugin-proposal-decorators@npm:~7.23.0": - version: 7.23.7 - resolution: "@babel/plugin-proposal-decorators@npm:7.23.7" + version: 7.23.9 + resolution: "@babel/plugin-proposal-decorators@npm:7.23.9" dependencies: - "@babel/helper-create-class-features-plugin": ^7.23.7 + "@babel/helper-create-class-features-plugin": ^7.23.9 "@babel/helper-plugin-utils": ^7.22.5 "@babel/plugin-syntax-decorators": ^7.23.3 peerDependencies: "@babel/core": ^7.0.0-0 - checksum: 53c3d3af451ea75fa48cb26811dce8a9cdcc51ff4bd48fa037482a6527e0c3eec1737541ab0f7e7d5c210cbe81badda15cf043b21049e036ef376deabf176c06 + checksum: 1fac4d8a8ac23c6a3621d43dd2c5cab28006f989a51ea49d8af77c43a6933458a1bedf2cdd259e935bc56bb07c8429ca1c122aaa99e068efd31f65a602aafbec languageName: node linkType: hard @@ -503,38 +503,38 @@ __metadata: linkType: hard "@babel/runtime-corejs3@npm:^7.12.5": - version: 7.23.8 - resolution: "@babel/runtime-corejs3@npm:7.23.8" + version: 7.23.9 + resolution: "@babel/runtime-corejs3@npm:7.23.9" dependencies: core-js-pure: ^3.30.2 regenerator-runtime: ^0.14.0 - checksum: e786b79bcb3031bd7433fb4523e43f0acbd386cd7bb5b0a6df6e627c7965706b3d5612211ea3d729ce4459ba1d1b654ccdd8aefe791c6413f70882ee1be903b9 + checksum: 715d916b6cf60013597aa9a5823fd04a9c6cc6ba6221bb8611e76c369cbf1b4baf1d0ad63b6522736593a38e89a6502213a38f57a9c24e5586628e930c4fd52c languageName: node linkType: hard "@babel/runtime@npm:^7.12.5": - version: 7.23.8 - resolution: "@babel/runtime@npm:7.23.8" + version: 7.23.9 + resolution: "@babel/runtime@npm:7.23.9" dependencies: regenerator-runtime: ^0.14.0 - checksum: 0bd5543c26811153822a9f382fd39886f66825ff2a397a19008011376533747cd05c33a91f6248c0b8b0edf0448d7c167ebfba34786088f1b7eb11c65be7dfc3 + checksum: 6bbebe8d27c0c2dd275d1ac197fc1a6c00e18dab68cc7aaff0adc3195b45862bae9c4cc58975629004b0213955b2ed91e99eccb3d9b39cabea246c657323d667 languageName: node linkType: hard -"@babel/template@npm:^7.22.15, @babel/template@npm:^7.3.3": - version: 7.22.15 - resolution: "@babel/template@npm:7.22.15" +"@babel/template@npm:^7.22.15, @babel/template@npm:^7.23.9, @babel/template@npm:^7.3.3": + version: 7.23.9 + resolution: "@babel/template@npm:7.23.9" dependencies: - "@babel/code-frame": ^7.22.13 - "@babel/parser": ^7.22.15 - "@babel/types": ^7.22.15 - checksum: 1f3e7dcd6c44f5904c184b3f7fe280394b191f2fed819919ffa1e529c259d5b197da8981b6ca491c235aee8dbad4a50b7e31304aa531271cb823a4a24a0dd8fd + "@babel/code-frame": ^7.23.5 + "@babel/parser": ^7.23.9 + "@babel/types": ^7.23.9 + checksum: 6e67414c0f7125d7ecaf20c11fab88085fa98a96c3ef10da0a61e962e04fdf3a18a496a66047005ddd1bb682a7cc7842d556d1db2f3f3f6ccfca97d5e445d342 languageName: node linkType: hard -"@babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.23.7": - version: 7.23.7 - resolution: "@babel/traverse@npm:7.23.7" +"@babel/traverse@npm:^7.23.2, @babel/traverse@npm:^7.23.9": + version: 7.23.9 + resolution: "@babel/traverse@npm:7.23.9" dependencies: "@babel/code-frame": ^7.23.5 "@babel/generator": ^7.23.6 @@ -542,22 +542,22 @@ __metadata: "@babel/helper-function-name": ^7.23.0 "@babel/helper-hoist-variables": ^7.22.5 "@babel/helper-split-export-declaration": ^7.22.6 - "@babel/parser": ^7.23.6 - "@babel/types": ^7.23.6 + "@babel/parser": ^7.23.9 + "@babel/types": ^7.23.9 debug: ^4.3.1 globals: ^11.1.0 - checksum: d4a7afb922361f710efc97b1e25ec343fab8b2a4ddc81ca84f9a153f22d4482112cba8f263774be8d297918b6c4767c7a98988ab4e53ac73686c986711dd002e + checksum: a932f7aa850e158c00c97aad22f639d48c72805c687290f6a73e30c5c4957c07f5d28310c9bf59648e2980fe6c9d16adeb2ff92a9ca0f97fa75739c1328fc6c3 languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.6, @babel/types@npm:^7.3.3, @babel/types@npm:^7.8.3": - version: 7.23.6 - resolution: "@babel/types@npm:7.23.6" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.20.7, @babel/types@npm:^7.22.15, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.23.6, @babel/types@npm:^7.23.9, @babel/types@npm:^7.3.3, @babel/types@npm:^7.8.3": + version: 7.23.9 + resolution: "@babel/types@npm:7.23.9" dependencies: "@babel/helper-string-parser": ^7.23.4 "@babel/helper-validator-identifier": ^7.22.20 to-fast-properties: ^2.0.0 - checksum: 68187dbec0d637f79bc96263ac95ec8b06d424396678e7e225492be866414ce28ebc918a75354d4c28659be6efe30020b4f0f6df81cc418a2d30645b690a8de0 + checksum: 0a9b008e9bfc89beb8c185e620fa0f8ed6c771f1e1b2e01e1596870969096fec7793898a1d64a035176abf1dd13e2668ee30bf699f2d92c210a8128f4b151e65 languageName: node linkType: hard @@ -568,15 +568,15 @@ __metadata: languageName: node linkType: hard -"@commitlint/cli@npm:^18.5.0": - version: 18.5.0 - resolution: "@commitlint/cli@npm:18.5.0" +"@commitlint/cli@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/cli@npm:18.6.0" dependencies: - "@commitlint/format": ^18.4.4 - "@commitlint/lint": ^18.5.0 - "@commitlint/load": ^18.5.0 - "@commitlint/read": ^18.4.4 - "@commitlint/types": ^18.4.4 + "@commitlint/format": ^18.6.0 + "@commitlint/lint": ^18.6.0 + "@commitlint/load": ^18.6.0 + "@commitlint/read": ^18.6.0 + "@commitlint/types": ^18.6.0 execa: ^5.0.0 lodash.isfunction: ^3.0.9 resolve-from: 5.0.0 @@ -584,40 +584,40 @@ __metadata: yargs: ^17.0.0 bin: commitlint: cli.js - checksum: 68cda89e51c17d2e719c42aa08c2f3ceb93218e91cf1599c7f94e078e8389cb568661a0732ebbf5dd32e819b2de77ef0bd27d3bc8e43d6bf2b51aebea02d924c + checksum: 5d1c18fab5249dff19ece6792607523bb2de8343510041e594669188b2ed510af9f80cece33663cbfda0d4c1c44d2575ffb21fc792bde2915897d61be6e8b93b languageName: node linkType: hard -"@commitlint/config-conventional@npm:^18.5.0": - version: 18.5.0 - resolution: "@commitlint/config-conventional@npm:18.5.0" +"@commitlint/config-conventional@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/config-conventional@npm:18.6.0" dependencies: conventional-changelog-conventionalcommits: ^7.0.2 - checksum: 787f7b6f8ad0dc550932798a4f3ad427f407518397deeb6ddc0c25c160086f25a9953dc4428319a89d71f626c86b8a1102a60d0a40d422199a8f80185e85ed0b + checksum: 96f96966efe2dca58fa876668c3ef34326d617a78bc467bd163a232aec7a541e6da5f462bb76b6dcecf0344bec8f82e02ca89b3b64f60527084289c58bfc9b84 languageName: node linkType: hard -"@commitlint/config-validator@npm:^18.5.0": - version: 18.5.0 - resolution: "@commitlint/config-validator@npm:18.5.0" +"@commitlint/config-validator@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/config-validator@npm:18.6.0" dependencies: - "@commitlint/types": ^18.4.4 + "@commitlint/types": ^18.6.0 ajv: ^8.11.0 - checksum: 9f2af1d50c3b214b37ba5da05971a5bac16e3385275c587e1b8b6fb47949c914847f0330c5ff8c1ef84a4501ed26ba088483b85be85d38f54932712ed860f23e + checksum: d1fa98e2fab6454c4974f434381b3435623ed7b481826dffb4311bbd5dabcc45116ab7a862c17bc33792cf1b2f8434063ec6f070a486a292a00217bccacafaa0 languageName: node linkType: hard -"@commitlint/ensure@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/ensure@npm:18.4.4" +"@commitlint/ensure@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/ensure@npm:18.6.0" dependencies: - "@commitlint/types": ^18.4.4 + "@commitlint/types": ^18.6.0 lodash.camelcase: ^4.3.0 lodash.kebabcase: ^4.1.1 lodash.snakecase: ^4.1.1 lodash.startcase: ^4.4.0 lodash.upperfirst: ^4.3.1 - checksum: 18e30a426b429c6f63b3e2167105189649fd17f3ed7c5d032e8497c38e0d3b2c4587303ea7b01440cce63a66e67a891adafc82f745cea1a8975c4ccd9c8c51c8 + checksum: 79278621d49a50276bd6b48da4a63a6e29fe31be7794d200e280e632b653bc083f389bcd672a34aa84909ee6ee850db1eb20466659e5a7998784fdb72f323aaa languageName: node linkType: hard @@ -628,46 +628,46 @@ __metadata: languageName: node linkType: hard -"@commitlint/format@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/format@npm:18.4.4" +"@commitlint/format@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/format@npm:18.6.0" dependencies: - "@commitlint/types": ^18.4.4 + "@commitlint/types": ^18.6.0 chalk: ^4.1.0 - checksum: 3560b3a99c3c13c652af627cc441d763b0bbc2944397cec387d9e673ae84392a87909d5ac8e2568be0603ea63b5f15b39d75b2eda089e7ae25bd579cfefc1218 + checksum: 68098d426b02b1d3d9a32112663722f787e45c4a79fe9ddf78203ff480f6d89e53ec9ff4c1af2ae36034435f73c2cc602137fb49b2457a2d40345e6cb26fba81 languageName: node linkType: hard -"@commitlint/is-ignored@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/is-ignored@npm:18.4.4" +"@commitlint/is-ignored@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/is-ignored@npm:18.6.0" dependencies: - "@commitlint/types": ^18.4.4 + "@commitlint/types": ^18.6.0 semver: 7.5.4 - checksum: d1eebb66c102b97663914af6ac53c93347b0a349bb37be1424caed29f8e14ccc5583e1165ccc926f137f645d9df2ba788939e9eeeb88cf33aff81dcd29c4e32c + checksum: 1f85b8ea2ed90cf16c73050b3b7bebb530329ffd0d3a16563b294ead898b540f1f6d6cdd97ece5d9ceab6d9eb2fa8527a73729c50da878ba7eb196ed325d6b73 languageName: node linkType: hard -"@commitlint/lint@npm:^18.5.0": - version: 18.5.0 - resolution: "@commitlint/lint@npm:18.5.0" +"@commitlint/lint@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/lint@npm:18.6.0" dependencies: - "@commitlint/is-ignored": ^18.4.4 - "@commitlint/parse": ^18.4.4 - "@commitlint/rules": ^18.4.4 - "@commitlint/types": ^18.4.4 - checksum: 8e29db6147118ca40accb86f58176e0e1ada2403b36112d8443163f51810695ca3d12a30f797252c35bf8b9dd49399647db99f278684df3c779a1cf164b070ea + "@commitlint/is-ignored": ^18.6.0 + "@commitlint/parse": ^18.6.0 + "@commitlint/rules": ^18.6.0 + "@commitlint/types": ^18.6.0 + checksum: 8f7ff4ccbd12dc176f932f614e125b470ea304dc3bb704a589385c7f21d1adbf1d6e2fa18a22f4133605476874fbb624dabb5c5ca13d6ff632e5fb65e5e88a9b languageName: node linkType: hard -"@commitlint/load@npm:^18.5.0": - version: 18.5.0 - resolution: "@commitlint/load@npm:18.5.0" +"@commitlint/load@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/load@npm:18.6.0" dependencies: - "@commitlint/config-validator": ^18.5.0 + "@commitlint/config-validator": ^18.6.0 "@commitlint/execute-rule": ^18.4.4 - "@commitlint/resolve-extends": ^18.5.0 - "@commitlint/types": ^18.4.4 + "@commitlint/resolve-extends": ^18.6.0 + "@commitlint/types": ^18.6.0 chalk: ^4.1.0 cosmiconfig: ^8.3.6 cosmiconfig-typescript-loader: ^5.0.0 @@ -675,7 +675,7 @@ __metadata: lodash.merge: ^4.6.2 lodash.uniq: ^4.5.0 resolve-from: ^5.0.0 - checksum: 0ae0f1b102c78f41564a3eca0f0fefb1b132ff2ae7603b1b30b54f30b7ab9dd1fb65283bcbf24ca551ed4f759d79badb98054d3336738e9de9a3ad6de529fc02 + checksum: 2b28b6756ac46a4b7f63064a45dc4c831b903e8a70d71e2199ce1c8c515863622d5f0f5cf299a539e768c74d52d942c9e66871806b0a7987502e7f249e367a60 languageName: node linkType: hard @@ -686,53 +686,53 @@ __metadata: languageName: node linkType: hard -"@commitlint/parse@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/parse@npm:18.4.4" +"@commitlint/parse@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/parse@npm:18.6.0" dependencies: - "@commitlint/types": ^18.4.4 + "@commitlint/types": ^18.6.0 conventional-changelog-angular: ^7.0.0 conventional-commits-parser: ^5.0.0 - checksum: 726fed16a70ecff08ed3c6379885fc3c7e6c5cb47567390175e23cb436fe46a0dea9886da7526cdce52d08594e423621bb5e02d054ee13178d79df3f5c649483 + checksum: 5e8305fa1eda00f66cd16f386ce0c0848de036d4ba5144509ed34b54b38fba3fadc8798fc33f6c34374590339a5b6cdabaa5a5e9a7bc883e844163fff8a62686 languageName: node linkType: hard -"@commitlint/read@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/read@npm:18.4.4" +"@commitlint/read@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/read@npm:18.6.0" dependencies: "@commitlint/top-level": ^18.4.4 - "@commitlint/types": ^18.4.4 + "@commitlint/types": ^18.6.0 git-raw-commits: ^2.0.11 minimist: ^1.2.6 - checksum: a9fa5eaf345a6f691373e301dbd4a103987d19b821e7b630166de0234e3b4c3d5c2631325c30c3911fc8e0550f08ff9185d8137c2abfe13266d4605c6e22425d + checksum: 3d767f15b5eb3eecdca3db5158586b36486ba331fe5fdbe5bad5ce272ee24376514295b9d27eef376688325a7d3c3214304a9c43297ceb66f6c63126845e0e2a languageName: node linkType: hard -"@commitlint/resolve-extends@npm:^18.5.0": - version: 18.5.0 - resolution: "@commitlint/resolve-extends@npm:18.5.0" +"@commitlint/resolve-extends@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/resolve-extends@npm:18.6.0" dependencies: - "@commitlint/config-validator": ^18.5.0 - "@commitlint/types": ^18.4.4 + "@commitlint/config-validator": ^18.6.0 + "@commitlint/types": ^18.6.0 import-fresh: ^3.0.0 lodash.mergewith: ^4.6.2 resolve-from: ^5.0.0 resolve-global: ^1.0.0 - checksum: 826050231fae9e307afb2161399d5e046b8e1878543d83036370ef19f75aaa4d70e6083386febab21bc7a5fc62bd03ec6bdfde2312e508d3b58a03d6897e542f + checksum: 9f64f6200d48359b585cf8a1aaadb59b0faf6532edc93b983c63ee08cc7ec48e013cf792a20a0bd4ff42485aaea4e8b774bd0222e04b23c4ee1c295e1337ff88 languageName: node linkType: hard -"@commitlint/rules@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/rules@npm:18.4.4" +"@commitlint/rules@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/rules@npm:18.6.0" dependencies: - "@commitlint/ensure": ^18.4.4 + "@commitlint/ensure": ^18.6.0 "@commitlint/message": ^18.4.4 "@commitlint/to-lines": ^18.4.4 - "@commitlint/types": ^18.4.4 + "@commitlint/types": ^18.6.0 execa: ^5.0.0 - checksum: ddde4e56a1ffdebc2c8e1d8ca36fe3bdc4285dc7b9aeb4f3087f1853997cedc322531f034eb907ec49ea769d8c2df31242b7df1375812d8826f704c8354faee3 + checksum: deb8848e69d96810a6b1c5db0a3666c7bef2dab3a98ae19d287a7af8d2738a63d68109f2f4aed80124f0decdc7731f77844734f60997d605995b2ec0a4786116 languageName: node linkType: hard @@ -752,12 +752,12 @@ __metadata: languageName: node linkType: hard -"@commitlint/types@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/types@npm:18.4.4" +"@commitlint/types@npm:^18.6.0": + version: 18.6.0 + resolution: "@commitlint/types@npm:18.6.0" dependencies: chalk: ^4.1.0 - checksum: bda09adc5f4a7d460120891ad85d2950cb3db17ee9ecf93b820c4782c5a9f8cb235b28fb559a3c4f38fbb5ada43b50bab4c2ee1eb87853be4febbcd8da30fd1f + checksum: c0b256998d8b5fe8f31f6009efe6953dcd506a625411bd13082d07548f0fe792b4de10ca97eaa78e403bf6e0f254dbd1f5d545a6be2f9a67f36a49a6111eafca languageName: node linkType: hard @@ -1170,11 +1170,11 @@ __metadata: linkType: hard "@ljharb/through@npm:^2.3.11": - version: 2.3.11 - resolution: "@ljharb/through@npm:2.3.11" + version: 2.3.12 + resolution: "@ljharb/through@npm:2.3.12" dependencies: - call-bind: ^1.0.2 - checksum: 10502726028b8a4e0b270a2213e546821c04ed8d7fe411009a8e47497e4ae99c57eeb9ff3d13620ebdefd7c856b16fc873f27c433cad60465dc132fb4b997233 + call-bind: ^1.0.5 + checksum: d5a78568cd3025c03264a9f9c61b30511d27cb9611fae7575cb1339a1baa1a263b6af03e28505b821324f3c6285086ee5add612b8b0155d1f253ed5159cd3f56 languageName: node linkType: hard @@ -1558,11 +1558,11 @@ __metadata: languageName: node linkType: hard -"@salesforce/cli-plugins-testkit@npm:^5.1.7": - version: 5.1.7 - resolution: "@salesforce/cli-plugins-testkit@npm:5.1.7" +"@salesforce/cli-plugins-testkit@npm:^5.1.8": + version: 5.1.8 + resolution: "@salesforce/cli-plugins-testkit@npm:5.1.8" dependencies: - "@salesforce/core": ^6.4.7 + "@salesforce/core": ^6.5.1 "@salesforce/kit": ^3.0.15 "@salesforce/ts-types": ^2.0.9 "@types/shelljs": ^0.8.15 @@ -1571,7 +1571,7 @@ __metadata: shelljs: ^0.8.4 strip-ansi: 6.0.1 ts-retry-promise: ^0.8.0 - checksum: 35f7214504dfab9ad4ac4bc0ee4c8601dc882d1a2592b4387977b2285ab6a3ceabf1b55b07db8daef81f3abe39c2a156e84e5793bea29959ffa346e452ec23e4 + checksum: aea1c6bc2bc1721d97551f9e0238a4fc3fa524a772414b847d84723190d0e4a536ea401afd27bd7d361e37eb8bb8d18764fd4f3bdfe3f5e339bcb640b2153d20 languageName: node linkType: hard @@ -1612,9 +1612,9 @@ __metadata: languageName: node linkType: hard -"@salesforce/core@npm:^6.4.7": - version: 6.5.0 - resolution: "@salesforce/core@npm:6.5.0" +"@salesforce/core@npm:^6.5.1": + version: 6.5.1 + resolution: "@salesforce/core@npm:6.5.1" dependencies: "@salesforce/kit": ^3.0.15 "@salesforce/schemas": ^1.6.1 @@ -1634,7 +1634,7 @@ __metadata: proper-lockfile: ^4.1.2 semver: ^7.5.4 ts-retry-promise: ^0.7.1 - checksum: 0370a56e2a93949a8ccbb19b4c0946a7768c0a6bdd7679ca536d9b0afe26525312b6f2daae9fefcbb621bd0129a13ce057276ee66b33997f3ed86a463c646d7a + checksum: 4bc89add44d7b0b2ea590790fe9a18bc85fc65031f715d700b3f080397ad7ef3627d7715b9915a9d063f7e89d98c28d1e7177af033b731ed77c855a61aec95c4 languageName: node linkType: hard @@ -1891,90 +1891,90 @@ __metadata: languageName: node linkType: hard -"@swc/core-darwin-arm64@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-darwin-arm64@npm:1.3.105" +"@swc/core-darwin-arm64@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-darwin-arm64@npm:1.3.106" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard -"@swc/core-darwin-x64@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-darwin-x64@npm:1.3.105" +"@swc/core-darwin-x64@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-darwin-x64@npm:1.3.106" conditions: os=darwin & cpu=x64 languageName: node linkType: hard -"@swc/core-linux-arm-gnueabihf@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.105" +"@swc/core-linux-arm-gnueabihf@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.106" conditions: os=linux & cpu=arm languageName: node linkType: hard -"@swc/core-linux-arm64-gnu@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-linux-arm64-gnu@npm:1.3.105" +"@swc/core-linux-arm64-gnu@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-linux-arm64-gnu@npm:1.3.106" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-arm64-musl@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-linux-arm64-musl@npm:1.3.105" +"@swc/core-linux-arm64-musl@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-linux-arm64-musl@npm:1.3.106" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard -"@swc/core-linux-x64-gnu@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-linux-x64-gnu@npm:1.3.105" +"@swc/core-linux-x64-gnu@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-linux-x64-gnu@npm:1.3.106" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard -"@swc/core-linux-x64-musl@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-linux-x64-musl@npm:1.3.105" +"@swc/core-linux-x64-musl@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-linux-x64-musl@npm:1.3.106" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard -"@swc/core-win32-arm64-msvc@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-win32-arm64-msvc@npm:1.3.105" +"@swc/core-win32-arm64-msvc@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-win32-arm64-msvc@npm:1.3.106" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard -"@swc/core-win32-ia32-msvc@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-win32-ia32-msvc@npm:1.3.105" +"@swc/core-win32-ia32-msvc@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-win32-ia32-msvc@npm:1.3.106" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard -"@swc/core-win32-x64-msvc@npm:1.3.105": - version: 1.3.105 - resolution: "@swc/core-win32-x64-msvc@npm:1.3.105" +"@swc/core-win32-x64-msvc@npm:1.3.106": + version: 1.3.106 + resolution: "@swc/core-win32-x64-msvc@npm:1.3.106" conditions: os=win32 & cpu=x64 languageName: node linkType: hard -"@swc/core@npm:^1.3.105": - version: 1.3.105 - resolution: "@swc/core@npm:1.3.105" +"@swc/core@npm:^1.3.106": + version: 1.3.106 + resolution: "@swc/core@npm:1.3.106" dependencies: - "@swc/core-darwin-arm64": 1.3.105 - "@swc/core-darwin-x64": 1.3.105 - "@swc/core-linux-arm-gnueabihf": 1.3.105 - "@swc/core-linux-arm64-gnu": 1.3.105 - "@swc/core-linux-arm64-musl": 1.3.105 - "@swc/core-linux-x64-gnu": 1.3.105 - "@swc/core-linux-x64-musl": 1.3.105 - "@swc/core-win32-arm64-msvc": 1.3.105 - "@swc/core-win32-ia32-msvc": 1.3.105 - "@swc/core-win32-x64-msvc": 1.3.105 + "@swc/core-darwin-arm64": 1.3.106 + "@swc/core-darwin-x64": 1.3.106 + "@swc/core-linux-arm-gnueabihf": 1.3.106 + "@swc/core-linux-arm64-gnu": 1.3.106 + "@swc/core-linux-arm64-musl": 1.3.106 + "@swc/core-linux-x64-gnu": 1.3.106 + "@swc/core-linux-x64-musl": 1.3.106 + "@swc/core-win32-arm64-msvc": 1.3.106 + "@swc/core-win32-ia32-msvc": 1.3.106 + "@swc/core-win32-x64-msvc": 1.3.106 "@swc/counter": ^0.1.1 "@swc/types": ^0.1.5 peerDependencies: @@ -2003,7 +2003,7 @@ __metadata: peerDependenciesMeta: "@swc/helpers": optional: true - checksum: 5baa880bc92748ef4845d9c65eba5d6dd01adaa673854e20a5116f5e267c12180db50e563cf3c34a415772b9742d021176a9d9a91065c190ef6f54fefe85728c + checksum: d0b9912b387558260a78ff979dfe5f7bc0640764cf33bc197e47a87115e3457f9f8989a8299f49c729e9c4f11101c4b3227b736d9ba6b9093ad0fd9e745de5ba languageName: node linkType: hard @@ -2244,12 +2244,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*, @types/node@npm:^20.11.6": - version: 20.11.6 - resolution: "@types/node@npm:20.11.6" +"@types/node@npm:*, @types/node@npm:^20.11.7": + version: 20.11.7 + resolution: "@types/node@npm:20.11.7" dependencies: undici-types: ~5.26.4 - checksum: 54b3739f42d9c2266fd724d8ecbf50bc64eb0563343b65a6ea874a51a7fc8bb4793bf3a1b2222e40e3b7bd62cf5af5609899bf1a3de8b69748dcac65e63e8bdc + checksum: 61ea0718bccda31110c643190518407b7c50d26698a20e3522871608db5fa3d2d43d1ae57c609068eae6996d563db43326045a90f22a9aacc825e8d6c7aea2ce languageName: node linkType: hard @@ -3196,16 +3196,16 @@ __metadata: linkType: hard "browserslist@npm:^4.22.2": - version: 4.22.2 - resolution: "browserslist@npm:4.22.2" + version: 4.22.3 + resolution: "browserslist@npm:4.22.3" dependencies: - caniuse-lite: ^1.0.30001565 - electron-to-chromium: ^1.4.601 + caniuse-lite: ^1.0.30001580 + electron-to-chromium: ^1.4.648 node-releases: ^2.0.14 update-browserslist-db: ^1.0.13 bin: browserslist: cli.js - checksum: 33ddfcd9145220099a7a1ac533cecfe5b7548ffeb29b313e1b57be6459000a1f8fa67e781cf4abee97268ac594d44134fcc4a6b2b4750ceddc9796e3a22076d9 + checksum: e62b17348e92143fe58181b02a6a97c4a98bd812d1dc9274673a54f73eec53dbed1c855ebf73e318ee00ee039f23c9a6d0e7629d24f3baef08c7a5b469742d57 languageName: node linkType: hard @@ -3360,10 +3360,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001565": - version: 1.0.30001579 - resolution: "caniuse-lite@npm:1.0.30001579" - checksum: 7539dcff74d2243a30c428393dc690c87fa34d7da36434731853e9bcfe783757763b2971f5cc878e25242a93e184e53f167d11bd74955af956579f7af71cc764 +"caniuse-lite@npm:^1.0.30001580": + version: 1.0.30001580 + resolution: "caniuse-lite@npm:1.0.30001580" + checksum: 8d287d1e2a64348365f55562457b52afc8c5e0e8ddf040e18e53395ca165241a697205611dc209dace5c7f7d1d3ee8d566672cce6f9668d658d7930b7a200875 languageName: node linkType: hard @@ -4417,10 +4417,10 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.601": - version: 1.4.643 - resolution: "electron-to-chromium@npm:1.4.643" - checksum: e97f15a3cb10460e8763f1b6a080bdd566c2375a63259af18a48ece03af0c0cf2aea4d25e7f0b2cf532f56e469efd4259ebafd6aa5a6e69ea679459e08f3645f +"electron-to-chromium@npm:^1.4.648": + version: 1.4.648 + resolution: "electron-to-chromium@npm:1.4.648" + checksum: 54f840e032b5e67c0b0023584455c9f0b1143601eb0959f96b97ea3a477c8847995890dd90eb7f0567a0eb1f99c8acd1128c3ef5bc7be6c7d0e7567398824495 languageName: node linkType: hard @@ -5056,11 +5056,11 @@ __metadata: linkType: hard "fastq@npm:^1.6.0": - version: 1.16.0 - resolution: "fastq@npm:1.16.0" + version: 1.17.0 + resolution: "fastq@npm:1.17.0" dependencies: reusify: ^1.0.4 - checksum: 1d40ed1f100ae625e5720484e8602b7ad07649370f1cbc3e34a6b9630a0bfed6946bab0322d8a368a1e3cde87bb9bbb8d3bc2ae01a0c1f022fac1d07c04e4feb + checksum: a1c88c357a220bdc666c2df5ec6071d49bdf79ea827d92f9a9559da3ff1b4288eecca3ecbb7b6ddf0ba016eb0a4bf756bf17c411a6d10c814aecd26e939cbd06 languageName: node linkType: hard @@ -5907,12 +5907,12 @@ __metadata: languageName: node linkType: hard -"husky@npm:^8.0.3": - version: 8.0.3 - resolution: "husky@npm:8.0.3" +"husky@npm:^9.0.6": + version: 9.0.6 + resolution: "husky@npm:9.0.6" bin: - husky: lib/bin.js - checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0 + husky: bin.js + checksum: e198c90a59d460cf860c33e0a4c3927ecfb645d4fd4c2de3fbcd5fb56b858a923af452508d549f6ed020bb48de08290912cd77c006dd2a83e551c24c17340d5b languageName: node linkType: hard @@ -7702,9 +7702,9 @@ __metadata: linkType: hard "lru-cache@npm:^10.0.1, lru-cache@npm:^9.1.1 || ^10.0.0": - version: 10.1.0 - resolution: "lru-cache@npm:10.1.0" - checksum: 58056d33e2500fbedce92f8c542e7c11b50d7d086578f14b7074d8c241422004af0718e08a6eaae8705cee09c77e39a61c1c79e9370ba689b7010c152e6a76ab + version: 10.2.0 + resolution: "lru-cache@npm:10.2.0" + checksum: eee7ddda4a7475deac51ac81d7dd78709095c6fa46e8350dc2d22462559a1faa3b81ed931d5464b13d48cbd7e08b46100b6f768c76833912bc444b99c37e25db languageName: node linkType: hard @@ -9826,21 +9826,21 @@ __metadata: version: 0.0.0-use.local resolution: "sfdx-git-delta@workspace:." dependencies: - "@commitlint/cli": ^18.5.0 - "@commitlint/config-conventional": ^18.5.0 + "@commitlint/cli": ^18.6.0 + "@commitlint/config-conventional": ^18.6.0 "@jest/globals": ^29.7.0 "@oclif/dev-cli": ^1.26.10 - "@salesforce/cli-plugins-testkit": ^5.1.7 + "@salesforce/cli-plugins-testkit": ^5.1.8 "@salesforce/command": ^5.3.9 "@salesforce/dev-config": ^4.1.0 "@salesforce/ts-sinon": ^1.4.19 "@stryker-mutator/core": ^8.0.0 "@stryker-mutator/jest-runner": ^8.0.0 - "@swc/core": ^1.3.105 + "@swc/core": ^1.3.106 "@types/async": ^3.2.24 "@types/jest": ^29.5.11 "@types/mocha": ^10.0.6 - "@types/node": ^20.11.6 + "@types/node": ^20.11.7 "@typescript-eslint/eslint-plugin": ^6.19.1 "@typescript-eslint/parser": ^6.19.1 async: ^3.2.5 @@ -9853,7 +9853,7 @@ __metadata: eslint-plugin-prettier: ^5.1.3 fast-xml-parser: ^4.3.3 fs-extra: ^11.2.0 - husky: ^8.0.3 + husky: ^9.0.6 ignore: ^5.3.0 isomorphic-git: ^1.25.3 jest: ^29.7.0 @@ -10190,9 +10190,9 @@ __metadata: linkType: hard "spdx-exceptions@npm:^2.1.0": - version: 2.3.0 - resolution: "spdx-exceptions@npm:2.3.0" - checksum: cb69a26fa3b46305637123cd37c85f75610e8c477b6476fa7354eb67c08128d159f1d36715f19be6f9daf4b680337deb8c65acdcae7f2608ba51931540687ac0 + version: 2.4.0 + resolution: "spdx-exceptions@npm:2.4.0" + checksum: b1b650a8d94424473bf9629cf972c86a91c03cccc260f5c901bce0e4b92d831627fec28c9e0a1e9c34c5ebad0a12cf2eab887bec088e0a862abb9d720c2fd0a1 languageName: node linkType: hard