From e6d6e346a4d794e8b22a7d04224cb9858af5ec23 Mon Sep 17 00:00:00 2001 From: Sebastien Date: Wed, 24 Jan 2024 10:48:08 +0100 Subject: [PATCH] fix: os api availability issue (#764) * fix: os api availability issue * test: add compatibility test * build: upgrade dependencies --- .../diffLineInterpreter-compatibility.test.ts | 55 ++++ package.json | 12 +- src/service/diffLineInterpreter.ts | 12 +- yarn.lock | 305 +++++++++--------- 4 files changed, 219 insertions(+), 165 deletions(-) create mode 100644 __tests__/unit/lib/service/diffLineInterpreter-compatibility.test.ts diff --git a/__tests__/unit/lib/service/diffLineInterpreter-compatibility.test.ts b/__tests__/unit/lib/service/diffLineInterpreter-compatibility.test.ts new file mode 100644 index 00000000..9cb54087 --- /dev/null +++ b/__tests__/unit/lib/service/diffLineInterpreter-compatibility.test.ts @@ -0,0 +1,55 @@ +'use strict' + +import { expect, jest, describe, it } from '@jest/globals' +import { getGlobalMetadata, getWork } from '../../../__utils__/globalTestHelper' +import DiffLineInterpreter from '../../../../src/service/diffLineInterpreter' +import { Work } from '../../../../src/types/work' +import { MetadataRepository } from '../../../../src/metadata/MetadataRepository' + +jest.mock('os', () => ({ + availableParallelism: null, +})) + +const mockHandle = jest.fn() +jest.mock('../../../../src/service/typeHandlerFactory', () => { + return jest.fn().mockImplementation(() => { + return { + getTypeHandler: jest + .fn() + .mockImplementation(() => ({ handle: mockHandle })), + } + }) +}) + +let work: Work +beforeEach(() => { + jest.clearAllMocks() + work = getWork() +}) + +describe('DiffLineInterpreter', () => { + let sut: DiffLineInterpreter + let globalMetadata: MetadataRepository + beforeAll(async () => { + // eslint-disable-next-line no-undef + globalMetadata = await getGlobalMetadata() + }) + + describe('compatibility test', () => { + beforeEach(() => { + sut = new DiffLineInterpreter(work, globalMetadata) + }) + describe('when `availableParallelism` is not defined', () => { + it('fallback gracefully', async () => { + // Arrange + const lines = ['test'] + + // Act + await sut.process(lines) + + // Assert + expect(mockHandle).toBeCalledTimes(lines.length) + }) + }) + }) +}) diff --git a/package.json b/package.json index 38e7e358..da394381 100644 --- a/package.json +++ b/package.json @@ -67,8 +67,8 @@ "dependencies:upgrade": "shx rm -rf yarn.lock ; shx touch yarn.lock ; yarn-upgrade-all ; yarn-audit-fix" }, "devDependencies": { - "@commitlint/cli": "^18.4.4", - "@commitlint/config-conventional": "^18.4.4", + "@commitlint/cli": "^18.5.0", + "@commitlint/config-conventional": "^18.5.0", "@jest/globals": "^29.7.0", "@oclif/dev-cli": "^1.26.10", "@salesforce/cli-plugins-testkit": "^5.1.7", @@ -80,9 +80,9 @@ "@types/async": "^3.2.24", "@types/jest": "^29.5.11", "@types/mocha": "^10.0.6", - "@types/node": "^20.11.5", - "@typescript-eslint/eslint-plugin": "^6.19.0", - "@typescript-eslint/parser": "^6.19.0", + "@types/node": "^20.11.6", + "@typescript-eslint/eslint-plugin": "^6.19.1", + "@typescript-eslint/parser": "^6.19.1", "benchmark": "^2.1.4", "chai": "^4.3.10", "depcheck": "^1.4.7", @@ -98,7 +98,7 @@ "prettier": "^3.2.4", "shx": "^0.3.4", "sinon": "^17.0.1", - "ts-jest": "^29.1.1", + "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.3.3", "yarn-audit-fix": "^10.0.7", diff --git a/src/service/diffLineInterpreter.ts b/src/service/diffLineInterpreter.ts index 7dcd14e3..f903a4da 100644 --- a/src/service/diffLineInterpreter.ts +++ b/src/service/diffLineInterpreter.ts @@ -6,8 +6,6 @@ import { availableParallelism } from 'os' import { queue } from 'async' import StandardHandler from './standardHandler' -const MAX_PARALLELISM = Math.min(availableParallelism(), 6) - export default class DiffLineInterpreter { constructor( // eslint-disable-next-line no-unused-vars @@ -18,6 +16,7 @@ export default class DiffLineInterpreter { public async process(lines: string[]) { const typeHandlerFactory = new TypeHandlerFactory(this.work, this.metadata) + const MAX_PARALLELISM = this.getConcurrencyThreshold() const processor = queue( async (handler: StandardHandler) => await handler.handle(), MAX_PARALLELISM @@ -32,4 +31,13 @@ export default class DiffLineInterpreter { await processor.drain() } } + + protected getConcurrencyThreshold() { + // This is because of this issue: https://github.com/scolladon/sfdx-git-delta/issues/762#issuecomment-1907609957 + const AVAILABLE_PARALLELISM = availableParallelism + ? availableParallelism() + : Infinity + + return Math.min(AVAILABLE_PARALLELISM, 6) + } } diff --git a/yarn.lock b/yarn.lock index 64653c09..147c7047 100644 --- a/yarn.lock +++ b/yarn.lock @@ -568,13 +568,13 @@ __metadata: languageName: node linkType: hard -"@commitlint/cli@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/cli@npm:18.4.4" +"@commitlint/cli@npm:^18.5.0": + version: 18.5.0 + resolution: "@commitlint/cli@npm:18.5.0" dependencies: "@commitlint/format": ^18.4.4 - "@commitlint/lint": ^18.4.4 - "@commitlint/load": ^18.4.4 + "@commitlint/lint": ^18.5.0 + "@commitlint/load": ^18.5.0 "@commitlint/read": ^18.4.4 "@commitlint/types": ^18.4.4 execa: ^5.0.0 @@ -584,26 +584,26 @@ __metadata: yargs: ^17.0.0 bin: commitlint: cli.js - checksum: b7544e3d0f9f22b1d5931bcf918cd0c2dc20ccff8d13346b8844f7a8803fb221e63e9d254bf2e1e6105bbd111b99158b94ea03c073014b83e3478f1117000cc3 + checksum: 68cda89e51c17d2e719c42aa08c2f3ceb93218e91cf1599c7f94e078e8389cb568661a0732ebbf5dd32e819b2de77ef0bd27d3bc8e43d6bf2b51aebea02d924c languageName: node linkType: hard -"@commitlint/config-conventional@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/config-conventional@npm:18.4.4" +"@commitlint/config-conventional@npm:^18.5.0": + version: 18.5.0 + resolution: "@commitlint/config-conventional@npm:18.5.0" dependencies: conventional-changelog-conventionalcommits: ^7.0.2 - checksum: 53238dfac4bef5dcee301cbe1cfc4501054adf9bc1c9bcda47ff0039cf108fd0ffa5e27ff608e62baced9dc976745e7dc2d2a8242704b23251632ed59e303be2 + checksum: 787f7b6f8ad0dc550932798a4f3ad427f407518397deeb6ddc0c25c160086f25a9953dc4428319a89d71f626c86b8a1102a60d0a40d422199a8f80185e85ed0b languageName: node linkType: hard -"@commitlint/config-validator@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/config-validator@npm:18.4.4" +"@commitlint/config-validator@npm:^18.5.0": + version: 18.5.0 + resolution: "@commitlint/config-validator@npm:18.5.0" dependencies: "@commitlint/types": ^18.4.4 ajv: ^8.11.0 - checksum: 6712b83a12750182ad5d35dd9f9767908df93d950b703c51edf812433249041565aba148221d06f3afd6ac6030d0ddd5d6628c76504c6b01596ac1cd6dd3001c + checksum: 9f2af1d50c3b214b37ba5da05971a5bac16e3385275c587e1b8b6fb47949c914847f0330c5ff8c1ef84a4501ed26ba088483b85be85d38f54932712ed860f23e languageName: node linkType: hard @@ -648,25 +648,25 @@ __metadata: languageName: node linkType: hard -"@commitlint/lint@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/lint@npm:18.4.4" +"@commitlint/lint@npm:^18.5.0": + version: 18.5.0 + resolution: "@commitlint/lint@npm:18.5.0" dependencies: "@commitlint/is-ignored": ^18.4.4 "@commitlint/parse": ^18.4.4 "@commitlint/rules": ^18.4.4 "@commitlint/types": ^18.4.4 - checksum: eb6b55d35d609ba735e89dfb1988e84c15ebc3997281e9c0e30b8290234b62d7d1d59da9ce4a98d2cc40e10dd0cb673e56a497d312011989f25fdef75e9f6640 + checksum: 8e29db6147118ca40accb86f58176e0e1ada2403b36112d8443163f51810695ca3d12a30f797252c35bf8b9dd49399647db99f278684df3c779a1cf164b070ea languageName: node linkType: hard -"@commitlint/load@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/load@npm:18.4.4" +"@commitlint/load@npm:^18.5.0": + version: 18.5.0 + resolution: "@commitlint/load@npm:18.5.0" dependencies: - "@commitlint/config-validator": ^18.4.4 + "@commitlint/config-validator": ^18.5.0 "@commitlint/execute-rule": ^18.4.4 - "@commitlint/resolve-extends": ^18.4.4 + "@commitlint/resolve-extends": ^18.5.0 "@commitlint/types": ^18.4.4 chalk: ^4.1.0 cosmiconfig: ^8.3.6 @@ -675,7 +675,7 @@ __metadata: lodash.merge: ^4.6.2 lodash.uniq: ^4.5.0 resolve-from: ^5.0.0 - checksum: 2643f6fdd7f79fc82c14ce88809b69af69c72757e30902ed79d2c26f90035edebf5d5bd10319362e14f7c85dbe36961cb28bc9e376a93e7c83822f24aa37a5a3 + checksum: 0ae0f1b102c78f41564a3eca0f0fefb1b132ff2ae7603b1b30b54f30b7ab9dd1fb65283bcbf24ca551ed4f759d79badb98054d3336738e9de9a3ad6de529fc02 languageName: node linkType: hard @@ -709,17 +709,17 @@ __metadata: languageName: node linkType: hard -"@commitlint/resolve-extends@npm:^18.4.4": - version: 18.4.4 - resolution: "@commitlint/resolve-extends@npm:18.4.4" +"@commitlint/resolve-extends@npm:^18.5.0": + version: 18.5.0 + resolution: "@commitlint/resolve-extends@npm:18.5.0" dependencies: - "@commitlint/config-validator": ^18.4.4 + "@commitlint/config-validator": ^18.5.0 "@commitlint/types": ^18.4.4 import-fresh: ^3.0.0 lodash.mergewith: ^4.6.2 resolve-from: ^5.0.0 resolve-global: ^1.0.0 - checksum: b48946fa43cb63149d1771d28d1bdfe81a5b13f5223dbf6958edbe0bcf9635364ba1f07e16a3592069dba4c864a7a403e41af708367472b0d2fd5c9ed38d0997 + checksum: 826050231fae9e307afb2161399d5e046b8e1878543d83036370ef19f75aaa4d70e6083386febab21bc7a5fc62bd03ec6bdfde2312e508d3b58a03d6897e542f languageName: node linkType: hard @@ -1144,12 +1144,12 @@ __metadata: linkType: hard "@jridgewell/trace-mapping@npm:^0.3.12, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.18, @jridgewell/trace-mapping@npm:^0.3.9": - version: 0.3.21 - resolution: "@jridgewell/trace-mapping@npm:0.3.21" + version: 0.3.22 + resolution: "@jridgewell/trace-mapping@npm:0.3.22" dependencies: "@jridgewell/resolve-uri": ^3.1.0 "@jridgewell/sourcemap-codec": ^1.4.14 - checksum: e91d3943c6d84687503ba033600d42b2a81d9eaf32758fee06449cd1415c59b944af08841e99f030b71f83bb5f814969e96fc8aa29e469eb3ea1b46597d13cff + checksum: ac7dd2cfe0b479aa1b81776d40d789243131cc792dc8b6b6a028c70fcd6171958ae1a71bf67b618ffe3c0c3feead9870c095ee46a5e30319410d92976b28f498 languageName: node linkType: hard @@ -1613,8 +1613,8 @@ __metadata: linkType: hard "@salesforce/core@npm:^6.4.7": - version: 6.4.7 - resolution: "@salesforce/core@npm:6.4.7" + version: 6.5.0 + resolution: "@salesforce/core@npm:6.5.0" 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: 17d3aa73ef74aaf5fbe02122aeae655efb13254c597f007ad06ca73d487455a518e1c51cdcfc3b630a3b707d169153a603c7634d08739715daa7c841f30bf142 + checksum: 0370a56e2a93949a8ccbb19b4c0946a7768c0a6bdd7679ca536d9b0afe26525312b6f2daae9fefcbb621bd0129a13ce057276ee66b33997f3ed86a463c646d7a languageName: node linkType: hard @@ -1728,11 +1728,11 @@ __metadata: linkType: hard "@sinonjs/commons@npm:^3.0.0": - version: 3.0.0 - resolution: "@sinonjs/commons@npm:3.0.0" + version: 3.0.1 + resolution: "@sinonjs/commons@npm:3.0.1" dependencies: type-detect: 4.0.8 - checksum: b4b5b73d4df4560fb8c0c7b38c7ad4aeabedd362f3373859d804c988c725889cde33550e4bcc7cd316a30f5152a2d1d43db71b6d0c38f5feef71fd8d016763f8 + checksum: a7c3e7cc612352f4004873747d9d8b2d4d90b13a6d483f685598c945a70e734e255f1ca5dc49702515533c403b32725defff148177453b3f3915bcb60e9d4601 languageName: node linkType: hard @@ -2244,12 +2244,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:*": - version: 20.11.4 - resolution: "@types/node@npm:20.11.4" +"@types/node@npm:*, @types/node@npm:^20.11.6": + version: 20.11.6 + resolution: "@types/node@npm:20.11.6" dependencies: undici-types: ~5.26.4 - checksum: b9cf2c5397ea31f3355656edd204aee777a36db75b79b8b7aba2bed7ea5b29914fa808489da5c632c5eddbb33c3106188bef0bff3b7648bd39aa50dee466a73b + checksum: 54b3739f42d9c2266fd724d8ecbf50bc64eb0563343b65a6ea874a51a7fc8bb4793bf3a1b2222e40e3b7bd62cf5af5609899bf1a3de8b69748dcac65e63e8bdc languageName: node linkType: hard @@ -2260,15 +2260,6 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.11.5": - version: 20.11.5 - resolution: "@types/node@npm:20.11.5" - dependencies: - undici-types: ~5.26.4 - checksum: a542727de1334ae20a3ca034b0ecf4b464a57ca01efc4f9cf43bd9ab93896125ab3c2de060ecd8f6ae23b86c6bf3463f681b643e69c032c6a662d376c98a6092 - languageName: node - linkType: hard - "@types/normalize-package-data@npm:^2.4.0": version: 2.4.4 resolution: "@types/normalize-package-data@npm:2.4.4" @@ -2346,15 +2337,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^6.19.0": - version: 6.19.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.19.0" +"@typescript-eslint/eslint-plugin@npm:^6.19.1": + version: 6.19.1 + resolution: "@typescript-eslint/eslint-plugin@npm:6.19.1" dependencies: "@eslint-community/regexpp": ^4.5.1 - "@typescript-eslint/scope-manager": 6.19.0 - "@typescript-eslint/type-utils": 6.19.0 - "@typescript-eslint/utils": 6.19.0 - "@typescript-eslint/visitor-keys": 6.19.0 + "@typescript-eslint/scope-manager": 6.19.1 + "@typescript-eslint/type-utils": 6.19.1 + "@typescript-eslint/utils": 6.19.1 + "@typescript-eslint/visitor-keys": 6.19.1 debug: ^4.3.4 graphemer: ^1.4.0 ignore: ^5.2.4 @@ -2367,44 +2358,44 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 9880567d52d4e6559e2343caeed68f856d593b42816b8f705cd98d5a5b46cc620e3bebaaf08bbc982061bba18e5be94d6c539c0c816e8772ddabba0ad4e9363e + checksum: ad04000cd6c15d864ff92655baa3aec99bb0ccf4714fedd145fedde60a27590a5feafe480beb2f0f3864b416098bde1e9431bada7480eb7ca4efad891e1d2f6f languageName: node linkType: hard -"@typescript-eslint/parser@npm:^6.19.0": - version: 6.19.0 - resolution: "@typescript-eslint/parser@npm:6.19.0" +"@typescript-eslint/parser@npm:^6.19.1": + version: 6.19.1 + resolution: "@typescript-eslint/parser@npm:6.19.1" dependencies: - "@typescript-eslint/scope-manager": 6.19.0 - "@typescript-eslint/types": 6.19.0 - "@typescript-eslint/typescript-estree": 6.19.0 - "@typescript-eslint/visitor-keys": 6.19.0 + "@typescript-eslint/scope-manager": 6.19.1 + "@typescript-eslint/types": 6.19.1 + "@typescript-eslint/typescript-estree": 6.19.1 + "@typescript-eslint/visitor-keys": 6.19.1 debug: ^4.3.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 0ac91ff83fdf693de4494b45be79f25803ea6ca3ee717e4f96785b7ffc1da0180adb0426b61bc6eff5666c8ef9ea58c50efbd4351ef9018c0050116cbd74a62b + checksum: cd29619da08a2d9b7123ba4d8240989c747f8e0d5672179d8b147e413ee1334d1fa48570b0c37cf0ae4e26a275fd2d268cbe702c6fed639d3331abbb3292570a languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.19.0": - version: 6.19.0 - resolution: "@typescript-eslint/scope-manager@npm:6.19.0" +"@typescript-eslint/scope-manager@npm:6.19.1": + version: 6.19.1 + resolution: "@typescript-eslint/scope-manager@npm:6.19.1" dependencies: - "@typescript-eslint/types": 6.19.0 - "@typescript-eslint/visitor-keys": 6.19.0 - checksum: 47d9d1b70cd64f9d1bb717090850e0ff1a34e453c28b43fd0cecaea4db05cacebd60f5da55b35c4b3cc01491f02e9de358f82a0822b27c00e80e3d1a27de32d1 + "@typescript-eslint/types": 6.19.1 + "@typescript-eslint/visitor-keys": 6.19.1 + checksum: 848cdebc16a3803e8a6d6035a7067605309a652bb2425f475f755b5ace4d80d2c17c8c8901f0f4759556da8d0a5b71024d472b85c3f3c70d0e6dcfe2a972ef35 languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.19.0": - version: 6.19.0 - resolution: "@typescript-eslint/type-utils@npm:6.19.0" +"@typescript-eslint/type-utils@npm:6.19.1": + version: 6.19.1 + resolution: "@typescript-eslint/type-utils@npm:6.19.1" dependencies: - "@typescript-eslint/typescript-estree": 6.19.0 - "@typescript-eslint/utils": 6.19.0 + "@typescript-eslint/typescript-estree": 6.19.1 + "@typescript-eslint/utils": 6.19.1 debug: ^4.3.4 ts-api-utils: ^1.0.1 peerDependencies: @@ -2412,23 +2403,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: a88f022617be636f43429a7c7c5cd2e0e29955e96d4a9fed7d03467dc4a432b1240a71009d62213604ddb3522be9694e6b78882ee805687cda107021d1ddb203 + checksum: eab1a30f8d85f7c6e2545de5963fbec2f3bb91913d59623069b4b0db372a671ab048c7018376fc853c3af06ea39417f3e7b27dd665027dd812347a5e64cecd77 languageName: node linkType: hard -"@typescript-eslint/types@npm:6.19.0": - version: 6.19.0 - resolution: "@typescript-eslint/types@npm:6.19.0" - checksum: 1371b5ba41c1d2879b3c2823ab01a30cf034e476ef53ff2a7f9e9a4a0056dfbbfecd3143031b05430aa6c749233cacbd01b72cea38a9ece1c6cf95a5cd43da6a +"@typescript-eslint/types@npm:6.19.1": + version: 6.19.1 + resolution: "@typescript-eslint/types@npm:6.19.1" + checksum: 598ce222b59c20432d06f60703d0c2dd16d9b2151569c192852136c57b8188e3ef6ef9fddaa2c136c9a756fcc7d873c0e29ec41cfd340564842287ef7b4571cd languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.19.0": - version: 6.19.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.19.0" +"@typescript-eslint/typescript-estree@npm:6.19.1": + version: 6.19.1 + resolution: "@typescript-eslint/typescript-estree@npm:6.19.1" dependencies: - "@typescript-eslint/types": 6.19.0 - "@typescript-eslint/visitor-keys": 6.19.0 + "@typescript-eslint/types": 6.19.1 + "@typescript-eslint/visitor-keys": 6.19.1 debug: ^4.3.4 globby: ^11.1.0 is-glob: ^4.0.3 @@ -2438,34 +2429,34 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 919f9588840cdab7e0ef6471f4c35d602523b142b2cffeabe9171d6ce65eb7f41614d0cb17e008e0d8e796374821ab053ced35b84642c3b1d491987362f2fdb5 + checksum: fb71a14aeee0468780219c5b8d39075f85d360b04ccd0ee88f4f0a615d2c232a6d3016e36d8c6eda2d9dfda86b4f4cc2c3d7582940fb29d33c7cf305e124d4e2 languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.19.0": - version: 6.19.0 - resolution: "@typescript-eslint/utils@npm:6.19.0" +"@typescript-eslint/utils@npm:6.19.1": + version: 6.19.1 + resolution: "@typescript-eslint/utils@npm:6.19.1" dependencies: "@eslint-community/eslint-utils": ^4.4.0 "@types/json-schema": ^7.0.12 "@types/semver": ^7.5.0 - "@typescript-eslint/scope-manager": 6.19.0 - "@typescript-eslint/types": 6.19.0 - "@typescript-eslint/typescript-estree": 6.19.0 + "@typescript-eslint/scope-manager": 6.19.1 + "@typescript-eslint/types": 6.19.1 + "@typescript-eslint/typescript-estree": 6.19.1 semver: ^7.5.4 peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 05a26251a526232b08850b6c3327637213ef989453e353f3a8255433b74893a70d5c38369c528b762e853b7586d7830d728b372494e65f37770ecb05a88112d4 + checksum: fe72e75c3ea17a85772b83f148555ea94ff5d55d13586f3fc038833197a74f8071e14c2bbf1781c40eec20005f052f4be2513a725eea82a15da3cb9af3046c70 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.19.0": - version: 6.19.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.19.0" +"@typescript-eslint/visitor-keys@npm:6.19.1": + version: 6.19.1 + resolution: "@typescript-eslint/visitor-keys@npm:6.19.1" dependencies: - "@typescript-eslint/types": 6.19.0 + "@typescript-eslint/types": 6.19.1 eslint-visitor-keys: ^3.4.1 - checksum: 35b11143e1b55ecf01e0f513085df2cc83d0781f4a8354dc10f6ec3356f66b91a1ed8abadb6fb66af1c1746f9c874eabc8b5636882466e229cda5d6a39aada08 + checksum: bdf057a42e776970a89cdd568e493e3ea7ec085544d8f318d33084da63c3395ad2c0fb9cef9f61ceeca41f5dab54ab064b7078fe596889005e412ec74d2d1ae4 languageName: node linkType: hard @@ -2476,60 +2467,60 @@ __metadata: languageName: node linkType: hard -"@vue/compiler-core@npm:3.4.14": - version: 3.4.14 - resolution: "@vue/compiler-core@npm:3.4.14" +"@vue/compiler-core@npm:3.4.15": + version: 3.4.15 + resolution: "@vue/compiler-core@npm:3.4.15" dependencies: "@babel/parser": ^7.23.6 - "@vue/shared": 3.4.14 + "@vue/shared": 3.4.15 entities: ^4.5.0 estree-walker: ^2.0.2 source-map-js: ^1.0.2 - checksum: df7767c63273555ec46719757d1b240ef4ad6643847fbf574b30c2e7049e640dfedb698cffb06ad399257f452eb8a08484ba0ff80ff5650e1ea4257d0c3374d6 + checksum: 1610f715b8ab6de95aa9f904d484ed275cf39e947d3fbb92a8ff7d7178360b71cfeae2710ef819dbeb738e1f94bf191298449719a2ecc860389338bcdef220f5 languageName: node linkType: hard -"@vue/compiler-dom@npm:3.4.14": - version: 3.4.14 - resolution: "@vue/compiler-dom@npm:3.4.14" +"@vue/compiler-dom@npm:3.4.15": + version: 3.4.15 + resolution: "@vue/compiler-dom@npm:3.4.15" dependencies: - "@vue/compiler-core": 3.4.14 - "@vue/shared": 3.4.14 - checksum: 03b06006d780819ccb758baf0ac243d7c3c6502405149fe162f60389529ca02af9af47d2674047908952f63143e5e539a74eee27e51a8ad79b91bb9bdb357aa7 + "@vue/compiler-core": 3.4.15 + "@vue/shared": 3.4.15 + checksum: 373968c2c603f4eb9ebbf5f31ca2dc89991c4c1b0cee0213e613ad8b4ee632a33174e92bd91e0f8ff65f55188b46b742b91269a098c1e421d8f8bc919d5adc25 languageName: node linkType: hard "@vue/compiler-sfc@npm:^3.3.4": - version: 3.4.14 - resolution: "@vue/compiler-sfc@npm:3.4.14" + version: 3.4.15 + resolution: "@vue/compiler-sfc@npm:3.4.15" dependencies: "@babel/parser": ^7.23.6 - "@vue/compiler-core": 3.4.14 - "@vue/compiler-dom": 3.4.14 - "@vue/compiler-ssr": 3.4.14 - "@vue/shared": 3.4.14 + "@vue/compiler-core": 3.4.15 + "@vue/compiler-dom": 3.4.15 + "@vue/compiler-ssr": 3.4.15 + "@vue/shared": 3.4.15 estree-walker: ^2.0.2 magic-string: ^0.30.5 postcss: ^8.4.33 source-map-js: ^1.0.2 - checksum: 2ce5c4e6323cf6eb304bc56a4b0079cb3c9c064493e02f29df3db5a08c99c1dc5eff88d7e97f1cb1177d66b397fbf40c9f3a2a19f71688e563fbf10d06c6a490 + checksum: 4a707346c32b6deaec47c4bb1fddaaa6ec881e286db59de8922960f52a617ff7bebfcbe19e80c98a0fd91d0f575d962787f77c16ac10a7eaac7d938c48bfb4c7 languageName: node linkType: hard -"@vue/compiler-ssr@npm:3.4.14": - version: 3.4.14 - resolution: "@vue/compiler-ssr@npm:3.4.14" +"@vue/compiler-ssr@npm:3.4.15": + version: 3.4.15 + resolution: "@vue/compiler-ssr@npm:3.4.15" dependencies: - "@vue/compiler-dom": 3.4.14 - "@vue/shared": 3.4.14 - checksum: faff2e3815020ec232d50835c28e99108d50f88795adba0d08faed330405c48d16be10648ccef9a4d6fad9ac2e6d747b9d15b0cfaddb98ae305212483d40d1da + "@vue/compiler-dom": 3.4.15 + "@vue/shared": 3.4.15 + checksum: 45a12ae2dd2e645db53d43b3c27df1d8fbf0584199d6e5581c96b4566d889376f5da411f8e453e113e3dcae0f2cc80b6f6fb36110f3f42f5cc260e48a99dd37f languageName: node linkType: hard -"@vue/shared@npm:3.4.14": - version: 3.4.14 - resolution: "@vue/shared@npm:3.4.14" - checksum: 6945de71cc74b4f26e6e3310f4e98f627ed950ffebd32ff5e864df9001708918432fec8fe2840797f7915163c4ffaee334d73fac812f96a3b1ea15bd08a5ceea +"@vue/shared@npm:3.4.15": + version: 3.4.15 + resolution: "@vue/shared@npm:3.4.15" + checksum: 237db3a880692c69358c46679562cee85d8495090a3c8ed44a4d4daa7c4a61d74e330b9bd1f3cec7362a2ae443f46186be8a86b44bff7604d5bd72ad994b8021 languageName: node linkType: hard @@ -3370,9 +3361,9 @@ __metadata: linkType: hard "caniuse-lite@npm:^1.0.30001565": - version: 1.0.30001577 - resolution: "caniuse-lite@npm:1.0.30001577" - checksum: 26d2b4a498a2a6ad5a33c44c18a32497b59a3bb1963b8b9221ddcbfe166ed7f7a1f75a3de040870cdc2467ce35199c643cfe8c45e7208d8bc033e7877214b0f9 + version: 1.0.30001579 + resolution: "caniuse-lite@npm:1.0.30001579" + checksum: 7539dcff74d2243a30c428393dc690c87fa34d7da36434731853e9bcfe783757763b2971f5cc878e25242a93e184e53f167d11bd74955af956579f7af71cc764 languageName: node linkType: hard @@ -3892,16 +3883,16 @@ __metadata: linkType: hard "core-js-pure@npm:^3.30.2": - version: 3.35.0 - resolution: "core-js-pure@npm:3.35.0" - checksum: be542e17687656f4e08091f323a2aa7ee4b3368c4c964794d9475fd27ff34288390bdbe90fb3ba4c75300abf046f03e4783032f313011651a05fa1cca5ec24e0 + version: 3.35.1 + resolution: "core-js-pure@npm:3.35.1" + checksum: 2fb360757c403b1487e746bb3648c7f0be45c196640552767f4e2a55a962411a33093cd8babf5e0416de7f4c38d1b05bbaf576c0a3bf2d6565935bab749d3fb5 languageName: node linkType: hard "core-js@npm:^3.6.4": - version: 3.35.0 - resolution: "core-js@npm:3.35.0" - checksum: 25c224aca3df012b98f08f13ccbd8171ef5852acd33fd5e58e106d27f5f0c97de2fdbc520f0b4364d26253caf2deb3e5d265310f57d2a66ae6cc922850e649f0 + version: 3.35.1 + resolution: "core-js@npm:3.35.1" + checksum: e246af6b634be3763ffe3ce6ac4601b4dc5b928006fb6c95e5d08ecd82a2413bf36f00ffe178b89c9a8e94000288933a78a9881b2c9498e6cf312b031013b952 languageName: node linkType: hard @@ -4427,9 +4418,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.4.601": - version: 1.4.633 - resolution: "electron-to-chromium@npm:1.4.633" - checksum: 401fb8240018c20d6de12e993622cfad78e0dbd9fc5002d9258bf6f5bcc3003aa2851d9bcf944b878acd9052aa7b8d67ad31415bf18a40d73e478342f2449064 + version: 1.4.643 + resolution: "electron-to-chromium@npm:1.4.643" + checksum: e97f15a3cb10460e8763f1b6a080bdd566c2375a63259af18a48ece03af0c0cf2aea4d25e7f0b2cf532f56e469efd4259ebafd6aa5a6e69ea679459e08f3645f languageName: node linkType: hard @@ -9571,9 +9562,9 @@ __metadata: linkType: hard "rfdc@npm:^1.3.0": - version: 1.3.0 - resolution: "rfdc@npm:1.3.0" - checksum: fb2ba8512e43519983b4c61bd3fa77c0f410eff6bae68b08614437bc3f35f91362215f7b4a73cbda6f67330b5746ce07db5dd9850ad3edc91271ad6deea0df32 + version: 1.3.1 + resolution: "rfdc@npm:1.3.1" + checksum: d5d1e930aeac7e0e0a485f97db1356e388bdbeff34906d206fe524dd5ada76e95f186944d2e68307183fdc39a54928d4426bbb6734851692cfe9195efba58b79 languageName: node linkType: hard @@ -9835,8 +9826,8 @@ __metadata: version: 0.0.0-use.local resolution: "sfdx-git-delta@workspace:." dependencies: - "@commitlint/cli": ^18.4.4 - "@commitlint/config-conventional": ^18.4.4 + "@commitlint/cli": ^18.5.0 + "@commitlint/config-conventional": ^18.5.0 "@jest/globals": ^29.7.0 "@oclif/dev-cli": ^1.26.10 "@salesforce/cli-plugins-testkit": ^5.1.7 @@ -9849,9 +9840,9 @@ __metadata: "@types/async": ^3.2.24 "@types/jest": ^29.5.11 "@types/mocha": ^10.0.6 - "@types/node": ^20.11.5 - "@typescript-eslint/eslint-plugin": ^6.19.0 - "@typescript-eslint/parser": ^6.19.0 + "@types/node": ^20.11.6 + "@typescript-eslint/eslint-plugin": ^6.19.1 + "@typescript-eslint/parser": ^6.19.1 async: ^3.2.5 benchmark: ^2.1.4 chai: ^4.3.10 @@ -9874,7 +9865,7 @@ __metadata: shx: ^0.3.4 simple-git: ^3.22.0 sinon: ^17.0.1 - ts-jest: ^29.1.1 + ts-jest: ^29.1.2 ts-node: ^10.9.2 typescript: ^5.3.3 xmlbuilder2: ^3.1.1 @@ -10324,13 +10315,13 @@ __metadata: linkType: hard "string-width@npm:^7.0.0": - version: 7.0.0 - resolution: "string-width@npm:7.0.0" + version: 7.1.0 + resolution: "string-width@npm:7.1.0" dependencies: emoji-regex: ^10.3.0 get-east-asian-width: ^1.0.0 strip-ansi: ^7.1.0 - checksum: bc0de5700a2690895169fce447ec4ed44bc62de80312c2093d5606bfd48319bb88e48a99e97f269dff2bc9577448b91c26b3804c16e7d9b389699795e4655c3b + checksum: a183573fe7209e0d294f661846d33f8caf72aa86d983e5b48a0ed45ab15bcccb02c6f0344b58b571988871105457137b8207855ea536827dbc4a376a0f31bf8f languageName: node linkType: hard @@ -10708,9 +10699,9 @@ __metadata: languageName: node linkType: hard -"ts-jest@npm:^29.1.1": - version: 29.1.1 - resolution: "ts-jest@npm:29.1.1" +"ts-jest@npm:^29.1.2": + version: 29.1.2 + resolution: "ts-jest@npm:29.1.2" dependencies: bs-logger: 0.x fast-json-stable-stringify: 2.x @@ -10737,7 +10728,7 @@ __metadata: optional: true bin: ts-jest: cli.js - checksum: a8c9e284ed4f819526749f6e4dc6421ec666f20ab44d31b0f02b4ed979975f7580b18aea4813172d43e39b29464a71899f8893dd29b06b4a351a3af8ba47b402 + checksum: a0ce0affc1b716c78c9ab55837829c42cb04b753d174a5c796bb1ddf9f0379fc20647b76fbe30edb30d9b23181908138d6b4c51ef2ae5e187b66635c295cefd5 languageName: node linkType: hard