diff --git a/.eslintrc.js b/.eslintrc.js index 552112827..ab424d1f9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -37,7 +37,7 @@ module.exports = { devDependencies: [ '**/*.test.ts', '**/*.spec.ts', - '**/__integrationtests__/*', + 'tests/**/*', '**/webpack.config.js', ], }, @@ -142,7 +142,7 @@ module.exports = { 'jsdoc/check-tag-names': [ 'warn', { - definedTags: ['group', 'packageDocumentation'], + definedTags: ['packageDocumentation'], }, ], '@typescript-eslint/no-var-requires': 'off', @@ -152,14 +152,6 @@ module.exports = { 'no-console': 'off', }, }, - { - files: ['**/__integrationtests__/*.ts', '**/TestUtils.ts'], - rules: { - 'import/extensions': 'off', - 'jsdoc/require-jsdoc': 'off', - 'no-console': 'off', - }, - }, { files: ['**/augment-api/src/interfaces/**/*.ts'], rules: { @@ -167,16 +159,13 @@ module.exports = { }, }, { - files: ['tests/*'], + files: ['tests/**/*', 'packages/testing/**/*'], rules: { + 'import/extensions': 'off', + 'jsdoc/require-jsdoc': 'off', 'no-console': 'off', '@typescript-eslint/explicit-function-return-type': 'off', - 'import/no-extraneous-dependencies': [ - 'error', - { - devDependencies: ['tests/*', 'tests/bundle.spec.ts'], - }, - ], + 'import/no-extraneous-dependencies': 'off' }, }, ], diff --git a/.github/workflows/test-node-candidate.yml b/.github/workflows/test-node-candidate.yml index 8e933834f..47e249598 100644 --- a/.github/workflows/test-node-candidate.yml +++ b/.github/workflows/test-node-candidate.yml @@ -90,7 +90,7 @@ jobs: - name: run integration tests timeout-minutes: 60 - run: yarn test:integration:ci + run: yarn test:integration -b bundle_cache: runs-on: ubuntu-latest diff --git a/.github/workflows/tests-polkadot-deps.yml b/.github/workflows/tests-polkadot-deps.yml index 837030d49..ce47e76b5 100644 --- a/.github/workflows/tests-polkadot-deps.yml +++ b/.github/workflows/tests-polkadot-deps.yml @@ -122,9 +122,13 @@ jobs: with: image: ${{ env.TESTCONTAINERS_WATCHER_IMG }} - - name: run integration tests + - name: run integration tests (cjs) timeout-minutes: 60 - run: yarn test:integration:ci + run: yarn test:integration -b + + - name: run integration tests (esm) + timeout-minutes: 60 + run: yarn test:integration:esm -b create-issue: runs-on: ubuntu-latest diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 626adea2b..933dbecff 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -161,9 +161,14 @@ jobs: with: image: ${{ env.TESTCONTAINERS_WATCHER_IMG }} - - name: run integration tests + - name: run integration tests (cjs) timeout-minutes: 60 - run: yarn test:integration:ci + run: yarn test:integration -b + + - name: run integration tests (esm) + timeout-minutes: 60 + run: yarn test:integration:esm -b + bundle_cache: runs-on: ubuntu-latest diff --git a/babel.config.json b/babel.config.json index c99be6aa9..509e22c8c 100644 --- a/babel.config.json +++ b/babel.config.json @@ -3,7 +3,8 @@ [ "@babel/preset-env", { - "modules": "commonjs" + "modules": "commonjs", + "targets": {"node": "current"} } ] ] diff --git a/jest-setup/setup.js b/jest-setup/setup.js deleted file mode 100644 index ecf272898..000000000 --- a/jest-setup/setup.js +++ /dev/null @@ -1,6 +0,0 @@ -import { cryptoWaitReady } from '@polkadot/util-crypto' -export {} - -beforeAll(async () => { - await cryptoWaitReady() -}) diff --git a/jest.config.js b/jest.config.js index 63fc4a01e..217a73a31 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,12 +1,18 @@ -module.exports = { - preset: 'ts-jest', +const common = { testEnvironment: 'node', clearMocks: true, - runner: 'groups', - // Parachain block time is 12s - testTimeout: 15000, - setupFilesAfterEnv: ['../jest-setup/setup.js'], - transformIgnorePatterns: ['/node_modules/(?!@polkadot|@babel/runtime/helpers/esm/|@digitalbazaar|base.+-universal|crypto-ld)'], + setupFilesAfterEnv: ['/tests/jest.setup.js'], + transformIgnorePatterns: ['/node_modules/(?!@digitalbazaar|base.+-universal|crypto-ld)'], + transform: { + "\\.js$": ["babel-jest", { root: './' }], + "\\.ts$": "ts-jest" + }, + resolver: "ts-jest-resolver", + moduleDirectories: [ + "node_modules", + "packages/*/src" + ], + coverageDirectory: 'coverage', coverageThreshold: { global: { branches: 70, @@ -15,37 +21,44 @@ module.exports = { statements: 80, }, }, - transform: { - "\\.js$": "babel-jest", - "\\.ts$": "ts-jest" - }, collectCoverageFrom: [ - '**/*/src/**/*.ts', - '!**/index.ts', - '!**/__integrationtests__/**', - '!**/__mocks__/**', - '!**/__tests__/**', - '!**/lib/**', - '!**/test/**', - '!**/kilt/*', - '!**/types/**/*', - '!**/SDKErrors.ts', - '!utils/src/json-schema/*', - '!testing/**', - '!augment-api/**', - '!type-definitions/**', - '!**/*.chain.ts', - '!did/src/Did.chain.ts', - '!did/src/Did.rpc.ts', - '!did/src/Did.utils.ts', - '!utils/src/jsonabc.ts', - '!core/src/utils.ts', + 'packages/*/src/**', + ], + coveragePathIgnorePatterns: [ + // test and library code + '/node_modules/', + '/lib/', + '/tests/', + // not properly testable + 'packages/types/', + 'packages/augment-api/', + 'packages/type-definitions/', + 'packages/core/src/kilt/', + 'index.ts', + 'types.ts', + '.chain.ts', + 'SDKErrors.ts', + 'Did.rpc.ts', + 'packages/core/src/utils.ts', + // third party code copied to this repo + 'packages/utils/src/json-schema/', + 'jsonabc.ts', ], - resolver: "ts-jest-resolver", - rootDir: 'packages', - coverageDirectory: 'coverage', - moduleDirectories: [ - "node_modules", - "packages/*/src" - ] } + +module.exports = { + ...common, + testTimeout: 5000, + projects: [ + { + ...common, + displayName: 'unit', + roots: ['/packages'], + }, + { + ...common, + displayName: 'breaking', + roots: ['/tests/breakingChanges'], + }, + ] +} \ No newline at end of file diff --git a/package.json b/package.json index ebea49782..5430689d0 100644 --- a/package.json +++ b/package.json @@ -11,23 +11,24 @@ "build": "yarn workspaces foreach -p -t --exclude '{root-workspace}' run build", "build:docs": "typedoc --theme default --out docs/api --tsconfig tsconfig.docs.json && touch docs/.nojekyll", "bundle": "yarn workspace @kiltprotocol/sdk-js run bundle", - "clean": "rimraf tests/dist && yarn workspaces foreach -p --exclude '{root-workspace}' run clean", + "clean": "rimraf tests/bundle/dist && rimraf tests/integration/dist && yarn workspaces foreach -p --exclude '{root-workspace}' run clean", "clean:docs": "rimraf docs/api", "prepublish": "yarn workspaces foreach -p --no-private exec cp -f ../../LICENSE .", "publish": "yarn workspaces foreach -pt --no-private npm publish", - "lint": "eslint packages --format=codeframe", + "lint": "eslint packages tests --format=codeframe", "lint:fix": "yarn lint --fix", "set:version": "npm version --no-git-tag-version --no-workspaces-update --workspaces --include-workspace-root", "style": "prettier -l packages", "style:fix": "yarn style --write", - "test": "jest --coverage --group=unit", - "test:breaking": "jest --group=breaking", + "test": "jest --coverage --selectProjects=unit", + "test:breaking": "jest --selectProjects=breaking", "test:ci": "yarn test --ci --forceExit", - "test:integration": "jest --group=integration -w 3 --testTimeout=30000", - "test:integration:ci": "jest --group=integration -b -w 3 --testTimeout=60000", + "test:integration": "jest -c tests/integration/jest.config.integration.js", + "build:esm-tests": "rimraf tests/integration/dist && tsc -p tests/integration/tsconfig.esm.json && echo '{\"type\":\"module\"}' > tests/integration/dist/package.json", + "test:integration:esm": "yarn build:esm-tests && yarn node --experimental-vm-modules $(yarn bin jest) -c tests/integration/jest.config.integration.esm.js", "test:integration:latest-develop": "TESTCONTAINERS_NODE_IMG=kiltprotocol/mashnet-node:latest-develop yarn test:integration", "test:watch": "yarn test --watch", - "test:bundle": "tsc -p tests/tsconfig.json && yarn ./tests playwright test --config playwright.config.ts", + "test:bundle": "tsc -p tests/bundle/tsconfig.json && yarn ./tests/bundle playwright test --config playwright.config.ts", "test:ci:bundle": "yarn test:ci:bundle:preparation && yarn test:bundle", "test:ci:bundle:preparation": "yarn playwright install-deps && yarn playwright install chromium" }, @@ -47,7 +48,7 @@ "@commitlint/cli": "^9.0.1", "@commitlint/config-conventional": "^9.0.1", "@playwright/test": "^1.21.1", - "@types/jest": "^27.4.0", + "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^5.7.0", "@typescript-eslint/parser": "^5.7.0", "eslint": "^7.32.0", @@ -58,15 +59,12 @@ "eslint-plugin-license-header": "^0.2.1", "eslint-plugin-prettier": "^3.4.1", "husky": "^4.2.5", - "jest": "^27.4.7", - "jest-docblock": "^27.4.0", - "jest-runner": "^27.4.6", - "jest-runner-groups": "^2.1.0", + "jest": "^29.6.1", "prettier": "^2.4.1", "rimraf": "^3.0.2", "testcontainers": "^9.0.0", - "ts-jest": "^27.1.2", - "ts-jest-resolver": "^2.0.0", + "ts-jest": "^29.1.1", + "ts-jest-resolver": "^2.0.1", "typedoc": "^0.23.0", "typescript": "^4.8.3" }, diff --git a/packages/chain-helpers/package.json b/packages/chain-helpers/package.json index 8c3dd9d67..a3521d0bf 100644 --- a/packages/chain-helpers/package.json +++ b/packages/chain-helpers/package.json @@ -30,7 +30,6 @@ "bugs": "https://github.com/KILTprotocol/sdk-js/issues", "homepage": "https://github.com/KILTprotocol/sdk-js#readme", "devDependencies": { - "@kiltprotocol/testing": "workspace:*", "@polkadot/keyring": "^12.0.0", "rimraf": "^3.0.2", "typescript": "^4.8.3" diff --git a/packages/chain-helpers/src/blockchain/Blockchain.spec.ts b/packages/chain-helpers/src/blockchain/Blockchain.spec.ts index ebe9d5fc1..95a197f5e 100644 --- a/packages/chain-helpers/src/blockchain/Blockchain.spec.ts +++ b/packages/chain-helpers/src/blockchain/Blockchain.spec.ts @@ -5,15 +5,11 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/blockchain - */ - -import { ApiMocks } from '@kiltprotocol/testing' import { ConfigService } from '@kiltprotocol/config' import type { KeyringPair } from '@kiltprotocol/types' import { Crypto, SDKErrors } from '@kiltprotocol/utils' +import { ApiMocks } from '../../../../tests/testUtils' import { IS_FINALIZED, IS_IN_BLOCK, diff --git a/packages/chain-helpers/src/blockchain/SubscriptionPromise.spec.ts b/packages/chain-helpers/src/blockchain/SubscriptionPromise.spec.ts index 3938e17e8..b78ad6e9a 100644 --- a/packages/chain-helpers/src/blockchain/SubscriptionPromise.spec.ts +++ b/packages/chain-helpers/src/blockchain/SubscriptionPromise.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/util - */ - import { SDKErrors } from '@kiltprotocol/utils' import { makeSubscriptionPromise } from './SubscriptionPromise' diff --git a/packages/chain-helpers/src/errorhandling/ErrorHandler.spec.ts b/packages/chain-helpers/src/errorhandling/ErrorHandler.spec.ts index bca610171..e9b27395c 100644 --- a/packages/chain-helpers/src/errorhandling/ErrorHandler.spec.ts +++ b/packages/chain-helpers/src/errorhandling/ErrorHandler.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/errorhandling - */ - import type { ISubmittableResult } from '@kiltprotocol/types' import type { EventRecord } from '@polkadot/types/interfaces' import { ErrorHandler } from './index' diff --git a/packages/config/src/ConfigService.spec.ts b/packages/config/src/ConfigService.spec.ts index 85f3d3c18..bb97365b6 100644 --- a/packages/config/src/ConfigService.spec.ts +++ b/packages/config/src/ConfigService.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/ConfigService - */ - /* eslint-disable dot-notation */ import { ApiPromise, WsProvider } from '@polkadot/api' import { LogLevel, Logger } from 'typescript-logging' diff --git a/packages/core/package.json b/packages/core/package.json index e07c4bad7..b2c36c40f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -30,7 +30,6 @@ "bugs": "https://github.com/KILTprotocol/sdk-js/issues", "homepage": "https://github.com/KILTprotocol/sdk-js#readme", "devDependencies": { - "@kiltprotocol/testing": "workspace:*", "@types/uuid": "^8.0.0", "rimraf": "^3.0.2", "testcontainers": "^9.0.0", diff --git a/packages/core/src/attestation/Attestation.spec.ts b/packages/core/src/attestation/Attestation.spec.ts index 6b17c7fcd..63906f75c 100644 --- a/packages/core/src/attestation/Attestation.spec.ts +++ b/packages/core/src/attestation/Attestation.spec.ts @@ -5,27 +5,23 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/attestation - */ - /* eslint-disable @typescript-eslint/ban-ts-comment */ +import { ConfigService } from '@kiltprotocol/config' import type { - IAttestation, + CTypeHash, DidUri, + IAttestation, ICType, IClaim, ICredential, - CTypeHash, } from '@kiltprotocol/types' import { SDKErrors } from '@kiltprotocol/utils' -import { ApiMocks } from '@kiltprotocol/testing' -import { ConfigService } from '@kiltprotocol/config' +import { ApiMocks } from '../../../../tests/testUtils' import * as Claim from '../claim' -import * as CType from '../ctype' import * as Credential from '../credential' +import * as CType from '../ctype' import * as Attestation from './Attestation' let mockedApi: any diff --git a/packages/core/src/balance/Balance.utils.spec.ts b/packages/core/src/balance/Balance.utils.spec.ts index 1715f72d9..aad9d30e4 100644 --- a/packages/core/src/balance/Balance.utils.spec.ts +++ b/packages/core/src/balance/Balance.utils.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/balance - */ - import { BN } from '@polkadot/util' import type { BalanceNumber, @@ -261,7 +257,7 @@ describe('toFemtoKilt', () => { expect(() => toFemtoKilt('-0.0000001', 'nano').toString() ).toThrowErrorMatchingInlineSnapshot( - `"Too many decimal places: input with unit \\"nano\\" and value \\"-0.0000001\\" exceeds the 6 possible decimal places by 1"` + `"Too many decimal places: input with unit "nano" and value "-0.0000001" exceeds the 6 possible decimal places by 1"` ) expect(toFemtoKilt('-0').toString()).toEqual(new BN('0').toString()) expect(toFemtoKilt('-0.000001', 'nano').toString()).toEqual( diff --git a/packages/core/src/claim/Claim.spec.ts b/packages/core/src/claim/Claim.spec.ts index c13f14e6c..c82d13ef7 100644 --- a/packages/core/src/claim/Claim.spec.ts +++ b/packages/core/src/claim/Claim.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/claim - */ - import { SDKErrors } from '@kiltprotocol/utils' import type { IClaim, ICType, DidUri } from '@kiltprotocol/types' import * as CType from '../ctype' @@ -31,11 +27,11 @@ describe('jsonld', () => { // this is what a kilt claim looks like when expressed in expanded JSON-LD const jsonld = Claim.toJsonLD(claim, true) expect(jsonld).toMatchInlineSnapshot(` - Object { - "https://www.w3.org/2018/credentials#credentialSchema": Object { + { + "https://www.w3.org/2018/credentials#credentialSchema": { "@id": "kilt:ctype:0x90364302f3b6ccfa50f3d384ec0ab6369711e13298ba4a5316d7e2addd5647b2", }, - "https://www.w3.org/2018/credentials#credentialSubject": Object { + "https://www.w3.org/2018/credentials#credentialSubject": { "@id": "did:kilt:4r1WkS3t8rbCb11H8t3tJvGVCynwDXSUBiuGB6sLRHzCLCjs", "kilt:ctype:0x90364302f3b6ccfa50f3d384ec0ab6369711e13298ba4a5316d7e2addd5647b2#address": "homestreet, home", "kilt:ctype:0x90364302f3b6ccfa50f3d384ec0ab6369711e13298ba4a5316d7e2addd5647b2#name": "John", @@ -50,15 +46,15 @@ describe('jsonld', () => { // this is what a kilt claim looks like when expressed in compact JSON-LD const jsonld = Claim.toJsonLD(claim, false) expect(jsonld).toMatchInlineSnapshot(` - Object { - "@context": Object { + { + "@context": { "@vocab": "https://www.w3.org/2018/credentials#", }, - "credentialSchema": Object { + "credentialSchema": { "@id": "kilt:ctype:0x90364302f3b6ccfa50f3d384ec0ab6369711e13298ba4a5316d7e2addd5647b2", }, - "credentialSubject": Object { - "@context": Object { + "credentialSubject": { + "@context": { "@vocab": "kilt:ctype:0x90364302f3b6ccfa50f3d384ec0ab6369711e13298ba4a5316d7e2addd5647b2#", }, "@id": "did:kilt:4r1WkS3t8rbCb11H8t3tJvGVCynwDXSUBiuGB6sLRHzCLCjs", @@ -93,7 +89,7 @@ describe('jsonld', () => { }) expect(hashed.nonceMap).toEqual(nonceMap) expect(hashed.hashes).toMatchInlineSnapshot(` - Array [ + [ "0x3c2ae125a0baf4ed64a30b7ad012810b4622628a2eb5ad32e769e6a1d356d58d", "0x69aae66efd954c3712e91dd2761dab08ea941e6516e7cf6ddf6e3b90ddc5bdf3", "0x8d5736197583931c4e4d3dce0503596760f7a13e8187cc440b7de1edd4370d6a", diff --git a/packages/core/src/credential/Credential.spec.ts b/packages/core/src/credential/Credential.spec.ts index 2d303ce80..ffa25284f 100644 --- a/packages/core/src/credential/Credential.spec.ts +++ b/packages/core/src/credential/Credential.spec.ts @@ -5,12 +5,12 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/credential - */ - /* eslint-disable dot-notation */ +import { randomAsHex } from '@polkadot/util-crypto' + +import { ConfigService } from '@kiltprotocol/config' +import * as Did from '@kiltprotocol/did' import type { DidDocument, DidResourceUri, @@ -26,20 +26,18 @@ import type { SignCallback, } from '@kiltprotocol/types' import { Crypto, SDKErrors, UUID } from '@kiltprotocol/utils' -import * as Did from '@kiltprotocol/did' + import { ApiMocks, createLocalDemoFullDidFromKeypair, KeyTool, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import { ConfigService } from '@kiltprotocol/config' -import { randomAsHex } from '@polkadot/util-crypto' +} from '../../../../tests/testUtils' import * as Attestation from '../attestation' import * as Claim from '../claim' import * as CType from '../ctype' -import * as Credential from './Credential' import { init } from '../kilt' +import * as Credential from './Credential' const testCType = CType.fromProperties('Credential', { a: { type: 'string' }, diff --git a/packages/core/src/ctype/CType.metadata.spec.ts b/packages/core/src/ctype/CType.metadata.spec.ts index ad1cbdef1..25b92e880 100644 --- a/packages/core/src/ctype/CType.metadata.spec.ts +++ b/packages/core/src/ctype/CType.metadata.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/ctype - */ - import { SDKErrors } from '@kiltprotocol/utils' import type { ICType, ICTypeMetadata } from '@kiltprotocol/types' import * as CType from './CType' diff --git a/packages/core/src/ctype/CType.spec.ts b/packages/core/src/ctype/CType.spec.ts index 9c4eb4e6f..bf76272d2 100644 --- a/packages/core/src/ctype/CType.spec.ts +++ b/packages/core/src/ctype/CType.spec.ts @@ -5,14 +5,11 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/ctype - */ - -import { SDKErrors } from '@kiltprotocol/utils' import { ConfigService } from '@kiltprotocol/config' -import { ApiMocks } from '@kiltprotocol/testing' import type { ICType } from '@kiltprotocol/types' +import { SDKErrors } from '@kiltprotocol/utils' + +import { ApiMocks } from '../../../../tests/testUtils' import * as Claim from '../claim' import * as CType from './CType.js' import { CTypeModel, CTypeModelDraft01 } from './CType.schemas' diff --git a/packages/core/src/ctype/Ctype.nested.spec.ts b/packages/core/src/ctype/Ctype.nested.spec.ts index 27639e9ef..95903447d 100644 --- a/packages/core/src/ctype/Ctype.nested.spec.ts +++ b/packages/core/src/ctype/Ctype.nested.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/ctype - */ - import type { ICType, IClaim, IClaimContents } from '@kiltprotocol/types' import { SDKErrors } from '@kiltprotocol/utils' import * as CType from './CType' diff --git a/packages/core/src/delegation/DelegationNode.spec.ts b/packages/core/src/delegation/DelegationNode.spec.ts index f9bbaff8c..dbf3a84e8 100644 --- a/packages/core/src/delegation/DelegationNode.spec.ts +++ b/packages/core/src/delegation/DelegationNode.spec.ts @@ -5,23 +5,21 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/delegation - */ +import { encodeAddress } from '@polkadot/keyring' +import { ConfigService } from '@kiltprotocol/config' import { - IDelegationNode, + CTypeHash, + DidUri, IDelegationHierarchyDetails, + IDelegationNode, Permission, - DidUri, - CTypeHash, } from '@kiltprotocol/types' -import { encodeAddress } from '@polkadot/keyring' -import { ApiMocks } from '@kiltprotocol/testing' -import { ConfigService } from '@kiltprotocol/config' import { Crypto, SDKErrors, ss58Format } from '@kiltprotocol/utils' + +import { ApiMocks } from '../../../../tests/testUtils' import { DelegationNode } from './DelegationNode' -import { permissionsAsBitset, errorCheck } from './DelegationNode.utils' +import { errorCheck, permissionsAsBitset } from './DelegationNode.utils' let mockedApi: any diff --git a/packages/core/src/publicCredential/PublicCredential.spec.ts b/packages/core/src/publicCredential/PublicCredential.spec.ts index 1c3b7dde4..dca0722c6 100644 --- a/packages/core/src/publicCredential/PublicCredential.spec.ts +++ b/packages/core/src/publicCredential/PublicCredential.spec.ts @@ -5,10 +5,10 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/publicCredential - */ +import { BN } from '@polkadot/util' +import { ConfigService } from '@kiltprotocol/config' +import * as Did from '@kiltprotocol/did' import type { AssetDidUri, DidUri, @@ -16,12 +16,9 @@ import type { IClaimContents, IPublicCredential, } from '@kiltprotocol/types' - -import { BN } from '@polkadot/util' -import { ApiMocks } from '@kiltprotocol/testing' import { Crypto } from '@kiltprotocol/utils' -import { ConfigService } from '@kiltprotocol/config' -import * as Did from '@kiltprotocol/did' + +import { ApiMocks } from '../../../../tests/testUtils' import * as CType from '../ctype' import * as PublicCredential from '../publicCredential' import { verifyAgainstCType } from './PublicCredential' diff --git a/packages/core/src/quote/Quote.spec.ts b/packages/core/src/quote/Quote.spec.ts index ab1f4ec5c..8c5701a71 100644 --- a/packages/core/src/quote/Quote.spec.ts +++ b/packages/core/src/quote/Quote.spec.ts @@ -5,30 +5,27 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/quote - */ - +import * as Did from '@kiltprotocol/did' import type { DidDocument, + DidResourceUri, + ICType, IClaim, ICostBreakdown, - ICType, + ICredential, IQuote, IQuoteAgreement, IQuoteAttesterSigned, - ICredential, - DidResourceUri, ResolvedDidKey, } from '@kiltprotocol/types' import { Crypto, SDKErrors } from '@kiltprotocol/utils' -import * as Did from '@kiltprotocol/did' + import { createLocalDemoFullDidFromKeypair, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import * as CType from '../ctype' +} from '../../../../tests/testUtils' import * as Credential from '../credential' +import * as CType from '../ctype' import * as Quote from './Quote' import { QuoteSchema } from './QuoteSchema' diff --git a/packages/did/package.json b/packages/did/package.json index 0b8d65c58..b057624de 100644 --- a/packages/did/package.json +++ b/packages/did/package.json @@ -30,7 +30,6 @@ "bugs": "https://github.com/KILTprotocol/sdk-js/issues", "homepage": "https://github.com/KILTprotocol/sdk-js#readme", "devDependencies": { - "@kiltprotocol/testing": "workspace:*", "rimraf": "^3.0.2", "typescript": "^4.8.3" }, diff --git a/packages/did/src/Did.chain.spec.ts b/packages/did/src/Did.chain.spec.ts index b66abac03..2efc9368d 100644 --- a/packages/did/src/Did.chain.spec.ts +++ b/packages/did/src/Did.chain.spec.ts @@ -5,13 +5,9 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/did - */ - import { ConfigService } from '@kiltprotocol/config' -import { ApiMocks } from '@kiltprotocol/testing' +import { ApiMocks } from '../../../tests/testUtils' import { serviceToChain } from './Did.chain' let api: any diff --git a/packages/did/src/Did.signature.spec.ts b/packages/did/src/Did.signature.spec.ts index 9ff4c3aeb..449e69813 100644 --- a/packages/did/src/Did.signature.spec.ts +++ b/packages/did/src/Did.signature.spec.ts @@ -5,9 +5,7 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/did - */ +import { randomAsHex, randomAsU8a } from '@polkadot/util-crypto' import type { DidDocument, @@ -18,17 +16,17 @@ import type { NewLightDidVerificationKey, SignCallback, } from '@kiltprotocol/types' -import { randomAsHex, randomAsU8a } from '@polkadot/util-crypto' import { Crypto, SDKErrors } from '@kiltprotocol/utils' -import { makeSigningKeyTool } from '@kiltprotocol/testing' -import * as Did from './index.js' + +import { makeSigningKeyTool } from '../../../tests/testUtils' import { - verifyDidSignature, isDidSignature, signatureFromJson, signatureToJson, + verifyDidSignature, } from './Did.signature' -import { resolveKey, keyToResolvedKey } from './DidResolver' +import { keyToResolvedKey, resolveKey } from './DidResolver' +import * as Did from './index.js' jest.mock('./DidResolver') jest diff --git a/packages/did/src/DidDetails/DidDetails.spec.ts b/packages/did/src/DidDetails/DidDetails.spec.ts index 1ad1ba2fd..26302a1f6 100644 --- a/packages/did/src/DidDetails/DidDetails.spec.ts +++ b/packages/did/src/DidDetails/DidDetails.spec.ts @@ -9,10 +9,6 @@ import { DidDocument, DidKey, DidServiceEndpoint } from '@kiltprotocol/types' import { getService, getKey, getKeys } from './DidDetails' -/** - * @group unit/did - */ - const minimalDid: DidDocument = { uri: 'did:kilt:4r1WkS3t8rbCb11H8t3tJvGVCynwDXSUBiuGB6sLRHzCLCjs', authentication: [ diff --git a/packages/did/src/DidDetails/FullDidDetails.spec.ts b/packages/did/src/DidDetails/FullDidDetails.spec.ts index a8a2595d2..3f8004931 100644 --- a/packages/did/src/DidDetails/FullDidDetails.spec.ts +++ b/packages/did/src/DidDetails/FullDidDetails.spec.ts @@ -8,25 +8,21 @@ import { BN } from '@polkadot/util' import { randomAsHex } from '@polkadot/util-crypto' +import { ConfigService } from '@kiltprotocol/config' import type { DidDocument, KiltKeyringPair, SignCallback, SubmittableExtrinsic, } from '@kiltprotocol/types' + import { ApiMocks, createLocalDemoFullDidFromKeypair, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import { ConfigService } from '@kiltprotocol/config' - -import * as Did from './index.js' +} from '../../../../tests/testUtils' import { generateDidAuthenticatedTx } from '../Did.chain.js' - -/** - * @group unit/did - */ +import * as Did from './index.js' const augmentedApi = ApiMocks.createAugmentedApi() const mockedApi: any = ApiMocks.getMockedApi() diff --git a/packages/did/src/DidDetails/LightDidDetails.spec.ts b/packages/did/src/DidDetails/LightDidDetails.spec.ts index ed467d349..2a7a23a92 100644 --- a/packages/did/src/DidDetails/LightDidDetails.spec.ts +++ b/packages/did/src/DidDetails/LightDidDetails.spec.ts @@ -10,10 +10,6 @@ import { Crypto } from '@kiltprotocol/utils' import * as Did from '../index.js' -/** - * @group unit/did - */ - /* * Functions tested: * - createLightDidDocument diff --git a/packages/did/src/DidDocumentExporter/DidDocumentExporter.spec.ts b/packages/did/src/DidDocumentExporter/DidDocumentExporter.spec.ts index b7d9c22d1..4a957c40d 100644 --- a/packages/did/src/DidDocumentExporter/DidDocumentExporter.spec.ts +++ b/packages/did/src/DidDocumentExporter/DidDocumentExporter.spec.ts @@ -21,10 +21,6 @@ import { exportToDidDocument } from './DidDocumentExporter.js' import * as Did from '../index.js' import { KILT_DID_CONTEXT_URL, W3C_DID_CONTEXT_URL } from '../index.js' -/** - * @group unit/did - */ - const did: DidUri = 'did:kilt:4r1WkS3t8rbCb11H8t3tJvGVCynwDXSUBiuGB6sLRHzCLCjs' function generateAuthenticationKey(): DidVerificationKey { @@ -231,42 +227,42 @@ describe('When exporting a DID Document from a light DID', () => { const didDoc = exportToDidDocument(lightDid, 'application/json') expect(didDoc).toMatchInlineSnapshot(` - Object { - "authentication": Array [ + { + "authentication": [ "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#authentication", ], "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf", - "keyAgreement": Array [ + "keyAgreement": [ "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#encryption", ], - "service": Array [ - Object { + "service": [ + { "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#id-1", - "serviceEndpoint": Array [ + "serviceEndpoint": [ "x:url-id-1", ], - "type": Array [ + "type": [ "type-id-1", ], }, - Object { + { "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#id-2", - "serviceEndpoint": Array [ + "serviceEndpoint": [ "x:url-id-2", ], - "type": Array [ + "type": [ "type-id-2", ], }, ], - "verificationMethod": Array [ - Object { + "verificationMethod": [ + { "controller": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf", "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#authentication", "publicKeyBase58": "11111111111111111111111111111111", "type": "Ed25519VerificationKey2018", }, - Object { + { "controller": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf", "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#encryption", "publicKeyBase58": "11111111111111111111111111111111", @@ -281,46 +277,46 @@ describe('When exporting a DID Document from a light DID', () => { const didDoc = exportToDidDocument(lightDid, 'application/ld+json') expect(didDoc).toMatchInlineSnapshot(` - Object { - "@context": Array [ + { + "@context": [ "https://www.w3.org/ns/did/v1", "ipfs://QmU7QkuTCPz7NmD5bD7Z7mQVz2UsSPaEK58B5sYnjnPRNW", ], - "authentication": Array [ + "authentication": [ "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#authentication", ], "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf", - "keyAgreement": Array [ + "keyAgreement": [ "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#encryption", ], - "service": Array [ - Object { + "service": [ + { "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#id-1", - "serviceEndpoint": Array [ + "serviceEndpoint": [ "x:url-id-1", ], - "type": Array [ + "type": [ "type-id-1", ], }, - Object { + { "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#id-2", - "serviceEndpoint": Array [ + "serviceEndpoint": [ "x:url-id-2", ], - "type": Array [ + "type": [ "type-id-2", ], }, ], - "verificationMethod": Array [ - Object { + "verificationMethod": [ + { "controller": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf", "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#authentication", "publicKeyBase58": "11111111111111111111111111111111", "type": "Ed25519VerificationKey2018", }, - Object { + { "controller": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf", "id": "did:kilt:light:014nv4phaKc4EcwENdRERuMF79ZSSB5xvnAk3zNySSbVbXhSwS:z16QMTH1Pc4A99Und9RZvzyikFR73Aepx9exPZPgXJX18upeuSpgXeat2LsjEQpXUBUtaRtdpSXpv42KitoFqySLjiuXVcghuoWviPci3QrnQMeD161howeWdF5GTbBFRHSVXpEu9PWbtUEsnLfDf2NQgu4LmktN8Ti6CAmdQtQiVNbJkB7TnyzLiJJ27rYayWj15mjJ9EoNyyu3rDJGomi2vUgt2DiSUXaJbnSzuuFf#encryption", "publicKeyBase58": "11111111111111111111111111111111", diff --git a/packages/did/src/DidResolver/DidResolver.spec.ts b/packages/did/src/DidResolver/DidResolver.spec.ts index 236b01c25..4a1c21280 100644 --- a/packages/did/src/DidResolver/DidResolver.spec.ts +++ b/packages/did/src/DidResolver/DidResolver.spec.ts @@ -8,6 +8,7 @@ import { BN } from '@polkadot/util' import { base58Encode } from '@polkadot/util-crypto' +import { ConfigService } from '@kiltprotocol/config' import type { ConformingDidKey, ConformingDidServiceEndpoint, @@ -26,23 +27,18 @@ import type { UriFragment, } from '@kiltprotocol/types' import { Crypto } from '@kiltprotocol/utils' -import { ApiMocks, makeSigningKeyTool } from '@kiltprotocol/testing' -import { ConfigService } from '@kiltprotocol/config' -import { getFullDidUriFromKey } from '../Did.utils' +import { ApiMocks, makeSigningKeyTool } from '../../../../tests/testUtils' import { linkedInfoFromChain } from '../Did.rpc.js' +import { getFullDidUriFromKey } from '../Did.utils' +import * as Did from '../index.js' import { resolve, resolveCompliant, resolveKey, resolveService, } from './index.js' -import * as Did from '../index.js' - -/** - * @group unit/did - */ const addressWithAuthenticationKey = '4r1WkS3t8rbCb11H8t3tJvGVCynwDXSUBiuGB6sLRHzCLCjs' diff --git a/packages/messaging/package.json b/packages/messaging/package.json index a4e269aea..b0c6837bb 100644 --- a/packages/messaging/package.json +++ b/packages/messaging/package.json @@ -30,7 +30,6 @@ "bugs": "https://github.com/KILTprotocol/sdk-js/issues", "homepage": "https://github.com/KILTprotocol/sdk-js#readme", "devDependencies": { - "@kiltprotocol/testing": "workspace:*", "rimraf": "^3.0.2", "typescript": "^4.8.3" }, diff --git a/packages/messaging/src/Message.spec.ts b/packages/messaging/src/Message.spec.ts index e1ce56ae6..ea26bbaa1 100644 --- a/packages/messaging/src/Message.spec.ts +++ b/packages/messaging/src/Message.spec.ts @@ -5,28 +5,32 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/messaging - */ +import { u8aToHex } from '@polkadot/util' +import { + Attestation, + CType, + Claim, + Credential, + Quote, +} from '@kiltprotocol/core' +import * as Did from '@kiltprotocol/did' import type { DidDocument, DidResourceUri, DidUri, - IEncryptedMessage, - IQuote, - IRequestAttestation, - ISubmitAttestation, - ISubmitCredential, - ResolvedDidKey, IAcceptCredential, IAttestation, - IClaim, ICType, + IClaim, + ICredential, + ICredentialPresentation, IDelegationData, + IEncryptedMessage, IInformCreateDelegation, IInformDelegationCreation, IMessage, + IQuote, IQuoteAgreement, IQuoteAttesterSigned, IRejectAcceptDelegation, @@ -34,40 +38,33 @@ import type { IRejectCredential, IRejectTerms, IRequestAcceptDelegation, + IRequestAttestation, IRequestAttestationContent, IRequestCredential, IRequestCredentialContent, IRequestDelegationApproval, - ICredential, IRequestTerms, ISubmitAcceptDelegation, + ISubmitAttestation, ISubmitAttestationContent, + ISubmitCredential, ISubmitDelegationApproval, ISubmitTerms, ITerms, MessageBody, PartialClaim, - ICredentialPresentation, + ResolvedDidKey, } from '@kiltprotocol/types' +import { Crypto, SDKErrors } from '@kiltprotocol/utils' + import { - Quote, - Credential, - Attestation, - Claim, - CType, -} from '@kiltprotocol/core' -import * as Did from '@kiltprotocol/did' -import { + KeyTool, + KeyToolSignCallback, + createLocalDemoFullDidFromKeypair, createLocalDemoFullDidFromLightDid, makeEncryptionKeyTool, makeSigningKeyTool, - createLocalDemoFullDidFromKeypair, - KeyTool, - KeyToolSignCallback, -} from '@kiltprotocol/testing' -import { u8aToHex } from '@polkadot/util' -import { Crypto, SDKErrors } from '@kiltprotocol/utils' - +} from '../../../tests/testUtils' import * as Message from './Message' describe('Messaging', () => { diff --git a/packages/testing/package.json b/packages/testing/package.json deleted file mode 100644 index 1a8542801..000000000 --- a/packages/testing/package.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "@kiltprotocol/testing", - "private": true, - "version": "0.33.2-5", - "description": "", - "main": "./lib/cjs/index.js", - "module": "./lib/esm/index.js", - "types": "./lib/cjs/index.d.ts", - "exports": { - ".": { - "import": "./lib/esm/index.js", - "require": "./lib/cjs/index.js" - } - }, - "files": [ - "lib/**/*" - ], - "scripts": { - "clean": "rimraf ./lib", - "build": "yarn clean && yarn build:ts", - "build:ts": "yarn build:cjs && yarn build:esm", - "build:cjs": "tsc --declaration -p tsconfig.build.json && echo '{\"type\":\"commonjs\"}' > ./lib/cjs/package.json", - "build:esm": "tsc --declaration -p tsconfig.esm.json && echo '{\"type\":\"module\"}' > ./lib/esm/package.json" - }, - "repository": "github:kiltprotocol/sdk-js", - "engines": { - "node": ">=16.0" - }, - "author": "", - "license": "BSD-4-Clause", - "bugs": "https://github.com/KILTprotocol/sdk-js/issues", - "homepage": "https://github.com/KILTprotocol/sdk-js#readme", - "dependencies": { - "@kiltprotocol/chain-helpers": "workspace:*", - "@kiltprotocol/config": "workspace:*", - "@kiltprotocol/did": "workspace:*", - "@kiltprotocol/sdk-js": "workspace:*", - "@kiltprotocol/type-definitions": "workspace:*", - "@kiltprotocol/types": "workspace:*", - "@kiltprotocol/utils": "workspace:*", - "@polkadot/api": "^10.4.0", - "@polkadot/keyring": "^12.0.0", - "@polkadot/types": "^10.4.0", - "@polkadot/util": "^12.0.0", - "@polkadot/util-crypto": "^12.0.0", - "tweetnacl": "^1.0.3", - "uuid": "^9.0.0" - }, - "devDependencies": { - "rimraf": "^3.0.2", - "typescript": "^4.8.3" - } -} diff --git a/packages/testing/tsconfig.build.json b/packages/testing/tsconfig.build.json deleted file mode 100644 index d59aa31ce..000000000 --- a/packages/testing/tsconfig.build.json +++ /dev/null @@ -1,17 +0,0 @@ -{ - "extends": "../../tsconfig.build.json", - - "compilerOptions": { - "module": "CommonJS", - "outDir": "./lib/cjs" - }, - - "include": [ - "src/**/*.ts", "src/**/*.js" - ], - - "exclude": [ - "coverage", - "**/*.spec.ts", - ] -} diff --git a/packages/testing/tsconfig.esm.json b/packages/testing/tsconfig.esm.json deleted file mode 100644 index e1f3b73b6..000000000 --- a/packages/testing/tsconfig.esm.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "extends": "./tsconfig.build.json", - "compilerOptions": { - "module": "ES6", - "outDir": "./lib/esm" - } -} diff --git a/packages/utils/src/Crypto.spec.ts b/packages/utils/src/Crypto.spec.ts index de8f3d621..fd08e586a 100644 --- a/packages/utils/src/Crypto.spec.ts +++ b/packages/utils/src/Crypto.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/utils - */ - import * as string from '@polkadot/util/string' import nacl from 'tweetnacl' import * as Crypto from './Crypto' @@ -97,7 +93,7 @@ describe('helper functions', () => { hashed = Crypto.hashStatements(statements, { nonceGenerator: () => '' }) expect(hashed.map((i) => i.digest)).toEqual(digests) expect(hashed.map((i) => i.saltedHash)).toMatchInlineSnapshot(` - Array [ + [ "0x3d4b9478848e85771d9d678f2d80966bf9ea36f0d05b44fe5b23433e14a3eace", "0x56c8f25bc8a9a8921c756c41f47efceb12c8129a9569456f7d80955bfcec2dcf", "0x46ee56523ea5289f05709c26f6be6b08f364a3f2d6a5a8b6cfb2839bfe6a506e", @@ -112,7 +108,7 @@ describe('helper functions', () => { }) expect(hashed.map((i) => i.digest)).toEqual(digests) expect(hashed.map((i) => i.saltedHash)).toMatchInlineSnapshot(` - Array [ + [ "0x7126bd9e273ae6a1b2cfdc5f987b0f862cf2db77fea9b017963fec83b328784d", "0xda617d15abd22984c2f1927f4e23a101696b7495c83ac178bbb91818ec102117", "0x4e31eef9054d0d8682707880a414b86fafaa963b19220d03273eae764ad0bc1d", diff --git a/packages/utils/src/DataUtils.spec.ts b/packages/utils/src/DataUtils.spec.ts index 19dfb5cae..c53cfc4c5 100644 --- a/packages/utils/src/DataUtils.spec.ts +++ b/packages/utils/src/DataUtils.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/utils - */ - import { encodeAddress } from '@polkadot/keyring' import type { KiltAddress } from '@kiltprotocol/types' import { SDKErrors, ss58Format } from './index' diff --git a/packages/utils/src/UUID.spec.ts b/packages/utils/src/UUID.spec.ts index 5ae83c706..fdc61a48a 100644 --- a/packages/utils/src/UUID.spec.ts +++ b/packages/utils/src/UUID.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/utils - */ - import * as UUID from './UUID' describe('UUID', () => { diff --git a/packages/vc-export/package.json b/packages/vc-export/package.json index e74803d69..e3b4d3935 100644 --- a/packages/vc-export/package.json +++ b/packages/vc-export/package.json @@ -32,7 +32,6 @@ "devDependencies": { "@digitalbazaar/ed25519-signature-2020": "^5.2.0", "@digitalbazaar/vc": "^6.0.1", - "@kiltprotocol/testing": "workspace:*", "rimraf": "^3.0.2", "typescript": "^4.8.3" }, diff --git a/packages/vc-export/src/CAIP/CAIP.spec.ts b/packages/vc-export/src/CAIP/CAIP.spec.ts index 1c10ffbdd..4ce8a3e01 100644 --- a/packages/vc-export/src/CAIP/CAIP.spec.ts +++ b/packages/vc-export/src/CAIP/CAIP.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/caip - */ - import { spiritnetGenesisHash } from '../constants' import { chainIdFromGenesis, parse as parseCaip2 } from './caip2' import { parse as parseCaip19 } from './caip19' @@ -19,7 +15,7 @@ it('parses a CAIP-2 chain id', () => { `"polkadot:411f057b9107718c9624d6aa4a3f23c1"` ) expect(parseCaip2(chainId)).toMatchInlineSnapshot(` - Object { + { "chainNamespace": "polkadot", "chainReference": "411f057b9107718c9624d6aa4a3f23c1", } @@ -37,7 +33,7 @@ it('throws if CAIP-2 identifier not valid', () => { it('parses a CAIP-19 asset id', () => { expect(parseCaip19('polkadot:1234567890abcdef/jabba:dabba/asset10')) .toMatchInlineSnapshot(` - Object { + { "assetId": "jabba:dabba/asset10", "assetInstance": "asset10", "assetNamespace": "jabba", diff --git a/packages/vc-export/src/CTypeVerification.spec.ts b/packages/vc-export/src/CTypeVerification.spec.ts index f526e045f..22530a98d 100644 --- a/packages/vc-export/src/CTypeVerification.spec.ts +++ b/packages/vc-export/src/CTypeVerification.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/vc-export - */ - import { CType } from '@kiltprotocol/core' import { randomAsHex, randomAsU8a } from '@polkadot/util-crypto' import { diff --git a/packages/vc-export/src/DidJwt.spec.ts b/packages/vc-export/src/DidJwt.spec.ts index 3cace4f82..9bae27a3f 100644 --- a/packages/vc-export/src/DidJwt.spec.ts +++ b/packages/vc-export/src/DidJwt.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/vc-export - */ - import { hexToU8a } from '@polkadot/util' import { ed25519PairFromSeed } from '@polkadot/util-crypto' import type { Keypair } from '@polkadot/util-crypto/types' diff --git a/packages/vc-export/src/KiltAttestationProofV1.spec.ts b/packages/vc-export/src/KiltAttestationProofV1.spec.ts index b066d8dca..a82c431e6 100644 --- a/packages/vc-export/src/KiltAttestationProofV1.spec.ts +++ b/packages/vc-export/src/KiltAttestationProofV1.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/vc-export - */ - import { encodeAddress, randomAsHex, randomAsU8a } from '@polkadot/util-crypto' import { u8aToHex, u8aToU8a } from '@polkadot/util' diff --git a/packages/vc-export/src/Presentation.spec.ts b/packages/vc-export/src/Presentation.spec.ts index 2dae8711b..02560beb0 100644 --- a/packages/vc-export/src/Presentation.spec.ts +++ b/packages/vc-export/src/Presentation.spec.ts @@ -5,44 +5,40 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/vc-export - */ - +import type { ApiPromise } from '@polkadot/api' +import type { Codec } from '@polkadot/types/types' import { hexToU8a } from '@polkadot/util' import { - secp256k1PairFromSeed, ed25519PairFromSeed, - randomAsU8a, encodeAddress, + randomAsU8a, + secp256k1PairFromSeed, } from '@polkadot/util-crypto' -import type { ApiPromise } from '@polkadot/api' import type { Keypair } from '@polkadot/util-crypto/types' -import type { Codec } from '@polkadot/types/types' import { init } from '@kiltprotocol/core' -import { Crypto } from '@kiltprotocol/utils' import { getFullDidUri, getFullDidUriFromKey } from '@kiltprotocol/did' -import { ApiMocks } from '@kiltprotocol/testing' import type { DidDocument, DidVerificationKey, ResolvedDidKey, VerificationKeyType, } from '@kiltprotocol/types' +import { Crypto } from '@kiltprotocol/utils' +import { ApiMocks } from '../../../tests/testUtils' +import { + create as createJWT, + credentialFromPayload, + credentialToPayload, + verify as verifyJWT, +} from './DidJwt' import { create as createPresentation, signAsJwt, verifySignedAsJwt, } from './Presentation' import type { VerifiableCredential, VerifiablePresentation } from './types' -import { - create as createJWT, - verify as verifyJWT, - credentialToPayload, - credentialFromPayload, -} from './DidJwt' const credential = { '@context': [ diff --git a/packages/vc-export/src/exportToVerifiableCredential.spec.ts b/packages/vc-export/src/exportToVerifiableCredential.spec.ts index 535121e14..e5eb3862b 100644 --- a/packages/vc-export/src/exportToVerifiableCredential.spec.ts +++ b/packages/vc-export/src/exportToVerifiableCredential.spec.ts @@ -5,27 +5,23 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/vc-export - */ - -import { randomAsU8a } from '@polkadot/util-crypto' import { hexToU8a, u8aConcat, u8aToU8a } from '@polkadot/util' +import { randomAsU8a } from '@polkadot/util-crypto' import { Credential } from '@kiltprotocol/core' -import { ApiMocks } from '@kiltprotocol/testing' import type { IAttestation, ICType, ICredential } from '@kiltprotocol/types' +import { ApiMocks } from '../../../tests/testUtils' import { credentialSchema, validateStructure as validateCredentialStructure, } from './KiltCredentialV1' -import { exportICredentialToVc } from './fromICredential' +import { credentialIdFromRootHash } from './common' import { DEFAULT_CREDENTIAL_CONTEXTS, DEFAULT_CREDENTIAL_TYPES, } from './constants' -import { credentialIdFromRootHash } from './common' +import { exportICredentialToVc } from './fromICredential' export const mockedApi = ApiMocks.createAugmentedApi() diff --git a/packages/vc-export/src/vc-js/suites/KiltAttestationProofV1.spec.ts b/packages/vc-export/src/vc-js/suites/KiltAttestationProofV1.spec.ts index 33bd2262c..03272e689 100644 --- a/packages/vc-export/src/vc-js/suites/KiltAttestationProofV1.spec.ts +++ b/packages/vc-export/src/vc-js/suites/KiltAttestationProofV1.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/vc-js - */ - import { hexToU8a, u8aEq } from '@polkadot/util' // @ts-expect-error not a typescript module import * as vcjs from '@digitalbazaar/vc' @@ -574,7 +570,7 @@ describe('issuance', () => { } ) ).rejects.toThrowErrorMatchingInlineSnapshot( - `"The document to be signed must contain this suite's @context, \\"https://www.kilt.io/contexts/credentials\\"."` + `"The document to be signed must contain this suite's @context, "https://www.kilt.io/contexts/credentials"."` ) }) diff --git a/packages/vc-export/src/vc-js/suites/Sr25519Signature2020.spec.ts b/packages/vc-export/src/vc-js/suites/Sr25519Signature2020.spec.ts index 85847f46f..b7b94f442 100644 --- a/packages/vc-export/src/vc-js/suites/Sr25519Signature2020.spec.ts +++ b/packages/vc-export/src/vc-js/suites/Sr25519Signature2020.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/vc-js - */ - // @ts-expect-error not a typescript module import * as vcjs from '@digitalbazaar/vc' diff --git a/packages/vc-export/src/vc-js/suites/Sr25519VerificationKey2020.spec.ts b/packages/vc-export/src/vc-js/suites/Sr25519VerificationKey2020.spec.ts index a4afafa9a..2e717b1c4 100644 --- a/packages/vc-export/src/vc-js/suites/Sr25519VerificationKey2020.spec.ts +++ b/packages/vc-export/src/vc-js/suites/Sr25519VerificationKey2020.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group unit/vc-js - */ - import { Keyring } from '@kiltprotocol/utils' import { hexToU8a } from '@polkadot/util' import { randomAsU8a, signatureVerify } from '@polkadot/util-crypto' @@ -35,7 +31,7 @@ it('generates a key', async () => { expect( key.export({ publicKey: true, privateKey: true, includeContext: true }) ).toMatchInlineSnapshot(` - Object { + { "@context": "https://www.kilt.io/contexts/credentials", "controller": "Alice", "id": "Alice/key", diff --git a/packages/testing/src/BreakingChanges.spec.ts b/tests/breakingChanges/BreakingChanges.spec.ts similarity index 98% rename from packages/testing/src/BreakingChanges.spec.ts rename to tests/breakingChanges/BreakingChanges.spec.ts index 6890ec11a..2c73a6772 100644 --- a/packages/testing/src/BreakingChanges.spec.ts +++ b/tests/breakingChanges/BreakingChanges.spec.ts @@ -5,10 +5,6 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group breaking - */ - import { Attestation, Claim, @@ -26,7 +22,8 @@ import { } from '@kiltprotocol/sdk-js' import nacl from 'tweetnacl' import { v4 } from 'uuid' -import { makeEncryptionKeyTool } from './TestUtils' + +import { makeEncryptionKeyTool } from '../testUtils/index.js' jest.mock('uuid') jest.mocked(v4).mockReturnValue('1ee1307c-9e65-475d-9061-0b5bfd86d2f7') diff --git a/packages/testing/src/__snapshots__/BreakingChanges.spec.ts.snap b/tests/breakingChanges/__snapshots__/BreakingChanges.spec.ts.snap similarity index 92% rename from packages/testing/src/__snapshots__/BreakingChanges.spec.ts.snap rename to tests/breakingChanges/__snapshots__/BreakingChanges.spec.ts.snap index 4fbd05fa3..aed34b2a8 100644 --- a/packages/testing/src/__snapshots__/BreakingChanges.spec.ts.snap +++ b/tests/breakingChanges/__snapshots__/BreakingChanges.spec.ts.snap @@ -1,9 +1,9 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`Breaking Changes Light DID does not break the light did uri generation 2`] = ` -Object { - "authentication": Array [ - Object { +{ + "authentication": [ + { "id": "#authentication", "publicKey": Uint8Array [ 132, @@ -42,8 +42,8 @@ Object { "type": "sr25519", }, ], - "keyAgreement": Array [ - Object { + "keyAgreement": [ + { "id": "#encryption", "publicKey": Uint8Array [ 179, @@ -82,13 +82,13 @@ Object { "type": "x25519", }, ], - "service": Array [ - Object { + "service": [ + { "id": "#1234", - "serviceEndpoint": Array [ + "serviceEndpoint": [ "https://ipfs.io/ipfs/QmNUAwg7JPK9nnuZiUri5nDaqLHqUFtNoZYtfD22Q6w3c8", ], - "type": Array [ + "type": [ "KiltPublishedCredentialCollectionV1", ], }, @@ -98,9 +98,9 @@ Object { `; exports[`Breaking Changes Messages does not break Message & EncryptedMessage structure 1`] = ` -Object { - "body": Object { - "content": Object { +{ + "body": { + "content": { "cTypeHash": "0x1234", }, "type": "request-terms", @@ -113,7 +113,7 @@ Object { `; exports[`Breaking Changes Messages does not break Message & EncryptedMessage structure 2`] = ` -Object { +{ "ciphertext": "0x8edac73d2230d66ba1a177db550773afa4f2d914786050424594c89f07ccbc2f643df95ba030281079a92215c66d76a74b39e6013cb8a5e1459a6853fdbfb522bff1295cbf9e5e2d6947de5974dafe6de32e6d42e2c349f07b5bb934a504d0a227d502e920cadfae44869ed041d86916cee71e0619650f15a1a04f27751f0839e8f3c629d626a54f489c4170b3ffefe118039925124acba91c097bf4d8c582f26c8a3b0f1dba93bf8da6b8f2a2a4303ac529c7028aec026f6baeb1ae95d90884f12890f4bc2d535247a170dd68a6828573e36502ef0d99fb4cdb0750b84902876009cca8662f952746cad88c9a8285b8be42ad349c67de540fb92e122d52c2ffa4c8e229076990ce60b13b64ddb6d769017262597bb33085cb8e09d5189f2077e48ece3c0100a1aa11935237a1ee3ef80200c4ccf92bb41d75c83238ac18360c6ce81df45ade968a59aff9fddf6a475fd976f581c267ddc377a1a239997ccdfd92f0e8d3a6b1b76f520e1c25ea7e3954ed555eb4ac02d68562cd1f031b724a063606c95d528c91b80ea49786303d0a6e7201e16f3e0d5571f205069da31874ed8e6c5d380cce070b2cb96961d2f594cc4a5dffc94e3782bf6a1da3bbc1af2f773e79250e09c3206b0e0c7a08a001393526220831f3735c07bf68c8ccca07260b8cb1acbb66163c73af0d783eb035a99add5d604f10916432846279524e8741b57961d52583ced5b79943c986a9f28d99be029b00e5688afcb3731152861a37ddf5e70c95dd64e2d765a4d0a662f93d16a3650c505dc2e4a048b0d585fadc8c4efa23360e81292c2ae88027068deed4ff3cd97d961b58afd95728aa4ce03340ebf13a4bc7d4b6f8b5e69a7a3ecb18c79a06946466d0b29ca0bd00c47d1256fe564b48eac37b389c246d9b556dc67921e27fb6a8aeb93953c1947834432e5ade8117bcad7173f9d8b43ebf4cce89789744d55215a8bbdfd9a7222cafccc02a3c62e5a26794ef21d1bba441f0aa9ca3e077f32e06daa22264345b66dbf34dbb9219434ad7c21b386de7587c3612fc36b63bdf650206a191fea82855a5181942c151c8a90741c8a930c570350f863ca448d908f7f1a098b0521a14c9c49bf99bd1715ebed5a93b3bc7e04fcd845efcc564448d0426e21496ca124ca8c96a1a598e90529d65fc33d64b937b16a077eaa052b10d34ef91a321a2c0476601318a7eaecc8308d618d82db10f8978c4310e1384bfb043d0a12c20325c4ceef36e144a9f2fb94d0dc546b5b4cbce162569e8e40454d219750eb85758555547c0900874bd2ca7c561aeab4e2b5e26130d91e22196fd138e8e73f6414c50c08a6f981e8a1ed244c2ee2f5c4d446d793e0039b5f75ea40215ebb2e2bcf8fae608173a00ccc24e016176417bbac0ce5682932341fc3a2a106a4f6d83dbf17a81fc7d0e5cbe52c92ece5789e8e8b3", "nonce": "0x2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a2a", "receivedAt": undefined, @@ -123,7 +123,7 @@ Object { `; exports[`Breaking Changes Messages does not break for attestation flow: attestation 1`] = ` -Object { +{ "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", "claimHash": "0x453559279a1816c20673194e21eb72f121e7b31f5b33ea3a8d3264d6f4d319ac", "delegationId": null, @@ -133,9 +133,9 @@ Object { `; exports[`Breaking Changes Messages does not break for attestation flow: claim 1`] = ` -Object { +{ "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", - "contents": Object { + "contents": { "name": "Bob", }, "owner": "did:kilt:light:004rn1Xps9QSMiAb2aMoKQbAred94wh1iLjGmNBYy1FVCS81ry:z1msTRicERqs59nwMvp3yzMRBhRatQoZZaiSZfyN7TzqeEs1bHHTCH3RURC6zWk5B8HXGZThZos9PJFJrkiYchNGbAGQRKSKucBVDVoXBLDyEm4P1dsco9wyoaWa5kkFw6DZgnKrTJg8Y8iCy7k2yo8GeMXAuR8qoBFFXj7Up7DxKJrMoQudvFHTy2uk2HPNfqkzJX17Wqsny1MKHD82eC3TcjrGCkhMZy3NmzkySmLsDmmHnG2csZ5vvefFRFZ1hSKfUtcV8EnLd3zozsiZByaLrED2XVbuHqPVzqcnrCJF8fSm49NcGDgsQkwnQwbuKfMkov9WwJoxhDSYG6e7WP", @@ -143,77 +143,77 @@ Object { `; exports[`Breaking Changes Messages does not break for attestation flow: credential 1`] = ` -Object { - "claim": Object { +{ + "claim": { "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", - "contents": Object { + "contents": { "name": "Bob", }, "owner": "did:kilt:light:004rzcHqKvv6TbsA46VpG53JrvdzRr6ccyboUNeCGTvDw2AozU:z1msTRicERqs59nwMvp3yzMRBhQhYShb1vEhbpWo5ZbqVAgi2UFELJk7MbUSeEfBdAVsJhdqcEAhXxH4YrV5nwgTYjFYszWKLFnYvSUhgZ7teDiLt1FbAo484ihnagUKQkE46o3fqSv52WgM6VatrEqetD3ekokxFtz4yn2vFYPdDMPmKE3cVxdKqPMa3Ewh6k46SENeEDZFLg1L8Yi73ZVEA9AwDg2RDuBDnpjetxBC6U5qMKVfqbh1rjgxpubpSj6sppHDq8xZ4LDU2bs1a9g6qcWJjkrtS69t3PTFZv5Ey84epnvbXEm8hsVnzTKsY6LbQmCiVqwKWUPUwXpj83", }, - "claimHashes": Array [ + "claimHashes": [ "0x901805bb5659ecf21cc79d50a98021d49eb83ee136a2609d4377dd615a271a78", "0xdaff2311c04ea4d2c16e9bd3dc4debba9822e5c4cfb53e36b48f090036169575", ], - "claimNonceMap": Object { + "claimNonceMap": { "0x499856031d06ddecbda0c1e0f1c0de4f53f614732f205190d81d0c76e793bdf0": "1ee1307c-9e65-475d-9061-0b5bfd86d2f7", "0x721cf4dd222afba0b79565332ac711cb634762052c3c2d45434f53f465d030f7": "1ee1307c-9e65-475d-9061-0b5bfd86d2f7", }, "delegationId": null, - "legitimations": Array [], + "legitimations": [], "rootHash": "0x453559279a1816c20673194e21eb72f121e7b31f5b33ea3a8d3264d6f4d319ac", } `; exports[`Breaking Changes Messages does not break for attestation flow: presentation 1`] = ` -Object { - "claim": Object { +{ + "claim": { "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", - "contents": Object { + "contents": { "name": "Bob", }, "owner": "did:kilt:light:004rzcHqKvv6TbsA46VpG53JrvdzRr6ccyboUNeCGTvDw2AozU:z1msTRicERqs59nwMvp3yzMRBhQhYShb1vEhbpWo5ZbqVAgi2UFELJk7MbUSeEfBdAVsJhdqcEAhXxH4YrV5nwgTYjFYszWKLFnYvSUhgZ7teDiLt1FbAo484ihnagUKQkE46o3fqSv52WgM6VatrEqetD3ekokxFtz4yn2vFYPdDMPmKE3cVxdKqPMa3Ewh6k46SENeEDZFLg1L8Yi73ZVEA9AwDg2RDuBDnpjetxBC6U5qMKVfqbh1rjgxpubpSj6sppHDq8xZ4LDU2bs1a9g6qcWJjkrtS69t3PTFZv5Ey84epnvbXEm8hsVnzTKsY6LbQmCiVqwKWUPUwXpj83", }, - "claimHashes": Array [ + "claimHashes": [ "0x901805bb5659ecf21cc79d50a98021d49eb83ee136a2609d4377dd615a271a78", "0xdaff2311c04ea4d2c16e9bd3dc4debba9822e5c4cfb53e36b48f090036169575", ], - "claimNonceMap": Object { + "claimNonceMap": { "0x499856031d06ddecbda0c1e0f1c0de4f53f614732f205190d81d0c76e793bdf0": "1ee1307c-9e65-475d-9061-0b5bfd86d2f7", "0x721cf4dd222afba0b79565332ac711cb634762052c3c2d45434f53f465d030f7": "1ee1307c-9e65-475d-9061-0b5bfd86d2f7", }, - "claimerSignature": Object { + "claimerSignature": { "challenge": "0xCAFE", "keyUri": "did:kilt:light:004rzcHqKvv6TbsA46VpG53JrvdzRr6ccyboUNeCGTvDw2AozU:z1msTRicERqs59nwMvp3yzMRBhQhYShb1vEhbpWo5ZbqVAgi2UFELJk7MbUSeEfBdAVsJhdqcEAhXxH4YrV5nwgTYjFYszWKLFnYvSUhgZ7teDiLt1FbAo484ihnagUKQkE46o3fqSv52WgM6VatrEqetD3ekokxFtz4yn2vFYPdDMPmKE3cVxdKqPMa3Ewh6k46SENeEDZFLg1L8Yi73ZVEA9AwDg2RDuBDnpjetxBC6U5qMKVfqbh1rjgxpubpSj6sppHDq8xZ4LDU2bs1a9g6qcWJjkrtS69t3PTFZv5Ey84epnvbXEm8hsVnzTKsY6LbQmCiVqwKWUPUwXpj83#authentication", "signature": "0x0000000000000000000000000000000000000000000000000000000000000000", }, "delegationId": null, - "legitimations": Array [], + "legitimations": [], "rootHash": "0x453559279a1816c20673194e21eb72f121e7b31f5b33ea3a8d3264d6f4d319ac", } `; exports[`Breaking Changes Messages does not break for attestation flow: request-attestation 1`] = ` -Object { - "content": Object { - "credential": Object { - "claim": Object { +{ + "content": { + "credential": { + "claim": { "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", - "contents": Object { + "contents": { "name": "Bob", }, "owner": "did:kilt:light:004rzcHqKvv6TbsA46VpG53JrvdzRr6ccyboUNeCGTvDw2AozU:z1msTRicERqs59nwMvp3yzMRBhQhYShb1vEhbpWo5ZbqVAgi2UFELJk7MbUSeEfBdAVsJhdqcEAhXxH4YrV5nwgTYjFYszWKLFnYvSUhgZ7teDiLt1FbAo484ihnagUKQkE46o3fqSv52WgM6VatrEqetD3ekokxFtz4yn2vFYPdDMPmKE3cVxdKqPMa3Ewh6k46SENeEDZFLg1L8Yi73ZVEA9AwDg2RDuBDnpjetxBC6U5qMKVfqbh1rjgxpubpSj6sppHDq8xZ4LDU2bs1a9g6qcWJjkrtS69t3PTFZv5Ey84epnvbXEm8hsVnzTKsY6LbQmCiVqwKWUPUwXpj83", }, - "claimHashes": Array [ + "claimHashes": [ "0x901805bb5659ecf21cc79d50a98021d49eb83ee136a2609d4377dd615a271a78", "0xdaff2311c04ea4d2c16e9bd3dc4debba9822e5c4cfb53e36b48f090036169575", ], - "claimNonceMap": Object { + "claimNonceMap": { "0x499856031d06ddecbda0c1e0f1c0de4f53f614732f205190d81d0c76e793bdf0": "1ee1307c-9e65-475d-9061-0b5bfd86d2f7", "0x721cf4dd222afba0b79565332ac711cb634762052c3c2d45434f53f465d030f7": "1ee1307c-9e65-475d-9061-0b5bfd86d2f7", }, "delegationId": null, - "legitimations": Array [], + "legitimations": [], "rootHash": "0x453559279a1816c20673194e21eb72f121e7b31f5b33ea3a8d3264d6f4d319ac", }, }, @@ -222,15 +222,15 @@ Object { `; exports[`Breaking Changes Messages does not break for attestation flow: request-credential 1`] = ` -Object { - "content": Object { - "cTypes": Array [ - Object { +{ + "content": { + "cTypes": [ + { "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", - "requiredProperties": Array [ + "requiredProperties": [ "name", ], - "trustedAttesters": Array [ + "trustedAttesters": [ "did:kilt:light:004rn1Xps9QSMiAb2aMoKQbAred94wh1iLjGmNBYy1FVCS81ry:z1msTRicERqs59nwMvp3yzMRBhRatQoZZaiSZfyN7TzqeEs1bHHTCH3RURC6zWk5B8HXGZThZos9PJFJrkiYchNGbAGQRKSKucBVDVoXBLDyEm4P1dsco9wyoaWa5kkFw6DZgnKrTJg8Y8iCy7k2yo8GeMXAuR8qoBFFXj7Up7DxKJrMoQudvFHTy2uk2HPNfqkzJX17Wqsny1MKHD82eC3TcjrGCkhMZy3NmzkySmLsDmmHnG2csZ5vvefFRFZ1hSKfUtcV8EnLd3zozsiZByaLrED2XVbuHqPVzqcnrCJF8fSm49NcGDgsQkwnQwbuKfMkov9WwJoxhDSYG6e7WP", ], }, @@ -242,8 +242,8 @@ Object { `; exports[`Breaking Changes Messages does not break for attestation flow: request-terms 1`] = ` -Object { - "content": Object { +{ + "content": { "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", }, "type": "request-terms", @@ -251,9 +251,9 @@ Object { `; exports[`Breaking Changes Messages does not break for attestation flow: submit-attestation 1`] = ` -Object { - "content": Object { - "attestation": Object { +{ + "content": { + "attestation": { "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", "claimHash": "0x453559279a1816c20673194e21eb72f121e7b31f5b33ea3a8d3264d6f4d319ac", "delegationId": null, @@ -266,31 +266,31 @@ Object { `; exports[`Breaking Changes Messages does not break for attestation flow: submit-credential 1`] = ` -Object { - "content": Array [ - Object { - "claim": Object { +{ + "content": [ + { + "claim": { "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", - "contents": Object { + "contents": { "name": "Bob", }, "owner": "did:kilt:light:004rzcHqKvv6TbsA46VpG53JrvdzRr6ccyboUNeCGTvDw2AozU:z1msTRicERqs59nwMvp3yzMRBhQhYShb1vEhbpWo5ZbqVAgi2UFELJk7MbUSeEfBdAVsJhdqcEAhXxH4YrV5nwgTYjFYszWKLFnYvSUhgZ7teDiLt1FbAo484ihnagUKQkE46o3fqSv52WgM6VatrEqetD3ekokxFtz4yn2vFYPdDMPmKE3cVxdKqPMa3Ewh6k46SENeEDZFLg1L8Yi73ZVEA9AwDg2RDuBDnpjetxBC6U5qMKVfqbh1rjgxpubpSj6sppHDq8xZ4LDU2bs1a9g6qcWJjkrtS69t3PTFZv5Ey84epnvbXEm8hsVnzTKsY6LbQmCiVqwKWUPUwXpj83", }, - "claimHashes": Array [ + "claimHashes": [ "0x901805bb5659ecf21cc79d50a98021d49eb83ee136a2609d4377dd615a271a78", "0xdaff2311c04ea4d2c16e9bd3dc4debba9822e5c4cfb53e36b48f090036169575", ], - "claimNonceMap": Object { + "claimNonceMap": { "0x499856031d06ddecbda0c1e0f1c0de4f53f614732f205190d81d0c76e793bdf0": "1ee1307c-9e65-475d-9061-0b5bfd86d2f7", "0x721cf4dd222afba0b79565332ac711cb634762052c3c2d45434f53f465d030f7": "1ee1307c-9e65-475d-9061-0b5bfd86d2f7", }, - "claimerSignature": Object { + "claimerSignature": { "challenge": "0xCAFE", "keyUri": "did:kilt:light:004rzcHqKvv6TbsA46VpG53JrvdzRr6ccyboUNeCGTvDw2AozU:z1msTRicERqs59nwMvp3yzMRBhQhYShb1vEhbpWo5ZbqVAgi2UFELJk7MbUSeEfBdAVsJhdqcEAhXxH4YrV5nwgTYjFYszWKLFnYvSUhgZ7teDiLt1FbAo484ihnagUKQkE46o3fqSv52WgM6VatrEqetD3ekokxFtz4yn2vFYPdDMPmKE3cVxdKqPMa3Ewh6k46SENeEDZFLg1L8Yi73ZVEA9AwDg2RDuBDnpjetxBC6U5qMKVfqbh1rjgxpubpSj6sppHDq8xZ4LDU2bs1a9g6qcWJjkrtS69t3PTFZv5Ey84epnvbXEm8hsVnzTKsY6LbQmCiVqwKWUPUwXpj83#authentication", "signature": "0x0000000000000000000000000000000000000000000000000000000000000000", }, "delegationId": null, - "legitimations": Array [], + "legitimations": [], "rootHash": "0x453559279a1816c20673194e21eb72f121e7b31f5b33ea3a8d3264d6f4d319ac", }, ], @@ -299,16 +299,16 @@ Object { `; exports[`Breaking Changes Messages does not break for attestation flow: submit-terms 1`] = ` -Object { - "content": Object { - "claim": Object { +{ + "content": { + "claim": { "cTypeHash": "0xd5301762c62114f6455e0b373cccce20631c2a717004a98f8953e738e17c5d3c", - "contents": Object { + "contents": { "name": "Bob", }, "owner": "did:kilt:light:004rn1Xps9QSMiAb2aMoKQbAred94wh1iLjGmNBYy1FVCS81ry:z1msTRicERqs59nwMvp3yzMRBhRatQoZZaiSZfyN7TzqeEs1bHHTCH3RURC6zWk5B8HXGZThZos9PJFJrkiYchNGbAGQRKSKucBVDVoXBLDyEm4P1dsco9wyoaWa5kkFw6DZgnKrTJg8Y8iCy7k2yo8GeMXAuR8qoBFFXj7Up7DxKJrMoQudvFHTy2uk2HPNfqkzJX17Wqsny1MKHD82eC3TcjrGCkhMZy3NmzkySmLsDmmHnG2csZ5vvefFRFZ1hSKfUtcV8EnLd3zozsiZByaLrED2XVbuHqPVzqcnrCJF8fSm49NcGDgsQkwnQwbuKfMkov9WwJoxhDSYG6e7WP", }, - "legitimations": Array [], + "legitimations": [], }, "type": "submit-terms", } diff --git a/tests/bundle-test.html b/tests/bundle/bundle-test.html similarity index 60% rename from tests/bundle-test.html rename to tests/bundle/bundle-test.html index 2ed21cbcb..ab8c4378e 100644 --- a/tests/bundle-test.html +++ b/tests/bundle/bundle-test.html @@ -1,13 +1,13 @@ - + Bundle tests - + diff --git a/tests/bundle-test.ts b/tests/bundle/bundle-test.ts similarity index 97% rename from tests/bundle-test.ts rename to tests/bundle/bundle-test.ts index 091ea0e0b..df39e0397 100644 --- a/tests/bundle-test.ts +++ b/tests/bundle/bundle-test.ts @@ -149,7 +149,9 @@ async function createFullDidFromKeypair( await Blockchain.signAndSubmitTx(storeTx, payer) const queryFunction = api.call.did?.query ?? api.call.didApi.queryDid - const encodedDidDetails = await queryFunction(Did.toChain(Did.getFullDidUriFromKey(keypair))) + const encodedDidDetails = await queryFunction( + Did.toChain(Did.getFullDidUriFromKey(keypair)) + ) return Did.linkedInfoFromChain(encodedDidDetails).document } @@ -223,7 +225,9 @@ async function runAll() { await Blockchain.signAndSubmitTx(didStoreTx, payer) const queryFunction = api.call.did?.query ?? api.call.didApi.queryDid - const encodedDidDetails = await queryFunction(Did.toChain(Did.getFullDidUriFromKey(keypair))) + const encodedDidDetails = await queryFunction( + Did.toChain(Did.getFullDidUriFromKey(keypair)) + ) const fullDid = Did.linkedInfoFromChain(encodedDidDetails).document const resolved = await Did.resolve(fullDid.uri) diff --git a/tests/bundle.spec.ts b/tests/bundle/bundle.spec.ts similarity index 100% rename from tests/bundle.spec.ts rename to tests/bundle/bundle.spec.ts diff --git a/tests/playwright.config.ts b/tests/bundle/playwright.config.ts similarity index 100% rename from tests/playwright.config.ts rename to tests/bundle/playwright.config.ts diff --git a/tests/tsconfig.json b/tests/bundle/tsconfig.json similarity index 75% rename from tests/tsconfig.json rename to tests/bundle/tsconfig.json index ba717355b..6ea1fa0bc 100644 --- a/tests/tsconfig.json +++ b/tests/bundle/tsconfig.json @@ -1,7 +1,8 @@ { - "extends": "../tsconfig.json", + "extends": "../../tsconfig.json", "include": ["bundle-test.ts", "types.d.ts"], "compilerOptions": { + "baseUrl": "./", "module": "None", "resolveJsonModule": false, "sourceMap": false, diff --git a/tests/types.d.ts b/tests/bundle/types.d.ts similarity index 100% rename from tests/types.d.ts rename to tests/bundle/types.d.ts diff --git a/packages/core/src/__integrationtests__/AccountLinking.spec.ts b/tests/integration/AccountLinking.spec.ts similarity index 98% rename from packages/core/src/__integrationtests__/AccountLinking.spec.ts rename to tests/integration/AccountLinking.spec.ts index 3f31ec64c..51b9da0ae 100644 --- a/packages/core/src/__integrationtests__/AccountLinking.spec.ts +++ b/tests/integration/AccountLinking.spec.ts @@ -5,33 +5,30 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/accountLinking - */ +import type { ApiPromise } from '@polkadot/api' +import { Keyring } from '@polkadot/keyring' +import { BN } from '@polkadot/util' +import { mnemonicGenerate } from '@polkadot/util-crypto' +import { BalanceUtils, disconnect } from '@kiltprotocol/core' import * as Did from '@kiltprotocol/did' -import { - createFullDidFromSeed, - KeyTool, - makeSigningKeyTool, -} from '@kiltprotocol/testing' import type { DidDocument, KeyringPair, KiltKeyringPair, } from '@kiltprotocol/types' -import { Keyring } from '@polkadot/keyring' -import { BN } from '@polkadot/util' -import type { ApiPromise } from '@polkadot/api' -import { mnemonicGenerate } from '@polkadot/util-crypto' -import { convertToTxUnit } from '../balance/Balance.utils' + +import { + createFullDidFromSeed, + KeyTool, + makeSigningKeyTool, +} from '../testUtils/index.js' import { createEndowedTestAccount, fundAccount, initializeApi, submitTx, -} from './utils' -import { disconnect } from '../kilt' +} from './utils.js' let paymentAccount: KiltKeyringPair let linkDeposit: BN @@ -289,7 +286,10 @@ describe('When there is an on-chain DID', () => { genericAccount = new Keyring({ type: 'ecdsa' }).addFromMnemonic( mnemonicGenerate() ) - await fundAccount(genericAccount.address, convertToTxUnit(new BN(10), 1)) + await fundAccount( + genericAccount.address, + BalanceUtils.convertToTxUnit(new BN(10), 1) + ) didKey = makeSigningKeyTool() newDidKey = makeSigningKeyTool() did = await createFullDidFromSeed(paymentAccount, didKey.keypair) diff --git a/packages/core/src/__integrationtests__/Attestation.spec.ts b/tests/integration/Attestation.spec.ts similarity index 98% rename from packages/core/src/__integrationtests__/Attestation.spec.ts rename to tests/integration/Attestation.spec.ts index 46883e811..09f205af0 100644 --- a/packages/core/src/__integrationtests__/Attestation.spec.ts +++ b/tests/integration/Attestation.spec.ts @@ -5,36 +5,36 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/attestation - */ +import type { ApiPromise } from '@polkadot/api' +import { + Attestation, + Claim, + Credential, + CType, + disconnect, +} from '@kiltprotocol/core' +import * as Did from '@kiltprotocol/did' import type { DidDocument, IAttestation, ICredential, KiltKeyringPair, } from '@kiltprotocol/types' +import { Crypto } from '@kiltprotocol/utils' + import { createFullDidFromSeed, KeyTool, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import * as Did from '@kiltprotocol/did' -import { Crypto } from '@kiltprotocol/utils' -import { ApiPromise } from '@polkadot/api' -import * as Attestation from '../attestation' -import * as Credential from '../credential' -import { disconnect } from '../kilt' -import * as Claim from '../claim' -import * as CType from '../ctype' +} from '../testUtils/index.js' import { createEndowedTestAccount, driversLicenseCType, initializeApi, isCtypeOnChain, submitTx, -} from './utils' +} from './utils.js' let tokenHolder: KiltKeyringPair let attester: DidDocument diff --git a/packages/core/src/__integrationtests__/Balance.spec.ts b/tests/integration/Balance.spec.ts similarity index 95% rename from packages/core/src/__integrationtests__/Balance.spec.ts rename to tests/integration/Balance.spec.ts index 555d2fa19..c05d58cc0 100644 --- a/packages/core/src/__integrationtests__/Balance.spec.ts +++ b/tests/integration/Balance.spec.ts @@ -5,16 +5,15 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/balance - */ +import { jest } from '@jest/globals' import { ApiPromise } from '@polkadot/api' import { BN } from '@polkadot/util' +import { disconnect } from '@kiltprotocol/core' import type { KeyringPair } from '@kiltprotocol/types' -import { makeSigningKeyTool } from '@kiltprotocol/testing' -import { disconnect } from '../kilt' + +import { makeSigningKeyTool } from '../testUtils/index.js' import { addressFromRandom, devAlice, @@ -23,7 +22,7 @@ import { EXISTENTIAL_DEPOSIT, initializeApi, submitTx, -} from './utils' +} from './utils.js' let api: ApiPromise beforeAll(async () => { @@ -66,7 +65,7 @@ describe('when there is a dev chain with a faucet', () => { // in the other test cases. it('should be able to faucet coins to a new address', async () => { const address = addressFromRandom() - const spy = jest.fn() + const spy = jest.fn() api.query.system.account(address, spy) const balanceBefore = (await api.query.system.account(faucet.address)).data const transferTx = api.tx.balances.transfer(address, EXISTENTIAL_DEPOSIT) @@ -140,7 +139,7 @@ describe('When there are haves and have-nots', () => { }, 30_000) it('should be able to make a new transaction once the last is ready', async () => { - const spy = jest.fn() + const spy = jest.fn() api.query.system.account(faucet.address, spy) const transferTx1 = api.tx.balances.transfer( @@ -158,7 +157,7 @@ describe('When there are haves and have-nots', () => { }, 30_000) it('should be able to make multiple transactions at once', async () => { - const listener = jest.fn() + const listener = jest.fn() api.query.system.account(faucet.address, listener) const batch = api.tx.utility.batchAll([ diff --git a/packages/core/src/__integrationtests__/Blockchain.spec.ts b/tests/integration/Blockchain.spec.ts similarity index 93% rename from packages/core/src/__integrationtests__/Blockchain.spec.ts rename to tests/integration/Blockchain.spec.ts index 74bfdbeda..d54729eb0 100644 --- a/packages/core/src/__integrationtests__/Blockchain.spec.ts +++ b/tests/integration/Blockchain.spec.ts @@ -5,20 +5,15 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/blockchain - */ - -import { BN } from '@polkadot/util' import type { ApiPromise } from '@polkadot/api' +import { BN } from '@polkadot/util' -import type { KeyringPair } from '@kiltprotocol/types' import { Blockchain } from '@kiltprotocol/chain-helpers' -import { makeSigningKeyTool } from '@kiltprotocol/testing' +import { BalanceUtils, disconnect } from '@kiltprotocol/core' +import type { KeyringPair } from '@kiltprotocol/types' -import { toFemtoKilt } from '../balance/Balance.utils' -import { devCharlie, devFaucet, initializeApi, submitTx } from './utils' -import { disconnect } from '../kilt' +import { makeSigningKeyTool } from '../testUtils/index.js' +import { devCharlie, devFaucet, initializeApi, submitTx } from './utils.js' let api: ApiPromise beforeAll(async () => { @@ -36,7 +31,7 @@ describe('Chain returns specific errors, that we check for', () => { const transferTx = api.tx.balances.transfer( testIdentity.address, - toFemtoKilt(10000) + BalanceUtils.toFemtoKilt(10000) ) await submitTx(transferTx, faucet) }, 40000) @@ -143,7 +138,11 @@ describe('Chain returns specific errors, that we check for', () => { ) const promiseToFail = Blockchain.dispatchTx(tx) - const promiseToUsurp = Blockchain.dispatchTx(errorTx) + const promiseToUsurp = new Promise((resolve) => { + setTimeout(() => { + resolve(Blockchain.dispatchTx(errorTx)) + }, 50) + }) await Promise.all([ expect(promiseToFail).rejects.toHaveProperty('status.isUsurped', true), promiseToUsurp, diff --git a/packages/core/src/__integrationtests__/Ctypes.spec.ts b/tests/integration/Ctypes.spec.ts similarity index 95% rename from packages/core/src/__integrationtests__/Ctypes.spec.ts rename to tests/integration/Ctypes.spec.ts index e24dc7a5d..8db6ebf37 100644 --- a/packages/core/src/__integrationtests__/Ctypes.spec.ts +++ b/tests/integration/Ctypes.spec.ts @@ -5,22 +5,19 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/ctype - */ +import type { ApiPromise } from '@polkadot/api' -import type { DidDocument, ICType, KiltKeyringPair } from '@kiltprotocol/types' +import { CType, disconnect } from '@kiltprotocol/core' import * as Did from '@kiltprotocol/did' +import type { DidDocument, ICType, KiltKeyringPair } from '@kiltprotocol/types' +import { Crypto, UUID } from '@kiltprotocol/utils' + import { - createFullDidFromSeed, KeyTool, + createFullDidFromSeed, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import { Crypto, UUID } from '@kiltprotocol/utils' -import { ApiPromise } from '@polkadot/api' -import * as CType from '../ctype' -import { disconnect } from '../kilt' -import { createEndowedTestAccount, initializeApi, submitTx } from './utils' +} from '../testUtils/index.js' +import { createEndowedTestAccount, initializeApi, submitTx } from './utils.js' let api: ApiPromise // we skip fetching CTypes from chain for the old pallet version, where the necessary information was not yet on chain. diff --git a/packages/core/src/__integrationtests__/Delegation.spec.ts b/tests/integration/Delegation.spec.ts similarity index 96% rename from packages/core/src/__integrationtests__/Delegation.spec.ts rename to tests/integration/Delegation.spec.ts index b2d56a31a..325ab53e0 100644 --- a/packages/core/src/__integrationtests__/Delegation.spec.ts +++ b/tests/integration/Delegation.spec.ts @@ -5,10 +5,18 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/delegation - */ +import { ApiPromise } from '@polkadot/api' +import { randomAsHex } from '@polkadot/util-crypto' +import { + Attestation, + CType, + Claim, + Credential, + DelegationNode, + disconnect, +} from '@kiltprotocol/core' +import * as Did from '@kiltprotocol/did' import type { DidDocument, ICType, @@ -17,20 +25,12 @@ import type { SignCallback, } from '@kiltprotocol/types' import { Permission, PermissionType } from '@kiltprotocol/types' + import { - createFullDidFromSeed, KeyTool, + createFullDidFromSeed, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import * as Did from '@kiltprotocol/did' -import { ApiPromise } from '@polkadot/api' -import { randomAsHex } from '@polkadot/util-crypto' -import * as Attestation from '../attestation' -import * as Claim from '../claim' -import * as CType from '../ctype' -import * as Credential from '../credential' -import { disconnect } from '../kilt' -import { DelegationNode } from '../delegation/DelegationNode' +} from '../testUtils/index.js' import { createEndowedTestAccount, devBob, @@ -38,8 +38,7 @@ import { initializeApi, isCtypeOnChain, submitTx, -} from './utils' -import { getAttestationHashes } from '../delegation/DelegationNode.chain' +} from './utils.js' let api: ApiPromise @@ -435,7 +434,14 @@ describe('handling queries to data not on chain', () => { }) it('getAttestationHashes on empty', async () => { - expect(await getAttestationHashes(randomAsHex(32))).toEqual([]) + expect( + await DelegationNode.newNode({ + permissions: [0], + hierarchyId: randomAsHex(32), + parentId: randomAsHex(32), + account: attester.uri, + }).getAttestationHashes() + ).toEqual([]) }) }) diff --git a/packages/core/src/__integrationtests__/Deposit.spec.ts b/tests/integration/Deposit.spec.ts similarity index 97% rename from packages/core/src/__integrationtests__/Deposit.spec.ts rename to tests/integration/Deposit.spec.ts index 65612e4fe..92f4f2da1 100644 --- a/packages/core/src/__integrationtests__/Deposit.spec.ts +++ b/tests/integration/Deposit.spec.ts @@ -5,18 +5,17 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/deposit - */ +import type { ApiPromise } from '@polkadot/api' +import { BN } from '@polkadot/util' -import * as Did from '@kiltprotocol/did' import { - createFullDidFromLightDid, - createFullDidFromSeed, - createMinimalLightDidFromKeypair, - KeyTool, - makeSigningKeyTool, -} from '@kiltprotocol/testing' + Attestation, + Claim, + Credential, + CType, + disconnect, +} from '@kiltprotocol/core' +import * as Did from '@kiltprotocol/did' import type { DidDocument, IAttestation, @@ -26,8 +25,13 @@ import type { SignCallback, SubmittableExtrinsic, } from '@kiltprotocol/types' -import type { ApiPromise } from '@polkadot/api' -import { BN } from '@polkadot/util' +import { + createFullDidFromLightDid, + createFullDidFromSeed, + createMinimalLightDidFromKeypair, + KeyTool, + makeSigningKeyTool, +} from '../testUtils/index.js' import { devFaucet, driversLicenseCTypeForDeposit as driversLicenseCType, @@ -35,12 +39,7 @@ import { initializeApi, isCtypeOnChain, submitTx, -} from './utils' -import * as Attestation from '../attestation' -import * as Claim from '../claim' -import * as Credential from '../credential' -import { disconnect } from '../kilt' -import * as CType from '../ctype' +} from './utils.js' let api: ApiPromise let tx: SubmittableExtrinsic diff --git a/packages/core/src/__integrationtests__/Did.spec.ts b/tests/integration/Did.spec.ts similarity index 99% rename from packages/core/src/__integrationtests__/Did.spec.ts rename to tests/integration/Did.spec.ts index 93e4d96b2..be357b3c1 100644 --- a/packages/core/src/__integrationtests__/Did.spec.ts +++ b/tests/integration/Did.spec.ts @@ -5,21 +5,11 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/did - */ - import type { ApiPromise } from '@polkadot/api' import { BN } from '@polkadot/util' +import { CType, DelegationNode, disconnect } from '@kiltprotocol/core' import * as Did from '@kiltprotocol/did' -import { - createFullDidFromSeed, - createMinimalLightDidFromKeypair, - KeyTool, - makeEncryptionKeyTool, - makeSigningKeyTool, -} from '@kiltprotocol/testing' import { DidDocument, DidResolutionResult, @@ -33,15 +23,19 @@ import { } from '@kiltprotocol/types' import { UUID } from '@kiltprotocol/utils' -import * as CType from '../ctype' -import { disconnect } from '../kilt' +import { + createFullDidFromSeed, + createMinimalLightDidFromKeypair, + KeyTool, + makeEncryptionKeyTool, + makeSigningKeyTool, +} from '../testUtils/index.js' import { createEndowedTestAccount, devBob, initializeApi, submitTx, -} from './utils' -import { DelegationNode } from '../delegation' +} from './utils.js' let paymentAccount: KiltKeyringPair let api: ApiPromise diff --git a/packages/core/src/__integrationtests__/ErrorHandler.spec.ts b/tests/integration/ErrorHandler.spec.ts similarity index 72% rename from packages/core/src/__integrationtests__/ErrorHandler.spec.ts rename to tests/integration/ErrorHandler.spec.ts index 497cc4139..611179e15 100644 --- a/packages/core/src/__integrationtests__/ErrorHandler.spec.ts +++ b/tests/integration/ErrorHandler.spec.ts @@ -5,30 +5,28 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/errorhandler - */ - -import { BN } from '@polkadot/util' import { ApiPromise } from '@polkadot/api' + +import { disconnect } from '@kiltprotocol/core' +import * as Did from '@kiltprotocol/did' import type { DidDocument, IAttestation, KiltKeyringPair, } from '@kiltprotocol/types' + import { - createFullDidFromSeed, KeyTool, + createFullDidFromSeed, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import * as Did from '@kiltprotocol/did' -import { disconnect } from '../kilt' +} from '../testUtils/index.js' + import { addressFromRandom, createEndowedTestAccount, initializeApi, submitTx, -} from './utils' +} from './utils.js' let paymentAccount: KiltKeyringPair let someDid: DidDocument @@ -46,11 +44,29 @@ beforeAll(async () => { }, 60_000) it('records an extrinsic error when transferring less than the existential amount to new identity', async () => { - const transferTx = api.tx.balances.transfer(addressFromRandom(), new BN(1)) - await expect(submitTx(transferTx, paymentAccount)).rejects.toMatchObject({ - section: 'balances', - name: 'ExistentialDeposit', - }) + const transferTx = api.tx.balances.transfer(addressFromRandom(), 1) + const promise = submitTx(transferTx, paymentAccount) + if (api.runtimeVersion.specVersion.toBigInt() > 11_000n) { + await expect(promise).rejects.toMatchInlineSnapshot(` + { + "token": "BelowMinimum", + } + `) + } else { + await expect(promise).rejects.toMatchInlineSnapshot(` + { + "args": [], + "docs": [ + "Value too low to create account due to existential deposit", + ], + "fields": [], + "index": 3, + "method": "ExistentialDeposit", + "name": "ExistentialDeposit", + "section": "balances", + } + `) + } }, 30_000) it('records an extrinsic error when ctype does not exist', async () => { diff --git a/packages/core/src/__integrationtests__/PublicCredentials.spec.ts b/tests/integration/PublicCredentials.spec.ts similarity index 98% rename from packages/core/src/__integrationtests__/PublicCredentials.spec.ts rename to tests/integration/PublicCredentials.spec.ts index dfa42f056..f28799855 100644 --- a/packages/core/src/__integrationtests__/PublicCredentials.spec.ts +++ b/tests/integration/PublicCredentials.spec.ts @@ -5,31 +5,27 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/publicCredentials - */ - -import type { ApiPromise } from '@polkadot/api' import type { AssetDidUri, DidDocument, + HexString, IPublicCredential, IPublicCredentialInput, KiltKeyringPair, - HexString, } from '@kiltprotocol/types' - +import type { ApiPromise } from '@polkadot/api' import { BN } from '@polkadot/util' import { randomAsHex } from '@polkadot/util-crypto' + +import { CType, disconnect, PublicCredential } from '@kiltprotocol/core' import * as Did from '@kiltprotocol/did' +import { UUID } from '@kiltprotocol/utils' + import { createFullDidFromSeed, KeyTool, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import { UUID } from '@kiltprotocol/utils' -import * as CType from '../ctype' -import * as PublicCredential from '../publicCredential' +} from '../testUtils/index.js' import { createEndowedTestAccount, devAlice, @@ -37,8 +33,7 @@ import { isCtypeOnChain, nftNameCType, submitTx, -} from './utils' -import { disconnect } from '../kilt' +} from './utils.js' let tokenHolder: KiltKeyringPair let attester: DidDocument diff --git a/packages/core/src/__integrationtests__/Web3Names.spec.ts b/tests/integration/Web3Names.spec.ts similarity index 98% rename from packages/core/src/__integrationtests__/Web3Names.spec.ts rename to tests/integration/Web3Names.spec.ts index da6b9bba9..1c00908e5 100644 --- a/packages/core/src/__integrationtests__/Web3Names.spec.ts +++ b/tests/integration/Web3Names.spec.ts @@ -5,26 +5,23 @@ * found in the LICENSE file in the root directory of this source tree. */ -/** - * @group integration/web3name - */ - +import type { ApiPromise } from '@polkadot/api' import { randomAsHex } from '@polkadot/util-crypto' +import { disconnect } from '@kiltprotocol/core' +import * as Did from '@kiltprotocol/did' import type { DidDocument, KeyringPair, KiltKeyringPair, } from '@kiltprotocol/types' + import { - createFullDidFromSeed, KeyTool, + createFullDidFromSeed, makeSigningKeyTool, -} from '@kiltprotocol/testing' -import * as Did from '@kiltprotocol/did' -import type { ApiPromise } from '@polkadot/api' -import { disconnect } from '../kilt' -import { createEndowedTestAccount, initializeApi, submitTx } from './utils' +} from '../testUtils/index.js' +import { createEndowedTestAccount, initializeApi, submitTx } from './utils.js' let api: ApiPromise diff --git a/tests/integration/jest.config.integration.esm.js b/tests/integration/jest.config.integration.esm.js new file mode 100644 index 000000000..d1278ccff --- /dev/null +++ b/tests/integration/jest.config.integration.esm.js @@ -0,0 +1,12 @@ +module.exports = { + testEnvironment: "node", + clearMocks: true, + // Parachain block time is 12s + testTimeout: 120_000, + maxWorkers: 3, + roots: ["dist"], + transform: {}, + moduleDirectories: [ + "node_modules", + ], +} diff --git a/tests/integration/jest.config.integration.js b/tests/integration/jest.config.integration.js new file mode 100644 index 000000000..7776ab565 --- /dev/null +++ b/tests/integration/jest.config.integration.js @@ -0,0 +1,13 @@ +module.exports = { + preset: "ts-jest", + testEnvironment: "node", + clearMocks: true, + // Parachain block time is 12s + testTimeout: 120_000, + maxWorkers: 3, + testPathIgnorePatterns: ["dist"], + resolver: "ts-jest-resolver", + moduleDirectories: [ + "node_modules", + ], +} diff --git a/tests/integration/tsconfig.esm.json b/tests/integration/tsconfig.esm.json new file mode 100644 index 000000000..fac8f2c04 --- /dev/null +++ b/tests/integration/tsconfig.esm.json @@ -0,0 +1,9 @@ +{ + "extends": "../../tsconfig.json", + "include": ["*.ts"], + "compilerOptions": { + "module": "ES6", + "baseUrl": "./", + "outDir": "dist" + } +} diff --git a/packages/core/src/__integrationtests__/utils.ts b/tests/integration/utils.ts similarity index 96% rename from packages/core/src/__integrationtests__/utils.ts rename to tests/integration/utils.ts index ee15e867f..3fa379a89 100644 --- a/packages/core/src/__integrationtests__/utils.ts +++ b/tests/integration/utils.ts @@ -8,13 +8,14 @@ /* eslint-disable @typescript-eslint/no-non-null-assertion */ /* eslint-disable no-console */ +import type { ApiPromise } from '@polkadot/api' import { BN } from '@polkadot/util' -import { ApiPromise } from '@polkadot/api' + import { GenericContainer, StartedTestContainer, Wait } from 'testcontainers' -import { Crypto } from '@kiltprotocol/utils' -import { makeSigningKeyTool } from '@kiltprotocol/testing' import { Blockchain } from '@kiltprotocol/chain-helpers' +import { ConfigService } from '@kiltprotocol/config' +import { CType, connect, init } from '@kiltprotocol/core' import type { ICType, KeyringPair, @@ -23,10 +24,9 @@ import type { SubmittableExtrinsic, SubscriptionPromise, } from '@kiltprotocol/types' -import { ConfigService } from '@kiltprotocol/config' +import { Crypto } from '@kiltprotocol/utils' -import * as CType from '../ctype' -import { connect, init } from '../kilt' +import { makeSigningKeyTool } from '../testUtils/index.js' export const EXISTENTIAL_DEPOSIT = new BN(10 ** 13) const ENDOWMENT = EXISTENTIAL_DEPOSIT.muln(10000) diff --git a/tests/jest.setup.js b/tests/jest.setup.js new file mode 100644 index 000000000..0ce07364d --- /dev/null +++ b/tests/jest.setup.js @@ -0,0 +1,5 @@ +const { cryptoWaitReady } = require('@polkadot/util-crypto') + +beforeAll(async () => { + await cryptoWaitReady() +}) diff --git a/packages/testing/src/TestUtils.ts b/tests/testUtils/TestUtils.ts similarity index 100% rename from packages/testing/src/TestUtils.ts rename to tests/testUtils/TestUtils.ts diff --git a/packages/testing/src/index.ts b/tests/testUtils/index.ts similarity index 100% rename from packages/testing/src/index.ts rename to tests/testUtils/index.ts diff --git a/packages/testing/src/metadata/spiritnet.ts b/tests/testUtils/metadata/spiritnet.ts similarity index 75% rename from packages/testing/src/metadata/spiritnet.ts rename to tests/testUtils/metadata/spiritnet.ts index 1a319ed1d..26dba2867 100644 --- a/packages/testing/src/metadata/spiritnet.ts +++ b/tests/testUtils/metadata/spiritnet.ts @@ -9,9 +9,9 @@ import { readFileSync } from 'fs' import path from 'path' import type { HexString } from '@kiltprotocol/types' -const META_PATH = '../../../../augment-api/metadata/spiritnet.json' +const META_PATH = 'packages/augment-api/metadata/spiritnet.json' const { result: metaHex } = JSON.parse( - readFileSync(path.join(__dirname, META_PATH), { encoding: 'utf-8' }) + readFileSync(path.resolve(META_PATH), { encoding: 'utf-8' }) ) /* eslint-disable import/no-default-export */ diff --git a/packages/testing/src/mocks/index.ts b/tests/testUtils/mocks/index.ts similarity index 100% rename from packages/testing/src/mocks/index.ts rename to tests/testUtils/mocks/index.ts diff --git a/packages/testing/src/mocks/mockedApi.ts b/tests/testUtils/mocks/mockedApi.ts similarity index 100% rename from packages/testing/src/mocks/mockedApi.ts rename to tests/testUtils/mocks/mockedApi.ts diff --git a/packages/testing/src/mocks/mockedApi.utils.ts b/tests/testUtils/mocks/mockedApi.utils.ts similarity index 100% rename from packages/testing/src/mocks/mockedApi.utils.ts rename to tests/testUtils/mocks/mockedApi.utils.ts diff --git a/packages/testing/src/mocks/typeRegistry.ts b/tests/testUtils/mocks/typeRegistry.ts similarity index 100% rename from packages/testing/src/mocks/typeRegistry.ts rename to tests/testUtils/mocks/typeRegistry.ts diff --git a/tsconfig.docs.json b/tsconfig.docs.json index 3846cc96f..1a9740e2f 100644 --- a/tsconfig.docs.json +++ b/tsconfig.docs.json @@ -1,6 +1,6 @@ { "extends": "./tsconfig.json", - "include": ["packages/**/*", "jest-setup/*"], + "include": ["packages/**/*"], "typedocOptions": { "entryPointStrategy": "resolve", "entryPoints": [ diff --git a/tsconfig.json b/tsconfig.json index cf928ba32..a447ff164 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,6 @@ { "extends": "./tsconfig.build.json", - "include": ["packages/**/*", "jest-setup/*", "docs/*"], + "include": ["packages/**/*", "docs/*", "tests/**/*"], "compilerOptions": { "baseUrl": "./packages", "sourceMap": true, @@ -16,7 +16,6 @@ "@kiltprotocol/did": ["did/src"], "@kiltprotocol/asset-did": ["asset-did/src"], "@kiltprotocol/docs": ["docs/src"], - "@kiltprotocol/testing": ["testing/src"], "@kiltprotocol/augment-api": ["augment-api/src"], "@kiltprotocol/augment-api/extraDefs": ["augment-api/src/interfaces/extraDefs"], "@kiltprotocol/type-definitions": ["type-definitions/src"], diff --git a/yarn.lock b/yarn.lock index 6d1325743..db034755f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5,12 +5,13 @@ __metadata: version: 6 cacheKey: 8 -"@ampproject/remapping@npm:^2.1.0": - version: 2.1.2 - resolution: "@ampproject/remapping@npm:2.1.2" +"@ampproject/remapping@npm:^2.2.0": + version: 2.2.1 + resolution: "@ampproject/remapping@npm:2.2.1" dependencies: - "@jridgewell/trace-mapping": ^0.3.0 - checksum: e023f92cdd9723f3042cde3b4d922adfeef0e198aa73486b0b6c034ad36af5f96e5c0cc72b335b30b2eb9852d907efc92af6bfcd3f4b4d286177ee32a189cf92 + "@jridgewell/gen-mapping": ^0.3.0 + "@jridgewell/trace-mapping": ^0.3.9 + checksum: 03c04fd526acc64a1f4df22651186f3e5ef0a9d6d6530ce4482ec9841269cf7a11dbb8af79237c282d721c5312024ff17529cd72cc4768c11e999b58e2302079 languageName: node linkType: hard @@ -23,53 +24,54 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/code-frame@npm:7.18.6" +"@babel/code-frame@npm:^7.0.0, @babel/code-frame@npm:^7.12.13, @babel/code-frame@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/code-frame@npm:7.22.5" dependencies: - "@babel/highlight": ^7.18.6 - checksum: 195e2be3172d7684bf95cff69ae3b7a15a9841ea9d27d3c843662d50cdd7d6470fd9c8e64be84d031117e4a4083486effba39f9aef6bbb2c89f7f21bcfba33ba + "@babel/highlight": ^7.22.5 + checksum: cfe804f518f53faaf9a1d3e0f9f74127ab9a004912c3a16fda07fb6a633393ecb9918a053cb71804204c1b7ec3d49e1699604715e2cfb0c9f7bc4933d324ebb6 languageName: node linkType: hard -"@babel/compat-data@npm:^7.17.7, @babel/compat-data@npm:^7.20.0, @babel/compat-data@npm:^7.20.1": - version: 7.20.1 - resolution: "@babel/compat-data@npm:7.20.1" - checksum: 989b9b7a6fe43c547bb8329241bd0ba6983488b83d29cc59de35536272ee6bb4cc7487ba6c8a4bceebb3a57f8c5fea1434f80bbbe75202bc79bc1110f955ff25 +"@babel/compat-data@npm:^7.17.7, @babel/compat-data@npm:^7.20.1, @babel/compat-data@npm:^7.22.9": + version: 7.22.9 + resolution: "@babel/compat-data@npm:7.22.9" + checksum: bed77d9044ce948b4327b30dd0de0779fa9f3a7ed1f2d31638714ed00229fa71fc4d1617ae0eb1fad419338d3658d0e9a5a083297451e09e73e078d0347ff808 languageName: node linkType: hard -"@babel/core@npm:^7.1.0, @babel/core@npm:^7.12.3, @babel/core@npm:^7.7.2, @babel/core@npm:^7.8.0": - version: 7.20.5 - resolution: "@babel/core@npm:7.20.5" +"@babel/core@npm:^7.11.6, @babel/core@npm:^7.12.3": + version: 7.22.9 + resolution: "@babel/core@npm:7.22.9" dependencies: - "@ampproject/remapping": ^2.1.0 - "@babel/code-frame": ^7.18.6 - "@babel/generator": ^7.20.5 - "@babel/helper-compilation-targets": ^7.20.0 - "@babel/helper-module-transforms": ^7.20.2 - "@babel/helpers": ^7.20.5 - "@babel/parser": ^7.20.5 - "@babel/template": ^7.18.10 - "@babel/traverse": ^7.20.5 - "@babel/types": ^7.20.5 + "@ampproject/remapping": ^2.2.0 + "@babel/code-frame": ^7.22.5 + "@babel/generator": ^7.22.9 + "@babel/helper-compilation-targets": ^7.22.9 + "@babel/helper-module-transforms": ^7.22.9 + "@babel/helpers": ^7.22.6 + "@babel/parser": ^7.22.7 + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.8 + "@babel/types": ^7.22.5 convert-source-map: ^1.7.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 - json5: ^2.2.1 - semver: ^6.3.0 - checksum: 9547f1e6364bc58c3621e3b17ec17f0d034ff159e5a520091d9381608d40af3be4042dd27c20ad7d3e938422d75850ac56a3758d6801d65df701557af4bd244b + json5: ^2.2.2 + semver: ^6.3.1 + checksum: 7bf069aeceb417902c4efdaefab1f7b94adb7dea694a9aed1bda2edf4135348a080820529b1a300c6f8605740a00ca00c19b2d5e74b5dd489d99d8c11d5e56d1 languageName: node linkType: hard -"@babel/generator@npm:^7.20.5, @babel/generator@npm:^7.7.2": - version: 7.20.5 - resolution: "@babel/generator@npm:7.20.5" +"@babel/generator@npm:^7.22.7, @babel/generator@npm:^7.22.9, @babel/generator@npm:^7.7.2": + version: 7.22.9 + resolution: "@babel/generator@npm:7.22.9" dependencies: - "@babel/types": ^7.20.5 + "@babel/types": ^7.22.5 "@jridgewell/gen-mapping": ^0.3.2 + "@jridgewell/trace-mapping": ^0.3.17 jsesc: ^2.5.1 - checksum: 31c10d1e122f08cf755a24bd6f5d197f47eceba03f1133759687d00ab72d210e60ba4011da42f368b6e9fa85cbfda7dc4adb9889c2c20cc5c34bb2d57c1deab7 + checksum: 7c9d2c58b8d5ac5e047421a6ab03ec2ff5d9a5ff2c2212130a0055e063ac349e0b19d435537d6886c999771aef394832e4f54cd9fc810100a7f23d982f6af06b languageName: node linkType: hard @@ -92,17 +94,18 @@ __metadata: languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.17.7, @babel/helper-compilation-targets@npm:^7.18.9, @babel/helper-compilation-targets@npm:^7.20.0": - version: 7.20.0 - resolution: "@babel/helper-compilation-targets@npm:7.20.0" +"@babel/helper-compilation-targets@npm:^7.17.7, @babel/helper-compilation-targets@npm:^7.18.9, @babel/helper-compilation-targets@npm:^7.20.0, @babel/helper-compilation-targets@npm:^7.22.9": + version: 7.22.9 + resolution: "@babel/helper-compilation-targets@npm:7.22.9" dependencies: - "@babel/compat-data": ^7.20.0 - "@babel/helper-validator-option": ^7.18.6 - browserslist: ^4.21.3 - semver: ^6.3.0 + "@babel/compat-data": ^7.22.9 + "@babel/helper-validator-option": ^7.22.5 + browserslist: ^4.21.9 + lru-cache: ^5.1.1 + semver: ^6.3.1 peerDependencies: "@babel/core": ^7.0.0 - checksum: bc183f2109648849c8fde0b3c5cf08adf2f7ad6dc617b546fd20f34c8ef574ee5ee293c8d1bd0ed0221212e8f5907cdc2c42097870f1dcc769a654107d82c95b + checksum: ea0006c6a93759025f4a35a25228ae260538c9f15023e8aac2a6d45ca68aef4cf86cfc429b19af9a402cbdd54d5de74ad3fbcf6baa7e48184dc079f1a791e178 languageName: node linkType: hard @@ -151,10 +154,10 @@ __metadata: languageName: node linkType: hard -"@babel/helper-environment-visitor@npm:^7.18.9": - version: 7.18.9 - resolution: "@babel/helper-environment-visitor@npm:7.18.9" - checksum: b25101f6162ddca2d12da73942c08ad203d7668e06663df685634a8fde54a98bc015f6f62938e8554457a592a024108d45b8f3e651fd6dcdb877275b73cc4420 +"@babel/helper-environment-visitor@npm:^7.18.9, @babel/helper-environment-visitor@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-environment-visitor@npm:7.22.5" + checksum: 248532077d732a34cd0844eb7b078ff917c3a8ec81a7f133593f71a860a582f05b60f818dc5049c2212e5baa12289c27889a4b81d56ef409b4863db49646c4b1 languageName: node linkType: hard @@ -167,22 +170,22 @@ __metadata: languageName: node linkType: hard -"@babel/helper-function-name@npm:^7.18.9, @babel/helper-function-name@npm:^7.19.0": - version: 7.19.0 - resolution: "@babel/helper-function-name@npm:7.19.0" +"@babel/helper-function-name@npm:^7.18.9, @babel/helper-function-name@npm:^7.19.0, @babel/helper-function-name@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-function-name@npm:7.22.5" dependencies: - "@babel/template": ^7.18.10 - "@babel/types": ^7.19.0 - checksum: eac1f5db428ba546270c2b8d750c24eb528b8fcfe50c81de2e0bdebf0e20f24bec688d4331533b782e4a907fad435244621ca2193cfcf80a86731299840e0f6e + "@babel/template": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: 6b1f6ce1b1f4e513bf2c8385a557ea0dd7fa37971b9002ad19268ca4384bbe90c09681fe4c076013f33deabc63a53b341ed91e792de741b4b35e01c00238177a languageName: node linkType: hard -"@babel/helper-hoist-variables@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/helper-hoist-variables@npm:7.18.6" +"@babel/helper-hoist-variables@npm:^7.18.6, @babel/helper-hoist-variables@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-hoist-variables@npm:7.22.5" dependencies: - "@babel/types": ^7.18.6 - checksum: fd9c35bb435fda802bf9ff7b6f2df06308a21277c6dec2120a35b09f9de68f68a33972e2c15505c1a1a04b36ec64c9ace97d4a9e26d6097b76b4396b7c5fa20f + "@babel/types": ^7.22.5 + checksum: 394ca191b4ac908a76e7c50ab52102669efe3a1c277033e49467913c7ed6f7c64d7eacbeabf3bed39ea1f41731e22993f763b1edce0f74ff8563fd1f380d92cc languageName: node linkType: hard @@ -195,28 +198,27 @@ __metadata: languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/helper-module-imports@npm:7.18.6" +"@babel/helper-module-imports@npm:^7.18.6, @babel/helper-module-imports@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-module-imports@npm:7.22.5" dependencies: - "@babel/types": ^7.18.6 - checksum: f393f8a3b3304b1b7a288a38c10989de754f01d29caf62ce7c4e5835daf0a27b81f3ac687d9d2780d39685aae7b55267324b512150e7b2be967b0c493b6a1def + "@babel/types": ^7.22.5 + checksum: 9ac2b0404fa38b80bdf2653fbeaf8e8a43ccb41bd505f9741d820ed95d3c4e037c62a1bcdcb6c9527d7798d2e595924c4d025daed73283badc180ada2c9c49ad languageName: node linkType: hard -"@babel/helper-module-transforms@npm:^7.18.6, @babel/helper-module-transforms@npm:^7.19.6, @babel/helper-module-transforms@npm:^7.20.2": - version: 7.20.2 - resolution: "@babel/helper-module-transforms@npm:7.20.2" +"@babel/helper-module-transforms@npm:^7.18.6, @babel/helper-module-transforms@npm:^7.19.6, @babel/helper-module-transforms@npm:^7.22.9": + version: 7.22.9 + resolution: "@babel/helper-module-transforms@npm:7.22.9" dependencies: - "@babel/helper-environment-visitor": ^7.18.9 - "@babel/helper-module-imports": ^7.18.6 - "@babel/helper-simple-access": ^7.20.2 - "@babel/helper-split-export-declaration": ^7.18.6 - "@babel/helper-validator-identifier": ^7.19.1 - "@babel/template": ^7.18.10 - "@babel/traverse": ^7.20.1 - "@babel/types": ^7.20.2 - checksum: 33a60ca115f6fce2c9d98e2a2e5649498aa7b23e2ae3c18745d7a021487708fc311458c33542f299387a0da168afccba94116e077f2cce49ae9e5ab83399e8a2 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-module-imports": ^7.22.5 + "@babel/helper-simple-access": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/helper-validator-identifier": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 2751f77660518cf4ff027514d6f4794f04598c6393be7b04b8e46c6e21606e11c19f3f57ab6129a9c21bacdf8b3ffe3af87bb401d972f34af2d0ffde02ac3001 languageName: node linkType: hard @@ -229,10 +231,10 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.16.7, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.18.9, @babel/helper-plugin-utils@npm:^7.19.0, @babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": - version: 7.20.2 - resolution: "@babel/helper-plugin-utils@npm:7.20.2" - checksum: f6cae53b7fdb1bf3abd50fa61b10b4470985b400cc794d92635da1e7077bb19729f626adc0741b69403d9b6e411cddddb9c0157a709cc7c4eeb41e663be5d74b +"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.16.7, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.18.9, @babel/helper-plugin-utils@npm:^7.19.0, @babel/helper-plugin-utils@npm:^7.20.2, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": + version: 7.22.5 + resolution: "@babel/helper-plugin-utils@npm:7.22.5" + checksum: c0fc7227076b6041acd2f0e818145d2e8c41968cc52fb5ca70eed48e21b8fe6dd88a0a91cbddf4951e33647336eb5ae184747ca706817ca3bef5e9e905151ff5 languageName: node linkType: hard @@ -263,12 +265,12 @@ __metadata: languageName: node linkType: hard -"@babel/helper-simple-access@npm:^7.19.4, @babel/helper-simple-access@npm:^7.20.2": - version: 7.20.2 - resolution: "@babel/helper-simple-access@npm:7.20.2" +"@babel/helper-simple-access@npm:^7.19.4, @babel/helper-simple-access@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-simple-access@npm:7.22.5" dependencies: - "@babel/types": ^7.20.2 - checksum: ad1e96ee2e5f654ffee2369a586e5e8d2722bf2d8b028a121b4c33ebae47253f64d420157b9f0a8927aea3a9e0f18c0103e74fdd531815cf3650a0a4adca11a1 + "@babel/types": ^7.22.5 + checksum: fe9686714caf7d70aedb46c3cce090f8b915b206e09225f1e4dbc416786c2fdbbee40b38b23c268b7ccef749dd2db35f255338fb4f2444429874d900dede5ad2 languageName: node linkType: hard @@ -281,33 +283,33 @@ __metadata: languageName: node linkType: hard -"@babel/helper-split-export-declaration@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/helper-split-export-declaration@npm:7.18.6" +"@babel/helper-split-export-declaration@npm:^7.18.6, @babel/helper-split-export-declaration@npm:^7.22.6": + version: 7.22.6 + resolution: "@babel/helper-split-export-declaration@npm:7.22.6" dependencies: - "@babel/types": ^7.18.6 - checksum: c6d3dede53878f6be1d869e03e9ffbbb36f4897c7cc1527dc96c56d127d834ffe4520a6f7e467f5b6f3c2843ea0e81a7819d66ae02f707f6ac057f3d57943a2b + "@babel/types": ^7.22.5 + checksum: e141cace583b19d9195f9c2b8e17a3ae913b7ee9b8120246d0f9ca349ca6f03cb2c001fd5ec57488c544347c0bb584afec66c936511e447fd20a360e591ac921 languageName: node linkType: hard -"@babel/helper-string-parser@npm:^7.19.4": - version: 7.19.4 - resolution: "@babel/helper-string-parser@npm:7.19.4" - checksum: b2f8a3920b30dfac81ec282ac4ad9598ea170648f8254b10f475abe6d944808fb006aab325d3eb5a8ad3bea8dfa888cfa6ef471050dae5748497c110ec060943 +"@babel/helper-string-parser@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-string-parser@npm:7.22.5" + checksum: 836851ca5ec813077bbb303acc992d75a360267aa3b5de7134d220411c852a6f17de7c0d0b8c8dcc0f567f67874c00f4528672b2a4f1bc978a3ada64c8c78467 languageName: node linkType: hard -"@babel/helper-validator-identifier@npm:^7.18.6, @babel/helper-validator-identifier@npm:^7.19.1": - version: 7.19.1 - resolution: "@babel/helper-validator-identifier@npm:7.19.1" - checksum: 0eca5e86a729162af569b46c6c41a63e18b43dbe09fda1d2a3c8924f7d617116af39cac5e4cd5d431bb760b4dca3c0970e0c444789b1db42bcf1fa41fbad0a3a +"@babel/helper-validator-identifier@npm:^7.19.1, @babel/helper-validator-identifier@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-validator-identifier@npm:7.22.5" + checksum: 7f0f30113474a28298c12161763b49de5018732290ca4de13cdaefd4fd0d635a6fe3f6686c37a02905fb1e64f21a5ee2b55140cf7b070e729f1bd66866506aea languageName: node linkType: hard -"@babel/helper-validator-option@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/helper-validator-option@npm:7.18.6" - checksum: f9cc6eb7cc5d759c5abf006402180f8d5e4251e9198197428a97e05d65eb2f8ae5a0ce73b1dfd2d35af41d0eb780627a64edf98a4e71f064eeeacef8de58f2cf +"@babel/helper-validator-option@npm:^7.18.6, @babel/helper-validator-option@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-validator-option@npm:7.22.5" + checksum: bbeca8a85ee86990215c0424997438b388b8d642d69b9f86c375a174d3cdeb270efafd1ff128bc7a1d370923d13b6e45829ba8581c027620e83e3a80c5c414b3 languageName: node linkType: hard @@ -323,34 +325,34 @@ __metadata: languageName: node linkType: hard -"@babel/helpers@npm:^7.20.5": - version: 7.20.6 - resolution: "@babel/helpers@npm:7.20.6" +"@babel/helpers@npm:^7.22.6": + version: 7.22.6 + resolution: "@babel/helpers@npm:7.22.6" dependencies: - "@babel/template": ^7.18.10 - "@babel/traverse": ^7.20.5 - "@babel/types": ^7.20.5 - checksum: f03ec6eb2bf8dc7cdfe2569ee421fd9ba6c7bac6c862d90b608ccdd80281ebe858bc56ca175fc92b3ac50f63126b66bbd5ec86f9f361729289a20054518f1ac5 + "@babel/template": ^7.22.5 + "@babel/traverse": ^7.22.6 + "@babel/types": ^7.22.5 + checksum: 5c1f33241fe7bf7709868c2105134a0a86dca26a0fbd508af10a89312b1f77ca38ebae43e50be3b208613c5eacca1559618af4ca236f0abc55d294800faeff30 languageName: node linkType: hard -"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.18.6": - version: 7.18.6 - resolution: "@babel/highlight@npm:7.18.6" +"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/highlight@npm:7.22.5" dependencies: - "@babel/helper-validator-identifier": ^7.18.6 + "@babel/helper-validator-identifier": ^7.22.5 chalk: ^2.0.0 js-tokens: ^4.0.0 - checksum: 92d8ee61549de5ff5120e945e774728e5ccd57fd3b2ed6eace020ec744823d4a98e242be1453d21764a30a14769ecd62170fba28539b211799bbaf232bbb2789 + checksum: f61ae6de6ee0ea8d9b5bcf2a532faec5ab0a1dc0f7c640e5047fc61630a0edb88b18d8c92eb06566d30da7a27db841aca11820ecd3ebe9ce514c9350fbed39c4 languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.18.10, @babel/parser@npm:^7.20.5": - version: 7.20.5 - resolution: "@babel/parser@npm:7.20.5" +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.22.5, @babel/parser@npm:^7.22.7": + version: 7.22.7 + resolution: "@babel/parser@npm:7.22.7" bin: parser: ./bin/babel-parser.js - checksum: e8d514ce0aa74d56725bd102919a49fa367afef9cd8208cf52f670f54b061c4672f51b4b7980058ab1f5fe73615fe4dc90720ab47bbcebae07ad08d667eda318 + checksum: 02209ddbd445831ee8bf966fdf7c29d189ed4b14343a68eb2479d940e7e3846340d7cc6bd654a5f3d87d19dc84f49f50a58cf9363bee249dc5409ff3ba3dab54 languageName: node linkType: hard @@ -666,6 +668,17 @@ __metadata: languageName: node linkType: hard +"@babel/plugin-syntax-jsx@npm:^7.7.2": + version: 7.22.5 + resolution: "@babel/plugin-syntax-jsx@npm:7.22.5" + dependencies: + "@babel/helper-plugin-utils": ^7.22.5 + peerDependencies: + "@babel/core": ^7.0.0-0 + checksum: 8829d30c2617ab31393d99cec2978e41f014f4ac6f01a1cecf4c4dd8320c3ec12fdc3ce121126b2d8d32f6887e99ca1a0bad53dedb1e6ad165640b92b24980ce + languageName: node + linkType: hard + "@babel/plugin-syntax-logical-assignment-operators@npm:^7.10.4, @babel/plugin-syntax-logical-assignment-operators@npm:^7.8.3": version: 7.10.4 resolution: "@babel/plugin-syntax-logical-assignment-operators@npm:7.10.4" @@ -1252,43 +1265,43 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.18.10, @babel/template@npm:^7.3.3": - version: 7.18.10 - resolution: "@babel/template@npm:7.18.10" +"@babel/template@npm:^7.18.10, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3": + version: 7.22.5 + resolution: "@babel/template@npm:7.22.5" dependencies: - "@babel/code-frame": ^7.18.6 - "@babel/parser": ^7.18.10 - "@babel/types": ^7.18.10 - checksum: 93a6aa094af5f355a72bd55f67fa1828a046c70e46f01b1606e6118fa1802b6df535ca06be83cc5a5e834022be95c7b714f0a268b5f20af984465a71e28f1473 + "@babel/code-frame": ^7.22.5 + "@babel/parser": ^7.22.5 + "@babel/types": ^7.22.5 + checksum: c5746410164039aca61829cdb42e9a55410f43cace6f51ca443313f3d0bdfa9a5a330d0b0df73dc17ef885c72104234ae05efede37c1cc8a72dc9f93425977a3 languageName: node linkType: hard -"@babel/traverse@npm:^7.19.0, @babel/traverse@npm:^7.19.1, @babel/traverse@npm:^7.20.1, @babel/traverse@npm:^7.20.5, @babel/traverse@npm:^7.7.2": - version: 7.20.5 - resolution: "@babel/traverse@npm:7.20.5" +"@babel/traverse@npm:^7.19.0, @babel/traverse@npm:^7.19.1, @babel/traverse@npm:^7.22.6, @babel/traverse@npm:^7.22.8": + version: 7.22.8 + resolution: "@babel/traverse@npm:7.22.8" dependencies: - "@babel/code-frame": ^7.18.6 - "@babel/generator": ^7.20.5 - "@babel/helper-environment-visitor": ^7.18.9 - "@babel/helper-function-name": ^7.19.0 - "@babel/helper-hoist-variables": ^7.18.6 - "@babel/helper-split-export-declaration": ^7.18.6 - "@babel/parser": ^7.20.5 - "@babel/types": ^7.20.5 + "@babel/code-frame": ^7.22.5 + "@babel/generator": ^7.22.7 + "@babel/helper-environment-visitor": ^7.22.5 + "@babel/helper-function-name": ^7.22.5 + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/parser": ^7.22.7 + "@babel/types": ^7.22.5 debug: ^4.1.0 globals: ^11.1.0 - checksum: c7fed468614aab1cf762dda5df26e2cfcd2b1b448c9d3321ac44786c4ee773fb0e10357e6593c3c6a648ae2e0be6d90462d855998dc10e3abae84de99291e008 + checksum: a381369bc3eedfd13ed5fef7b884657f1c29024ea7388198149f0edc34bd69ce3966e9f40188d15f56490a5e12ba250ccc485f2882b53d41b054fccefb233e33 languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.10, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.19.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.20.5, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": - version: 7.20.5 - resolution: "@babel/types@npm:7.20.5" +"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.6, @babel/types@npm:^7.18.9, @babel/types@npm:^7.19.0, @babel/types@npm:^7.20.0, @babel/types@npm:^7.20.2, @babel/types@npm:^7.22.5, @babel/types@npm:^7.3.0, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4, @babel/types@npm:^7.8.3": + version: 7.22.5 + resolution: "@babel/types@npm:7.22.5" dependencies: - "@babel/helper-string-parser": ^7.19.4 - "@babel/helper-validator-identifier": ^7.19.1 + "@babel/helper-string-parser": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.5 to-fast-properties: ^2.0.0 - checksum: 773f0a1ad9f6ca5c5beaf751d1d8d81b9130de87689d1321fc911d73c3b1167326d66f0ae086a27fb5bfc8b4ee3ffebf1339be50d3b4d8015719692468c31f2d + checksum: c13a9c1dc7d2d1a241a2f8363540cb9af1d66e978e8984b400a20c4f38ba38ca29f06e26a0f2d49a70bad9e57615dac09c35accfddf1bb90d23cd3e0a0bab892 languageName: node linkType: hard @@ -1619,50 +1632,50 @@ __metadata: languageName: node linkType: hard -"@jest/console@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/console@npm:27.5.1" +"@jest/console@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/console@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 + "@jest/types": ^29.6.1 "@types/node": "*" chalk: ^4.0.0 - jest-message-util: ^27.5.1 - jest-util: ^27.5.1 + jest-message-util: ^29.6.1 + jest-util: ^29.6.1 slash: ^3.0.0 - checksum: 7cb20f06a34b09734c0342685ec53aa4c401fe3757c13a9c58fce76b971a322eb884f6de1068ef96f746e5398e067371b89515a07c268d4440a867c87748a706 + checksum: d0ab23a00947bfb4bff8c0a7e5a7afd16519de16dde3fe7e77b9f13e794c6df7043ecf7fcdde66ac0d2b5fb3262e9cab3d92eaf61f89a12d3b8e3602e06a9902 languageName: node linkType: hard -"@jest/core@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/core@npm:27.5.1" +"@jest/core@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/core@npm:29.6.1" dependencies: - "@jest/console": ^27.5.1 - "@jest/reporters": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/console": ^29.6.1 + "@jest/reporters": ^29.6.1 + "@jest/test-result": ^29.6.1 + "@jest/transform": ^29.6.1 + "@jest/types": ^29.6.1 "@types/node": "*" ansi-escapes: ^4.2.1 chalk: ^4.0.0 - emittery: ^0.8.1 + ci-info: ^3.2.0 exit: ^0.1.2 graceful-fs: ^4.2.9 - jest-changed-files: ^27.5.1 - jest-config: ^27.5.1 - jest-haste-map: ^27.5.1 - jest-message-util: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-resolve-dependencies: ^27.5.1 - jest-runner: ^27.5.1 - jest-runtime: ^27.5.1 - jest-snapshot: ^27.5.1 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 - jest-watcher: ^27.5.1 + jest-changed-files: ^29.5.0 + jest-config: ^29.6.1 + jest-haste-map: ^29.6.1 + jest-message-util: ^29.6.1 + jest-regex-util: ^29.4.3 + jest-resolve: ^29.6.1 + jest-resolve-dependencies: ^29.6.1 + jest-runner: ^29.6.1 + jest-runtime: ^29.6.1 + jest-snapshot: ^29.6.1 + jest-util: ^29.6.1 + jest-validate: ^29.6.1 + jest-watcher: ^29.6.1 micromatch: ^4.0.4 - rimraf: ^3.0.0 + pretty-format: ^29.6.1 slash: ^3.0.0 strip-ansi: ^6.0.0 peerDependencies: @@ -1670,153 +1683,182 @@ __metadata: peerDependenciesMeta: node-notifier: optional: true - checksum: 904a94ad8f1b43cd6b48de3b0226659bff3696150ff8cf7680fc2faffdc8a115203bb9ab6e817c1f79f9d6a81f67953053cbc64d8a4604f2e0c42a04c28cf126 + checksum: 736dcc90c6c58dd9e1d2da122103b851187719ce3b3d4167689c63e68252632cd817712955b52ddaa648eba9c6f98f86cd58677325f0db4185f76899c64d7dac languageName: node linkType: hard -"@jest/environment@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/environment@npm:27.5.1" +"@jest/environment@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/environment@npm:29.6.1" dependencies: - "@jest/fake-timers": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/fake-timers": ^29.6.1 + "@jest/types": ^29.6.1 "@types/node": "*" - jest-mock: ^27.5.1 - checksum: 2a9e18c35a015508dbec5b90b21c150230fa6c1c8cb8fabe029d46ee2ca4c40eb832fb636157da14c66590d0a4c8a2c053226b041f54a44507d6f6a89abefd66 + jest-mock: ^29.6.1 + checksum: fb671f91f27e7aa1ba04983ef87a83f0794a597aba0a57d08cbb1fcb484c2aedc2201e99f85fafe27aec9be78af6f2d1d7e6ea88267938992a1d0f9d4615f5b2 languageName: node linkType: hard -"@jest/fake-timers@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/fake-timers@npm:27.5.1" +"@jest/expect-utils@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/expect-utils@npm:29.6.1" + dependencies: + jest-get-type: ^29.4.3 + checksum: 037ee017eca62f7b45e1465fb5c6f9e92d5709a9ac716b8bff0bd294240a54de734e8f968fb69309cc4aef6c83b9552d5a821f3b18371af394bf04783859d706 + languageName: node + linkType: hard + +"@jest/expect@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/expect@npm:29.6.1" + dependencies: + expect: ^29.6.1 + jest-snapshot: ^29.6.1 + checksum: 5c56977b3cc8489744d97d9dc2dcb196c1dfecc83a058a7ef0fd4f63d68cf120a23d27669272d1e1b184fb4337b85e4ac1fc7f886e3988fdf243d42d73973eac + languageName: node + linkType: hard + +"@jest/fake-timers@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/fake-timers@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 - "@sinonjs/fake-timers": ^8.0.1 + "@jest/types": ^29.6.1 + "@sinonjs/fake-timers": ^10.0.2 "@types/node": "*" - jest-message-util: ^27.5.1 - jest-mock: ^27.5.1 - jest-util: ^27.5.1 - checksum: 02a0561ed2f4586093facd4ae500b74694f187ac24d4a00e949a39a1c5325bca8932b4fcb0388a2c5ed0656506fc1cf51fd3e32cdd48cea7497ad9c6e028aba8 + jest-message-util: ^29.6.1 + jest-mock: ^29.6.1 + jest-util: ^29.6.1 + checksum: 86991276944b7d6c2ada3703a272517f5f8f2f4e2af1fe26065f6db1dac4dc6299729a88c46bcb781dcc1b20504c1d4bbd8119fd8a0838ac81a9a4b5d2c8e429 languageName: node linkType: hard -"@jest/globals@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/globals@npm:27.5.1" +"@jest/globals@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/globals@npm:29.6.1" dependencies: - "@jest/environment": ^27.5.1 - "@jest/types": ^27.5.1 - expect: ^27.5.1 - checksum: 087f97047e9dcf555f76fe2ce54aee681e005eaa837a0c0c2d251df6b6412c892c9df54cb871b180342114389a5ff895a4e52e6e6d3d0015bf83c02a54f64c3c + "@jest/environment": ^29.6.1 + "@jest/expect": ^29.6.1 + "@jest/types": ^29.6.1 + jest-mock: ^29.6.1 + checksum: fcca0b970a8b4894a1cdff0f500a86b45609e72c0a4319875e9504237b839df1a46c44d2f1362c6d87fdc7a05928edcc4b5a3751c9e6648dd70a761cdab64c94 languageName: node linkType: hard -"@jest/reporters@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/reporters@npm:27.5.1" +"@jest/reporters@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/reporters@npm:29.6.1" dependencies: "@bcoe/v8-coverage": ^0.2.3 - "@jest/console": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/console": ^29.6.1 + "@jest/test-result": ^29.6.1 + "@jest/transform": ^29.6.1 + "@jest/types": ^29.6.1 + "@jridgewell/trace-mapping": ^0.3.18 "@types/node": "*" chalk: ^4.0.0 collect-v8-coverage: ^1.0.0 exit: ^0.1.2 - glob: ^7.1.2 + glob: ^7.1.3 graceful-fs: ^4.2.9 istanbul-lib-coverage: ^3.0.0 istanbul-lib-instrument: ^5.1.0 istanbul-lib-report: ^3.0.0 istanbul-lib-source-maps: ^4.0.0 istanbul-reports: ^3.1.3 - jest-haste-map: ^27.5.1 - jest-resolve: ^27.5.1 - jest-util: ^27.5.1 - jest-worker: ^27.5.1 + jest-message-util: ^29.6.1 + jest-util: ^29.6.1 + jest-worker: ^29.6.1 slash: ^3.0.0 - source-map: ^0.6.0 string-length: ^4.0.1 - terminal-link: ^2.0.0 - v8-to-istanbul: ^8.1.0 + strip-ansi: ^6.0.0 + v8-to-istanbul: ^9.0.1 peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: node-notifier: optional: true - checksum: faba5eafb86e62b62e152cafc8812d56308f9d1e8b77f3a7dcae4a8803a20a60a0909cc43ed73363ef649bf558e4fb181c7a336d144c89f7998279d1882bb69e + checksum: b7dae415f3f6342b4db2671261bbee29af20a829f42135316c3dd548b9ef85290c9bb64a0e3aec4a55486596be1257ac8216a0f8d9794acd43f8b8fb686fc7e3 languageName: node linkType: hard -"@jest/source-map@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/source-map@npm:27.5.1" +"@jest/schemas@npm:^29.6.0": + version: 29.6.0 + resolution: "@jest/schemas@npm:29.6.0" + dependencies: + "@sinclair/typebox": ^0.27.8 + checksum: c00511c69cf89138a7d974404d3a5060af375b5a52b9c87215d91873129b382ca11c1ff25bd6d605951404bb381ddce5f8091004a61e76457da35db1f5c51365 + languageName: node + linkType: hard + +"@jest/source-map@npm:^29.6.0": + version: 29.6.0 + resolution: "@jest/source-map@npm:29.6.0" dependencies: + "@jridgewell/trace-mapping": ^0.3.18 callsites: ^3.0.0 graceful-fs: ^4.2.9 - source-map: ^0.6.0 - checksum: 4fb1e743b602841babf7e22bd84eca34676cb05d4eb3b604cae57fc59e406099f5ac759ac1a0d04d901237d143f0f4f234417306e823bde732a1d19982230862 + checksum: 9c6c40387410bb70b2fae8124287fc28f6bdd1b2d7f24348e8611e1bb638b404518228a4ce64a582365b589c536ae8e7ebab0126cef59a87874b71061d19783b languageName: node linkType: hard -"@jest/test-result@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/test-result@npm:27.5.1" +"@jest/test-result@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/test-result@npm:29.6.1" dependencies: - "@jest/console": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/console": ^29.6.1 + "@jest/types": ^29.6.1 "@types/istanbul-lib-coverage": ^2.0.0 collect-v8-coverage: ^1.0.0 - checksum: 338f7c509d6a3bc6d7dd7388c8f6f548b87638e171dc1fddfedcacb4e8950583288832223ba688058cbcf874b937d22bdc0fa88f79f5fc666f77957e465c06a5 + checksum: 9397a3a3410c5df564e79297b1be4fe33807a6157a017a1f74b54a6ef14de1530f12b922299e822e66a82c53269da16661772bffde3d883a78c5eefd2cd6d1cc languageName: node linkType: hard -"@jest/test-sequencer@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/test-sequencer@npm:27.5.1" +"@jest/test-sequencer@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/test-sequencer@npm:29.6.1" dependencies: - "@jest/test-result": ^27.5.1 + "@jest/test-result": ^29.6.1 graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 - jest-runtime: ^27.5.1 - checksum: f21f9c8bb746847f7f89accfd29d6046eec1446f0b54e4694444feaa4df379791f76ef0f5a4360aafcbc73b50bc979f68b8a7620de404019d3de166be6720cb0 + jest-haste-map: ^29.6.1 + slash: ^3.0.0 + checksum: f3437178b5dca0401ed2e990d8b69161442351856d56f5725e009a487f5232b51039f8829673884b9bea61c861120d08a53a36432f4a4b8aab38915a68f7000d languageName: node linkType: hard -"@jest/transform@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/transform@npm:27.5.1" +"@jest/transform@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/transform@npm:29.6.1" dependencies: - "@babel/core": ^7.1.0 - "@jest/types": ^27.5.1 + "@babel/core": ^7.11.6 + "@jest/types": ^29.6.1 + "@jridgewell/trace-mapping": ^0.3.18 babel-plugin-istanbul: ^6.1.1 chalk: ^4.0.0 - convert-source-map: ^1.4.0 - fast-json-stable-stringify: ^2.0.0 + convert-source-map: ^2.0.0 + fast-json-stable-stringify: ^2.1.0 graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-util: ^27.5.1 + jest-haste-map: ^29.6.1 + jest-regex-util: ^29.4.3 + jest-util: ^29.6.1 micromatch: ^4.0.4 pirates: ^4.0.4 slash: ^3.0.0 - source-map: ^0.6.1 - write-file-atomic: ^3.0.0 - checksum: a22079121aedea0f20a03a9c026be971f7b92adbfb4d5fd1fb67be315741deac4f056936d7c72a53b24aa5a1071bc942c003925fd453bf3f6a0ae5da6384e137 + write-file-atomic: ^4.0.2 + checksum: 1635cd66e4b3dbba0689ecefabc6137301756c9c12d1d23e25124dd0dd9b4a6a38653d51e825e90f74faa022152ac1eaf200591fb50417aa7e1f7d1d1c2bc11d languageName: node linkType: hard -"@jest/types@npm:^27.5.1": - version: 27.5.1 - resolution: "@jest/types@npm:27.5.1" +"@jest/types@npm:^29.6.1": + version: 29.6.1 + resolution: "@jest/types@npm:29.6.1" dependencies: + "@jest/schemas": ^29.6.0 "@types/istanbul-lib-coverage": ^2.0.0 "@types/istanbul-reports": ^3.0.0 "@types/node": "*" - "@types/yargs": ^16.0.0 + "@types/yargs": ^17.0.8 chalk: ^4.0.0 - checksum: d1f43cc946d87543ddd79d49547aab2399481d34025d5c5f2025d3d99c573e1d9832fa83cef25e9d9b07a8583500229d15bbb07b8e233d127d911d133e2f14b1 + checksum: 89fc1ccf71a84fe0da643e0675b1cfe6a6f19ea72e935b2ab1dbdb56ec547e94433fb59b3536d3832a6e156c077865b7176fe9dae707dab9c3d2f9405ba6233c languageName: node linkType: hard @@ -1872,7 +1914,7 @@ __metadata: languageName: node linkType: hard -"@jridgewell/trace-mapping@npm:^0.3.0, @jridgewell/trace-mapping@npm:^0.3.17, @jridgewell/trace-mapping@npm:^0.3.9": +"@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.18 resolution: "@jridgewell/trace-mapping@npm:0.3.18" dependencies: @@ -1911,7 +1953,6 @@ __metadata: resolution: "@kiltprotocol/chain-helpers@workspace:packages/chain-helpers" dependencies: "@kiltprotocol/config": "workspace:*" - "@kiltprotocol/testing": "workspace:*" "@kiltprotocol/types": "workspace:*" "@kiltprotocol/utils": "workspace:*" "@polkadot/api": ^10.4.0 @@ -1943,7 +1984,6 @@ __metadata: "@kiltprotocol/chain-helpers": "workspace:*" "@kiltprotocol/config": "workspace:*" "@kiltprotocol/did": "workspace:*" - "@kiltprotocol/testing": "workspace:*" "@kiltprotocol/type-definitions": "workspace:*" "@kiltprotocol/types": "workspace:*" "@kiltprotocol/utils": "workspace:*" @@ -1966,7 +2006,6 @@ __metadata: "@digitalbazaar/security-context": ^1.0.0 "@kiltprotocol/augment-api": "workspace:*" "@kiltprotocol/config": "workspace:*" - "@kiltprotocol/testing": "workspace:*" "@kiltprotocol/types": "workspace:*" "@kiltprotocol/utils": "workspace:*" "@polkadot/api": ^10.4.0 @@ -1986,7 +2025,6 @@ __metadata: dependencies: "@kiltprotocol/core": "workspace:*" "@kiltprotocol/did": "workspace:*" - "@kiltprotocol/testing": "workspace:*" "@kiltprotocol/types": "workspace:*" "@kiltprotocol/utils": "workspace:*" "@polkadot/util": ^12.0.0 @@ -1995,7 +2033,7 @@ __metadata: languageName: unknown linkType: soft -"@kiltprotocol/sdk-js@workspace:*, @kiltprotocol/sdk-js@workspace:packages/sdk-js": +"@kiltprotocol/sdk-js@workspace:packages/sdk-js": version: 0.0.0-use.local resolution: "@kiltprotocol/sdk-js@workspace:packages/sdk-js" dependencies: @@ -2014,29 +2052,6 @@ __metadata: languageName: unknown linkType: soft -"@kiltprotocol/testing@workspace:*, @kiltprotocol/testing@workspace:packages/testing": - version: 0.0.0-use.local - resolution: "@kiltprotocol/testing@workspace:packages/testing" - dependencies: - "@kiltprotocol/chain-helpers": "workspace:*" - "@kiltprotocol/config": "workspace:*" - "@kiltprotocol/did": "workspace:*" - "@kiltprotocol/sdk-js": "workspace:*" - "@kiltprotocol/type-definitions": "workspace:*" - "@kiltprotocol/types": "workspace:*" - "@kiltprotocol/utils": "workspace:*" - "@polkadot/api": ^10.4.0 - "@polkadot/keyring": ^12.0.0 - "@polkadot/types": ^10.4.0 - "@polkadot/util": ^12.0.0 - "@polkadot/util-crypto": ^12.0.0 - rimraf: ^3.0.2 - tweetnacl: ^1.0.3 - typescript: ^4.8.3 - uuid: ^9.0.0 - languageName: unknown - linkType: soft - "@kiltprotocol/type-definitions@workspace:*, @kiltprotocol/type-definitions@workspace:packages/type-definitions": version: 0.0.0-use.local resolution: "@kiltprotocol/type-definitions@workspace:packages/type-definitions" @@ -2087,7 +2102,6 @@ __metadata: "@kiltprotocol/config": "workspace:*" "@kiltprotocol/core": "workspace:*" "@kiltprotocol/did": "workspace:*" - "@kiltprotocol/testing": "workspace:*" "@kiltprotocol/types": "workspace:*" "@kiltprotocol/utils": "workspace:*" "@polkadot/api": ^10.4.0 @@ -2633,21 +2647,28 @@ __metadata: languageName: node linkType: hard -"@sinonjs/commons@npm:^1.7.0": - version: 1.8.3 - resolution: "@sinonjs/commons@npm:1.8.3" +"@sinclair/typebox@npm:^0.27.8": + version: 0.27.8 + resolution: "@sinclair/typebox@npm:0.27.8" + checksum: 00bd7362a3439021aa1ea51b0e0d0a0e8ca1351a3d54c606b115fdcc49b51b16db6e5f43b4fe7a28c38688523e22a94d49dd31168868b655f0d4d50f032d07a1 + languageName: node + linkType: hard + +"@sinonjs/commons@npm:^3.0.0": + version: 3.0.0 + resolution: "@sinonjs/commons@npm:3.0.0" dependencies: type-detect: 4.0.8 - checksum: 6159726db5ce6bf9f2297f8427f7ca5b3dff45b31e5cee23496f1fa6ef0bb4eab878b23fb2c5e6446381f6a66aba4968ef2fc255c1180d753d4b8c271636a2e5 + checksum: b4b5b73d4df4560fb8c0c7b38c7ad4aeabedd362f3373859d804c988c725889cde33550e4bcc7cd316a30f5152a2d1d43db71b6d0c38f5feef71fd8d016763f8 languageName: node linkType: hard -"@sinonjs/fake-timers@npm:^8.0.1": - version: 8.1.0 - resolution: "@sinonjs/fake-timers@npm:8.1.0" +"@sinonjs/fake-timers@npm:^10.0.2": + version: 10.3.0 + resolution: "@sinonjs/fake-timers@npm:10.3.0" dependencies: - "@sinonjs/commons": ^1.7.0 - checksum: 09b5a158ce013a6c37613258bad79ca4efeb99b1f59c41c73cca36cac00b258aefcf46eeea970fccf06b989414d86fe9f54c1102272c0c3bdd51a313cea80949 + "@sinonjs/commons": ^3.0.0 + checksum: 614d30cb4d5201550c940945d44c9e0b6d64a888ff2cd5b357f95ad6721070d6b8839cd10e15b76bf5e14af0bcc1d8f9ec00d49a46318f1f669a4bec1d7f3148 languageName: node linkType: hard @@ -2771,13 +2792,6 @@ __metadata: languageName: node linkType: hard -"@tootallnate/once@npm:1": - version: 1.1.2 - resolution: "@tootallnate/once@npm:1.1.2" - checksum: e1fb1bbbc12089a0cb9433dc290f97bddd062deadb6178ce9bcb93bb7c1aecde5e60184bc7065aec42fe1663622a213493c48bbd4972d931aae48315f18e1be9 - languageName: node - linkType: hard - "@tootallnate/once@npm:2": version: 2.0.0 resolution: "@tootallnate/once@npm:2.0.0" @@ -2822,7 +2836,7 @@ __metadata: languageName: node linkType: hard -"@types/babel__core@npm:^7.0.0, @types/babel__core@npm:^7.1.14": +"@types/babel__core@npm:^7.1.14": version: 7.1.19 resolution: "@types/babel__core@npm:7.1.19" dependencies: @@ -2854,7 +2868,7 @@ __metadata: languageName: node linkType: hard -"@types/babel__traverse@npm:*, @types/babel__traverse@npm:^7.0.4, @types/babel__traverse@npm:^7.0.6": +"@types/babel__traverse@npm:*, @types/babel__traverse@npm:^7.0.6": version: 7.14.2 resolution: "@types/babel__traverse@npm:7.14.2" dependencies: @@ -2929,12 +2943,12 @@ __metadata: languageName: node linkType: hard -"@types/graceful-fs@npm:^4.1.2": - version: 4.1.5 - resolution: "@types/graceful-fs@npm:4.1.5" +"@types/graceful-fs@npm:^4.1.3": + version: 4.1.6 + resolution: "@types/graceful-fs@npm:4.1.6" dependencies: "@types/node": "*" - checksum: d076bb61f45d0fc42dee496ef8b1c2f8742e15d5e47e90e20d0243386e426c04d4efd408a48875ab432f7960b4ce3414db20ed0fbbfc7bcc89d84e574f6e045a + checksum: c3070ccdc9ca0f40df747bced1c96c71a61992d6f7c767e8fd24bb6a3c2de26e8b84135ede000b7e79db530a23e7e88dcd9db60eee6395d0f4ce1dae91369dd4 languageName: node linkType: hard @@ -2963,13 +2977,13 @@ __metadata: languageName: node linkType: hard -"@types/jest@npm:^27.4.0": - version: 27.4.1 - resolution: "@types/jest@npm:27.4.1" +"@types/jest@npm:^29.5.3": + version: 29.5.3 + resolution: "@types/jest@npm:29.5.3" dependencies: - jest-matcher-utils: ^27.0.0 - pretty-format: ^27.0.0 - checksum: 5184f3eef4832d01ee8f59bed15eec45ccc8e29c724a5e6ce37bf74396b37bdf04f557000f45ba4fc38ae6075cf9cfcce3d7a75abc981023c61ceb27230a93e4 + expect: ^29.0.0 + pretty-format: ^29.0.0 + checksum: e36bb92e0b9e5ea7d6f8832baa42f087fc1697f6cd30ec309a07ea4c268e06ec460f1f0cfd2581daf5eff5763475190ec1ad8ac6520c49ccfe4f5c0a48bfa676 languageName: node linkType: hard @@ -3069,12 +3083,12 @@ __metadata: languageName: node linkType: hard -"@types/yargs@npm:^16.0.0": - version: 16.0.4 - resolution: "@types/yargs@npm:16.0.4" +"@types/yargs@npm:^17.0.8": + version: 17.0.24 + resolution: "@types/yargs@npm:17.0.24" dependencies: "@types/yargs-parser": "*" - checksum: caa21d2c957592fe2184a8368c8cbe5a82a6c2e2f2893722e489f842dc5963293d2f3120bc06fe3933d60a3a0d1e2eb269649fd6b1947fe1820f8841ba611dd9 + checksum: 5f3ac4dc4f6e211c1627340160fbe2fd247ceba002190da6cf9155af1798450501d628c9165a183f30a224fc68fa5e700490d740ff4c73e2cdef95bc4e8ba7bf languageName: node linkType: hard @@ -3405,13 +3419,6 @@ __metadata: languageName: node linkType: hard -"abab@npm:^2.0.3, abab@npm:^2.0.5": - version: 2.0.5 - resolution: "abab@npm:2.0.5" - checksum: 0ec951b46d5418c2c2f923021ec193eaebdb4e802ffd5506286781b454be722a13a8430f98085cd3e204918401d9130ec6cc8f5ae19be315b3a0e857d83196e1 - languageName: node - linkType: hard - "abbrev@npm:1": version: 1.1.1 resolution: "abbrev@npm:1.1.1" @@ -3428,16 +3435,6 @@ __metadata: languageName: node linkType: hard -"acorn-globals@npm:^6.0.0": - version: 6.0.0 - resolution: "acorn-globals@npm:6.0.0" - dependencies: - acorn: ^7.1.1 - acorn-walk: ^7.1.1 - checksum: 72d95e5b5e585f9acd019b993ab8bbba68bb3cbc9d9b5c1ebb3c2f1fe5981f11deababfb4949f48e6262f9c57878837f5958c0cca396f81023814680ca878042 - languageName: node - linkType: hard - "acorn-import-assertions@npm:^1.9.0": version: 1.9.0 resolution: "acorn-import-assertions@npm:1.9.0" @@ -3456,13 +3453,6 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^7.1.1": - version: 7.2.0 - resolution: "acorn-walk@npm:7.2.0" - checksum: 9252158a79b9d92f1bc0dd6acc0fcfb87a67339e84bcc301bb33d6078936d27e35d606b4d35626d2962cd43c256d6f27717e70cbe15c04fff999ab0b2260b21f - languageName: node - linkType: hard - "acorn-walk@npm:^8.1.1": version: 8.2.0 resolution: "acorn-walk@npm:8.2.0" @@ -3470,7 +3460,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^7.1.1, acorn@npm:^7.4.0": +"acorn@npm:^7.4.0": version: 7.4.1 resolution: "acorn@npm:7.4.1" bin: @@ -3479,7 +3469,7 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.2.4, acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.2": +"acorn@npm:^8.4.1, acorn@npm:^8.7.1, acorn@npm:^8.8.2": version: 8.8.2 resolution: "acorn@npm:8.8.2" bin: @@ -3757,28 +3747,20 @@ __metadata: languageName: node linkType: hard -"asynckit@npm:^0.4.0": - version: 0.4.0 - resolution: "asynckit@npm:0.4.0" - checksum: 7b78c451df768adba04e2d02e63e2d0bf3b07adcd6e42b4cf665cb7ce899bedd344c69a1dcbce355b5f972d597b25aaa1c1742b52cffd9caccb22f348114f6be - languageName: node - linkType: hard - -"babel-jest@npm:^27.5.1": - version: 27.5.1 - resolution: "babel-jest@npm:27.5.1" +"babel-jest@npm:^29.6.1": + version: 29.6.1 + resolution: "babel-jest@npm:29.6.1" dependencies: - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/transform": ^29.6.1 "@types/babel__core": ^7.1.14 babel-plugin-istanbul: ^6.1.1 - babel-preset-jest: ^27.5.1 + babel-preset-jest: ^29.5.0 chalk: ^4.0.0 graceful-fs: ^4.2.9 slash: ^3.0.0 peerDependencies: "@babel/core": ^7.8.0 - checksum: 4e93e6e9fb996cc5f1505e924eb8e8cc7b25c294ba9629762a2715390f48af6a4c14dbb84cd9730013ac0e03267a5a9aa2fb6318c544489cda7f50f4e506def4 + checksum: bc46cfba468edde91f34a8292501d4448a39fab72d80d7d95f4349feb114fa21becb01def007d6166de7933ab9633bf5b5e1b72ba6ffeaa991f7abf014a2f61d languageName: node linkType: hard @@ -3795,15 +3777,15 @@ __metadata: languageName: node linkType: hard -"babel-plugin-jest-hoist@npm:^27.5.1": - version: 27.5.1 - resolution: "babel-plugin-jest-hoist@npm:27.5.1" +"babel-plugin-jest-hoist@npm:^29.5.0": + version: 29.5.0 + resolution: "babel-plugin-jest-hoist@npm:29.5.0" dependencies: "@babel/template": ^7.3.3 "@babel/types": ^7.3.3 - "@types/babel__core": ^7.0.0 + "@types/babel__core": ^7.1.14 "@types/babel__traverse": ^7.0.6 - checksum: 709c17727aa8fd3be755d256fb514bf945a5c2ea6017f037d80280fc44ae5fe7dfeebf63d8412df53796455c2c216119d628d8cc90b099434fd819005943d058 + checksum: 099b5254073b6bc985b6d2d045ad26fb8ed30ff8ae6404c4fe8ee7cd0e98a820f69e3dfb871c7c65aae0f4b65af77046244c07bb92d49ef9005c90eedf681539 languageName: node linkType: hard @@ -3865,15 +3847,15 @@ __metadata: languageName: node linkType: hard -"babel-preset-jest@npm:^27.5.1": - version: 27.5.1 - resolution: "babel-preset-jest@npm:27.5.1" +"babel-preset-jest@npm:^29.5.0": + version: 29.5.0 + resolution: "babel-preset-jest@npm:29.5.0" dependencies: - babel-plugin-jest-hoist: ^27.5.1 + babel-plugin-jest-hoist: ^29.5.0 babel-preset-current-node-syntax: ^1.0.0 peerDependencies: "@babel/core": ^7.0.0 - checksum: 251bcea11c18fd9672fec104eadb45b43f117ceeb326fa7345ced778d4c1feab29343cd7a87a1dcfae4997d6c851a8b386d7f7213792da6e23b74f4443a8976d + checksum: 5566ca2762766c9319b4973d018d2fa08c0fcf6415c72cc54f4c8e7199e851ea8f5e6c6730f03ed7ed44fc8beefa959dd15911f2647dee47c615ff4faeddb1ad languageName: node linkType: hard @@ -3976,24 +3958,17 @@ __metadata: languageName: node linkType: hard -"browser-process-hrtime@npm:^1.0.0": - version: 1.0.0 - resolution: "browser-process-hrtime@npm:1.0.0" - checksum: e30f868cdb770b1201afb714ad1575dd86366b6e861900884665fb627109b3cc757c40067d3bfee1ff2a29c835257ea30725a8018a9afd02ac1c24b408b1e45f - languageName: node - linkType: hard - -"browserslist@npm:^4.14.5, browserslist@npm:^4.21.3, browserslist@npm:^4.21.4": - version: 4.21.4 - resolution: "browserslist@npm:4.21.4" +"browserslist@npm:^4.14.5, browserslist@npm:^4.21.4, browserslist@npm:^4.21.9": + version: 4.21.9 + resolution: "browserslist@npm:4.21.9" dependencies: - caniuse-lite: ^1.0.30001400 - electron-to-chromium: ^1.4.251 - node-releases: ^2.0.6 - update-browserslist-db: ^1.0.9 + caniuse-lite: ^1.0.30001503 + electron-to-chromium: ^1.4.431 + node-releases: ^2.0.12 + update-browserslist-db: ^1.0.11 bin: browserslist: cli.js - checksum: 4af3793704dbb4615bcd29059ab472344dc7961c8680aa6c4bb84f05340e14038d06a5aead58724eae69455b8fade8b8c69f1638016e87e5578969d74c078b79 + checksum: 80d3820584e211484ad1b1a5cfdeca1dd00442f47be87e117e1dda34b628c87e18b81ae7986fa5977b3e6a03154f6d13cd763baa6b8bf5dd9dd19f4926603698 languageName: node linkType: hard @@ -4130,10 +4105,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001400": - version: 1.0.30001407 - resolution: "caniuse-lite@npm:1.0.30001407" - checksum: e1c449d22f120a708accc956c1780f1da01af6c226cb6a324e531dc9f26f53075bff98e6c9cfce806157cdeede459aa8de03a3407b05f71d292a57b2910018b1 +"caniuse-lite@npm:^1.0.30001503": + version: 1.0.30001517 + resolution: "caniuse-lite@npm:1.0.30001517" + checksum: e4e87436ae1c4408cf4438aac22902b31eb03f3f5bad7f33bc518d12ffb35f3fd9395ccf7efc608ee046f90ce324ec6f7f26f8a8172b8c43c26a06ecee612a29 languageName: node linkType: hard @@ -4351,15 +4326,6 @@ __metadata: languageName: node linkType: hard -"combined-stream@npm:^1.0.8": - version: 1.0.8 - resolution: "combined-stream@npm:1.0.8" - dependencies: - delayed-stream: ~1.0.0 - checksum: 49fa4aeb4916567e33ea81d088f6584749fc90c7abec76fd516bf1c5aa5c79f3584b5ba3de6b86d26ddd64bae5329c4c7479343250cfe71c75bb366eae53bb7c - languageName: node - linkType: hard - "commander@npm:^2.20.0": version: 2.20.3 resolution: "commander@npm:2.20.3" @@ -4478,7 +4444,7 @@ __metadata: languageName: node linkType: hard -"convert-source-map@npm:^1.4.0, convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": +"convert-source-map@npm:^1.6.0, convert-source-map@npm:^1.7.0": version: 1.8.0 resolution: "convert-source-map@npm:1.8.0" dependencies: @@ -4487,6 +4453,13 @@ __metadata: languageName: node linkType: hard +"convert-source-map@npm:^2.0.0": + version: 2.0.0 + resolution: "convert-source-map@npm:2.0.0" + checksum: 63ae9933be5a2b8d4509daca5124e20c14d023c820258e484e32dc324d34c2754e71297c94a05784064ad27615037ef677e3f0c00469fb55f409d2bb21261035 + languageName: node + linkType: hard + "core-js-compat@npm:^3.25.1": version: 3.26.1 resolution: "core-js-compat@npm:3.26.1" @@ -4605,29 +4578,6 @@ __metadata: languageName: node linkType: hard -"cssom@npm:^0.4.4": - version: 0.4.4 - resolution: "cssom@npm:0.4.4" - checksum: e3bc1076e7ee4213d4fef05e7ae03bfa83dc05f32611d8edc341f4ecc3d9647b89c8245474c7dd2cdcdb797a27c462e99da7ad00a34399694559f763478ff53f - languageName: node - linkType: hard - -"cssom@npm:~0.3.6": - version: 0.3.8 - resolution: "cssom@npm:0.3.8" - checksum: 24beb3087c76c0d52dd458be9ee1fbc80ac771478a9baef35dd258cdeb527c68eb43204dd439692bb2b1ae5272fa5f2946d10946edab0d04f1078f85e06bc7f6 - languageName: node - linkType: hard - -"cssstyle@npm:^2.3.0": - version: 2.3.0 - resolution: "cssstyle@npm:2.3.0" - dependencies: - cssom: ~0.3.6 - checksum: 5f05e6fd2e3df0b44695c2f08b9ef38b011862b274e320665176467c0725e44a53e341bc4959a41176e83b66064ab786262e7380fd1cabeae6efee0d255bb4e3 - languageName: node - linkType: hard - "dargs@npm:^7.0.0": version: 7.0.0 resolution: "dargs@npm:7.0.0" @@ -4642,17 +4592,6 @@ __metadata: languageName: node linkType: hard -"data-urls@npm:^2.0.0": - version: 2.0.0 - resolution: "data-urls@npm:2.0.0" - dependencies: - abab: ^2.0.3 - whatwg-mimetype: ^2.3.0 - whatwg-url: ^8.0.0 - checksum: 97caf828aac25e25e04ba6869db0f99c75e6859bb5b424ada28d3e7841941ebf08ddff3c1b1bb4585986bd507a5d54c2a716853ea6cb98af877400e637393e71 - languageName: node - linkType: hard - "debug@npm:4, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.3, debug@npm:^4.3.4": version: 4.3.4 resolution: "debug@npm:4.3.4" @@ -4700,13 +4639,6 @@ __metadata: languageName: node linkType: hard -"decimal.js@npm:^10.2.1": - version: 10.3.1 - resolution: "decimal.js@npm:10.3.1" - checksum: 0351ac9f05fe050f23227aa6a4573bee2d58fa7378fcf28d969a8c789525032effb488a90320fd3fe86a66e17b4bc507d811b15eada5b7f0e7ec5d2af4c24a59 - languageName: node - linkType: hard - "dedent@npm:^0.7.0": version: 0.7.0 resolution: "dedent@npm:0.7.0" @@ -4714,7 +4646,7 @@ __metadata: languageName: node linkType: hard -"deep-is@npm:^0.1.3, deep-is@npm:~0.1.3": +"deep-is@npm:^0.1.3": version: 0.1.4 resolution: "deep-is@npm:0.1.4" checksum: edb65dd0d7d1b9c40b2f50219aef30e116cedd6fc79290e740972c132c09106d2e80aa0bc8826673dd5a00222d4179c84b36a790eef63a4c4bca75a37ef90804 @@ -4737,13 +4669,6 @@ __metadata: languageName: node linkType: hard -"delayed-stream@npm:~1.0.0": - version: 1.0.0 - resolution: "delayed-stream@npm:1.0.0" - checksum: 46fe6e83e2cb1d85ba50bd52803c68be9bd953282fa7096f51fc29edd5d67ff84ff753c51966061e5ba7cb5e47ef6d36a91924eddb7f3f3483b1c560f77a0020 - languageName: node - linkType: hard - "delegates@npm:^1.0.0": version: 1.0.0 resolution: "delegates@npm:1.0.0" @@ -4788,10 +4713,10 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^27.5.1": - version: 27.5.1 - resolution: "diff-sequences@npm:27.5.1" - checksum: a00db5554c9da7da225db2d2638d85f8e41124eccbd56cbaefb3b276dcbb1c1c2ad851c32defe2055a54a4806f030656cbf6638105fd6ce97bb87b90b32a33ca +"diff-sequences@npm:^29.4.3": + version: 29.4.3 + resolution: "diff-sequences@npm:29.4.3" + checksum: 28b265e04fdddcf7f9f814effe102cc95a9dec0564a579b5aed140edb24fc345c611ca52d76d725a3cab55d3888b915b5e8a4702e0f6058968a90fa5f41fcde7 languageName: node linkType: hard @@ -4861,15 +4786,6 @@ __metadata: languageName: node linkType: hard -"domexception@npm:^2.0.1": - version: 2.0.1 - resolution: "domexception@npm:2.0.1" - dependencies: - webidl-conversions: ^5.0.0 - checksum: d638e9cb05c52999f1b2eb87c374b03311ea5b1d69c2f875bc92da73e17db60c12142b45c950228642ff7f845c536b65305483350d080df59003a653da80b691 - languageName: node - linkType: hard - "dot-prop@npm:^3.0.0": version: 3.0.0 resolution: "dot-prop@npm:3.0.0" @@ -4902,17 +4818,17 @@ __metadata: languageName: node linkType: hard -"electron-to-chromium@npm:^1.4.251": - version: 1.4.255 - resolution: "electron-to-chromium@npm:1.4.255" - checksum: 9fd4e0b4a05b072e211b5a1ad2e20b099d7cd54a47b6cbf700dc9ef2020291b5b2d179af0dd0fc71be74b3c765a71ad14f7ff20afb637c0b58e7abc26ff3b68e +"electron-to-chromium@npm:^1.4.431": + version: 1.4.466 + resolution: "electron-to-chromium@npm:1.4.466" + checksum: 695af573f8642ed86db6e291b1c102083b1306fff7566b9d8e90bab04f7f330a9073a0487013fa21772625d60d9e2eb193a0518a6e80ef20ece20be8f3cd6e50 languageName: node linkType: hard -"emittery@npm:^0.8.1": - version: 0.8.1 - resolution: "emittery@npm:0.8.1" - checksum: 2457e8c7b0688bb006126f2c025b2655abe682f66b184954122a8a065b5277f9813d49d627896a10b076b81c513ec5f491fd9c14fbd42c04b95ca3c9f3c365ee +"emittery@npm:^0.13.1": + version: 0.13.1 + resolution: "emittery@npm:0.13.1" + checksum: 2b089ab6306f38feaabf4f6f02792f9ec85fc054fda79f44f6790e61bbf6bc4e1616afb9b232e0c5ec5289a8a452f79bfa6d905a6fd64e94b49981f0934001c6 languageName: node linkType: hard @@ -5075,25 +4991,6 @@ __metadata: languageName: node linkType: hard -"escodegen@npm:^2.0.0": - version: 2.0.0 - resolution: "escodegen@npm:2.0.0" - dependencies: - esprima: ^4.0.1 - estraverse: ^5.2.0 - esutils: ^2.0.2 - optionator: ^0.8.1 - source-map: ~0.6.1 - dependenciesMeta: - source-map: - optional: true - bin: - escodegen: bin/escodegen.js - esgenerate: bin/esgenerate.js - checksum: 5aa6b2966fafe0545e4e77936300cc94ad57cfe4dc4ebff9950492eaba83eef634503f12d7e3cbd644ecc1bab388ad0e92b06fd32222c9281a75d1cf02ec6cef - languageName: node - linkType: hard - "eslint-config-airbnb-base@npm:14.2.1": version: 14.2.1 resolution: "eslint-config-airbnb-base@npm:14.2.1" @@ -5318,7 +5215,7 @@ __metadata: languageName: node linkType: hard -"esprima@npm:^4.0.0, esprima@npm:^4.0.1": +"esprima@npm:^4.0.0": version: 4.0.1 resolution: "esprima@npm:4.0.1" bin: @@ -5419,15 +5316,17 @@ __metadata: languageName: node linkType: hard -"expect@npm:^27.5.1": - version: 27.5.1 - resolution: "expect@npm:27.5.1" +"expect@npm:^29.0.0, expect@npm:^29.6.1": + version: 29.6.1 + resolution: "expect@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 - jest-get-type: ^27.5.1 - jest-matcher-utils: ^27.5.1 - jest-message-util: ^27.5.1 - checksum: b2c66beb52de53ef1872165aace40224e722bca3c2274c54cfa74b6d617d55cf0ccdbf36783ccd64dbea501b280098ed33fd0b207d4f15bc03cd3c7a24364a6a + "@jest/expect-utils": ^29.6.1 + "@types/node": "*" + jest-get-type: ^29.4.3 + jest-matcher-utils: ^29.6.1 + jest-message-util: ^29.6.1 + jest-util: ^29.6.1 + checksum: 4e712e52c90f6c54e748fd2876be33c43ada6a59088ddf6a1acb08b18b3b97b3a672124684abe32599986d2f2a438d5afad148837ee06ea386d2a4bf0348de78 languageName: node linkType: hard @@ -5458,14 +5357,14 @@ __metadata: languageName: node linkType: hard -"fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.0.0": +"fast-json-stable-stringify@npm:2.x, fast-json-stable-stringify@npm:^2.0.0, fast-json-stable-stringify@npm:^2.1.0": version: 2.1.0 resolution: "fast-json-stable-stringify@npm:2.1.0" checksum: b191531e36c607977e5b1c47811158733c34ccb3bfde92c44798929e9b4154884378536d26ad90dfecd32e1ffc09c545d23535ad91b3161a27ddbb8ebe0cbecb languageName: node linkType: hard -"fast-levenshtein@npm:^2.0.6, fast-levenshtein@npm:~2.0.6": +"fast-levenshtein@npm:^2.0.6": version: 2.0.6 resolution: "fast-levenshtein@npm:2.0.6" checksum: 92cfec0a8dfafd9c7a15fba8f2cc29cd0b62b85f056d99ce448bbcd9f708e18ab2764bda4dd5158364f4145a7c72788538994f0d1787b956ef0d1062b0f7c24c @@ -5580,17 +5479,6 @@ __metadata: languageName: node linkType: hard -"form-data@npm:^3.0.0": - version: 3.0.1 - resolution: "form-data@npm:3.0.1" - dependencies: - asynckit: ^0.4.0 - combined-stream: ^1.0.8 - mime-types: ^2.1.12 - checksum: b019e8d35c8afc14a2bd8a7a92fa4f525a4726b6d5a9740e8d2623c30e308fbb58dc8469f90415a856698933c8479b01646a9dff33c87cc4e76d72aedbbf860d - languageName: node - linkType: hard - "formdata-polyfill@npm:^4.0.10": version: 4.0.10 resolution: "formdata-polyfill@npm:4.0.10" @@ -5784,7 +5672,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"glob@npm:^7.1.1, glob@npm:^7.1.2, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0": +"glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.2.0": version: 7.2.0 resolution: "glob@npm:7.2.0" dependencies: @@ -5938,15 +5826,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"html-encoding-sniffer@npm:^2.0.1": - version: 2.0.1 - resolution: "html-encoding-sniffer@npm:2.0.1" - dependencies: - whatwg-encoding: ^1.0.5 - checksum: bf30cce461015ed7e365736fcd6a3063c7bc016a91f74398ef6158886970a96333938f7c02417ab3c12aa82e3e53b40822145facccb9ddfbcdc15a879ae4d7ba - languageName: node - linkType: hard - "html-escaper@npm:^2.0.0": version: 2.0.2 resolution: "html-escaper@npm:2.0.2" @@ -5961,17 +5840,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"http-proxy-agent@npm:^4.0.1": - version: 4.0.1 - resolution: "http-proxy-agent@npm:4.0.1" - dependencies: - "@tootallnate/once": 1 - agent-base: 6 - debug: 4 - checksum: c6a5da5a1929416b6bbdf77b1aca13888013fe7eb9d59fc292e25d18e041bb154a8dfada58e223fc7b76b9b2d155a87e92e608235201f77d34aa258707963a82 - languageName: node - linkType: hard - "http-proxy-agent@npm:^5.0.0": version: 5.0.0 resolution: "http-proxy-agent@npm:5.0.0" @@ -6030,15 +5898,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"iconv-lite@npm:0.4.24": - version: 0.4.24 - resolution: "iconv-lite@npm:0.4.24" - dependencies: - safer-buffer: ">= 2.1.2 < 3" - checksum: bd9f120f5a5b306f0bc0b9ae1edeb1577161503f5f8252a20f1a9e56ef8775c9959fd01c55f2d3a39d9a8abaf3e30c1abeb1895f367dcbbe0a8fd1c9ca01c4f6 - languageName: node - linkType: hard - "iconv-lite@npm:^0.6.2": version: 0.6.3 resolution: "iconv-lite@npm:0.6.3" @@ -6302,13 +6161,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"is-potential-custom-element-name@npm:^1.0.1": - version: 1.0.1 - resolution: "is-potential-custom-element-name@npm:1.0.1" - checksum: ced7bbbb6433a5b684af581872afe0e1767e2d1146b2207ca0068a648fb5cab9d898495d1ac0583524faaf24ca98176a7d9876363097c2d14fee6dd324f3a1ab - languageName: node - linkType: hard - "is-regex@npm:^1.1.4": version: 1.1.4 resolution: "is-regex@npm:1.1.4" @@ -6360,13 +6212,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"is-typedarray@npm:^1.0.0": - version: 1.0.0 - resolution: "is-typedarray@npm:1.0.0" - checksum: 3508c6cd0a9ee2e0df2fa2e9baabcdc89e911c7bd5cf64604586697212feec525aa21050e48affb5ffc3df20f0f5d2e2cf79b08caa64e1ccc9578e251763aef7 - languageName: node - linkType: hard - "is-weakref@npm:^1.0.1": version: 1.0.2 resolution: "is-weakref@npm:1.0.2" @@ -6449,60 +6294,60 @@ fsevents@^2.3.2: languageName: node linkType: hard -"jest-changed-files@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-changed-files@npm:27.5.1" +"jest-changed-files@npm:^29.5.0": + version: 29.5.0 + resolution: "jest-changed-files@npm:29.5.0" dependencies: - "@jest/types": ^27.5.1 execa: ^5.0.0 - throat: ^6.0.1 - checksum: 95e9dc74c3ca688ef85cfeab270f43f8902721a6c8ade6ac2459459a77890c85977f537d6fb809056deaa6d9c3f075fa7d2699ff5f3bf7d3fda17c3760b79b15 + p-limit: ^3.1.0 + checksum: a67a7cb3c11f8f92bd1b7c79e84f724cbd11a9ad51f3cdadafe3ce7ee3c79ee50dbea128f920f5fddc807e9e4e83f5462143094391feedd959a77dd20ab96cf3 languageName: node linkType: hard -"jest-circus@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-circus@npm:27.5.1" +"jest-circus@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-circus@npm:29.6.1" dependencies: - "@jest/environment": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/environment": ^29.6.1 + "@jest/expect": ^29.6.1 + "@jest/test-result": ^29.6.1 + "@jest/types": ^29.6.1 "@types/node": "*" chalk: ^4.0.0 co: ^4.6.0 dedent: ^0.7.0 - expect: ^27.5.1 is-generator-fn: ^2.0.0 - jest-each: ^27.5.1 - jest-matcher-utils: ^27.5.1 - jest-message-util: ^27.5.1 - jest-runtime: ^27.5.1 - jest-snapshot: ^27.5.1 - jest-util: ^27.5.1 - pretty-format: ^27.5.1 + jest-each: ^29.6.1 + jest-matcher-utils: ^29.6.1 + jest-message-util: ^29.6.1 + jest-runtime: ^29.6.1 + jest-snapshot: ^29.6.1 + jest-util: ^29.6.1 + p-limit: ^3.1.0 + pretty-format: ^29.6.1 + pure-rand: ^6.0.0 slash: ^3.0.0 stack-utils: ^2.0.3 - throat: ^6.0.1 - checksum: 6192dccbccb3a6acfa361cbb97bdbabe94864ccf3d885932cfd41f19534329d40698078cf9be1489415e8234255d6ea9f9aff5396b79ad842a6fca6e6fc08fd0 + checksum: f3e39a74b601929448df92037f0599978d4d7a4b8f636f64e8020533d2d2b2f669d6729c80c6efed69341ca26753e5061e9787a0acd6c70af2127a94375ebb76 languageName: node linkType: hard -"jest-cli@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-cli@npm:27.5.1" +"jest-cli@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-cli@npm:29.6.1" dependencies: - "@jest/core": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/core": ^29.6.1 + "@jest/test-result": ^29.6.1 + "@jest/types": ^29.6.1 chalk: ^4.0.0 exit: ^0.1.2 graceful-fs: ^4.2.9 import-local: ^3.0.2 - jest-config: ^27.5.1 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 + jest-config: ^29.6.1 + jest-util: ^29.6.1 + jest-validate: ^29.6.1 prompts: ^2.0.1 - yargs: ^16.2.0 + yargs: ^17.3.1 peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -6510,212 +6355,173 @@ fsevents@^2.3.2: optional: true bin: jest: bin/jest.js - checksum: 6c0a69fb48e500241409e09ff743ed72bc6578d7769e2c994724e7ef1e5587f6c1f85dc429e93b98ae38a365222993ee70f0acc2199358992120900984f349e5 + checksum: f5854ffea977b9a12520ea71f8d0cc8a626cbb93d7e1e6eea18a2a1f2b25f70f1b6b08a89f11b4dc7dd36a1776a9ac2cf8ec5c7998086f913ee690c06c07c949 languageName: node linkType: hard -"jest-config@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-config@npm:27.5.1" +"jest-config@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-config@npm:29.6.1" dependencies: - "@babel/core": ^7.8.0 - "@jest/test-sequencer": ^27.5.1 - "@jest/types": ^27.5.1 - babel-jest: ^27.5.1 + "@babel/core": ^7.11.6 + "@jest/test-sequencer": ^29.6.1 + "@jest/types": ^29.6.1 + babel-jest: ^29.6.1 chalk: ^4.0.0 ci-info: ^3.2.0 deepmerge: ^4.2.2 - glob: ^7.1.1 + glob: ^7.1.3 graceful-fs: ^4.2.9 - jest-circus: ^27.5.1 - jest-environment-jsdom: ^27.5.1 - jest-environment-node: ^27.5.1 - jest-get-type: ^27.5.1 - jest-jasmine2: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-runner: ^27.5.1 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 + jest-circus: ^29.6.1 + jest-environment-node: ^29.6.1 + jest-get-type: ^29.4.3 + jest-regex-util: ^29.4.3 + jest-resolve: ^29.6.1 + jest-runner: ^29.6.1 + jest-util: ^29.6.1 + jest-validate: ^29.6.1 micromatch: ^4.0.4 parse-json: ^5.2.0 - pretty-format: ^27.5.1 + pretty-format: ^29.6.1 slash: ^3.0.0 strip-json-comments: ^3.1.1 peerDependencies: + "@types/node": "*" ts-node: ">=9.0.0" peerDependenciesMeta: + "@types/node": + optional: true ts-node: optional: true - checksum: 1188fd46c0ed78cbe3175eb9ad6712ccf74a74be33d9f0d748e147c107f0889f8b701fbff1567f31836ae18597dacdc43d6a8fc30dd34ade6c9229cc6c7cb82d + checksum: 3a30afeb28cc5658ef9cd95f2551ab8a29641bb6d377eb239cba8e7522eb4611c9a98cdcf173d87f5ad7b5e1ad242c3cd5434a260107bd3c7e8305d05023e05c languageName: node linkType: hard -"jest-diff@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-diff@npm:27.5.1" +"jest-diff@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-diff@npm:29.6.1" dependencies: chalk: ^4.0.0 - diff-sequences: ^27.5.1 - jest-get-type: ^27.5.1 - pretty-format: ^27.5.1 - checksum: 8be27c1e1ee57b2bb2bef9c0b233c19621b4c43d53a3c26e2c00a4e805eb4ea11fe1694a06a9fb0e80ffdcfdc0d2b1cb0b85920b3f5c892327ecd1e7bd96b865 + diff-sequences: ^29.4.3 + jest-get-type: ^29.4.3 + pretty-format: ^29.6.1 + checksum: c6350178ca27d92c7fd879790fb2525470c1ff1c5d29b1834a240fecd26c6904fb470ebddb98dc96dd85389c56c3b50e6965a1f5203e9236d213886ed9806219 languageName: node linkType: hard -"jest-docblock@npm:^27.4.0, jest-docblock@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-docblock@npm:27.5.1" +"jest-docblock@npm:^29.4.3": + version: 29.4.3 + resolution: "jest-docblock@npm:29.4.3" dependencies: detect-newline: ^3.0.0 - checksum: c0fed6d55b229d8bffdd8d03f121dd1a3be77c88f50552d374f9e1ea3bde57bf6bea017a0add04628d98abcb1bfb48b456438eeca8a74ef0053f4dae3b95d29c + checksum: e0e9df1485bb8926e5b33478cdf84b3387d9caf3658e7dc1eaa6dc34cb93dea0d2d74797f6e940f0233a88f3dadd60957f2288eb8f95506361f85b84bf8661df languageName: node linkType: hard -"jest-each@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-each@npm:27.5.1" +"jest-each@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-each@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 + "@jest/types": ^29.6.1 chalk: ^4.0.0 - jest-get-type: ^27.5.1 - jest-util: ^27.5.1 - pretty-format: ^27.5.1 - checksum: b5a6d8730fd938982569c9e0b42bdf3c242f97b957ed8155a6473b5f7b540970f8685524e7f53963dc1805319f4b6602abfc56605590ca19d55bd7a87e467e63 - languageName: node - linkType: hard - -"jest-environment-jsdom@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-environment-jsdom@npm:27.5.1" - dependencies: - "@jest/environment": ^27.5.1 - "@jest/fake-timers": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - jest-mock: ^27.5.1 - jest-util: ^27.5.1 - jsdom: ^16.6.0 - checksum: bc104aef7d7530d0740402aa84ac812138b6d1e51fe58adecce679f82b99340ddab73e5ec68fa079f33f50c9ddec9728fc9f0ddcca2ad6f0b351eed2762cc555 + jest-get-type: ^29.4.3 + jest-util: ^29.6.1 + pretty-format: ^29.6.1 + checksum: 9d2ea7ed5326ee8c22523b22c66c85fe73754ea39f9b389881956508ee441392c61072a5fbf673e39beddd31d011bb94acae3edc77053ba4f9aa5c060114a5c8 languageName: node linkType: hard -"jest-environment-node@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-environment-node@npm:27.5.1" +"jest-environment-node@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-environment-node@npm:29.6.1" dependencies: - "@jest/environment": ^27.5.1 - "@jest/fake-timers": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/environment": ^29.6.1 + "@jest/fake-timers": ^29.6.1 + "@jest/types": ^29.6.1 "@types/node": "*" - jest-mock: ^27.5.1 - jest-util: ^27.5.1 - checksum: 0f988330c4f3eec092e3fb37ea753b0c6f702e83cd8f4d770af9c2bf964a70bc45fbd34ec6fdb6d71ce98a778d9f54afd673e63f222e4667fff289e8069dba39 + jest-mock: ^29.6.1 + jest-util: ^29.6.1 + checksum: a50287e1ff29d131646bd09acc3222ac6ea0ad61e86bf73851d318ef2be0633a421b8558c4a15ddc67e0ffcfc32da7f6a0d8a2ddbfa85453837899dec88d256c languageName: node linkType: hard -"jest-get-type@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-get-type@npm:27.5.1" - checksum: 63064ab70195c21007d897c1157bf88ff94a790824a10f8c890392e7d17eda9c3900513cb291ca1c8d5722cad79169764e9a1279f7c8a9c4cd6e9109ff04bbc0 +"jest-get-type@npm:^29.4.3": + version: 29.4.3 + resolution: "jest-get-type@npm:29.4.3" + checksum: 6ac7f2dde1c65e292e4355b6c63b3a4897d7e92cb4c8afcf6d397f2682f8080e094c8b0b68205a74d269882ec06bf696a9de6cd3e1b7333531e5ed7b112605ce languageName: node linkType: hard -"jest-haste-map@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-haste-map@npm:27.5.1" +"jest-haste-map@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-haste-map@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 - "@types/graceful-fs": ^4.1.2 + "@jest/types": ^29.6.1 + "@types/graceful-fs": ^4.1.3 "@types/node": "*" anymatch: ^3.0.3 fb-watchman: ^2.0.0 fsevents: ^2.3.2 graceful-fs: ^4.2.9 - jest-regex-util: ^27.5.1 - jest-serializer: ^27.5.1 - jest-util: ^27.5.1 - jest-worker: ^27.5.1 + jest-regex-util: ^29.4.3 + jest-util: ^29.6.1 + jest-worker: ^29.6.1 micromatch: ^4.0.4 - walker: ^1.0.7 + walker: ^1.0.8 dependenciesMeta: fsevents: optional: true - checksum: e092a1412829a9254b4725531ee72926de530f77fda7b0d9ea18008fb7623c16f72e772d8e93be71cac9e591b2c6843a669610887dd2c89bd9eb528856e3ab47 + checksum: 7c74d5a0f6aafa9f4e60fae7949d4774770c0243fb529c24f2f4c81229db479fa318dc8b81e8d226865aef1d600af10bd8404dd208e802318434b46f75d5d869 languageName: node linkType: hard -"jest-jasmine2@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-jasmine2@npm:27.5.1" +"jest-leak-detector@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-leak-detector@npm:29.6.1" dependencies: - "@jest/environment": ^27.5.1 - "@jest/source-map": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/node": "*" - chalk: ^4.0.0 - co: ^4.6.0 - expect: ^27.5.1 - is-generator-fn: ^2.0.0 - jest-each: ^27.5.1 - jest-matcher-utils: ^27.5.1 - jest-message-util: ^27.5.1 - jest-runtime: ^27.5.1 - jest-snapshot: ^27.5.1 - jest-util: ^27.5.1 - pretty-format: ^27.5.1 - throat: ^6.0.1 - checksum: b716adf253ceb73db661936153394ab90d7f3a8ba56d6189b7cd4df8e4e2a4153b4e63ebb5d36e29ceb0f4c211d5a6f36ab7048c6abbd881c8646567e2ab8e6d + jest-get-type: ^29.4.3 + pretty-format: ^29.6.1 + checksum: 5122d40c248effaede4c9ee3a99046a3f30088fef7bfc4af534678b432455161399357af46deb6423de7e05c6597920d6ee8cd570e26048886a90d541334f8c8 languageName: node linkType: hard -"jest-leak-detector@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-leak-detector@npm:27.5.1" - dependencies: - jest-get-type: ^27.5.1 - pretty-format: ^27.5.1 - checksum: 5c9689060960567ddaf16c570d87afa760a461885765d2c71ef4f4857bbc3af1482c34e3cce88e50beefde1bf35e33530b020480752057a7e3dbb1ca0bae359f - languageName: node - linkType: hard - -"jest-matcher-utils@npm:^27.0.0, jest-matcher-utils@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-matcher-utils@npm:27.5.1" +"jest-matcher-utils@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-matcher-utils@npm:29.6.1" dependencies: chalk: ^4.0.0 - jest-diff: ^27.5.1 - jest-get-type: ^27.5.1 - pretty-format: ^27.5.1 - checksum: bb2135fc48889ff3fe73888f6cc7168ddab9de28b51b3148f820c89fdfd2effdcad005f18be67d0b9be80eda208ad47290f62f03d0a33f848db2dd0273c8217a + jest-diff: ^29.6.1 + jest-get-type: ^29.4.3 + pretty-format: ^29.6.1 + checksum: d2efa6aed6e4820758b732b9fefd315c7fa4508ee690da656e1c5ac4c1a0f4cee5b04c9719ee1fda9aeb883b4209186c145089ced521e715b9fa70afdfa4a9c6 languageName: node linkType: hard -"jest-message-util@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-message-util@npm:27.5.1" +"jest-message-util@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-message-util@npm:29.6.1" dependencies: "@babel/code-frame": ^7.12.13 - "@jest/types": ^27.5.1 + "@jest/types": ^29.6.1 "@types/stack-utils": ^2.0.0 chalk: ^4.0.0 graceful-fs: ^4.2.9 micromatch: ^4.0.4 - pretty-format: ^27.5.1 + pretty-format: ^29.6.1 slash: ^3.0.0 stack-utils: ^2.0.3 - checksum: eb6d637d1411c71646de578c49826b6da8e33dd293e501967011de9d1916d53d845afbfb52a5b661ff1c495be7c13f751c48c7f30781fd94fbd64842e8195796 + checksum: 3e7cb2ff087fe72255292e151d24e4fbb4cd6134885c0a67a4b302f233fe4110bf7580b176f427f05ad7550eb878ed94237209785d09d659a7d171ffa59c068f languageName: node linkType: hard -"jest-mock@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-mock@npm:27.5.1" +"jest-mock@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-mock@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 + "@jest/types": ^29.6.1 "@types/node": "*" - checksum: f5b5904bb1741b4a1687a5f492535b7b1758dc26534c72a5423305f8711292e96a601dec966df81bb313269fb52d47227e29f9c2e08324d79529172f67311be0 + jest-util: ^29.6.1 + checksum: 5e902f1a7eba1eb1a64eb6c19947fe1316834359d9869d0e2644d8979b9cad0465885dc4c9909c471888cddeea835c938cec6263d386d3d1aad720fc74e52ea1 languageName: node linkType: hard @@ -6731,195 +6537,173 @@ fsevents@^2.3.2: languageName: node linkType: hard -"jest-regex-util@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-regex-util@npm:27.5.1" - checksum: d45ca7a9543616a34f7f3079337439cf07566e677a096472baa2810e274b9808b76767c97b0a4029b8a5b82b9d256dee28ef9ad4138b2b9e5933f6fac106c418 +"jest-regex-util@npm:^29.4.3": + version: 29.4.3 + resolution: "jest-regex-util@npm:29.4.3" + checksum: 96fc7fc28cd4dd73a63c13a526202c4bd8b351d4e5b68b1a2a2c88da3308c2a16e26feaa593083eb0bac38cca1aa9dd05025412e7de013ba963fb8e66af22b8a languageName: node linkType: hard -"jest-resolve-dependencies@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-resolve-dependencies@npm:27.5.1" +"jest-resolve-dependencies@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-resolve-dependencies@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 - jest-regex-util: ^27.5.1 - jest-snapshot: ^27.5.1 - checksum: c67af97afad1da88f5530317c732bbd1262d1225f6cd7f4e4740a5db48f90ab0bd8564738ac70d1a43934894f9aef62205c1b8f8ee89e5c7a737e6a121ee4c25 + jest-regex-util: ^29.4.3 + jest-snapshot: ^29.6.1 + checksum: cee0a0fe53fd4531492a526b6ccd32377baad1eff6e6c124f04e9dc920219fd23fd39be88bb9551ee68d5fe92a3af627b423c9bc65a2aa0ac8a223c0e74dbbbb languageName: node linkType: hard -"jest-resolve@npm:^27.2.5, jest-resolve@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-resolve@npm:27.5.1" +"jest-resolve@npm:^29.5.0, jest-resolve@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-resolve@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 chalk: ^4.0.0 graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 + jest-haste-map: ^29.6.1 jest-pnp-resolver: ^1.2.2 - jest-util: ^27.5.1 - jest-validate: ^27.5.1 + jest-util: ^29.6.1 + jest-validate: ^29.6.1 resolve: ^1.20.0 - resolve.exports: ^1.1.0 + resolve.exports: ^2.0.0 slash: ^3.0.0 - checksum: 735830e7265b20a348029738680bb2f6e37f80ecea86cda869a4c318ba3a45d39c7a3a873a22f7f746d86258c50ead6e7f501de043e201c095d7ba628a1c440f - languageName: node - linkType: hard - -"jest-runner-groups@npm:^2.1.0": - version: 2.1.0 - resolution: "jest-runner-groups@npm:2.1.0" - peerDependencies: - jest-docblock: ">= 24" - jest-runner: ">= 24" - checksum: 760ae1b47e0d257441843508652bc09d6b9e09c35be2325d81bb14b082bc9c49974df0123c75a4b45a655c04e61d52dc3d4bf32279243fd86b5656fdb582573a + checksum: 9ce979a0f4a751bea58caea76415112df2a3f4d58e294019872244728aadd001f0ec20c873a3c805dd8f7c762143b3c14d00f87d124ed87c9981fbf8723090ef languageName: node linkType: hard -"jest-runner@npm:^27.4.6, jest-runner@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-runner@npm:27.5.1" +"jest-runner@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-runner@npm:29.6.1" dependencies: - "@jest/console": ^27.5.1 - "@jest/environment": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/console": ^29.6.1 + "@jest/environment": ^29.6.1 + "@jest/test-result": ^29.6.1 + "@jest/transform": ^29.6.1 + "@jest/types": ^29.6.1 "@types/node": "*" chalk: ^4.0.0 - emittery: ^0.8.1 + emittery: ^0.13.1 graceful-fs: ^4.2.9 - jest-docblock: ^27.5.1 - jest-environment-jsdom: ^27.5.1 - jest-environment-node: ^27.5.1 - jest-haste-map: ^27.5.1 - jest-leak-detector: ^27.5.1 - jest-message-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-runtime: ^27.5.1 - jest-util: ^27.5.1 - jest-worker: ^27.5.1 - source-map-support: ^0.5.6 - throat: ^6.0.1 - checksum: 5bbe6cf847dd322b3332ec9d6977b54f91bd5f72ff620bc1a0192f0f129deda8aa7ca74c98922187a7aa87d8e0ce4f6c50e99a7ccb2a310bf4d94be2e0c3ce8e - languageName: node - linkType: hard - -"jest-runtime@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-runtime@npm:27.5.1" - dependencies: - "@jest/environment": ^27.5.1 - "@jest/fake-timers": ^27.5.1 - "@jest/globals": ^27.5.1 - "@jest/source-map": ^27.5.1 - "@jest/test-result": ^27.5.1 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 + jest-docblock: ^29.4.3 + jest-environment-node: ^29.6.1 + jest-haste-map: ^29.6.1 + jest-leak-detector: ^29.6.1 + jest-message-util: ^29.6.1 + jest-resolve: ^29.6.1 + jest-runtime: ^29.6.1 + jest-util: ^29.6.1 + jest-watcher: ^29.6.1 + jest-worker: ^29.6.1 + p-limit: ^3.1.0 + source-map-support: 0.5.13 + checksum: 0e4dbda26669ae31fee32f8a62b3119bba510f2d17a098d6157b48a73ed2fc9842405bf893f3045c12b3632c7c0e3399fb22684b18ab5566aff4905b26c79a9a + languageName: node + linkType: hard + +"jest-runtime@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-runtime@npm:29.6.1" + dependencies: + "@jest/environment": ^29.6.1 + "@jest/fake-timers": ^29.6.1 + "@jest/globals": ^29.6.1 + "@jest/source-map": ^29.6.0 + "@jest/test-result": ^29.6.1 + "@jest/transform": ^29.6.1 + "@jest/types": ^29.6.1 + "@types/node": "*" chalk: ^4.0.0 cjs-module-lexer: ^1.0.0 collect-v8-coverage: ^1.0.0 - execa: ^5.0.0 glob: ^7.1.3 graceful-fs: ^4.2.9 - jest-haste-map: ^27.5.1 - jest-message-util: ^27.5.1 - jest-mock: ^27.5.1 - jest-regex-util: ^27.5.1 - jest-resolve: ^27.5.1 - jest-snapshot: ^27.5.1 - jest-util: ^27.5.1 + jest-haste-map: ^29.6.1 + jest-message-util: ^29.6.1 + jest-mock: ^29.6.1 + jest-regex-util: ^29.4.3 + jest-resolve: ^29.6.1 + jest-snapshot: ^29.6.1 + jest-util: ^29.6.1 slash: ^3.0.0 strip-bom: ^4.0.0 - checksum: 929e3df0c53dab43f831f2af4e2996b22aa8cb2d6d483919d6b0426cbc100098fd5b777b998c6568b77f8c4d860b2e83127514292ff61416064f5ef926492386 - languageName: node - linkType: hard - -"jest-serializer@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-serializer@npm:27.5.1" - dependencies: - "@types/node": "*" - graceful-fs: ^4.2.9 - checksum: 803e03a552278610edc6753c0dd9fa5bb5cd3ca47414a7b2918106efb62b79fd5e9ae785d0a21f12a299fa599fea8acc1fa6dd41283328cee43962cf7df9bb44 + checksum: 7c360c9694467d996f3d6d914fefa0e7bda554adda8c2b9fba31546dba663d71a64eda103ff68120a2422f3c16db8f0bc2c445923fe8fb934f37e53ef74fb429 languageName: node linkType: hard -"jest-snapshot@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-snapshot@npm:27.5.1" +"jest-snapshot@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-snapshot@npm:29.6.1" dependencies: - "@babel/core": ^7.7.2 + "@babel/core": ^7.11.6 "@babel/generator": ^7.7.2 + "@babel/plugin-syntax-jsx": ^7.7.2 "@babel/plugin-syntax-typescript": ^7.7.2 - "@babel/traverse": ^7.7.2 - "@babel/types": ^7.0.0 - "@jest/transform": ^27.5.1 - "@jest/types": ^27.5.1 - "@types/babel__traverse": ^7.0.4 + "@babel/types": ^7.3.3 + "@jest/expect-utils": ^29.6.1 + "@jest/transform": ^29.6.1 + "@jest/types": ^29.6.1 "@types/prettier": ^2.1.5 babel-preset-current-node-syntax: ^1.0.0 chalk: ^4.0.0 - expect: ^27.5.1 + expect: ^29.6.1 graceful-fs: ^4.2.9 - jest-diff: ^27.5.1 - jest-get-type: ^27.5.1 - jest-haste-map: ^27.5.1 - jest-matcher-utils: ^27.5.1 - jest-message-util: ^27.5.1 - jest-util: ^27.5.1 + jest-diff: ^29.6.1 + jest-get-type: ^29.4.3 + jest-matcher-utils: ^29.6.1 + jest-message-util: ^29.6.1 + jest-util: ^29.6.1 natural-compare: ^1.4.0 - pretty-format: ^27.5.1 - semver: ^7.3.2 - checksum: a5cfadf0d21cd76063925d1434bc076443ed6d87847d0e248f0b245f11db3d98ff13e45cc03b15404027dabecd712d925f47b6eae4f64986f688640a7d362514 + pretty-format: ^29.6.1 + semver: ^7.5.3 + checksum: e8f69d1fd4a29d354d4dca9eb2a22674b300f8ef509e4f1e75337c880414a00d2bdc9d3849a6855dbb5a76bfbe74603f33435378a3877e69f0838e4cc2244350 languageName: node linkType: hard -"jest-util@npm:^27.0.0, jest-util@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-util@npm:27.5.1" +"jest-util@npm:^29.0.0, jest-util@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-util@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 + "@jest/types": ^29.6.1 "@types/node": "*" chalk: ^4.0.0 ci-info: ^3.2.0 graceful-fs: ^4.2.9 picomatch: ^2.2.3 - checksum: ac8d122f6daf7a035dcea156641fd3701aeba245417c40836a77e35b3341b9c02ddc5d904cfcd4ddbaa00ab854da76d3b911870cafdcdbaff90ea471de26c7d7 + checksum: fc553556c1350c443449cadaba5fb9d604628e8b5ceb6ceaf4e7e08975b24277d0a14bf2e0f956024e03c23e556fcb074659423422a06fbedf2ab52978697ac7 languageName: node linkType: hard -"jest-validate@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-validate@npm:27.5.1" +"jest-validate@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-validate@npm:29.6.1" dependencies: - "@jest/types": ^27.5.1 + "@jest/types": ^29.6.1 camelcase: ^6.2.0 chalk: ^4.0.0 - jest-get-type: ^27.5.1 + jest-get-type: ^29.4.3 leven: ^3.1.0 - pretty-format: ^27.5.1 - checksum: 82e870f8ee7e4fb949652711b1567f05ae31c54be346b0899e8353e5c20fad7692b511905b37966945e90af8dc0383eb41a74f3ffefb16140ea4f9164d841412 + pretty-format: ^29.6.1 + checksum: d2491f3f33d9bbc2dcaaa6acbff26f257b59c5eeceb65a52a9c1cec2f679b836ec2a4658b7004c0ef9d90cd0d9bd664e41d5ed6900f932bea742dd8e6b85e7f1 languageName: node linkType: hard -"jest-watcher@npm:^27.5.1": - version: 27.5.1 - resolution: "jest-watcher@npm:27.5.1" +"jest-watcher@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-watcher@npm:29.6.1" dependencies: - "@jest/test-result": ^27.5.1 - "@jest/types": ^27.5.1 + "@jest/test-result": ^29.6.1 + "@jest/types": ^29.6.1 "@types/node": "*" ansi-escapes: ^4.2.1 chalk: ^4.0.0 - jest-util: ^27.5.1 + emittery: ^0.13.1 + jest-util: ^29.6.1 string-length: ^4.0.1 - checksum: 191c4e9c278c0902ade1a8a80883ac244963ba3e6e78607a3d5f729ccca9c6e71fb3b316f87883658132641c5d818aa84202585c76752e03c539e6cbecb820bd + checksum: 69bd5a602284fdce6eba5486c5c57aca6b511d91cb0907c34c104d6dd931e18ce67baa7f8e280fa473e5d81ea3e7b9e7d94f712c37ab0b3b8cc2aec30676955d languageName: node linkType: hard -"jest-worker@npm:^27.4.5, jest-worker@npm:^27.5.1": +"jest-worker@npm:^27.4.5": version: 27.5.1 resolution: "jest-worker@npm:27.5.1" dependencies: @@ -6930,13 +6714,26 @@ fsevents@^2.3.2: languageName: node linkType: hard -"jest@npm:^27.4.7": - version: 27.5.1 - resolution: "jest@npm:27.5.1" +"jest-worker@npm:^29.6.1": + version: 29.6.1 + resolution: "jest-worker@npm:29.6.1" + dependencies: + "@types/node": "*" + jest-util: ^29.6.1 + merge-stream: ^2.0.0 + supports-color: ^8.0.0 + checksum: 0af309ea4db17c4c47e84a9246f907960a15577683c005fdeafc8f3c06bc455136f95a6f28fa2a3e924b767eb4dacd9b40915a7707305f88586f099af3ac27a8 + languageName: node + linkType: hard + +"jest@npm:^29.6.1": + version: 29.6.1 + resolution: "jest@npm:29.6.1" dependencies: - "@jest/core": ^27.5.1 + "@jest/core": ^29.6.1 + "@jest/types": ^29.6.1 import-local: ^3.0.2 - jest-cli: ^27.5.1 + jest-cli: ^29.6.1 peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -6944,7 +6741,7 @@ fsevents@^2.3.2: optional: true bin: jest: bin/jest.js - checksum: 96f1d69042b3c6dfc695f2a4e4b0db38af6fb78582ad1a02beaa57cfcd77cbd31567d7d865c1c85709b7c3e176eefa3b2035ffecd646005f15d8ef528eccf205 + checksum: 7b8c0ca72f483e00ec19dcf9549f9a9af8ae468ab62925b148d714b58eb52d5fea9a082625193bc833d2d9b64cf65a11f3d37857636c5551af05c10aec4ce71b languageName: node linkType: hard @@ -6974,46 +6771,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"jsdom@npm:^16.6.0": - version: 16.7.0 - resolution: "jsdom@npm:16.7.0" - dependencies: - abab: ^2.0.5 - acorn: ^8.2.4 - acorn-globals: ^6.0.0 - cssom: ^0.4.4 - cssstyle: ^2.3.0 - data-urls: ^2.0.0 - decimal.js: ^10.2.1 - domexception: ^2.0.1 - escodegen: ^2.0.0 - form-data: ^3.0.0 - html-encoding-sniffer: ^2.0.1 - http-proxy-agent: ^4.0.1 - https-proxy-agent: ^5.0.0 - is-potential-custom-element-name: ^1.0.1 - nwsapi: ^2.2.0 - parse5: 6.0.1 - saxes: ^5.0.1 - symbol-tree: ^3.2.4 - tough-cookie: ^4.0.0 - w3c-hr-time: ^1.0.2 - w3c-xmlserializer: ^2.0.0 - webidl-conversions: ^6.1.0 - whatwg-encoding: ^1.0.5 - whatwg-mimetype: ^2.3.0 - whatwg-url: ^8.5.0 - ws: ^7.4.6 - xml-name-validator: ^3.0.0 - peerDependencies: - canvas: ^2.5.0 - peerDependenciesMeta: - canvas: - optional: true - checksum: 454b83371857000763ed31130a049acd1b113e3b927e6dcd75c67ddc30cdd242d7ebcac5c2294b7a1a6428155cb1398709c573b3c6d809218692ea68edd93370 - languageName: node - linkType: hard - "jsesc@npm:^2.5.1": version: 2.5.2 resolution: "jsesc@npm:2.5.2" @@ -7067,15 +6824,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"json5@npm:2.x, json5@npm:^2.2.1": - version: 2.2.3 - resolution: "json5@npm:2.2.3" - bin: - json5: lib/cli.js - checksum: 2a7436a93393830bce797d4626275152e37e877b265e94ca69c99e3d20c2b9dab021279146a39cdb700e71b2dd32a4cebd1514cd57cee102b1af906ce5040349 - languageName: node - linkType: hard - "json5@npm:^1.0.1": version: 1.0.2 resolution: "json5@npm:1.0.2" @@ -7087,6 +6835,15 @@ fsevents@^2.3.2: languageName: node linkType: hard +"json5@npm:^2.2.2, json5@npm:^2.2.3": + version: 2.2.3 + resolution: "json5@npm:2.2.3" + bin: + json5: lib/cli.js + checksum: 2a7436a93393830bce797d4626275152e37e877b265e94ca69c99e3d20c2b9dab021279146a39cdb700e71b2dd32a4cebd1514cd57cee102b1af906ce5040349 + languageName: node + linkType: hard + "jsonc-parser@npm:^3.2.0": version: 3.2.0 resolution: "jsonc-parser@npm:3.2.0" @@ -7199,16 +6956,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"levn@npm:~0.3.0": - version: 0.3.0 - resolution: "levn@npm:0.3.0" - dependencies: - prelude-ls: ~1.1.2 - type-check: ~0.3.2 - checksum: 0d084a524231a8246bb10fec48cdbb35282099f6954838604f3c7fc66f2e16fa66fd9cc2f3f20a541a113c4dafdf181e822c887c8a319c9195444e6c64ac395e - languageName: node - linkType: hard - "lines-and-columns@npm:^1.1.6": version: 1.2.4 resolution: "lines-and-columns@npm:1.2.4" @@ -7314,13 +7061,22 @@ fsevents@^2.3.2: languageName: node linkType: hard -"lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21, lodash@npm:^4.7.0": +"lodash@npm:^4.17.15, lodash@npm:^4.17.19, lodash@npm:^4.17.21": version: 4.17.21 resolution: "lodash@npm:4.17.21" checksum: eb835a2e51d381e561e508ce932ea50a8e5a68f4ebdd771ea240d3048244a8d13658acbd502cd4829768c56f2e16bdd4340b9ea141297d472517b83868e677f7 languageName: node linkType: hard +"lru-cache@npm:^5.1.1": + version: 5.1.1 + resolution: "lru-cache@npm:5.1.1" + dependencies: + yallist: ^3.0.2 + checksum: c154ae1cbb0c2206d1501a0e94df349653c92c8cbb25236d7e85190bcaf4567a03ac6eb43166fabfa36fd35623694da7233e88d9601fbf411a9a481d85dbd2cb + languageName: node + linkType: hard + "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -7466,7 +7222,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"mime-types@npm:^2.1.12, mime-types@npm:^2.1.27": +"mime-types@npm:^2.1.27": version: 2.1.35 resolution: "mime-types@npm:2.1.35" dependencies: @@ -7747,10 +7503,10 @@ fsevents@^2.3.2: languageName: node linkType: hard -"node-releases@npm:^2.0.6": - version: 2.0.6 - resolution: "node-releases@npm:2.0.6" - checksum: e86a926dc9fbb3b41b4c4a89d998afdf140e20a4e8dbe6c0a807f7b2948b42ea97d7fd3ad4868041487b6e9ee98409829c6e4d84a734a4215dff060a7fbeb4bf +"node-releases@npm:^2.0.12": + version: 2.0.13 + resolution: "node-releases@npm:2.0.13" + checksum: 17ec8f315dba62710cae71a8dad3cd0288ba943d2ece43504b3b1aa8625bf138637798ab470b1d9035b0545996f63000a8a926e0f6d35d0996424f8b6d36dda3 languageName: node linkType: hard @@ -7817,13 +7573,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"nwsapi@npm:^2.2.0": - version: 2.2.0 - resolution: "nwsapi@npm:2.2.0" - checksum: 5ef4a9bc0c1a5b7f2e014aa6a4b359a257503b796618ed1ef0eb852098f77e772305bb0e92856e4bbfa3e6c75da48c0113505c76f144555ff38867229c2400a7 - languageName: node - linkType: hard - "object-inspect@npm:^1.11.0, object-inspect@npm:^1.9.0": version: 1.12.0 resolution: "object-inspect@npm:1.12.0" @@ -7899,20 +7648,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"optionator@npm:^0.8.1": - version: 0.8.3 - resolution: "optionator@npm:0.8.3" - dependencies: - deep-is: ~0.1.3 - fast-levenshtein: ~2.0.6 - levn: ~0.3.0 - prelude-ls: ~1.1.2 - type-check: ~0.3.2 - word-wrap: ~1.2.3 - checksum: b8695ddf3d593203e25ab0900e265d860038486c943ff8b774f596a310f8ceebdb30c6832407a8198ba3ec9debe1abe1f51d4aad94843612db3b76d690c61d34 - languageName: node - linkType: hard - "optionator@npm:^0.9.1": version: 0.9.1 resolution: "optionator@npm:0.9.1" @@ -7945,7 +7680,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"p-limit@npm:^3.0.2": +"p-limit@npm:^3.0.2, p-limit@npm:^3.1.0": version: 3.1.0 resolution: "p-limit@npm:3.1.0" dependencies: @@ -8032,13 +7767,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"parse5@npm:6.0.1": - version: 6.0.1 - resolution: "parse5@npm:6.0.1" - checksum: 7d569a176c5460897f7c8f3377eff640d54132b9be51ae8a8fa4979af940830b2b0c296ce75e5bd8f4041520aadde13170dbdec44889975f906098ea0002f4bd - languageName: node - linkType: hard - "path-exists@npm:^3.0.0": version: 3.0.0 resolution: "path-exists@npm:3.0.0" @@ -8145,13 +7873,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"prelude-ls@npm:~1.1.2": - version: 1.1.2 - resolution: "prelude-ls@npm:1.1.2" - checksum: c4867c87488e4a0c233e158e4d0d5565b609b105d75e4c05dc760840475f06b731332eb93cc8c9cecb840aa8ec323ca3c9a56ad7820ad2e63f0261dadcb154e4 - languageName: node - linkType: hard - "prettier-linter-helpers@npm:^1.0.0": version: 1.0.0 resolution: "prettier-linter-helpers@npm:1.0.0" @@ -8170,14 +7891,14 @@ fsevents@^2.3.2: languageName: node linkType: hard -"pretty-format@npm:^27.0.0, pretty-format@npm:^27.5.1": - version: 27.5.1 - resolution: "pretty-format@npm:27.5.1" +"pretty-format@npm:^29.0.0, pretty-format@npm:^29.6.1": + version: 29.6.1 + resolution: "pretty-format@npm:29.6.1" dependencies: - ansi-regex: ^5.0.1 + "@jest/schemas": ^29.6.0 ansi-styles: ^5.0.0 - react-is: ^17.0.1 - checksum: cf610cffcb793885d16f184a62162f2dd0df31642d9a18edf4ca298e909a8fe80bdbf556d5c9573992c102ce8bf948691da91bf9739bee0ffb6e79c8a8a6e088 + react-is: ^18.0.0 + checksum: 6f923a2379a37a425241dc223d76f671c73c4f37dba158050575a54095867d565c068b441843afdf3d7c37bed9df4bbadf46297976e60d4149972b779474203a languageName: node linkType: hard @@ -8238,13 +7959,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"psl@npm:^1.1.33": - version: 1.8.0 - resolution: "psl@npm:1.8.0" - checksum: 6150048ed2da3f919478bee8a82f3828303bc0fc730fb015a48f83c9977682c7b28c60ab01425a72d82a2891a1681627aa530a991d50c086b48a3be27744bde7 - languageName: node - linkType: hard - "pump@npm:^3.0.0": version: 3.0.0 resolution: "pump@npm:3.0.0" @@ -8255,13 +7969,20 @@ fsevents@^2.3.2: languageName: node linkType: hard -"punycode@npm:^2.1.0, punycode@npm:^2.1.1": +"punycode@npm:^2.1.0": version: 2.1.1 resolution: "punycode@npm:2.1.1" checksum: 823bf443c6dd14f669984dea25757b37993f67e8d94698996064035edd43bed8a5a17a9f12e439c2b35df1078c6bec05a6c86e336209eb1061e8025c481168e8 languageName: node linkType: hard +"pure-rand@npm:^6.0.0": + version: 6.0.2 + resolution: "pure-rand@npm:6.0.2" + checksum: 79de33876a4f515d759c48e98d00756bbd916b4ea260cc572d7adfa4b62cace9952e89f0241d0410214554503d25061140fe325c66f845213d2b1728ba8d413e + languageName: node + linkType: hard + "q@npm:^1.5.1": version: 1.5.1 resolution: "q@npm:1.5.1" @@ -8301,10 +8022,10 @@ fsevents@^2.3.2: languageName: node linkType: hard -"react-is@npm:^17.0.1": - version: 17.0.2 - resolution: "react-is@npm:17.0.2" - checksum: 9d6d111d8990dc98bc5402c1266a808b0459b5d54830bbea24c12d908b536df7883f268a7868cfaedde3dd9d4e0d574db456f84d2e6df9c4526f99bb4b5344d8 +"react-is@npm:^18.0.0": + version: 18.2.0 + resolution: "react-is@npm:18.2.0" + checksum: e72d0ba81b5922759e4aff17e0252bd29988f9642ed817f56b25a3e217e13eea8a7f2322af99a06edb779da12d5d636e9fda473d620df9a3da0df2a74141d53e languageName: node linkType: hard @@ -8523,10 +8244,10 @@ fsevents@^2.3.2: languageName: node linkType: hard -"resolve.exports@npm:^1.1.0": - version: 1.1.0 - resolution: "resolve.exports@npm:1.1.0" - checksum: 52865af8edb088f6c7759a328584a5de6b226754f004b742523adcfe398cfbc4559515104bc2ae87b8e78b1e4de46c9baec400b3fb1f7d517b86d2d48a098a2d +"resolve.exports@npm:^2.0.0": + version: 2.0.2 + resolution: "resolve.exports@npm:2.0.2" + checksum: 1c7778ca1b86a94f8ab4055d196c7d87d1874b96df4d7c3e67bbf793140f0717fd506dcafd62785b079cd6086b9264424ad634fb904409764c3509c3df1653f2 languageName: node linkType: hard @@ -8570,7 +8291,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2": +"rimraf@npm:^3.0.2": version: 3.0.2 resolution: "rimraf@npm:3.0.2" dependencies: @@ -8589,7 +8310,7 @@ fsevents@^2.3.2: "@commitlint/cli": ^9.0.1 "@commitlint/config-conventional": ^9.0.1 "@playwright/test": ^1.21.1 - "@types/jest": ^27.4.0 + "@types/jest": ^29.5.3 "@typescript-eslint/eslint-plugin": ^5.7.0 "@typescript-eslint/parser": ^5.7.0 eslint: ^7.32.0 @@ -8600,15 +8321,12 @@ fsevents@^2.3.2: eslint-plugin-license-header: ^0.2.1 eslint-plugin-prettier: ^3.4.1 husky: ^4.2.5 - jest: ^27.4.7 - jest-docblock: ^27.4.0 - jest-runner: ^27.4.6 - jest-runner-groups: ^2.1.0 + jest: ^29.6.1 prettier: ^2.4.1 rimraf: ^3.0.2 testcontainers: ^9.0.0 - ts-jest: ^27.1.2 - ts-jest-resolver: ^2.0.0 + ts-jest: ^29.1.1 + ts-jest-resolver: ^2.0.1 typedoc: ^0.23.0 typescript: ^4.8.3 languageName: unknown @@ -8646,22 +8364,13 @@ fsevents@^2.3.2: languageName: node linkType: hard -"safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:~2.1.0": +"safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:~2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" checksum: cab8f25ae6f1434abee8d80023d7e72b598cf1327164ddab31003c51215526801e40b66c5e65d658a0af1e9d6478cadcb4c745f4bd6751f97d8644786c0978b0 languageName: node linkType: hard -"saxes@npm:^5.0.1": - version: 5.0.1 - resolution: "saxes@npm:5.0.1" - dependencies: - xmlchars: ^2.2.0 - checksum: 5636b55cf15f7cf0baa73f2797bf992bdcf75d1b39d82c0aa4608555c774368f6ac321cb641fd5f3d3ceb87805122cd47540da6a7b5960fe0dbdb8f8c263f000 - languageName: node - linkType: hard - "schema-utils@npm:^3.1.1, schema-utils@npm:^3.1.2": version: 3.2.0 resolution: "schema-utils@npm:3.2.0" @@ -8712,23 +8421,23 @@ fsevents@^2.3.2: languageName: node linkType: hard -"semver@npm:7.x, semver@npm:^7.2.1, semver@npm:^7.3.2, semver@npm:^7.3.4, semver@npm:^7.3.5": - version: 7.3.5 - resolution: "semver@npm:7.3.5" - dependencies: - lru-cache: ^6.0.0 +"semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.3.0, semver@npm:^6.3.1": + version: 6.3.1 + resolution: "semver@npm:6.3.1" bin: semver: bin/semver.js - checksum: 5eafe6102bea2a7439897c1856362e31cc348ccf96efd455c8b5bc2c61e6f7e7b8250dc26b8828c1d76a56f818a7ee907a36ae9fb37a599d3d24609207001d60 + checksum: ae47d06de28836adb9d3e25f22a92943477371292d9b665fb023fae278d345d508ca1958232af086d85e0155aee22e313e100971898bbb8d5d89b8b1d4054ca2 languageName: node linkType: hard -"semver@npm:^6.0.0, semver@npm:^6.1.1, semver@npm:^6.1.2, semver@npm:^6.3.0": - version: 6.3.0 - resolution: "semver@npm:6.3.0" +"semver@npm:^7.2.1, semver@npm:^7.3.4, semver@npm:^7.3.5, semver@npm:^7.5.3": + version: 7.5.4 + resolution: "semver@npm:7.5.4" + dependencies: + lru-cache: ^6.0.0 bin: - semver: ./bin/semver.js - checksum: 1b26ecf6db9e8292dd90df4e781d91875c0dcc1b1909e70f5d12959a23c7eebb8f01ea581c00783bbee72ceeaad9505797c381756326073850dc36ed284b21b9 + semver: bin/semver.js + checksum: 12d8ad952fa353b0995bf180cdac205a4068b759a140e5d3c608317098b3575ac2f1e09182206bf2eb26120e1c0ed8fb92c48c592f6099680de56bb071423ca3 languageName: node linkType: hard @@ -8812,7 +8521,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"signal-exit@npm:^3.0.2, signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": +"signal-exit@npm:^3.0.3, signal-exit@npm:^3.0.7": version: 3.0.7 resolution: "signal-exit@npm:3.0.7" checksum: a2f098f247adc367dffc27845853e9959b9e88b01cb301658cfe4194352d8d2bb32e18467c786a7fe15f1d44b233ea35633d076d5e737870b7139949d1ab6318 @@ -8882,7 +8591,17 @@ fsevents@^2.3.2: languageName: node linkType: hard -"source-map-support@npm:^0.5.6, source-map-support@npm:~0.5.20": +"source-map-support@npm:0.5.13": + version: 0.5.13 + resolution: "source-map-support@npm:0.5.13" + dependencies: + buffer-from: ^1.0.0 + source-map: ^0.6.0 + checksum: 933550047b6c1a2328599a21d8b7666507427c0f5ef5eaadd56b5da0fd9505e239053c66fe181bf1df469a3b7af9d775778eee283cbb7ae16b902ddc09e93a97 + languageName: node + linkType: hard + +"source-map-support@npm:~0.5.20": version: 0.5.21 resolution: "source-map-support@npm:0.5.21" dependencies: @@ -8899,20 +8618,13 @@ fsevents@^2.3.2: languageName: node linkType: hard -"source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1": +"source-map@npm:^0.6.0, source-map@npm:^0.6.1": version: 0.6.1 resolution: "source-map@npm:0.6.1" checksum: 59ce8640cf3f3124f64ac289012c2b8bd377c238e316fb323ea22fbfe83da07d81e000071d7242cad7a23cd91c7de98e4df8830ec3f133cb6133a5f6e9f67bc2 languageName: node linkType: hard -"source-map@npm:^0.7.3": - version: 0.7.3 - resolution: "source-map@npm:0.7.3" - checksum: cd24efb3b8fa69b64bf28e3c1b1a500de77e84260c5b7f2b873f88284df17974157cc88d386ee9b6d081f08fdd8242f3fc05c953685a6ad81aad94c7393dedea - languageName: node - linkType: hard - "spdx-correct@npm:^3.0.0": version: 3.1.1 resolution: "spdx-correct@npm:3.1.1" @@ -9180,7 +8892,7 @@ fsevents@^2.3.2: languageName: node linkType: hard -"supports-color@npm:^7.0.0, supports-color@npm:^7.1.0": +"supports-color@npm:^7.1.0": version: 7.2.0 resolution: "supports-color@npm:7.2.0" dependencies: @@ -9198,16 +8910,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"supports-hyperlinks@npm:^2.0.0": - version: 2.2.0 - resolution: "supports-hyperlinks@npm:2.2.0" - dependencies: - has-flag: ^4.0.0 - supports-color: ^7.0.0 - checksum: aef04fb41f4a67f1bc128f7c3e88a81b6cf2794c800fccf137006efe5bafde281da3e42e72bf9206c2fcf42e6438f37e3a820a389214d0a88613ca1f2d36076a - languageName: node - linkType: hard - "supports-preserve-symlinks-flag@npm:^1.0.0": version: 1.0.0 resolution: "supports-preserve-symlinks-flag@npm:1.0.0" @@ -9215,13 +8917,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"symbol-tree@npm:^3.2.4": - version: 3.2.4 - resolution: "symbol-tree@npm:3.2.4" - checksum: 6e8fc7e1486b8b54bea91199d9535bb72f10842e40c79e882fc94fb7b14b89866adf2fd79efa5ebb5b658bc07fb459ccce5ac0e99ef3d72f474e74aaf284029d - languageName: node - linkType: hard - "table@npm:^6.0.9": version: 6.8.0 resolution: "table@npm:6.8.0" @@ -9293,16 +8988,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"terminal-link@npm:^2.0.0": - version: 2.1.1 - resolution: "terminal-link@npm:2.1.1" - dependencies: - ansi-escapes: ^4.2.1 - supports-hyperlinks: ^2.0.0 - checksum: ce3d2cd3a438c4a9453947aa664581519173ea40e77e2534d08c088ee6dda449eabdbe0a76d2a516b8b73c33262fedd10d5270ccf7576ae316e3db170ce6562f - languageName: node - linkType: hard - "terser-webpack-plugin@npm:^5.1.1, terser-webpack-plugin@npm:^5.3.7": version: 5.3.9 resolution: "terser-webpack-plugin@npm:5.3.9" @@ -9386,13 +9071,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"throat@npm:^6.0.1": - version: 6.0.1 - resolution: "throat@npm:6.0.1" - checksum: 782d4171ee4e3cf947483ed2ff1af3e17cc4354c693b9d339284f61f99fbc401d171e0b0d2db3295bb7d447630333e9319c174ebd7ef315c6fb791db9675369c - languageName: node - linkType: hard - "through2@npm:^4.0.0": version: 4.0.2 resolution: "through2@npm:4.0.2" @@ -9432,26 +9110,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"tough-cookie@npm:^4.0.0": - version: 4.0.0 - resolution: "tough-cookie@npm:4.0.0" - dependencies: - psl: ^1.1.33 - punycode: ^2.1.1 - universalify: ^0.1.2 - checksum: 0891b37eb7d17faa3479d47f0dce2e3007f2583094ad272f2670d120fbcc3df3b0b0a631ba96ecad49f9e2297d93ff8995ce0d3292d08dd7eabe162f5b224d69 - languageName: node - linkType: hard - -"tr46@npm:^2.1.0": - version: 2.1.0 - resolution: "tr46@npm:2.1.0" - dependencies: - punycode: ^2.1.1 - checksum: ffe6049b9dca3ae329b059aada7f515b0f0064c611b39b51ff6b53897e954650f6f63d9319c6c008d36ead477c7b55e5f64c9dc60588ddc91ff720d64eb710b3 - languageName: node - linkType: hard - "tr46@npm:~0.0.3": version: 0.0.3 resolution: "tr46@npm:0.0.3" @@ -9466,38 +9124,37 @@ fsevents@^2.3.2: languageName: node linkType: hard -"ts-jest-resolver@npm:^2.0.0": - version: 2.0.0 - resolution: "ts-jest-resolver@npm:2.0.0" +"ts-jest-resolver@npm:^2.0.1": + version: 2.0.1 + resolution: "ts-jest-resolver@npm:2.0.1" dependencies: - jest-resolve: ^27.2.5 - checksum: 7208f45efd64b9e110e07fcb2ab1dcaf97c8a6f16daee8d188432857f7ffc128fdf0c4c8eee348803de603ca7805ea00554feec915b41b9320b2b4014625c607 + jest-resolve: ^29.5.0 + checksum: 0845b9ab6a7d5c7b872e7573550607e9da1a2281c4db7a9d900c52b518bf5237ca265d56356b2ebb6d5aad705613e55e406c0eb66cad60ab2a303d17e6b0844e languageName: node linkType: hard -"ts-jest@npm:^27.1.2": - version: 27.1.3 - resolution: "ts-jest@npm:27.1.3" +"ts-jest@npm:^29.1.1": + version: 29.1.1 + resolution: "ts-jest@npm:29.1.1" dependencies: bs-logger: 0.x fast-json-stable-stringify: 2.x - jest-util: ^27.0.0 - json5: 2.x + jest-util: ^29.0.0 + json5: ^2.2.3 lodash.memoize: 4.x make-error: 1.x - semver: 7.x - yargs-parser: 20.x + semver: ^7.5.3 + yargs-parser: ^21.0.1 peerDependencies: "@babel/core": ">=7.0.0-beta.0 <8" - "@types/jest": ^27.0.0 - babel-jest: ">=27.0.0 <28" - esbuild: ~0.14.0 - jest: ^27.0.0 - typescript: ">=3.8 <5.0" + "@jest/types": ^29.0.0 + babel-jest: ^29.0.0 + jest: ^29.0.0 + typescript: ">=4.3 <6" peerDependenciesMeta: "@babel/core": optional: true - "@types/jest": + "@jest/types": optional: true babel-jest: optional: true @@ -9505,7 +9162,7 @@ fsevents@^2.3.2: optional: true bin: ts-jest: cli.js - checksum: eb54e5b8fc5f06e4cc20ecec7891201ddc78a3537d5eb3775e29ffbc7e83fd2a68f91db801b6a8c820c872060b24dc41fb6decac800b76256d3cdda6520b5c4f + checksum: a8c9e284ed4f819526749f6e4dc6421ec666f20ab44d31b0f02b4ed979975f7580b18aea4813172d43e39b29464a71899f8893dd29b06b4a351a3af8ba47b402 languageName: node linkType: hard @@ -9607,15 +9264,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"type-check@npm:~0.3.2": - version: 0.3.2 - resolution: "type-check@npm:0.3.2" - dependencies: - prelude-ls: ~1.1.2 - checksum: dd3b1495642731bc0e1fc40abe5e977e0263005551ac83342ecb6f4f89551d106b368ec32ad3fb2da19b3bd7b2d1f64330da2ea9176d8ddbfe389fb286eb5124 - languageName: node - linkType: hard - "type-detect@npm:4.0.8": version: 4.0.8 resolution: "type-detect@npm:4.0.8" @@ -9658,15 +9306,6 @@ fsevents@^2.3.2: languageName: node linkType: hard -"typedarray-to-buffer@npm:^3.1.5": - version: 3.1.5 - resolution: "typedarray-to-buffer@npm:3.1.5" - dependencies: - is-typedarray: ^1.0.0 - checksum: 99c11aaa8f45189fcfba6b8a4825fd684a321caa9bd7a76a27cf0c7732c174d198b99f449c52c3818107430b5f41c0ccbbfb75cb2ee3ca4a9451710986d61a60 - languageName: node - linkType: hard - "typedoc@npm:^0.23.0": version: 0.23.28 resolution: "typedoc@npm:0.23.28" @@ -9800,24 +9439,24 @@ typescript@^4.8.3: languageName: node linkType: hard -"universalify@npm:^0.1.0, universalify@npm:^0.1.2": +"universalify@npm:^0.1.0": version: 0.1.2 resolution: "universalify@npm:0.1.2" checksum: 40cdc60f6e61070fe658ca36016a8f4ec216b29bf04a55dce14e3710cc84c7448538ef4dad3728d0bfe29975ccd7bfb5f414c45e7b78883567fb31b246f02dff languageName: node linkType: hard -"update-browserslist-db@npm:^1.0.9": - version: 1.0.9 - resolution: "update-browserslist-db@npm:1.0.9" +"update-browserslist-db@npm:^1.0.11": + version: 1.0.11 + resolution: "update-browserslist-db@npm:1.0.11" dependencies: escalade: ^3.1.1 picocolors: ^1.0.0 peerDependencies: browserslist: ">= 4.21.0" bin: - browserslist-lint: cli.js - checksum: f625899b236f6a4d7f62b56be1b8da230c5563d1fef84d3ef148f2e1a3f11a5a4b3be4fd7e3703e51274c116194017775b10afb4de09eb2c0d09d36b90f1f578 + update-browserslist-db: cli.js + checksum: b98327518f9a345c7cad5437afae4d2ae7d865f9779554baf2a200fdf4bac4969076b679b1115434bd6557376bdd37ca7583d0f9b8f8e302d7d4cc1e91b5f231 languageName: node linkType: hard @@ -9860,14 +9499,14 @@ typescript@^4.8.3: languageName: node linkType: hard -"v8-to-istanbul@npm:^8.1.0": - version: 8.1.1 - resolution: "v8-to-istanbul@npm:8.1.1" +"v8-to-istanbul@npm:^9.0.1": + version: 9.1.0 + resolution: "v8-to-istanbul@npm:9.1.0" dependencies: + "@jridgewell/trace-mapping": ^0.3.12 "@types/istanbul-lib-coverage": ^2.0.1 convert-source-map: ^1.6.0 - source-map: ^0.7.3 - checksum: 54ce92bec2727879626f623d02c8d193f0c7e919941fa373ec135189a8382265117f5316ea317a1e12a5f9c13d84d8449052a731fe3306fa4beaafbfa4cab229 + checksum: 2069d59ee46cf8d83b4adfd8a5c1a90834caffa9f675e4360f1157ffc8578ef0f763c8f32d128334424159bb6b01f3876acd39cd13297b2769405a9da241f8d1 languageName: node linkType: hard @@ -9895,25 +9534,7 @@ typescript@^4.8.3: languageName: node linkType: hard -"w3c-hr-time@npm:^1.0.2": - version: 1.0.2 - resolution: "w3c-hr-time@npm:1.0.2" - dependencies: - browser-process-hrtime: ^1.0.0 - checksum: ec3c2dacbf8050d917bbf89537a101a08c2e333b4c19155f7d3bedde43529d4339db6b3d049d9610789cb915f9515f8be037e0c54c079e9d4735c50b37ed52b9 - languageName: node - linkType: hard - -"w3c-xmlserializer@npm:^2.0.0": - version: 2.0.0 - resolution: "w3c-xmlserializer@npm:2.0.0" - dependencies: - xml-name-validator: ^3.0.0 - checksum: ae25c51cf71f1fb2516df1ab33a481f83461a117565b95e3d0927432522323f93b1b2846cbb60196d337970c421adb604fc2d0d180c6a47a839da01db5b9973b - languageName: node - linkType: hard - -"walker@npm:^1.0.7": +"walker@npm:^1.0.8": version: 1.0.8 resolution: "walker@npm:1.0.8" dependencies: @@ -9946,20 +9567,6 @@ typescript@^4.8.3: languageName: node linkType: hard -"webidl-conversions@npm:^5.0.0": - version: 5.0.0 - resolution: "webidl-conversions@npm:5.0.0" - checksum: ccf1ec2ca7c0b5671e5440ace4a66806ae09c49016ab821481bec0c05b1b82695082dc0a27d1fe9d804d475a408ba0c691e6803fd21be608e710955d4589cd69 - languageName: node - linkType: hard - -"webidl-conversions@npm:^6.1.0": - version: 6.1.0 - resolution: "webidl-conversions@npm:6.1.0" - checksum: 1f526507aa491f972a0c1409d07f8444e1d28778dfa269a9971f2e157182f3d496dc33296e4ed45b157fdb3bf535bb90c90bf10c50dcf1dd6caacb2a34cc84fb - languageName: node - linkType: hard - "webpack-cli@npm:^4.9.2": version: 4.9.2 resolution: "webpack-cli@npm:4.9.2" @@ -10047,22 +9654,6 @@ typescript@^4.8.3: languageName: node linkType: hard -"whatwg-encoding@npm:^1.0.5": - version: 1.0.5 - resolution: "whatwg-encoding@npm:1.0.5" - dependencies: - iconv-lite: 0.4.24 - checksum: 5be4efe111dce29ddee3448d3915477fcc3b28f991d9cf1300b4e50d6d189010d47bca2f51140a844cf9b726e8f066f4aee72a04d687bfe4f2ee2767b2f5b1e6 - languageName: node - linkType: hard - -"whatwg-mimetype@npm:^2.3.0": - version: 2.3.0 - resolution: "whatwg-mimetype@npm:2.3.0" - checksum: 23eb885940bcbcca4ff841c40a78e9cbb893ec42743993a42bf7aed16085b048b44b06f3402018931687153550f9a32d259dfa524e4f03577ab898b6965e5383 - languageName: node - linkType: hard - "whatwg-url@npm:^5.0.0": version: 5.0.0 resolution: "whatwg-url@npm:5.0.0" @@ -10073,17 +9664,6 @@ typescript@^4.8.3: languageName: node linkType: hard -"whatwg-url@npm:^8.0.0, whatwg-url@npm:^8.5.0": - version: 8.7.0 - resolution: "whatwg-url@npm:8.7.0" - dependencies: - lodash: ^4.7.0 - tr46: ^2.1.0 - webidl-conversions: ^6.1.0 - checksum: a87abcc6cefcece5311eb642858c8fdb234e51ec74196bfacf8def2edae1bfbffdf6acb251646ed6301f8cee44262642d8769c707256125a91387e33f405dd1e - languageName: node - linkType: hard - "which-boxed-primitive@npm:^1.0.2": version: 1.0.2 resolution: "which-boxed-primitive@npm:1.0.2" @@ -10138,7 +9718,7 @@ typescript@^4.8.3: languageName: node linkType: hard -"word-wrap@npm:^1.2.3, word-wrap@npm:~1.2.3": +"word-wrap@npm:^1.2.3": version: 1.2.3 resolution: "word-wrap@npm:1.2.3" checksum: 30b48f91fcf12106ed3186ae4fa86a6a1842416df425be7b60485de14bec665a54a68e4b5156647dec3a70f25e84d270ca8bc8cd23182ed095f5c7206a938c1f @@ -10181,30 +9761,13 @@ typescript@^4.8.3: languageName: node linkType: hard -"write-file-atomic@npm:^3.0.0": - version: 3.0.3 - resolution: "write-file-atomic@npm:3.0.3" +"write-file-atomic@npm:^4.0.2": + version: 4.0.2 + resolution: "write-file-atomic@npm:4.0.2" dependencies: imurmurhash: ^0.1.4 - is-typedarray: ^1.0.0 - signal-exit: ^3.0.2 - typedarray-to-buffer: ^3.1.5 - checksum: c55b24617cc61c3a4379f425fc62a386cc51916a9b9d993f39734d005a09d5a4bb748bc251f1304e7abd71d0a26d339996c275955f527a131b1dcded67878280 - languageName: node - linkType: hard - -"ws@npm:^7.4.6": - version: 7.5.7 - resolution: "ws@npm:7.5.7" - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - checksum: 5c1f669a166fb57560b4e07f201375137fa31d9186afde78b1508926345ce546332f109081574ddc4e38cc474c5406b5fc71c18d71eb75f6e2d2245576976cba + signal-exit: ^3.0.7 + checksum: 5da60bd4eeeb935eec97ead3df6e28e5917a6bd317478e4a85a5285e8480b8ed96032bbcc6ecd07b236142a24f3ca871c924ec4a6575e623ec1b11bf8c1c253c languageName: node linkType: hard @@ -10223,20 +9786,6 @@ typescript@^4.8.3: languageName: node linkType: hard -"xml-name-validator@npm:^3.0.0": - version: 3.0.0 - resolution: "xml-name-validator@npm:3.0.0" - checksum: b3ac459afed783c285bb98e4960bd1f3ba12754fd4f2320efa0f9181ca28928c53cc75ca660d15d205e81f92304419afe94c531c7cfb3e0649aa6d140d53ecb0 - languageName: node - linkType: hard - -"xmlchars@npm:^2.2.0": - version: 2.2.0 - resolution: "xmlchars@npm:2.2.0" - checksum: 8c70ac94070ccca03f47a81fcce3b271bd1f37a591bf5424e787ae313fcb9c212f5f6786e1fa82076a2c632c0141552babcd85698c437506dfa6ae2d58723062 - languageName: node - linkType: hard - "y18n@npm:^4.0.0": version: 4.0.3 resolution: "y18n@npm:4.0.3" @@ -10251,6 +9800,13 @@ typescript@^4.8.3: languageName: node linkType: hard +"yallist@npm:^3.0.2": + version: 3.1.1 + resolution: "yallist@npm:3.1.1" + checksum: 48f7bb00dc19fc635a13a39fe547f527b10c9290e7b3e836b9a8f1ca04d4d342e85714416b3c2ab74949c9c66f9cebb0473e6bc353b79035356103b47641285d + languageName: node + linkType: hard + "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0" @@ -10265,13 +9821,6 @@ typescript@^4.8.3: languageName: node linkType: hard -"yargs-parser@npm:20.x, yargs-parser@npm:^20.2.2, yargs-parser@npm:^20.2.3": - version: 20.2.9 - resolution: "yargs-parser@npm:20.2.9" - checksum: 8bb69015f2b0ff9e17b2c8e6bfe224ab463dd00ca211eece72a4cd8a906224d2703fb8a326d36fdd0e68701e201b2a60ed7cf81ce0fd9b3799f9fe7745977ae3 - languageName: node - linkType: hard - "yargs-parser@npm:^18.1.2": version: 18.1.3 resolution: "yargs-parser@npm:18.1.3" @@ -10282,7 +9831,14 @@ typescript@^4.8.3: languageName: node linkType: hard -"yargs-parser@npm:^21.1.1": +"yargs-parser@npm:^20.2.2, yargs-parser@npm:^20.2.3": + version: 20.2.9 + resolution: "yargs-parser@npm:20.2.9" + checksum: 8bb69015f2b0ff9e17b2c8e6bfe224ab463dd00ca211eece72a4cd8a906224d2703fb8a326d36fdd0e68701e201b2a60ed7cf81ce0fd9b3799f9fe7745977ae3 + languageName: node + linkType: hard + +"yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1": version: 21.1.1 resolution: "yargs-parser@npm:21.1.1" checksum: ed2d96a616a9e3e1cc7d204c62ecc61f7aaab633dcbfab2c6df50f7f87b393993fe6640d017759fe112d0cb1e0119f2b4150a87305cc873fd90831c6a58ccf1c @@ -10323,7 +9879,7 @@ typescript@^4.8.3: languageName: node linkType: hard -"yargs@npm:^17.7.2": +"yargs@npm:^17.3.1, yargs@npm:^17.7.2": version: 17.7.2 resolution: "yargs@npm:17.7.2" dependencies: