diff --git a/.eslintrc.js b/.eslintrc.cjs similarity index 64% rename from .eslintrc.js rename to .eslintrc.cjs index 027770218..2ddfe573c 100644 --- a/.eslintrc.js +++ b/.eslintrc.cjs @@ -3,13 +3,36 @@ module.exports = { extends: [ 'airbnb-base', 'airbnb-typescript/base', - 'plugin:jest/recommended', - 'plugin:jest/style', 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', 'plugin:prettier/recommended', ], - plugins: ['@typescript-eslint/eslint-plugin', 'unused-imports'], + overrides: [ + { + files: [ + '**/*.spec.ts', + '**/*.e2e-spec.ts', + '**/test/**', + '**/tests/**', + '**/__tests__/**', + '**/*.spec.ts', + ], + plugins: ['jest'], + extends: ['plugin:jest/recommended', 'plugin:jest/style'], + rules: { + 'jest/prefer-expect-assertions': 'off', + '@typescript-eslint/no-unsafe-assignment': 'off', + '@typescript-eslint/no-explicit-any': 'off', + '@typescript-eslint/no-unsafe-member-access': 'off', + }, + env: { jest: true }, + }, + ], + plugins: [ + '@typescript-eslint/eslint-plugin', + 'unused-imports', + 'jest-extended', + ], parser: '@typescript-eslint/parser', rules: { // other rules @@ -41,17 +64,18 @@ module.exports = { '**/*.spec.ts', '**/*.e2e-spec.ts', '**/webpack.config.ts', - 'tsup.config.ts', + '**/tsup.config.ts', + '**/jest.d.ts', ], }, ], + // for prettier 'prettier/prettier': ['error', { singleQuote: true }], }, ignorePatterns: [ '**/node_modules/**', '**/dist/**', - '**/!.eslintrc.js', '**/!.eslintrc.cjs', '**/coverage/**', '**/build/**', diff --git a/.prettierignore b/.prettierignore index c80b077e1..3751914a0 100644 --- a/.prettierignore +++ b/.prettierignore @@ -7,3 +7,4 @@ CHANGELOG.md pnpm-lock.yaml pnpm-workspace.yaml out +.next diff --git a/commitlint.config.js b/commitlint.config.cjs similarity index 100% rename from commitlint.config.js rename to commitlint.config.cjs diff --git a/packages/vcmanager/.eslintrc.js b/libs/utils/.eslintrc.cjs similarity index 81% rename from packages/vcmanager/.eslintrc.js rename to libs/utils/.eslintrc.cjs index e91d1e0d7..ef7346a34 100644 --- a/packages/vcmanager/.eslintrc.js +++ b/libs/utils/.eslintrc.cjs @@ -1,9 +1,9 @@ module.exports = { root: true, - extends: ['../../.eslintrc.js'], + extends: ['../../.eslintrc.cjs'], parserOptions: { - tsconfigRootDir: __dirname, project: './tsconfig.eslint.json', sourceType: 'module', + tsconfigRootDir: __dirname, }, }; diff --git a/libs/utils/.lintstagedrc.js b/libs/utils/.lintstagedrc.cjs similarity index 100% rename from libs/utils/.lintstagedrc.js rename to libs/utils/.lintstagedrc.cjs diff --git a/libs/utils/package.json b/libs/utils/package.json index af65fcfdf..19eb9ab8d 100644 --- a/libs/utils/package.json +++ b/libs/utils/package.json @@ -14,14 +14,15 @@ "email": "blockchain-lab@um.si", "url": "https://blockchain-lab.um.si" }, - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", + "type": "module", + "main": "./dist/index.js", + "module": "./dist/index.js", + "source": "./src/index.ts", + "types": "./dist/index.d.ts", "files": [ - "dist/", - "package.json", + "dist/**", "README.md", - "LICENSE" + "package.json" ], "scripts": { "build": "pnpm clean && pnpm compile", @@ -32,7 +33,8 @@ "lint:prettier": "prettier . --check" }, "devDependencies": { - "rimraf": "^3.0.2", + "rimraf": "^4.4.0", + "tsup": "^6.6.3", "typescript": "^4.9.5" }, "publishConfig": { diff --git a/libs/utils/src/index.ts b/libs/utils/src/index.ts index 1fd5e21e2..f1aec86e7 100644 --- a/libs/utils/src/index.ts +++ b/libs/utils/src/index.ts @@ -1 +1 @@ -export * from './result'; +export * from './result.js'; diff --git a/libs/utils/tsconfig.build.json b/libs/utils/tsconfig.build.json index 9a86746ce..fc8520e73 100644 --- a/libs/utils/tsconfig.build.json +++ b/libs/utils/tsconfig.build.json @@ -1,8 +1,3 @@ { - "extends": "./tsconfig.json", - "exclude": [ - // Exclude all test files - "tests/**/*", - "*.spec.ts" - ] + "extends": "./tsconfig.json" } diff --git a/libs/utils/tsconfig.eslint.json b/libs/utils/tsconfig.eslint.json index 16a0e9d61..b0a08c182 100644 --- a/libs/utils/tsconfig.eslint.json +++ b/libs/utils/tsconfig.eslint.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.json", - "include": ["**/*", ".eslintrc.js"] + "include": ["**/*", ".eslintrc.cjs"] } diff --git a/libs/utils/tsconfig.json b/libs/utils/tsconfig.json index 1a2877350..0cd6ae762 100644 --- a/libs/utils/tsconfig.json +++ b/libs/utils/tsconfig.json @@ -1,13 +1,17 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "experimentalDecorators": true, + "target": "ES2020", + "module": "ES2020", + "moduleResolution": "nodenext", + "outDir": "./dist", "baseUrl": ".", - "typeRoots": ["./node_modules/@types", "../../node_modules/@types"], + "declaration": true, - "inlineSourceMap": true + "inlineSourceMap": true, + "incremental": false, + "removeComments": true }, - "files": [], - "include": ["src/**/*", "tests/**/*"] + "include": ["src/**/*.ts"] } diff --git a/libs/utils/tsup.config.ts b/libs/utils/tsup.config.ts new file mode 100644 index 000000000..cbb7d24b9 --- /dev/null +++ b/libs/utils/tsup.config.ts @@ -0,0 +1,14 @@ +import { Options, defineConfig } from 'tsup'; + +export default defineConfig((options: Options) => ({ + target: 'es2020', + treeshake: true, + splitting: true, + tsconfig: './tsconfig.build.json', + entry: ['src/**/*.ts'], + format: 'esm', + dts: true, + minify: false, + clean: true, + ...options, +})); diff --git a/package.json b/package.json index 8dbddf7da..7ca1bc4b9 100644 --- a/package.json +++ b/package.json @@ -55,10 +55,10 @@ "@commitlint/cli": "^17.4.4", "@commitlint/config-conventional": "^17.4.4", "@ianvs/prettier-plugin-sort-imports": "^3.7.1", - "@nrwl/devkit": "15.8.3", - "@nrwl/jest": "15.8.3", + "@nrwl/devkit": "15.8.7", + "@nrwl/jest": "15.8.7", "@nrwl/nx-cloud": "^15.2.3", - "@types/eslint": "^8.21.3", + "@types/eslint": "^8.21.2", "@types/jest": "^29.5.0", "@types/node": "^18.15.3", "@typescript-eslint/eslint-plugin": "^5.55.0", @@ -70,18 +70,17 @@ "eslint-config-prettier": "^8.7.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jest": "^27.2.1", + "eslint-plugin-jest-extended": "^2.0.0", "eslint-plugin-prettier": "^4.2.1", - "eslint-webpack-plugin": "^4.0.0", "husky": "^8.0.3", "is-ci": "^3.0.1", "jest": "^29.5.0", "lint-staged": "^13.2.0", - "nx": "15.7.2", - "prettier": "^2.8.5", + "nx": "15.8.7", + "prettier": "^2.8.4", "prettier-plugin-packagejson": "^2.4.3", "ts-node": "^10.9.1", - "typescript": "^4.9.5", - "webpack": "^5.76.2" + "typescript": "^4.9.5" }, "packageManager": "pnpm@7.25.1", "engines": { @@ -93,9 +92,7 @@ }, "pnpm": { "patchedDependencies": { - "cross-fetch@3.1.5": "patches/cross-fetch@3.1.5.patch", - "@veramo/did-provider-pkh@5.0.0": "patches/@veramo__did-provider-pkh@5.0.0.patch" - }, - "allowNonAppliedPatches": true + "cross-fetch@3.1.5": "patches/cross-fetch@3.1.5.patch" + } } } diff --git a/packages/connector/.eslintrc.js b/packages/connector/.eslintrc.cjs similarity index 85% rename from packages/connector/.eslintrc.js rename to packages/connector/.eslintrc.cjs index 1c9f6b390..99d4a679c 100644 --- a/packages/connector/.eslintrc.js +++ b/packages/connector/.eslintrc.cjs @@ -1,6 +1,6 @@ module.exports = { root: true, - extends: ['../../.eslintrc.js'], + extends: ['../../.eslintrc.cjs'], parserOptions: { project: './tsconfig.eslint.json', sourceType: 'module', diff --git a/packages/connector/.lintstagedrc.js b/packages/connector/.lintstagedrc.cjs similarity index 100% rename from packages/connector/.lintstagedrc.js rename to packages/connector/.lintstagedrc.cjs diff --git a/packages/connector/package.json b/packages/connector/package.json index ce4ef5702..94fa1b8ca 100644 --- a/packages/connector/package.json +++ b/packages/connector/package.json @@ -19,15 +19,15 @@ "email": "blockchain-lab@um.si", "url": "https://blockchain-lab.um.si" }, + "type": "module", "main": "./dist/index.js", - "module": "./dist/index.mjs", + "module": "./dist/index.js", "source": "./src/index.ts", "types": "./dist/index.d.ts", "files": [ - "dist/", + "dist/**", "README.md", - "package.json", - "LICENSE" + "package.json" ], "scripts": { "build": "pnpm clean && pnpm compile", @@ -42,11 +42,11 @@ "@blockchain-lab-um/ssi-snap-types": "*", "@blockchain-lab-um/utils": "*", "@metamask/detect-provider": "^2.0.0", - "@veramo/core": "^5.0.0" + "@veramo/core": "^5.1.2" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "^3.7.1", - "@types/rimraf": "^3.0.2", + "@types/rimraf": "^4.0.5", "@typescript-eslint/eslint-plugin": "^5.53.0", "@typescript-eslint/parser": "^5.53.0", "eslint": "^8.34.0", @@ -56,7 +56,7 @@ "eslint-plugin-unused-imports": "^2.0.0", "prettier": "^2.8.4", "prettier-plugin-packagejson": "^2.4.3", - "rimraf": "^3.0.2", + "rimraf": "^4.4.0", "tsup": "^6.6.3", "typescript": "^4.9.5" }, diff --git a/packages/connector/src/index.ts b/packages/connector/src/index.ts index 02073a40a..81eb6bf4e 100644 --- a/packages/connector/src/index.ts +++ b/packages/connector/src/index.ts @@ -5,10 +5,10 @@ import { import { Result, ResultObject, isError } from '@blockchain-lab-um/utils'; import detectEthereumProvider from '@metamask/detect-provider'; -import { MetaMaskSSISnap } from './snap'; +import { MetaMaskSSISnap } from './snap.js'; -export { MetaMaskSSISnap } from './snap'; -export { isSnapInstalled } from './utils'; +export { MetaMaskSSISnap } from './snap.js'; +export { isSnapInstalled } from './utils.js'; export type SnapInstallationParams = { snapId?: string; diff --git a/packages/connector/tsconfig.build.json b/packages/connector/tsconfig.build.json index 77081653a..fc8520e73 100644 --- a/packages/connector/tsconfig.build.json +++ b/packages/connector/tsconfig.build.json @@ -1,12 +1,3 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "incremental": false, - "removeComments": true, - "module": "ES2020" - }, - - "exclude": [ - // Exclude all test files - ] + "extends": "./tsconfig.json" } diff --git a/packages/connector/tsconfig.eslint.json b/packages/connector/tsconfig.eslint.json index 16a0e9d61..b0a08c182 100644 --- a/packages/connector/tsconfig.eslint.json +++ b/packages/connector/tsconfig.eslint.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.json", - "include": ["**/*", ".eslintrc.js"] + "include": ["**/*", ".eslintrc.cjs"] } diff --git a/packages/connector/tsconfig.json b/packages/connector/tsconfig.json index f6d723052..f32171540 100644 --- a/packages/connector/tsconfig.json +++ b/packages/connector/tsconfig.json @@ -1,30 +1,17 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { + "target": "ES2020", + "module": "ES2020", + "moduleResolution": "nodenext", + "outDir": "./dist", "baseUrl": ".", "declaration": true, "inlineSourceMap": true, - "allowJs": true, - - /* Additional Checks */ - "noUnusedLocals": true /* Report errors on unused locals. */, - "noUnusedParameters": true /* Report errors on unused parameters. */, - "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, - "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, - - /* Debugging Options */ - "traceResolution": false /* Report module resolution log messages. */, - "listEmittedFiles": false /* Print names of generated files part of the compilation. */, - "listFiles": false /* Print names of files part of the compilation. */, - - "lib": ["es6", "dom", "es2020"], - "typeRoots": [ - "./node_modules/@types", - "../../node_modules/@types", - "globals.d.ts" - ] + "incremental": false, + "removeComments": true }, "include": ["src/**/*.ts", "globals.d.ts"] } diff --git a/packages/connector/tsup.config.ts b/packages/connector/tsup.config.ts index de7657418..cbb7d24b9 100644 --- a/packages/connector/tsup.config.ts +++ b/packages/connector/tsup.config.ts @@ -6,7 +6,7 @@ export default defineConfig((options: Options) => ({ splitting: true, tsconfig: './tsconfig.build.json', entry: ['src/**/*.ts'], - format: ['esm', 'cjs'], + format: 'esm', dts: true, minify: false, clean: true, diff --git a/packages/dapp/.eslintrc.cjs b/packages/dapp/.eslintrc.cjs index 90165882b..c18110f79 100644 --- a/packages/dapp/.eslintrc.cjs +++ b/packages/dapp/.eslintrc.cjs @@ -1,6 +1,6 @@ module.exports = { root: true, - extends: ['next/core-web-vitals', '../../.eslintrc.js'], + extends: ['next/core-web-vitals', '../../.eslintrc.cjs'], parserOptions: { tsconfigRootDir: __dirname, project: './tsconfig.eslint.json', diff --git a/packages/dapp/.lintstagedrc.js b/packages/dapp/.lintstagedrc.cjs similarity index 100% rename from packages/dapp/.lintstagedrc.js rename to packages/dapp/.lintstagedrc.cjs diff --git a/packages/dapp/package.json b/packages/dapp/package.json index 1243839cd..6912c829b 100644 --- a/packages/dapp/package.json +++ b/packages/dapp/package.json @@ -18,7 +18,7 @@ }, "dependencies": { "@next/font": "13.1.6", - "@types/node": "18.14.1", + "@types/node": "18.15.3", "@types/react": "18.0.28", "@types/react-dom": "18.0.11", "clsx": "^1.2.1", diff --git a/packages/docs/.eslintrc.js b/packages/docs/.eslintrc.cjs similarity index 83% rename from packages/docs/.eslintrc.js rename to packages/docs/.eslintrc.cjs index 9e1437d9a..08b1126cf 100644 --- a/packages/docs/.eslintrc.js +++ b/packages/docs/.eslintrc.cjs @@ -1,6 +1,6 @@ module.exports = { root: true, - extends: ['../../.eslintrc.js'], + extends: ['../../.eslintrc.cjs'], plugins: ['import'], parserOptions: { tsconfigRootDir: __dirname, diff --git a/packages/docs/package.json b/packages/docs/package.json index 1c99d5370..5ec6c4a5f 100644 --- a/packages/docs/package.json +++ b/packages/docs/package.json @@ -76,7 +76,7 @@ "precompress": "^9.1.1", "prettier": "^2.8.4", "prettier-plugin-packagejson": "^2.4.3", - "rimraf": "^3.0.2", + "rimraf": "^4.4.0", "stylelint": "^14.16.1", "stylelint-config-css-modules": "^4.1.0", "stylelint-config-prettier": "^9.0.5", diff --git a/packages/docs/tsconfig.eslint.json b/packages/docs/tsconfig.eslint.json index 16a0e9d61..b0a08c182 100644 --- a/packages/docs/tsconfig.eslint.json +++ b/packages/docs/tsconfig.eslint.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.json", - "include": ["**/*", ".eslintrc.js"] + "include": ["**/*", ".eslintrc.cjs"] } diff --git a/packages/snap/.eslintrc.cjs b/packages/snap/.eslintrc.cjs new file mode 100644 index 000000000..4ef5d71f3 --- /dev/null +++ b/packages/snap/.eslintrc.cjs @@ -0,0 +1,10 @@ +module.exports = { + root: true, + extends: ['../../.eslintrc.cjs'], + parserOptions: { + tsconfigRootDir: __dirname, + project: './tsconfig.eslint.json', + sourceType: 'module', + }, + ignorePatterns: ['src/post-process/post-process.js'], +}; diff --git a/packages/snap/.eslintrc.js b/packages/snap/.eslintrc.js deleted file mode 100644 index bf057d308..000000000 --- a/packages/snap/.eslintrc.js +++ /dev/null @@ -1,23 +0,0 @@ -module.exports = { - root: true, - extends: ['../../.eslintrc.js'], - overrides: [ - { - files: ['tests/**/*.ts'], - plugins: ['jest'], - extends: ['plugin:jest/recommended'], - rules: { - 'jest/prefer-expect-assertions': 'off', - '@typescript-eslint/no-unsafe-assignment': 'off', - '@typescript-eslint/no-explicit-any': 'off', - }, - env: { jest: true }, - }, - ], - parserOptions: { - tsconfigRootDir: __dirname, - project: './tsconfig.eslint.json', - sourceType: 'module', - }, - ignorePatterns: ['src/post-process/post-process.js'], -}; diff --git a/packages/snap/.lintstagedrc.js b/packages/snap/.lintstagedrc.cjs similarity index 100% rename from packages/snap/.lintstagedrc.js rename to packages/snap/.lintstagedrc.cjs diff --git a/packages/snap/jest.config.ts b/packages/snap/jest.config.ts index f237332c3..90d1fa2d1 100644 --- a/packages/snap/jest.config.ts +++ b/packages/snap/jest.config.ts @@ -1,97 +1,29 @@ -/* - * For a detailed explanation regarding each configuration property and type check, visit: - * https://jestjs.io/docs/configuration - */ - export default { - // All imported modules in your tests should be mocked automatically - // automock: false, - - // Stop running tests after `n` failures - // bail: 0, - - // The directory where Jest should store its cached dependency information - // cacheDirectory: "/tmp/jest_rs", - - // Automatically clear mock calls, instances, contexts and results before every test clearMocks: false, - - // Indicates whether the coverage information should be collected while executing the test collectCoverage: false, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: undefined, - - // The directory where Jest should output its coverage files coverageDirectory: 'coverage', - - // An array of regexp pattern strings used to skip coverage collection coveragePathIgnorePatterns: ['/node_modules/', 'tests'], - - // Indicates which provider should be used to instrument code for coverage coverageProvider: 'v8', - - // A list of reporter names that Jest uses when writing coverage reports - // coverageReporters: [ - // "json", - // "text", - // "lcov", - // "clover" - // ], - - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, - - // A path to a custom dependency extractor - // dependencyExtractor: undefined, - - // Make calling deprecated APIs throw helpful error messages - // errorOnDeprecated: false, - - // The default configuration for fake timers - // fakeTimers: { - // "enableGlobally": false - // }, - - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], - - // A path to a module which exports an async function that is triggered once before all test suites - // globalSetup: undefined, - - // A path to a module which exports an async function that is triggered once after all test suites - // globalTeardown: undefined, - - // A set of global variables that need to be available in all test environments - globals: { - window: { - location: { - hostname: 'ssi-snap', + moduleFileExtensions: ['js', 'json', 'ts', 'mjs', 'cjs'], + testEnvironment: 'node', + testRegex: '.*\\.spec\\.ts$', + setupFilesAfterEnv: ['jest-extended/all'], + globals: { window: { location: { hostname: 'ssi-snap' } } }, + transform: { + '^.+\\.(t|j)sx?$': [ + '@swc/jest', + { + jsc: { + target: 'es2022', + parser: { + syntax: 'typescript', + dynamicImport: true, + }, + baseUrl: './', + }, }, - }, + ], }, - - // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - // maxWorkers: "50%", - - // An array of directory names to be searched recursively up from the requiring module's location - // moduleDirectories: [ - // "node_modules" - // ], - - // An array of file extensions your modules use - // moduleFileExtensions: [ - // "js", - // "mjs", - // "cjs", - // "jsx", - // "ts", - // "tsx", - // "json", - // "node" - // ], - - // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module moduleNameMapper: { '^(\\.{1,2}/.*)\\.js$': '$1', // Waiting for this issue to be implemented: @@ -110,111 +42,11 @@ export default { mapmoize: '/../../node_modules/.pnpm/mapmoize@1.2.1/node_modules/mapmoize/dist/index.js', uint8arrays: - '/../..//node_modules/.pnpm/uint8arrays@4.0.3/node_modules/uint8arrays/src/index.ts', + '/../../node_modules/.pnpm/uint8arrays@4.0.3/node_modules/uint8arrays/src/index.ts', '@ipld/dag-cbor': '/../../node_modules/.pnpm/@didtools+cacao@2.0.0/node_modules/@ipld/dag-cbor/dist/index.min.js', }, - - // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader - // modulePathIgnorePatterns: [], - - // Activates notifications for test results - // notify: false, - - // An enum that specifies notification mode. Requires { notify: true } - // notifyMode: "failure-change", - - // A preset that is used as a base for Jest's configuration - // preset: undefined, - - // Run tests from one or more projects - // projects: undefined, - - // Use this configuration option to add custom reporters to Jest - // reporters: undefined, - - // Automatically reset mock state before every test - // resetMocks: false, - - // Reset the module registry before running each individual test - // resetModules: false, - - // A path to a custom resolver - // resolver: undefined, - - // Automatically restore mock state and implementation before every test - // restoreMocks: false, - - // The root directory that Jest should scan for tests and modules within - // rootDir: undefined, - - // A list of paths to directories that Jest should use to search for files in - // roots: [ - // "" - // ], - - // Allows you to use a custom runner instead of Jest's default test runner - // runner: "jest-runner", - - // The paths to modules that run some code to configure or set up the testing environment before each test - // setupFiles: [], - - // A list of paths to modules that run some code to configure or set up the testing framework before each test - // setupFilesAfterEnv: [], - - // The number of seconds after which a test is considered as slow and reported as such in the results. - // slowTestThreshold: 5, - - // A list of paths to snapshot serializer modules Jest should use for snapshot testing - // snapshotSerializers: [], - - // The test environment that will be used for testing - testEnvironment: 'node', - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, - - // Adds a location field to test results - // testLocationInResults: false, - - // The glob patterns Jest uses to detect test files - // testMatch: [ - // "**/__tests__/**/*.[jt]s?(x)", - // "**/?(*.)+(spec|test).[tj]s?(x)" - // ], - - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], - - // The regexp pattern or array of patterns that Jest uses to detect test files - // testRegex: [], - - // This option allows the use of a custom results processor - // testResultsProcessor: undefined, - - // This option allows use of a custom test runner - // testRunner: "jest-circus/runner", - - // A map from regular expressions to paths to transformers - transform: { - '^.+\\.[tj]s$': 'babel-jest', - }, - - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - transformIgnorePatterns: ['/node_modules/(?!multiformats)/'], - - // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them - // unmockedModulePathPatterns: undefined, - - // Indicates whether each individual test should be reported during the run - // verbose: undefined, - - // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode - // watchPathIgnorePatterns: [], - - // Whether to use watchman for file crawling - // watchman: true, - + extensionsToTreatAsEsm: ['.ts'], + transformIgnorePatterns: ['/node_modules/(?!@veramo)/'], testTimeout: 120000, }; diff --git a/packages/snap/jest.d.ts b/packages/snap/jest.d.ts new file mode 100644 index 000000000..9e6c1dbd9 --- /dev/null +++ b/packages/snap/jest.d.ts @@ -0,0 +1 @@ +import 'jest-extended'; diff --git a/packages/snap/package.json b/packages/snap/package.json index 81dd8dc7c..162e227d2 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -24,7 +24,7 @@ "email": "blockchain-lab@um.si", "url": "https://blockchain-lab.um.si" }, - "main": "src/index.ts", + "main": "dist/snap.js", "files": [ "dist/snap.js", "snap.manifest.json", @@ -32,9 +32,9 @@ "images" ], "scripts": { - "prebuild": "pnpm run clean", - "build": "mm-snap --version && pnpm build:webpack && pnpm build:snap", - "build:snap": "pnpm build:snap:postprocess && mm-snap manifest --fix && pnpm build:snap:eval", + "prebuild": "pnpm clean", + "build": "pnpm mm-snap --version && pnpm build:webpack && pnpm build:snap", + "build:snap": "pnpm build:snap:postprocess && pnpm mm-snap manifest --fix && pnpm build:snap:eval", "build:snap:eval": "mm-snap eval -b dist/snap.js", "build:snap:postprocess": "node ./src/post-process/post-process.js", "build:webpack": "cross-env NODE_OPTIONS=--max-old-space-size=4096 webpack", @@ -44,7 +44,7 @@ "lint:eslint": "eslint .", "lint:prettier": "prettier . --check", "serve": "mm-snap serve", - "start": "mm-snap --version && pnpm build && pnpm serve", + "start": "pnpm mm-snap --version && pnpm build && pnpm serve", "test": "pnpm jest", "test:ci": "pnpm run test --silent --coverage" }, @@ -63,24 +63,24 @@ "@metamask/snaps-types": "0.28.0", "@metamask/snaps-ui": "0.28.0", "@types/uuid": "^9.0.1", - "@veramo/core": "5.0.0", - "@veramo/credential-eip712": "5.0.0", - "@veramo/credential-ld": "5.0.0", - "@veramo/credential-w3c": "5.0.0", - "@veramo/did-manager": "5.0.0", - "@veramo/did-provider-ethr": "5.0.0", - "@veramo/did-provider-pkh": "5.0.0", - "@veramo/did-resolver": "5.0.0", - "@veramo/key-manager": "5.0.0", - "@veramo/kms-local": "5.0.0", - "@veramo/utils": "5.0.0", + "@veramo/core": "5.1.2", + "@veramo/credential-eip712": "5.1.2", + "@veramo/credential-ld": "5.1.2", + "@veramo/credential-w3c": "5.1.2", + "@veramo/did-manager": "5.1.2", + "@veramo/did-provider-ethr": "5.1.2", + "@veramo/did-provider-pkh": "5.1.2", + "@veramo/did-resolver": "5.1.2", + "@veramo/key-manager": "5.1.2", + "@veramo/kms-local": "5.1.2", + "@veramo/utils": "5.1.2", "buffer": "^6.0.3", "caip": "1.1.0", "ceramic-cacao": "^1.4.0", "class-transformer": "^0.5.1", "class-validator": "^0.13.2", "crypto-browserify": "^3.12.0", - "did-jwt-vc": "3.1.0", + "did-jwt-vc": "3.1.2", "did-resolver": "4.0.1", "did-session": "1.0.0", "dids": "^3.4.0", @@ -94,21 +94,16 @@ "key-did-provider-ed25519": "^2.0.1", "key-did-resolver": "2.3.0", "lodash.clonedeep": "^4.5.0", - "multiformats": "^11.0.1", + "multiformats": "^11.0.2", "secp256k1": "4.0.3", "ts-jest": "^29.0.5", "uuid": "^9.0.0", "web-did-resolver": "2.0.21" }, "devDependencies": { - "@babel/core": "^7.21.0", - "@babel/plugin-proposal-class-properties": "^7.18.6", - "@babel/plugin-proposal-decorators": "^7.21.0", - "@babel/plugin-proposal-private-methods": "^7.18.6", + "@babel/core": "^7.21.3", "@babel/plugin-syntax-import-assertions": "^7.20.0", - "@babel/plugin-transform-flow-strip-types": "^7.21.0", "@babel/preset-typescript": "^7.21.0", - "@babel/register": "^7.21.0", "@commitlint/cli": "^17.4.4", "@commitlint/config-conventional": "^17.4.4", "@ianvs/prettier-plugin-sort-imports": "^3.7.1", @@ -117,36 +112,39 @@ "@types/jest": "^29.4.0", "@types/jsonpath": "^0.2.0", "@types/lodash.clonedeep": "^4.5.7", - "@types/node": "18.14.1", + "@types/node": "18.15.3", "@types/secp256k1": "^4.0.3", - "@typescript-eslint/eslint-plugin": "^5.53.0", - "@typescript-eslint/parser": "^5.53.0", + "@types/webpackbar": "^4.0.3", + "@typescript-eslint/eslint-plugin": "^5.55.0", + "@typescript-eslint/parser": "^5.55.0", "audit-ci": "^6.6.0", "babel-loader": "^9.1.2", "cross-env": "^7.0.3", - "eslint": "^8.34.0", - "eslint-config-prettier": "^8.6.0", + "eslint": "^8.36.0", + "eslint-config-prettier": "^8.7.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-jest": "^27.2.1", + "eslint-plugin-jest-extended": "^2.0.0", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-unused-imports": "^2.0.0", - "eslint-webpack-plugin": "^3.2.0", - "fork-ts-checker-webpack-plugin": "^7.3.0", - "hook-shell-script-webpack-plugin": "^0.1.4", + "eslint-webpack-plugin": "^4.0.0", + "fork-ts-checker-webpack-plugin": "^8.0.0", + "hook-shell-script-webpack-plugin": "^0.2.0", "is-ci": "^3.0.1", - "jest": "^29.4.3", - "lint-staged": "^13.1.2", + "jest": "^29.5.0", + "jest-extended": "^3.2.4", + "lint-staged": "^13.2.0", "postinstall-postinstall": "^2.1.0", - "precompress": "^9.1.1", + "precompress": "^10.0.1", "prettier": "^2.8.4", "prettier-plugin-packagejson": "^2.4.3", - "rimraf": "^3.0.2", + "rimraf": "^4.4.0", "ts-node": "^10.9.1", "typescript": "^4.9.5", - "webpack": "^5.75.0", - "webpack-cli": "^5.0.1", - "webpack-merge": "^5.8.0", - "webpackbar": "^5.0.2" + "webpack": "5.75.0", + "webpack-cli": "5.0.1", + "webpack-merge": "5.8.0", + "webpackbar": "5.0.2" }, "publishConfig": { "access": "public", @@ -162,7 +160,7 @@ "{projectRoot}/tsconfig.json", "{projectRoot}/webpack.config.ts", "{projectRoot}/babel.config.ts", - "{projectRoot}/eslintrc.js", + "{projectRoot}/eslintrc.cjs", "{projectRoot}/.prettierignore", "{projectRoot}/images/**/*" ] diff --git a/packages/snap/snap.manifest.json b/packages/snap/snap.manifest.json index 06081681a..0900ed2e7 100644 --- a/packages/snap/snap.manifest.json +++ b/packages/snap/snap.manifest.json @@ -7,7 +7,7 @@ "url": "https://github.com/blockchain-lab-um/ssi-snap.git" }, "source": { - "shasum": "v5fuK4T6UijPU+IxH8Y/KbF/8vETwaZx7a78jauh9mU=", + "shasum": "zKbUbyUt1pzRCFyH19HnniAFvqIr6GO6CLvOtNkFvxU=", "location": { "npm": { "filePath": "dist/snap.js", diff --git a/packages/snap/tests/did/keyDidResolver.spec.ts b/packages/snap/tests/did/keyDidResolver.spec.ts index 44cb284d2..45e20a696 100644 --- a/packages/snap/tests/did/keyDidResolver.spec.ts +++ b/packages/snap/tests/did/keyDidResolver.spec.ts @@ -6,7 +6,6 @@ import { getDidKeyResolver as resolveDidKey, resolveSecp256k1, } from '../../src/did/key/keyDidResolver'; -import * as snapUtils from '../../src/utils/snapUtils'; import { address, exampleDIDKey, @@ -17,16 +16,6 @@ import { } from '../testUtils/constants'; import { SnapMock, createMockSnap } from '../testUtils/snap.mock'; -jest - .spyOn(snapUtils, 'getCurrentAccount') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => address); - -jest - .spyOn(snapUtils, 'getCurrentNetwork') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => '0x5'); - describe('keyDidResolver', () => { let snapMock: SnapsGlobalObject & SnapMock; @@ -50,10 +39,8 @@ describe('keyDidResolver', () => { }, { resolve( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - didUrl: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - options?: DIDResolutionOptions | undefined + _didUrl: string, + _options?: DIDResolutionOptions | undefined ): Promise { throw new Error('Function not implemented.'); }, @@ -86,10 +73,8 @@ describe('keyDidResolver', () => { }, { resolve( - // eslint-disable-next-line @typescript-eslint/no-unused-vars - didUrl: string, - // eslint-disable-next-line @typescript-eslint/no-unused-vars - options?: DIDResolutionOptions | undefined + _didUrl: string, + _options?: DIDResolutionOptions | undefined ): Promise { throw new Error('Function not implemented.'); }, diff --git a/packages/snap/tests/did/keyDidUtils.spec.ts b/packages/snap/tests/did/keyDidUtils.spec.ts index 208acbbdc..4ae2d2175 100644 --- a/packages/snap/tests/did/keyDidUtils.spec.ts +++ b/packages/snap/tests/did/keyDidUtils.spec.ts @@ -9,7 +9,6 @@ import { import { SnapMock, createMockSnap } from '../testUtils/snap.mock'; describe('keyDidUtils', () => { - // eslint-disable-next-line @typescript-eslint/no-unused-vars let snapMock: SnapsGlobalObject & SnapMock; beforeEach(() => { diff --git a/packages/snap/tests/rpc/onRpcRequest.spec.ts b/packages/snap/tests/rpc/onRpcRequest.spec.ts index e11bba8cf..049d6d34e 100644 --- a/packages/snap/tests/rpc/onRpcRequest.spec.ts +++ b/packages/snap/tests/rpc/onRpcRequest.spec.ts @@ -18,7 +18,6 @@ import * as uuid from 'uuid'; import { onRpcRequest } from '../../src'; import { StoredCredentials } from '../../src/interfaces'; -import * as snapUtils from '../../src/utils/snapUtils'; import { veramoClearVCs } from '../../src/utils/veramoUtils'; import { Agent, getAgent } from '../../src/veramo/setup'; import { @@ -35,32 +34,9 @@ import { createTestVCs } from '../testUtils/generateTestVCs'; import { SnapMock, createMockSnap } from '../testUtils/snap.mock'; jest.mock('uuid'); -let ceramicData: StoredCredentials; -jest - .spyOn(DIDDataStore.prototype, 'get') - // eslint-disable-next-line @typescript-eslint/require-await, @typescript-eslint/no-unused-vars - .mockImplementation(async (key, did?) => { - return ceramicData; - }); -jest - .spyOn(DIDDataStore.prototype, 'merge') - // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/require-await - .mockImplementation(async (key, content, options?) => { - ceramicData = content as StoredCredentials; - return 'ok' as unknown as StreamID; - }); - -jest - .spyOn(snapUtils, 'getCurrentAccount') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => address); - -jest - .spyOn(snapUtils, 'getCurrentNetwork') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => '0x5'); describe('onRpcRequest', () => { + let ceramicData: StoredCredentials; let snapMock: SnapsGlobalObject & SnapMock; let identifier: IIdentifier; let agent: Agent; @@ -97,6 +73,22 @@ describe('onRpcRequest', () => { keyRef: 'importedTestKey', } )); + + // Ceramic mock + DIDDataStore.prototype.get = jest + .fn() + // eslint-disable-next-line @typescript-eslint/require-await + .mockImplementation(async (_key, _did) => { + return ceramicData; + }); + + DIDDataStore.prototype.merge = jest + .fn() + // eslint-disable-next-line @typescript-eslint/require-await + .mockImplementation(async (_key, content, _options?) => { + ceramicData = content as StoredCredentials; + return 'ok' as unknown as StreamID; + }); }); describe('saveVC', () => { @@ -121,10 +113,10 @@ describe('onRpcRequest', () => { } expect(saveRes.data).toEqual([ - expect.objectContaining({ + { id: expect.any(String), store: 'snap', - }), + }, ]); const res = (await onRpcRequest({ @@ -176,10 +168,10 @@ describe('onRpcRequest', () => { } expect(saveRes.data).toEqual([ - expect.objectContaining({ + { id: expect.any(String), store: 'snap', - }), + }, ]); const res = (await onRpcRequest({ @@ -247,15 +239,15 @@ describe('onRpcRequest', () => { throw saveRes.error; } - expect(saveRes.data).toEqual([ - expect.objectContaining({ + expect(saveRes.data).toIncludeSameMembers([ + { id: expect.any(String), store: 'snap', - }), - expect.objectContaining({ + }, + { id: expect.any(String), store: 'ceramic', - }), + }, ]); const res = (await onRpcRequest({ @@ -279,7 +271,7 @@ describe('onRpcRequest', () => { data: exampleVeramoVCJWT, metadata: { id: saveRes.data[0].id, - store: ['snap', 'ceramic'], + store: expect.arrayContaining(['snap', 'ceramic']), }, }, ]; @@ -763,10 +755,10 @@ describe('onRpcRequest', () => { } expect(saveRes.data).toEqual([ - expect.objectContaining({ + { id: expect.any(String), store: 'snap', - }), + }, ]); const res = (await onRpcRequest({ @@ -828,10 +820,10 @@ describe('onRpcRequest', () => { } expect(saveRes.data).toEqual([ - expect.objectContaining({ + { id: expect.any(String), store: 'snap', - }), + }, ]); const res = (await onRpcRequest({ @@ -894,10 +886,10 @@ describe('onRpcRequest', () => { } expect(saveRes.data).toEqual([ - expect.objectContaining({ + { id: expect.any(String), store: 'snap', - }), + }, ]); const res = (await onRpcRequest({ diff --git a/packages/snap/tests/utils/ceramicUtils.spec.ts b/packages/snap/tests/utils/ceramicUtils.spec.ts index d9449b711..bacbad5c5 100644 --- a/packages/snap/tests/utils/ceramicUtils.spec.ts +++ b/packages/snap/tests/utils/ceramicUtils.spec.ts @@ -2,7 +2,6 @@ import { MetaMaskInpageProvider } from '@metamask/providers'; import { SnapsGlobalObject } from '@metamask/snaps-types'; import { W3CVerifiableCredential } from '@veramo/core'; -import * as snapUtils from '../../src/utils/snapUtils'; import { veramoClearVCs, veramoDeleteVC, @@ -10,23 +9,12 @@ import { veramoSaveVC, } from '../../src/utils/veramoUtils'; import { - address, exampleVC, exampleVCinVP, getDefaultSnapState, } from '../testUtils/constants'; import { SnapMock, createMockSnap } from '../testUtils/snap.mock'; -jest - .spyOn(snapUtils, 'getCurrentAccount') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => address); - -jest - .spyOn(snapUtils, 'getCurrentNetwork') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => '0x5'); - describe('Utils [ceramic]', () => { let snapMock: SnapsGlobalObject & SnapMock; let ethereumMock: MetaMaskInpageProvider; diff --git a/packages/snap/tests/utils/didUtils.spec.ts b/packages/snap/tests/utils/didUtils.spec.ts index e9c100c7b..31362b649 100644 --- a/packages/snap/tests/utils/didUtils.spec.ts +++ b/packages/snap/tests/utils/didUtils.spec.ts @@ -7,7 +7,6 @@ import { getCurrentDid, resolveDid, } from '../../src/utils/didUtils'; -import * as snapUtils from '../../src/utils/snapUtils'; import { address, exampleDID, @@ -21,16 +20,6 @@ import { } from '../testUtils/constants'; import { SnapMock, createMockSnap } from '../testUtils/snap.mock'; -jest - .spyOn(snapUtils, 'getCurrentAccount') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => address); - -jest - .spyOn(snapUtils, 'getCurrentNetwork') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => '0x5'); - describe('Utils [did]', () => { let snapMock: SnapsGlobalObject & SnapMock; let ethereumMock: MetaMaskInpageProvider; diff --git a/packages/snap/tests/utils/snapUtils.spec.ts b/packages/snap/tests/utils/snapUtils.spec.ts index 6e104c013..4aa7f6ca5 100644 --- a/packages/snap/tests/utils/snapUtils.spec.ts +++ b/packages/snap/tests/utils/snapUtils.spec.ts @@ -23,16 +23,6 @@ import { } from '../testUtils/constants'; import { SnapMock, createMockSnap } from '../testUtils/snap.mock'; -jest - .spyOn(snapUtils, 'getCurrentAccount') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => address); - -jest - .spyOn(snapUtils, 'getCurrentNetwork') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => '0x5'); - describe('Utils [snap]', () => { let snapMock: SnapsGlobalObject & SnapMock; let ethereumMock: MetaMaskInpageProvider; diff --git a/packages/snap/tests/utils/veramoUtils.spec.ts b/packages/snap/tests/utils/veramoUtils.spec.ts index 840a12d91..58391bd99 100644 --- a/packages/snap/tests/utils/veramoUtils.spec.ts +++ b/packages/snap/tests/utils/veramoUtils.spec.ts @@ -31,34 +31,10 @@ import { } from '../testUtils/constants'; import { SnapMock, createMockSnap } from '../testUtils/snap.mock'; -jest - .spyOn(snapUtils, 'getCurrentAccount') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => address); - -jest - .spyOn(snapUtils, 'getCurrentNetwork') - // eslint-disable-next-line @typescript-eslint/require-await - .mockImplementation(async () => '0x5'); - -let ceramicData: StoredCredentials; -jest - .spyOn(DIDDataStore.prototype, 'get') - // eslint-disable-next-line @typescript-eslint/require-await, @typescript-eslint/no-unused-vars - .mockImplementation(async (key, did?) => { - return ceramicData; - }); -jest - .spyOn(DIDDataStore.prototype, 'merge') - // eslint-disable-next-line @typescript-eslint/no-unused-vars, @typescript-eslint/require-await - .mockImplementation(async (key, content, options?) => { - ceramicData = content as StoredCredentials; - return 'ok' as unknown as StreamID; - }); - describe('Utils [veramo]', () => { let snapMock: SnapsGlobalObject & SnapMock; let ethereumMock: MetaMaskInpageProvider; + let ceramicData: StoredCredentials; beforeEach(() => { snapMock = createMockSnap(); @@ -67,6 +43,24 @@ describe('Utils [veramo]', () => { ethereumMock = snapMock as unknown as MetaMaskInpageProvider; }); + beforeAll(() => { + // Ceramic mock + DIDDataStore.prototype.get = jest + .fn() + // eslint-disable-next-line @typescript-eslint/require-await + .mockImplementation(async (_key, _did) => { + return ceramicData; + }); + + DIDDataStore.prototype.merge = jest + .fn() + // eslint-disable-next-line @typescript-eslint/require-await + .mockImplementation(async (_key, content, _options?) => { + ceramicData = content as StoredCredentials; + return 'ok' as unknown as StreamID; + }); + }); + describe('veramoSaveVC', () => { it('should succeed saving VC in snap store', async () => { snapMock.rpcMocks.snap_manageState.mockReturnValue(getDefaultSnapState()); @@ -88,6 +82,7 @@ describe('Utils [veramo]', () => { expect(res).toEqual(expectedResult); expect.assertions(1); }); + it('should succeed saving JSON-LD VC in snap store', async () => { snapMock.rpcMocks.snap_manageState.mockReturnValue(getDefaultSnapState()); @@ -170,10 +165,11 @@ describe('Utils [veramo]', () => { }, ]; - expect(res).toEqual(expectedResult); + expect(res).toIncludeSameMembers(expectedResult); expect.assertions(1); }); + it('should succeed saving a JWT string in snap store', async () => { snapMock.rpcMocks.snap_manageState.mockReturnValue(getDefaultSnapState()); const res = await veramoSaveVC({ @@ -261,9 +257,14 @@ describe('Utils [veramo]', () => { ethereum: ethereumMock, options: { store: ['snap', 'ceramic'], returnStore: true }, }); + expect(vcsPreDelete).toHaveLength(1); - expect(vcsPreDelete[0].metadata.store).toStrictEqual(['snap', 'ceramic']); - expect(res).toEqual(expectedResult); + expect(vcsPreDelete[0].metadata.store).toIncludeSameMembers([ + 'snap', + 'ceramic', + ]); + expect(res).toIncludeSameMembers(expectedResult); + await veramoDeleteVC({ snap: snapMock, ethereum: ethereumMock, @@ -293,6 +294,7 @@ describe('Utils [veramo]', () => { expect(vcsPostDelete[0].metadata.store).toStrictEqual(['snap']); expect.assertions(5); }); + it('should succeed deleting VCs in all stores', async () => { snapMock.rpcMocks.snap_manageState.mockReturnValue(getDefaultSnapState()); @@ -319,7 +321,7 @@ describe('Utils [veramo]', () => { }, ]; - expect(res).toEqual(expectedResult); + expect(res).toIncludeSameMembers(expectedResult); const expectedState = getDefaultSnapState(); expectedState.accountState[address].vcs[res[0].id] = exampleVC; @@ -379,6 +381,7 @@ describe('Utils [veramo]', () => { expect(vcs).toHaveLength(0); expect.assertions(2); }); + it('should succeed clearing VCs in all stores', async () => { snapMock.rpcMocks.snap_manageState.mockReturnValue(getDefaultSnapState()); const res = await veramoSaveVC({ @@ -482,7 +485,10 @@ describe('Utils [veramo]', () => { }); expect(queryRes).toHaveLength(1); - expect(queryRes[0].metadata.store).toEqual(['snap', 'ceramic']); + expect(queryRes[0].metadata.store).toIncludeSameMembers([ + 'snap', + 'ceramic', + ]); expect.assertions(7); }); @@ -681,6 +687,7 @@ describe('Utils [veramo]', () => { expect.assertions(1); }); + it('should succeed listing all VCs from snap store matching query - empty result', async () => { snapMock.rpcMocks.snap_manageState.mockReturnValue(getDefaultSnapState()); @@ -806,6 +813,7 @@ describe('Utils [veramo]', () => { expect(verifyResult.verified).toBe(true); expect.assertions(1); }); + it('should succeed validating a VC - Eip712', async () => { const initialState = getDefaultSnapState(); snapMock.rpcMocks.snap_manageState.mockReturnValue(initialState); @@ -834,6 +842,7 @@ describe('Utils [veramo]', () => { expect(verifyResult.verified).toBe(true); expect.assertions(1); }); + it('should succeed validating a VC - lds', async () => { const initialState = getDefaultSnapState(); snapMock.rpcMocks.snap_manageState.mockReturnValue(initialState); @@ -860,6 +869,7 @@ describe('Utils [veramo]', () => { expect(verifyResult.verified).toBe(true); expect.assertions(1); }); + it('should succeed validating a VP - JWT', async () => { const initialState = getDefaultSnapState(); snapMock.rpcMocks.snap_manageState.mockReturnValue(initialState); @@ -932,6 +942,7 @@ describe('Utils [veramo]', () => { expect(verifyResult.verified).toBe(true); expect.assertions(1); }); + it('should succeed validating a VP - lds', async () => { const initialState = getDefaultSnapState(); snapMock.rpcMocks.snap_manageState.mockReturnValue(initialState); diff --git a/packages/snap/tsconfig.eslint.json b/packages/snap/tsconfig.eslint.json index 16a0e9d61..b0a08c182 100644 --- a/packages/snap/tsconfig.eslint.json +++ b/packages/snap/tsconfig.eslint.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.json", - "include": ["**/*", ".eslintrc.js"] + "include": ["**/*", ".eslintrc.cjs"] } diff --git a/packages/snap/tsconfig.json b/packages/snap/tsconfig.json index d8e5d6aac..82c43c031 100644 --- a/packages/snap/tsconfig.json +++ b/packages/snap/tsconfig.json @@ -1,13 +1,16 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { - "experimentalDecorators": true, "outDir": "./dist", "baseUrl": ".", - "typeRoots": ["./node_modules/@types", "../../node_modules/@types"], - "sourceMap": true + + "declaration": true, + "inlineSourceMap": true, + "incremental": false, + "removeComments": true }, "files": [ + "jest.d.ts", "../../node_modules/.pnpm/@metamask+snaps-types@0.27.1_rvr7xsi54kylxpxjwsjvbo3fce/node_modules/@metamask/snaps-types/dist/global.d.ts" ], "include": ["src/**/*", "tests/**/*"] diff --git a/packages/snap/webpack.config.ts b/packages/snap/webpack.config.ts index 46afd44c4..0971119cb 100644 --- a/packages/snap/webpack.config.ts +++ b/packages/snap/webpack.config.ts @@ -44,7 +44,6 @@ const common: Configuration = { }, plugins: [ new WebpackBarPlugin(), - // eslint-disable-next-line @typescript-eslint/no-unsafe-call new ProvidePlugin({ Buffer: ['buffer', 'Buffer'], }), @@ -61,7 +60,6 @@ const common: Configuration = { }, }), ], - // stats: "errors-only", watchOptions: { ignored: ['**/snap.manifest.json'], }, diff --git a/packages/types/.eslintrc.js b/packages/types/.eslintrc.cjs similarity index 76% rename from packages/types/.eslintrc.js rename to packages/types/.eslintrc.cjs index 48f421ab5..ef7346a34 100644 --- a/packages/types/.eslintrc.js +++ b/packages/types/.eslintrc.cjs @@ -1,10 +1,9 @@ module.exports = { root: true, - extends: ['../../.eslintrc.js'], + extends: ['../../.eslintrc.cjs'], parserOptions: { project: './tsconfig.eslint.json', sourceType: 'module', tsconfigRootDir: __dirname, }, - rules: {}, }; diff --git a/packages/types/.lintstagedrc.js b/packages/types/.lintstagedrc.cjs similarity index 100% rename from packages/types/.lintstagedrc.js rename to packages/types/.lintstagedrc.cjs diff --git a/packages/types/package.json b/packages/types/package.json index 608dc9226..b29c15a8c 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -14,12 +14,14 @@ "email": "blockchain-lab@um.si", "url": "https://blockchain-lab.um.si" }, + "type": "module", "main": "./dist/index.js", - "module": "./dist/index.mjs", + "module": "./dist/index.js", "source": "./src/index.ts", "types": "./dist/index.d.ts", "files": [ "dist/**", + "README.md", "package.json" ], "scripts": { @@ -32,14 +34,14 @@ }, "dependencies": { "@blockchain-lab-um/utils": "*", - "@veramo/core": "^5.0.0" + "@veramo/core": "5.1.2" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "^3.7.1", - "@types/rimraf": "^3.0.2", + "@types/rimraf": "^4.0.5", "eslint-plugin-unused-imports": "^2.0.0", "prettier-plugin-packagejson": "^2.4.3", - "rimraf": "^3.0.2", + "rimraf": "^4.4.0", "tsup": "^6.6.3", "typescript": "^4.9.5" }, diff --git a/packages/types/src/index.ts b/packages/types/src/index.ts index 9eee10a30..81884d217 100644 --- a/packages/types/src/index.ts +++ b/packages/types/src/index.ts @@ -1,7 +1,7 @@ -export * from './methods'; -export * from './requests'; -export * from './snapApi'; -export * from './constants'; -export * from './params'; -export * from './results'; -export * from './snapInterfaces'; +export * from './methods.js'; +export * from './requests.js'; +export * from './snapApi.js'; +export * from './constants.js'; +export * from './params.js'; +export * from './results.js'; +export * from './snapInterfaces.js'; diff --git a/packages/types/src/methods.ts b/packages/types/src/methods.ts index 525f29065..29da8c7d5 100644 --- a/packages/types/src/methods.ts +++ b/packages/types/src/methods.ts @@ -6,7 +6,7 @@ import { SaveVCRequestParams, SetVCStoreRequestParams, SwitchMethodRequestParams, -} from './params'; +} from './params.js'; export type QueryVCs = { method: 'queryVCs'; diff --git a/packages/types/src/params.ts b/packages/types/src/params.ts index 9bd4864bc..e67035fee 100644 --- a/packages/types/src/params.ts +++ b/packages/types/src/params.ts @@ -7,7 +7,7 @@ import { AvailableMethods, AvailableVCStores, SupportedProofFormats, -} from './constants'; +} from './constants.js'; /** * Types diff --git a/packages/types/src/requests.ts b/packages/types/src/requests.ts index bcd43a49c..e43c69afa 100644 --- a/packages/types/src/requests.ts +++ b/packages/types/src/requests.ts @@ -14,7 +14,7 @@ import { SetVCStore, SwitchMethod, TogglePopups, -} from './methods'; +} from './methods.js'; export type MetaMaskSSISnapRPCRequest = | QueryVCs diff --git a/packages/types/src/snapApi.ts b/packages/types/src/snapApi.ts index c5c56f7f3..e598b98ed 100644 --- a/packages/types/src/snapApi.ts +++ b/packages/types/src/snapApi.ts @@ -5,15 +5,15 @@ import { W3CVerifiableCredential, } from '@veramo/core'; -import { AvailableMethods, AvailableVCStores } from './constants'; +import { AvailableMethods, AvailableVCStores } from './constants.js'; import { CreateVPRequestParams, DeleteVCsOptions, QueryVCsRequestParams, SaveVCOptions, -} from './params'; -import type { QueryVCsRequestResult, SaveVCRequestResult } from './results'; -import { SSIAccountConfig, SSISnapConfig } from './snapInterfaces'; +} from './params.js'; +import type { QueryVCsRequestResult, SaveVCRequestResult } from './results.js'; +import { SSIAccountConfig, SSISnapConfig } from './snapInterfaces.js'; export interface SSISnapApi { queryVCs( diff --git a/packages/types/src/snapInterfaces.ts b/packages/types/src/snapInterfaces.ts index b5bbbe23e..bae7b82f9 100644 --- a/packages/types/src/snapInterfaces.ts +++ b/packages/types/src/snapInterfaces.ts @@ -1,4 +1,4 @@ -import { AvailableMethods, AvailableVCStores } from './constants'; +import { AvailableMethods, AvailableVCStores } from './constants.js'; export type SSISnapConfig = { snap: { diff --git a/packages/types/tsconfig.build.json b/packages/types/tsconfig.build.json index cd3f69f8f..fc8520e73 100644 --- a/packages/types/tsconfig.build.json +++ b/packages/types/tsconfig.build.json @@ -1,8 +1,3 @@ { - "extends": "./tsconfig.json", - "compilerOptions": { - "incremental": false, - "removeComments": true, - "module": "ES2020" - } + "extends": "./tsconfig.json" } diff --git a/packages/types/tsconfig.eslint.json b/packages/types/tsconfig.eslint.json index 16a0e9d61..b0a08c182 100644 --- a/packages/types/tsconfig.eslint.json +++ b/packages/types/tsconfig.eslint.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.json", - "include": ["**/*", ".eslintrc.js"] + "include": ["**/*", ".eslintrc.cjs"] } diff --git a/packages/types/tsconfig.json b/packages/types/tsconfig.json index 9957f3860..1be74bcee 100644 --- a/packages/types/tsconfig.json +++ b/packages/types/tsconfig.json @@ -1,8 +1,13 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { + "target": "ES2020", + "module": "ES2020", + "moduleResolution": "nodenext", + "outDir": "./dist", "rootDir": ".", + "declaration": true, "inlineSourceMap": true, "incremental": false, diff --git a/packages/types/tsup.config.ts b/packages/types/tsup.config.ts index de7657418..cbb7d24b9 100644 --- a/packages/types/tsup.config.ts +++ b/packages/types/tsup.config.ts @@ -6,7 +6,7 @@ export default defineConfig((options: Options) => ({ splitting: true, tsconfig: './tsconfig.build.json', entry: ['src/**/*.ts'], - format: ['esm', 'cjs'], + format: 'esm', dts: true, minify: false, clean: true, diff --git a/libs/utils/.eslintrc.js b/packages/vcmanager/.eslintrc.cjs similarity index 76% rename from libs/utils/.eslintrc.js rename to packages/vcmanager/.eslintrc.cjs index 48f421ab5..ef7346a34 100644 --- a/libs/utils/.eslintrc.js +++ b/packages/vcmanager/.eslintrc.cjs @@ -1,10 +1,9 @@ module.exports = { root: true, - extends: ['../../.eslintrc.js'], + extends: ['../../.eslintrc.cjs'], parserOptions: { project: './tsconfig.eslint.json', sourceType: 'module', tsconfigRootDir: __dirname, }, - rules: {}, }; diff --git a/packages/vcmanager/.lintstagedrc.js b/packages/vcmanager/.lintstagedrc.cjs similarity index 100% rename from packages/vcmanager/.lintstagedrc.js rename to packages/vcmanager/.lintstagedrc.cjs diff --git a/packages/vcmanager/jest.config.ts b/packages/vcmanager/jest.config.ts index b61601f8a..ecb5e76de 100644 --- a/packages/vcmanager/jest.config.ts +++ b/packages/vcmanager/jest.config.ts @@ -1,191 +1,31 @@ -/* - * For a detailed explanation regarding each configuration property and type check, visit: - * https://jestjs.io/docs/configuration - */ - export default { - // All imported modules in your tests should be mocked automatically - // automock: false, - - // Stop running tests after `n` failures - // bail: 0, - - // The directory where Jest should store its cached dependency information - // cacheDirectory: "/tmp/jest_rs", - - // Automatically clear mock calls, instances, contexts and results before every test clearMocks: false, - - // Indicates whether the coverage information should be collected while executing the test collectCoverage: false, - - // An array of glob patterns indicating a set of files for which coverage information should be collected - // collectCoverageFrom: undefined, - - // The directory where Jest should output its coverage files coverageDirectory: 'coverage', - - // An array of regexp pattern strings used to skip coverage collection coveragePathIgnorePatterns: ['/node_modules/', 'tests'], - - // Indicates which provider should be used to instrument code for coverage coverageProvider: 'v8', - - // A list of reporter names that Jest uses when writing coverage reports - // coverageReporters: [ - // "json", - // "text", - // "lcov", - // "clover" - // ], - - // An object that configures minimum threshold enforcement for coverage results - // coverageThreshold: undefined, - - // A path to a custom dependency extractor - // dependencyExtractor: undefined, - - // Make calling deprecated APIs throw helpful error messages - // errorOnDeprecated: false, - - // The default configuration for fake timers - // fakeTimers: { - // "enableGlobally": false - // }, - - // Force coverage collection from ignored files using an array of glob patterns - // forceCoverageMatch: [], - - // A path to a module which exports an async function that is triggered once before all test suites - // globalSetup: undefined, - - // A path to a module which exports an async function that is triggered once after all test suites - // globalTeardown: undefined, - - // A set of global variables that need to be available in all test environments - - // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. - // maxWorkers: "50%", - - // An array of directory names to be searched recursively up from the requiring module's location - // moduleDirectories: [ - // "node_modules" - // ], - - // An array of file extensions your modules use - // moduleFileExtensions: [ - // "js", - // "mjs", - // "cjs", - // "jsx", - // "ts", - // "tsx", - // "json", - // "node" - // ], - - // A map from regular expressions to module names or to arrays of module names that allow to stub out resources with a single module - // moduleNameMapper: {}, - - // An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader - // modulePathIgnorePatterns: [], - - // Activates notifications for test results - // notify: false, - - // An enum that specifies notification mode. Requires { notify: true } - // notifyMode: "failure-change", - - // A preset that is used as a base for Jest's configuration - // preset: undefined, - - // Run tests from one or more projects - // projects: undefined, - - // Use this configuration option to add custom reporters to Jest - // reporters: undefined, - - // Automatically reset mock state before every test - // resetMocks: false, - - // Reset the module registry before running each individual test - // resetModules: false, - - // A path to a custom resolver - // resolver: undefined, - - // Automatically restore mock state and implementation before every test - // restoreMocks: false, - - // The root directory that Jest should scan for tests and modules within - // rootDir: undefined, - - // A list of paths to directories that Jest should use to search for files in - // roots: [ - // "" - // ], - - // Allows you to use a custom runner instead of Jest's default test runner - // runner: "jest-runner", - - // The paths to modules that run some code to configure or set up the testing environment before each test - // setupFiles: [], - - // A list of paths to modules that run some code to configure or set up the testing framework before each test - // setupFilesAfterEnv: [], - - // The number of seconds after which a test is considered as slow and reported as such in the results. - // slowTestThreshold: 5, - - // A list of paths to snapshot serializer modules Jest should use for snapshot testing - // snapshotSerializers: [], - - // The test environment that will be used for testing + moduleFileExtensions: ['js', 'json', 'ts', 'mjs', 'cjs'], testEnvironment: 'node', - preset: 'ts-jest', - // Options that will be passed to the testEnvironment - // testEnvironmentOptions: {}, - - // Adds a location field to test results - // testLocationInResults: false, - - // The glob patterns Jest uses to detect test files - // testMatch: [ - // "**/__tests__/**/*.[jt]s?(x)", - // "**/?(*.)+(spec|test).[tj]s?(x)" - // ], - - // An array of regexp pattern strings that are matched against all test paths, matched tests are skipped - // testPathIgnorePatterns: [ - // "/node_modules/" - // ], - - // The regexp pattern or array of patterns that Jest uses to detect test files - // testRegex: [], - - // This option allows the use of a custom results processor - // testResultsProcessor: undefined, - - // This option allows use of a custom test runner - // testRunner: "jest-circus/runner", - - // A map from regular expressions to paths to transformers - // transform: undefined, - - // An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation - transformIgnorePatterns: [], - - // An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them - // unmockedModulePathPatterns: undefined, - - // Indicates whether each individual test should be reported during the run - // verbose: undefined, - - // An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode - // watchPathIgnorePatterns: [], - - // Whether to use watchman for file crawling - // watchman: true, - + testRegex: '.*\\.spec\\.ts$', + transform: { + '^.+\\.(t|j)sx?$': [ + '@swc/jest', + { + jsc: { + target: 'es2022', + parser: { + syntax: 'typescript', + dynamicImport: true, + }, + baseUrl: './', + }, + }, + ], + }, + moduleNameMapper: { + '^(\\.{1,2}/.*)\\.[tj]sx?$': '$1', + }, + extensionsToTreatAsEsm: ['.ts'], + transformIgnorePatterns: ['/node_modules/(?!@veramo)/'], testTimeout: 120000, }; diff --git a/packages/vcmanager/package.json b/packages/vcmanager/package.json index 9d9295db8..bb27608ba 100644 --- a/packages/vcmanager/package.json +++ b/packages/vcmanager/package.json @@ -2,14 +2,15 @@ "name": "@blockchain-lab-um/veramo-vc-manager", "version": "1.5.0", "license": "MIT", - "main": "dist/index.js", - "module": "dist/index.js", - "types": "dist/index.d.ts", + "type": "module", + "main": "./dist/index.js", + "module": "./dist/index.js", + "source": "./src/index.ts", + "types": "./dist/index.d.ts", "files": [ - "dist/", + "dist/**", "README.md", - "package.json", - "LICENSE" + "package.json" ], "scripts": { "build": "pnpm clean && pnpm compile", @@ -25,27 +26,28 @@ "dependencies": { "@blockchain-lab-um/ssi-snap-types": "*", "@types/jsonpath": "^0.2.0", - "@veramo/core": "^5.0.0", + "@veramo/core": "^5.1.2", "jsonpath": "^1.1.1", "uuid": "^9.0.0" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "^3.7.1", + "@swc/core": "^1.3.41", + "@swc/jest": "^0.2.24", "@types/jest": "^29.4.0", "@types/prettier": "^2.7.2", - "@types/rimraf": "^3.0.2", + "@types/rimraf": "^4.0.5", "@types/uuid": "^9.0.1", - "@veramo/cli": "5.0.0", + "@veramo/cli": "5.1.4", "eslint": "^8.34.0", "eslint-config-prettier": "^8.6.0", "eslint-plugin-import": "^2.27.5", "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-unused-imports": "^2.0.0", - "jest": "29.4.3", + "jest": "29.5.0", "prettier": "^2.8.4", "prettier-plugin-packagejson": "^2.4.3", - "rimraf": "^3.0.2", - "ts-jest": "29.0.5", + "rimraf": "^4.4.0", "typescript": "^4.9.5" }, "publishConfig": { @@ -65,7 +67,7 @@ "!{projectRoot}/**/*.md", "!{projectRoot}/tsconfig.spec.json", "!{projectRoot}/jest.config.ts", - "!{projectRoot}/.eslintrc.json", + "!{projectRoot}/.eslintrc.cjs", "!{projectRoot}/tests/**/*.ts" ] } diff --git a/packages/vcmanager/src/agent/dataManager.ts b/packages/vcmanager/src/agent/dataManager.ts index f9db78fe1..a5cafa6c1 100644 --- a/packages/vcmanager/src/agent/dataManager.ts +++ b/packages/vcmanager/src/agent/dataManager.ts @@ -1,6 +1,6 @@ import { IAgentPlugin } from '@veramo/core'; -import { AbstractDataStore } from '../data-store/abstractDataStore'; +import { AbstractDataStore } from '../data-store/abstractDataStore.js'; import { IDataManager, IDataManagerClearArgs, @@ -9,7 +9,7 @@ import { IDataManagerQueryResult, IDataManagerSaveArgs, IDataManagerSaveResult, -} from '../types/IDataManager'; +} from '../types/IDataManager.js'; export class DataManager implements IAgentPlugin { readonly methods: IDataManager = { diff --git a/packages/vcmanager/src/data-store/memoryDataStore.ts b/packages/vcmanager/src/data-store/memoryDataStore.ts index 6065459fc..6686cb3c9 100644 --- a/packages/vcmanager/src/data-store/memoryDataStore.ts +++ b/packages/vcmanager/src/data-store/memoryDataStore.ts @@ -7,7 +7,7 @@ import { IFilterArgs, IQueryResult, ISaveArgs, -} from './abstractDataStore'; +} from './abstractDataStore.js'; /** * An implementation of {@link AbstractDataStore} that stores everything in memory. diff --git a/packages/vcmanager/src/index.ts b/packages/vcmanager/src/index.ts index b6ecfcd97..47371d1b6 100644 --- a/packages/vcmanager/src/index.ts +++ b/packages/vcmanager/src/index.ts @@ -1,4 +1,4 @@ -export { DataManager } from './agent/dataManager'; -export { MemoryDataStore } from './data-store/memoryDataStore'; -export * from './data-store/abstractDataStore'; -export * from './types/IDataManager'; +export { DataManager } from './agent/dataManager.js'; +export { MemoryDataStore } from './data-store/memoryDataStore.js'; +export * from './data-store/abstractDataStore.js'; +export * from './types/IDataManager.js'; diff --git a/packages/vcmanager/tests/dataManager.spec.ts b/packages/vcmanager/tests/dataManager.spec.ts index 2a93808b0..c8906e0ca 100644 --- a/packages/vcmanager/tests/dataManager.spec.ts +++ b/packages/vcmanager/tests/dataManager.spec.ts @@ -1,6 +1,6 @@ -import { DataManager } from '../src/agent/dataManager'; -import { AbstractDataStore } from '../src/data-store/abstractDataStore'; -import { MemoryDataStore } from '../src/data-store/memoryDataStore'; +import { DataManager } from '../src/agent/dataManager.js'; +import { AbstractDataStore } from '../src/data-store/abstractDataStore.js'; +import { MemoryDataStore } from '../src/data-store/memoryDataStore.js'; describe('DataManager', () => { const stores: Record = {}; diff --git a/packages/vcmanager/tsconfig.build.json b/packages/vcmanager/tsconfig.build.json index 34d3cc2d6..2cf970ddd 100644 --- a/packages/vcmanager/tsconfig.build.json +++ b/packages/vcmanager/tsconfig.build.json @@ -1,10 +1,4 @@ { "extends": "./tsconfig.json", - "compilerOptions": { - "incremental": false, - "removeComments": true - }, - "exclude": [ - // Exclude all test files - ] + "exclude": ["tests/**/*"] } diff --git a/packages/vcmanager/tsconfig.eslint.json b/packages/vcmanager/tsconfig.eslint.json index 16a0e9d61..b0a08c182 100644 --- a/packages/vcmanager/tsconfig.eslint.json +++ b/packages/vcmanager/tsconfig.eslint.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.json", - "include": ["**/*", ".eslintrc.js"] + "include": ["**/*", ".eslintrc.cjs"] } diff --git a/packages/vcmanager/tsconfig.json b/packages/vcmanager/tsconfig.json index 7dc854f53..02ceb2af0 100644 --- a/packages/vcmanager/tsconfig.json +++ b/packages/vcmanager/tsconfig.json @@ -1,29 +1,17 @@ { "extends": "../../tsconfig.base.json", "compilerOptions": { + "target": "ES2020", + "module": "ES2020", + "moduleResolution": "nodenext", + "outDir": "./dist", "baseUrl": ".", "declaration": true, "inlineSourceMap": true, - - /* Additional Checks */ - "noUnusedLocals": false /* Report errors on unused locals. */, - "noUnusedParameters": false /* Report errors on unused parameters. */, - "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, - "noFallthroughCasesInSwitch": true /* Report errors for fallthrough cases in switch statement. */, - - /* Debugging Options */ - "traceResolution": false /* Report module resolution log messages. */, - "listEmittedFiles": false /* Print names of generated files part of the compilation. */, - "listFiles": false /* Print names of files part of the compilation. */, - - "lib": ["es6", "dom", "es2017"], - "typeRoots": [ - "./node_modules/@types", - "../../node_modules/@types", - "src/types" - ] + "incremental": false, + "removeComments": true }, - "include": ["src/**/*.ts"] + "include": ["src/**/*.ts", "tests/**/*.ts"] } diff --git a/patches/@veramo__did-provider-pkh@5.0.0.patch b/patches/@veramo__did-provider-pkh@5.0.0.patch deleted file mode 100644 index ebbcc86ba..000000000 --- a/patches/@veramo__did-provider-pkh@5.0.0.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/build/resolver.js b/build/resolver.js -index b839acb2698fab57a1ee6256432da360e08c77cd..c68a49931312cb405590eb8b182c5ce21cbd5d87 100644 ---- a/build/resolver.js -+++ b/build/resolver.js -@@ -1,5 +1,5 @@ - import { AccountId } from 'caip'; --import { isValidNamespace, SECPK1_NAMESPACES } from './pkh-did-provider'; -+import { isValidNamespace, SECPK1_NAMESPACES } from './pkh-did-provider.js'; - import Debug from 'debug'; - const debug = Debug('veramo:pkh-did-resolver'); - const DID_LD_JSON = 'application/did+ld+json'; -diff --git a/src/resolver.ts b/src/resolver.ts -index 2ae41f336cbe5d8adc0ba935a1c8e2c8c1791e55..4647ee6eb99dbf94aea977ac95a21f680200e72e 100644 ---- a/src/resolver.ts -+++ b/src/resolver.ts -@@ -6,7 +6,7 @@ import type { - Resolvable, - ResolverRegistry, - } from 'did-resolver'; --import { isValidNamespace, SECPK1_NAMESPACES } from './pkh-did-provider'; -+import { isValidNamespace, SECPK1_NAMESPACES } from './pkh-did-provider.js'; - import Debug from 'debug' - - const debug = Debug('veramo:pkh-did-resolver') \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cab3e6a14..401272c66 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,9 +4,6 @@ patchedDependencies: cross-fetch@3.1.5: hash: iqh6pvemik3ebzneirvlerj7uq path: patches/cross-fetch@3.1.5.patch - '@veramo/did-provider-pkh@5.0.0': - hash: xbin4eoqvloyhwqbrtzei47slm - path: patches/@veramo__did-provider-pkh@5.0.0.patch importers: @@ -15,10 +12,10 @@ importers: '@commitlint/cli': ^17.4.4 '@commitlint/config-conventional': ^17.4.4 '@ianvs/prettier-plugin-sort-imports': ^3.7.1 - '@nrwl/devkit': 15.8.3 - '@nrwl/jest': 15.8.3 + '@nrwl/devkit': 15.8.7 + '@nrwl/jest': 15.8.7 '@nrwl/nx-cloud': ^15.2.3 - '@types/eslint': ^8.21.3 + '@types/eslint': ^8.21.2 '@types/jest': ^29.5.0 '@types/node': ^18.15.3 '@typescript-eslint/eslint-plugin': ^5.55.0 @@ -30,24 +27,23 @@ importers: eslint-config-prettier: ^8.7.0 eslint-plugin-import: ^2.27.5 eslint-plugin-jest: ^27.2.1 + eslint-plugin-jest-extended: ^2.0.0 eslint-plugin-prettier: ^4.2.1 - eslint-webpack-plugin: ^4.0.0 husky: ^8.0.3 is-ci: ^3.0.1 jest: ^29.5.0 lint-staged: ^13.2.0 - nx: 15.7.2 - prettier: ^2.8.5 + nx: 15.8.7 + prettier: ^2.8.4 prettier-plugin-packagejson: ^2.4.3 ts-node: ^10.9.1 typescript: ^4.9.5 - webpack: ^5.76.2 devDependencies: '@commitlint/cli': 17.4.4 '@commitlint/config-conventional': 17.4.4 '@ianvs/prettier-plugin-sort-imports': 3.7.1_prettier@2.8.5 - '@nrwl/devkit': 15.8.3_nx@15.7.2+typescript@4.9.5 - '@nrwl/jest': 15.8.3_pui22onw7kounr7uxfcocqrbou + '@nrwl/devkit': 15.8.7_nx@15.8.7+typescript@4.9.5 + '@nrwl/jest': 15.8.7_5w2llliasj4kxvfhuvnt2m56jq '@nrwl/nx-cloud': 15.2.3 '@types/eslint': 8.21.3 '@types/jest': 29.5.0 @@ -61,25 +57,26 @@ importers: eslint-config-prettier: 8.7.0_eslint@8.36.0 eslint-plugin-import: 2.27.5_a7er6olmtneep4uytpot6gt7wu eslint-plugin-jest: 27.2.1_c5np4xxgeczfzqnstagjdh5md4 + eslint-plugin-jest-extended: 2.0.0_vgl77cfdswitgr47lm5swmv43m eslint-plugin-prettier: 4.2.1_e4jq4ivnnnwcsomlcyj2qoljy4 - eslint-webpack-plugin: 4.0.0_c6bstfvn7lmu3jnvygo5gmufvi husky: 8.0.3 is-ci: 3.0.1 jest: 29.5.0_d2dllaz5dte7avnjm55wl7fmsu lint-staged: 13.2.0 - nx: 15.7.2 + nx: 15.8.7 prettier: 2.8.5 prettier-plugin-packagejson: 2.4.3_prettier@2.8.5 ts-node: 10.9.1_cbfmry4sbbh4vatmdrsmatfg5a typescript: 4.9.5 - webpack: 5.76.2 libs/utils: specifiers: - rimraf: ^3.0.2 + rimraf: ^4.4.0 + tsup: ^6.6.3 typescript: ^4.9.5 devDependencies: - rimraf: 3.0.2 + rimraf: 4.4.0 + tsup: 6.7.0_typescript@4.9.5 typescript: 4.9.5 packages/connector: @@ -88,10 +85,10 @@ importers: '@blockchain-lab-um/utils': '*' '@ianvs/prettier-plugin-sort-imports': ^3.7.1 '@metamask/detect-provider': ^2.0.0 - '@types/rimraf': ^3.0.2 + '@types/rimraf': ^4.0.5 '@typescript-eslint/eslint-plugin': ^5.53.0 '@typescript-eslint/parser': ^5.53.0 - '@veramo/core': ^5.0.0 + '@veramo/core': ^5.1.2 eslint: ^8.34.0 eslint-config-prettier: ^8.6.0 eslint-plugin-import: ^2.27.5 @@ -99,17 +96,17 @@ importers: eslint-plugin-unused-imports: ^2.0.0 prettier: ^2.8.4 prettier-plugin-packagejson: ^2.4.3 - rimraf: ^3.0.2 + rimraf: ^4.4.0 tsup: ^6.6.3 typescript: ^4.9.5 dependencies: '@blockchain-lab-um/ssi-snap-types': link:../types '@blockchain-lab-um/utils': link:../../libs/utils '@metamask/detect-provider': 2.0.0 - '@veramo/core': 5.0.0 + '@veramo/core': 5.1.2 devDependencies: '@ianvs/prettier-plugin-sort-imports': 3.7.1_prettier@2.8.5 - '@types/rimraf': 3.0.2 + '@types/rimraf': 4.0.5 '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m eslint: 8.36.0 @@ -119,7 +116,7 @@ importers: eslint-plugin-unused-imports: 2.0.0_dchlkxfdm6cbfc25bfo3oeha6e prettier: 2.8.5 prettier-plugin-packagejson: 2.4.3_prettier@2.8.5 - rimraf: 3.0.2 + rimraf: 4.4.0 tsup: 6.7.0_typescript@4.9.5 typescript: 4.9.5 @@ -129,7 +126,7 @@ importers: '@next/font': 13.1.6 '@svgr/webpack': ^6.5.1 '@types/eslint': ^8.21.1 - '@types/node': 18.14.1 + '@types/node': 18.15.3 '@types/prettier': ^2 '@types/react': 18.0.28 '@types/react-dom': 18.0.11 @@ -159,7 +156,7 @@ importers: zustand: ^4.3.3 dependencies: '@next/font': 13.1.6 - '@types/node': 18.14.1 + '@types/node': 18.15.3 '@types/react': 18.0.28 '@types/react-dom': 18.0.11 clsx: 1.2.1 @@ -233,7 +230,7 @@ importers: prism-react-renderer: ^1.3.5 react: ^18.2.0 react-dom: ^18.2.0 - rimraf: ^3.0.2 + rimraf: ^4.4.0 stylelint: ^14.16.1 stylelint-config-css-modules: ^4.1.0 stylelint-config-prettier: ^9.0.5 @@ -282,7 +279,7 @@ importers: precompress: 9.1.1 prettier: 2.8.5 prettier-plugin-packagejson: 2.4.3_prettier@2.8.5 - rimraf: 3.0.2 + rimraf: 4.4.0 stylelint: 14.16.1 stylelint-config-css-modules: 4.2.0_stylelint@14.16.1 stylelint-config-prettier: 9.0.5_stylelint@14.16.1 @@ -291,14 +288,9 @@ importers: packages/snap: specifiers: - '@babel/core': ^7.21.0 - '@babel/plugin-proposal-class-properties': ^7.18.6 - '@babel/plugin-proposal-decorators': ^7.21.0 - '@babel/plugin-proposal-private-methods': ^7.18.6 + '@babel/core': ^7.21.3 '@babel/plugin-syntax-import-assertions': ^7.20.0 - '@babel/plugin-transform-flow-strip-types': ^7.21.0 '@babel/preset-typescript': ^7.21.0 - '@babel/register': ^7.21.0 '@babel/runtime': 7.21.0 '@blockchain-lab-um/ssi-snap-types': '*' '@blockchain-lab-um/utils': '*' @@ -320,22 +312,23 @@ importers: '@types/jest': ^29.4.0 '@types/jsonpath': ^0.2.0 '@types/lodash.clonedeep': ^4.5.7 - '@types/node': 18.14.1 + '@types/node': 18.15.3 '@types/secp256k1': ^4.0.3 '@types/uuid': ^9.0.1 - '@typescript-eslint/eslint-plugin': ^5.53.0 - '@typescript-eslint/parser': ^5.53.0 - '@veramo/core': 5.0.0 - '@veramo/credential-eip712': 5.0.0 - '@veramo/credential-ld': 5.0.0 - '@veramo/credential-w3c': 5.0.0 - '@veramo/did-manager': 5.0.0 - '@veramo/did-provider-ethr': 5.0.0 - '@veramo/did-provider-pkh': 5.0.0 - '@veramo/did-resolver': 5.0.0 - '@veramo/key-manager': 5.0.0 - '@veramo/kms-local': 5.0.0 - '@veramo/utils': 5.0.0 + '@types/webpackbar': ^4.0.3 + '@typescript-eslint/eslint-plugin': ^5.55.0 + '@typescript-eslint/parser': ^5.55.0 + '@veramo/core': 5.1.2 + '@veramo/credential-eip712': 5.1.2 + '@veramo/credential-ld': 5.1.2 + '@veramo/credential-w3c': 5.1.2 + '@veramo/did-manager': 5.1.2 + '@veramo/did-provider-ethr': 5.1.2 + '@veramo/did-provider-pkh': 5.1.2 + '@veramo/did-resolver': 5.1.2 + '@veramo/key-manager': 5.1.2 + '@veramo/kms-local': 5.1.2 + '@veramo/utils': 5.1.2 audit-ci: ^6.6.0 babel-loader: ^9.1.2 buffer: ^6.0.3 @@ -345,48 +338,50 @@ importers: class-validator: ^0.13.2 cross-env: ^7.0.3 crypto-browserify: ^3.12.0 - did-jwt-vc: 3.1.0 + did-jwt-vc: 3.1.2 did-resolver: 4.0.1 did-session: 1.0.0 dids: ^3.4.0 - eslint: ^8.34.0 - eslint-config-prettier: ^8.6.0 + eslint: ^8.36.0 + eslint-config-prettier: ^8.7.0 eslint-plugin-import: ^2.27.5 eslint-plugin-jest: ^27.2.1 + eslint-plugin-jest-extended: ^2.0.0 eslint-plugin-prettier: ^4.2.1 eslint-plugin-unused-imports: ^2.0.0 - eslint-webpack-plugin: ^3.2.0 + eslint-webpack-plugin: ^4.0.0 eth-sig-util: 3.0.1 ethers: 5.7.2 ethr-did: 2.3.6 ethr-did-resolver: 8.0.0 - fork-ts-checker-webpack-plugin: ^7.3.0 - hook-shell-script-webpack-plugin: ^0.1.4 + fork-ts-checker-webpack-plugin: ^8.0.0 + hook-shell-script-webpack-plugin: ^0.2.0 is-ci: ^3.0.1 - jest: ^29.4.3 + jest: ^29.5.0 + jest-extended: ^3.2.4 js-sha256: ^0.9.0 json-loader: ^0.5.7 jsonpath: ^1.1.1 key-did-provider-ed25519: ^2.0.1 key-did-resolver: 2.3.0 - lint-staged: ^13.1.2 + lint-staged: ^13.2.0 lodash.clonedeep: ^4.5.0 - multiformats: ^11.0.1 + multiformats: ^11.0.2 postinstall-postinstall: ^2.1.0 - precompress: ^9.1.1 + precompress: ^10.0.1 prettier: ^2.8.4 prettier-plugin-packagejson: ^2.4.3 - rimraf: ^3.0.2 + rimraf: ^4.4.0 secp256k1: 4.0.3 ts-jest: ^29.0.5 ts-node: ^10.9.1 typescript: ^4.9.5 uuid: ^9.0.0 web-did-resolver: 2.0.21 - webpack: ^5.75.0 - webpack-cli: ^5.0.1 - webpack-merge: ^5.8.0 - webpackbar: ^5.0.2 + webpack: 5.75.0 + webpack-cli: 5.0.1 + webpack-merge: 5.8.0 + webpackbar: 5.0.2 dependencies: '@babel/runtime': 7.21.0 '@blockchain-lab-um/ssi-snap-types': link:../types @@ -402,24 +397,24 @@ importers: '@metamask/snaps-types': 0.28.0 '@metamask/snaps-ui': 0.28.0 '@types/uuid': 9.0.1 - '@veramo/core': 5.0.0 - '@veramo/credential-eip712': 5.0.0 - '@veramo/credential-ld': 5.0.0 - '@veramo/credential-w3c': 5.0.0 - '@veramo/did-manager': 5.0.0 - '@veramo/did-provider-ethr': 5.0.0 - '@veramo/did-provider-pkh': 5.0.0_xbin4eoqvloyhwqbrtzei47slm - '@veramo/did-resolver': 5.0.0 - '@veramo/key-manager': 5.0.0 - '@veramo/kms-local': 5.0.0 - '@veramo/utils': 5.0.0 + '@veramo/core': 5.1.2 + '@veramo/credential-eip712': 5.1.2 + '@veramo/credential-ld': 5.1.2 + '@veramo/credential-w3c': 5.1.2 + '@veramo/did-manager': 5.1.2 + '@veramo/did-provider-ethr': 5.1.2 + '@veramo/did-provider-pkh': 5.1.2 + '@veramo/did-resolver': 5.1.2 + '@veramo/key-manager': 5.1.2 + '@veramo/kms-local': 5.1.2 + '@veramo/utils': 5.1.2 buffer: 6.0.3 caip: 1.1.0 ceramic-cacao: 1.4.0 class-transformer: 0.5.1 class-validator: 0.13.2 crypto-browserify: 3.12.0 - did-jwt-vc: 3.1.0 + did-jwt-vc: 3.1.2 did-resolver: 4.0.1 did-session: 1.0.0 dids: 3.4.0 @@ -440,13 +435,8 @@ importers: web-did-resolver: 2.0.21 devDependencies: '@babel/core': 7.21.3 - '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.21.3 - '@babel/plugin-proposal-decorators': 7.21.0_@babel+core@7.21.3 - '@babel/plugin-proposal-private-methods': 7.18.6_@babel+core@7.21.3 '@babel/plugin-syntax-import-assertions': 7.20.0_@babel+core@7.21.3 - '@babel/plugin-transform-flow-strip-types': 7.21.0_@babel+core@7.21.3 '@babel/preset-typescript': 7.21.0_@babel+core@7.21.3 - '@babel/register': 7.21.0_@babel+core@7.21.3 '@commitlint/cli': 17.4.4 '@commitlint/config-conventional': 17.4.4 '@ianvs/prettier-plugin-sort-imports': 3.7.1_prettier@2.8.5 @@ -455,57 +445,60 @@ importers: '@types/jest': 29.5.0 '@types/jsonpath': 0.2.0 '@types/lodash.clonedeep': 4.5.7 - '@types/node': 18.14.1 + '@types/node': 18.15.3 '@types/secp256k1': 4.0.3 + '@types/webpackbar': 4.0.3 '@typescript-eslint/eslint-plugin': 5.55.0_342y7v4tc7ytrrysmit6jo4wri '@typescript-eslint/parser': 5.55.0_vgl77cfdswitgr47lm5swmv43m audit-ci: 6.6.1 - babel-loader: 9.1.2_h5x7dh6zbbyopr7jvxivhylqpa + babel-loader: 9.1.2_j3l6jndlp7jcq6s4bl4ig4yfme cross-env: 7.0.3 eslint: 8.36.0 eslint-config-prettier: 8.7.0_eslint@8.36.0 eslint-plugin-import: 2.27.5_a7er6olmtneep4uytpot6gt7wu eslint-plugin-jest: 27.2.1_c5np4xxgeczfzqnstagjdh5md4 + eslint-plugin-jest-extended: 2.0.0_vgl77cfdswitgr47lm5swmv43m eslint-plugin-prettier: 4.2.1_e4jq4ivnnnwcsomlcyj2qoljy4 eslint-plugin-unused-imports: 2.0.0_dchlkxfdm6cbfc25bfo3oeha6e - eslint-webpack-plugin: 3.2.0_c6bstfvn7lmu3jnvygo5gmufvi - fork-ts-checker-webpack-plugin: 7.3.0_a37q6j7dwawz22saey2vgkpwqm - hook-shell-script-webpack-plugin: 0.1.4 + eslint-webpack-plugin: 4.0.0_z62k3dgnr6jbdlqj2thrt6g3ii + fork-ts-checker-webpack-plugin: 8.0.0_hhrrucqyg4eysmfpujvov2ym5u + hook-shell-script-webpack-plugin: 0.2.0 is-ci: 3.0.1 - jest: 29.5.0_ujxcenvse5zlxdro6vjdmkgl3a + jest: 29.5.0_d2dllaz5dte7avnjm55wl7fmsu + jest-extended: 3.2.4_jest@29.5.0 lint-staged: 13.2.0 postinstall-postinstall: 2.1.0 - precompress: 9.1.1 + precompress: 10.0.2 prettier: 2.8.5 prettier-plugin-packagejson: 2.4.3_prettier@2.8.5 - rimraf: 3.0.2 - ts-node: 10.9.1_uayvamxqnl5yeiojjysxwopmsy + rimraf: 4.4.0 + ts-node: 10.9.1_cbfmry4sbbh4vatmdrsmatfg5a typescript: 4.9.5 - webpack: 5.76.2_webpack-cli@5.0.1 - webpack-cli: 5.0.1_webpack@5.76.2 + webpack: 5.75.0_webpack-cli@5.0.1 + webpack-cli: 5.0.1_webpack@5.75.0 webpack-merge: 5.8.0 - webpackbar: 5.0.2_webpack@5.76.2 + webpackbar: 5.0.2_webpack@5.75.0 packages/types: specifiers: '@blockchain-lab-um/utils': '*' '@ianvs/prettier-plugin-sort-imports': ^3.7.1 - '@types/rimraf': ^3.0.2 - '@veramo/core': ^5.0.0 + '@types/rimraf': ^4.0.5 + '@veramo/core': 5.1.2 eslint-plugin-unused-imports: ^2.0.0 prettier-plugin-packagejson: ^2.4.3 - rimraf: ^3.0.2 + rimraf: ^4.4.0 tsup: ^6.6.3 typescript: ^4.9.5 dependencies: '@blockchain-lab-um/utils': link:../../libs/utils - '@veramo/core': 5.0.0 + '@veramo/core': 5.1.2 devDependencies: '@ianvs/prettier-plugin-sort-imports': 3.7.1 - '@types/rimraf': 3.0.2 + '@types/rimraf': 4.0.5 eslint-plugin-unused-imports: 2.0.0 prettier-plugin-packagejson: 2.4.3 - rimraf: 3.0.2 + rimraf: 4.4.0 tsup: 6.7.0_typescript@4.9.5 typescript: 4.9.5 @@ -513,49 +506,51 @@ importers: specifiers: '@blockchain-lab-um/ssi-snap-types': '*' '@ianvs/prettier-plugin-sort-imports': ^3.7.1 + '@swc/core': ^1.3.41 + '@swc/jest': ^0.2.24 '@types/jest': ^29.4.0 '@types/jsonpath': ^0.2.0 '@types/prettier': ^2.7.2 - '@types/rimraf': ^3.0.2 + '@types/rimraf': ^4.0.5 '@types/uuid': ^9.0.1 - '@veramo/cli': 5.0.0 - '@veramo/core': ^5.0.0 + '@veramo/cli': 5.1.4 + '@veramo/core': ^5.1.2 eslint: ^8.34.0 eslint-config-prettier: ^8.6.0 eslint-plugin-import: ^2.27.5 eslint-plugin-prettier: ^4.2.1 eslint-plugin-unused-imports: ^2.0.0 - jest: 29.4.3 + jest: 29.5.0 jsonpath: ^1.1.1 prettier: ^2.8.4 prettier-plugin-packagejson: ^2.4.3 - rimraf: ^3.0.2 - ts-jest: 29.0.5 + rimraf: ^4.4.0 typescript: ^4.9.5 uuid: ^9.0.0 dependencies: '@blockchain-lab-um/ssi-snap-types': link:../types '@types/jsonpath': 0.2.0 - '@veramo/core': 5.0.0 + '@veramo/core': 5.1.2 jsonpath: 1.1.1 uuid: 9.0.0 devDependencies: '@ianvs/prettier-plugin-sort-imports': 3.7.1_prettier@2.8.5 + '@swc/core': 1.3.41 + '@swc/jest': 0.2.24_@swc+core@1.3.41 '@types/jest': 29.5.0 '@types/prettier': 2.7.2 - '@types/rimraf': 3.0.2 + '@types/rimraf': 4.0.5 '@types/uuid': 9.0.1 - '@veramo/cli': 5.0.0 + '@veramo/cli': 5.1.4 eslint: 8.36.0 eslint-config-prettier: 8.7.0_eslint@8.36.0 eslint-plugin-import: 2.27.5_eslint@8.36.0 eslint-plugin-prettier: 4.2.1_e4jq4ivnnnwcsomlcyj2qoljy4 eslint-plugin-unused-imports: 2.0.0_eslint@8.36.0 - jest: 29.4.3 + jest: 29.5.0 prettier: 2.8.5 prettier-plugin-packagejson: 2.4.3_prettier@2.8.5 - rimraf: 3.0.2 - ts-jest: 29.0.5_orzzknleilowtsz34rkaotjvzm + rimraf: 4.4.0 typescript: 4.9.5 packages: @@ -1111,7 +1106,7 @@ packages: '@babel/core': ^7.0.0-0 dependencies: '@babel/core': 7.12.9 - '@babel/helper-plugin-utils': 7.10.4 + '@babel/helper-plugin-utils': 7.20.2 '@babel/plugin-syntax-object-rest-spread': 7.8.3_@babel+core@7.12.9 '@babel/plugin-transform-parameters': 7.21.3_@babel+core@7.12.9 @@ -1244,16 +1239,6 @@ packages: '@babel/core': 7.21.3 '@babel/helper-plugin-utils': 7.20.2 - /@babel/plugin-syntax-flow/7.18.6_@babel+core@7.21.3: - resolution: {integrity: sha512-LUbR+KNTBWCUAqRG9ex5Gnzu2IOkt8jRJbHHXFT9q+L9zm7M/QQbEqXyw1n1pohYvOyWC8CjeyjrSaIwiYjK7A==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.21.3 - '@babel/helper-plugin-utils': 7.20.2 - dev: true - /@babel/plugin-syntax-import-assertions/7.20.0_@babel+core@7.21.3: resolution: {integrity: sha512-IUh1vakzNoWalR8ch/areW7qFopR2AEw03JlG7BbrDqmQ4X3q9uuipQwSGrUn7oGiemKjtSLDhNtQHzMHr1JdQ==} engines: {node: '>=6.9.0'} @@ -1486,17 +1471,6 @@ packages: '@babel/helper-builder-binary-assignment-operator-visitor': 7.18.9 '@babel/helper-plugin-utils': 7.20.2 - /@babel/plugin-transform-flow-strip-types/7.21.0_@babel+core@7.21.3: - resolution: {integrity: sha512-FlFA2Mj87a6sDkW4gfGrQQqwY/dLlBAyJa2dJEZ+FHXUVHBflO2wyKvg+OOEzXfrKYIa4HWl0mgmbCzt0cMb7w==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.21.3 - '@babel/helper-plugin-utils': 7.20.2 - '@babel/plugin-syntax-flow': 7.18.6_@babel+core@7.21.3 - dev: true - /@babel/plugin-transform-for-of/7.21.0_@babel+core@7.21.3: resolution: {integrity: sha512-LlUYlydgDkKpIY7mcBWvyPPmMcOphEyYA27Ef4xpbh1IiDNLr0kZsos2nf92vz3IccvJI25QUwp86Eo5s6HmBQ==} engines: {node: '>=6.9.0'} @@ -1932,20 +1906,6 @@ packages: transitivePeerDependencies: - supports-color - /@babel/register/7.21.0_@babel+core@7.21.3: - resolution: {integrity: sha512-9nKsPmYDi5DidAqJaQooxIhsLJiNMkGr8ypQ8Uic7cIox7UCDsM7HuUGxdGT7mSDTYbqzIdsOWzfBton/YJrMw==} - engines: {node: '>=6.9.0'} - peerDependencies: - '@babel/core': ^7.0.0-0 - dependencies: - '@babel/core': 7.21.3 - clone-deep: 4.0.1 - find-cache-dir: 2.1.0 - make-dir: 2.1.0 - pirates: 4.0.5 - source-map-support: 0.5.21 - dev: true - /@babel/regjsgen/0.8.0: resolution: {integrity: sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA==} @@ -2799,7 +2759,7 @@ packages: '@docusaurus/utils': 2.3.1 '@mdx-js/mdx': 1.6.22 escape-html: 1.0.3 - file-loader: 6.2.0_webpack@5.76.2 + file-loader: 6.2.0_webpack@5.75.0 fs-extra: 10.1.0 image-size: 1.0.2 mdast-util-to-string: 2.0.0 @@ -2810,8 +2770,8 @@ packages: tslib: 2.5.0 unified: 9.2.2 unist-util-visit: 2.0.3 - url-loader: 4.1.1_35ful32yo3wjb53le3l6xb5doy - webpack: 5.76.2 + url-loader: 4.1.1_p5dl6emkcwslbw72e37w4ug7em + webpack: 5.75.0 transitivePeerDependencies: - '@docusaurus/types' - '@swc/core' @@ -2834,7 +2794,7 @@ packages: '@docusaurus/utils': 2.3.1_@docusaurus+types@2.3.1 '@mdx-js/mdx': 1.6.22 escape-html: 1.0.3 - file-loader: 6.2.0_webpack@5.76.2 + file-loader: 6.2.0_webpack@5.75.0 fs-extra: 10.1.0 image-size: 1.0.2 mdast-util-to-string: 2.0.0 @@ -2845,8 +2805,8 @@ packages: tslib: 2.5.0 unified: 9.2.2 unist-util-visit: 2.0.3 - url-loader: 4.1.1_35ful32yo3wjb53le3l6xb5doy - webpack: 5.76.2 + url-loader: 4.1.1_p5dl6emkcwslbw72e37w4ug7em + webpack: 5.75.0 transitivePeerDependencies: - '@docusaurus/types' - '@swc/core' @@ -2901,7 +2861,7 @@ packages: tslib: 2.5.0 unist-util-visit: 2.0.3 utility-types: 3.10.0 - webpack: 5.76.2 + webpack: 5.75.0 transitivePeerDependencies: - '@parcel/css' - '@swc/core' @@ -2978,7 +2938,7 @@ packages: react: 18.2.0 react-dom: 18.2.0_react@18.2.0 tslib: 2.5.0 - webpack: 5.76.2 + webpack: 5.75.0 transitivePeerDependencies: - '@parcel/css' - '@swc/core' @@ -3376,7 +3336,7 @@ packages: react-dom: 18.2.0_react@18.2.0 react-helmet-async: 1.3.0_biqbaboplfbrettd7655fr4n2y utility-types: 3.10.0 - webpack: 5.76.2 + webpack: 5.75.0 webpack-merge: 5.8.0 transitivePeerDependencies: - '@swc/core' @@ -3455,7 +3415,7 @@ packages: '@docusaurus/logger': 2.3.1 '@svgr/webpack': 6.5.1 escape-string-regexp: 4.0.0 - file-loader: 6.2.0_webpack@5.76.2 + file-loader: 6.2.0_webpack@5.75.0 fs-extra: 10.1.0 github-slugger: 1.5.0 globby: 11.1.0 @@ -3466,8 +3426,8 @@ packages: resolve-pathname: 3.0.0 shelljs: 0.8.5 tslib: 2.5.0 - url-loader: 4.1.1_35ful32yo3wjb53le3l6xb5doy - webpack: 5.76.2 + url-loader: 4.1.1_p5dl6emkcwslbw72e37w4ug7em + webpack: 5.75.0 transitivePeerDependencies: - '@swc/core' - esbuild @@ -3489,7 +3449,7 @@ packages: '@docusaurus/types': 2.3.1_biqbaboplfbrettd7655fr4n2y '@svgr/webpack': 6.5.1 escape-string-regexp: 4.0.0 - file-loader: 6.2.0_webpack@5.76.2 + file-loader: 6.2.0_webpack@5.75.0 fs-extra: 10.1.0 github-slugger: 1.5.0 globby: 11.1.0 @@ -3500,8 +3460,8 @@ packages: resolve-pathname: 3.0.0 shelljs: 0.8.5 tslib: 2.5.0 - url-loader: 4.1.1_35ful32yo3wjb53le3l6xb5doy - webpack: 5.76.2 + url-loader: 4.1.1_p5dl6emkcwslbw72e37w4ug7em + webpack: 5.75.0 transitivePeerDependencies: - '@swc/core' - esbuild @@ -4450,6 +4410,13 @@ packages: - supports-color - ts-node + /@jest/create-cache-key-function/27.5.1: + resolution: {integrity: sha512-dmH1yW+makpTSURTy8VzdUwFnfQh1G8R+DxO2Ho2FFmBbKFEVm+3jWdvFhE2VqB/LATCTokkP0dotjyQyw5/AQ==} + engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + dependencies: + '@jest/types': 27.5.1 + dev: true + /@jest/environment/28.1.3: resolution: {integrity: sha512-1bf40cMFTEkKyEf585R9Iz1WayDjHoHqvts0XFYEqyKM3cFWDpeMoqKKTAF9LSYQModPUlh8FKptoM2YcMWAXA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} @@ -4743,6 +4710,17 @@ packages: transitivePeerDependencies: - supports-color + /@jest/types/27.5.1: + resolution: {integrity: sha512-Cx46iJ9QpwQTjIdq5VJu2QTMMs3QlEjI0x1QbBP5W1+nMzyc2XmimiRR/CbX9TO0cPTeUlxWMOu8mslYsJ8DEw==} + engines: {node: ^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0} + dependencies: + '@types/istanbul-lib-coverage': 2.0.4 + '@types/istanbul-reports': 3.0.1 + '@types/node': 18.15.3 + '@types/yargs': 16.0.5 + chalk: 4.1.2 + dev: true + /@jest/types/28.1.3: resolution: {integrity: sha512-RyjiyMUZrKz/c+zlMFO1pm70DcIlST8AeWTkoUdZevew44wcNZQHsEVOiCVtgVnlFFD82FPaXycys58cf2muVQ==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} @@ -5482,35 +5460,25 @@ packages: dev: true optional: true - /@nrwl/cli/15.7.2: - resolution: {integrity: sha512-A/72FAW1e0ku8YB/PaCqN9BpVvciO83MS5F5bvX5PA8xCNqe1+iXp/5T2ASnN2lB9zR3fQJmvR7mHKTKQlqQQQ==} + /@nrwl/cli/15.8.7: + resolution: {integrity: sha512-G1NEy4jGuZJ/7KjhLQNOe11XmoTgwJS82FW8Tbo4iceq2ItSEbe7bkA8xTSK/AzUixZIMimztb9Oyxw/n1ajGQ==} dependencies: - nx: 15.7.2 + nx: 15.8.7 transitivePeerDependencies: - '@swc-node/register' - '@swc/core' - debug dev: true - /@nrwl/cli/15.8.3: - resolution: {integrity: sha512-FhgtkRv7X6IP60pkYXsfEbn7CAg36VSyzZ4eR4ocnbVlO5cBxXIH9VUh0yQqqpK+jUbkh0FyjhgFusBB9etlJg==} - dependencies: - nx: 15.8.3 - transitivePeerDependencies: - - '@swc-node/register' - - '@swc/core' - - debug - dev: true - - /@nrwl/devkit/15.8.3_nx@15.7.2+typescript@4.9.5: - resolution: {integrity: sha512-0DLaCMz0dhHyN+9oD1h2mpOxomuCfflZKrZ7NmOFSyQjkBiMJwh4ztt52W53MDL5/eBq5Jf4mBsPpbsYZvwQhg==} + /@nrwl/devkit/15.8.7_nx@15.8.7+typescript@4.9.5: + resolution: {integrity: sha512-A99nZrA5KN9wRn2uYX2vKByA+t2XEGoZBR5TU/bpXbPYrh92qAHkIJ8ke3ImGQOlzk4iIaZ5Me0k7k1p9Zx4wA==} peerDependencies: nx: '>= 14.1 <= 16' dependencies: '@phenomnomnominal/tsquery': 4.1.1_typescript@4.9.5 ejs: 3.1.9 ignore: 5.2.4 - nx: 15.7.2 + nx: 15.8.7 semver: 7.3.4 tmp: 0.2.1 tslib: 2.5.0 @@ -5518,29 +5486,13 @@ packages: - typescript dev: true - /@nrwl/devkit/15.8.3_nx@15.8.3+typescript@4.9.5: - resolution: {integrity: sha512-0DLaCMz0dhHyN+9oD1h2mpOxomuCfflZKrZ7NmOFSyQjkBiMJwh4ztt52W53MDL5/eBq5Jf4mBsPpbsYZvwQhg==} - peerDependencies: - nx: '>= 14.1 <= 16' - dependencies: - '@phenomnomnominal/tsquery': 4.1.1_typescript@4.9.5 - ejs: 3.1.9 - ignore: 5.2.4 - nx: 15.8.3 - semver: 7.3.4 - tmp: 0.2.1 - tslib: 2.5.0 - transitivePeerDependencies: - - typescript - dev: true - - /@nrwl/jest/15.8.3_pui22onw7kounr7uxfcocqrbou: - resolution: {integrity: sha512-U6scBchk73T8cnG7aK8E4j/gdWZ8uZpdUVTbFzCOQv7D7g16ElTEE2EQVhfAdBbX5CYO3zIaGx3Lop3NlZNFpg==} + /@nrwl/jest/15.8.7_5w2llliasj4kxvfhuvnt2m56jq: + resolution: {integrity: sha512-olTRYD/m1qu/sAaw/z7XOp0amsTKDa6hJvQDK26/1BkJiuKaYLSW/Ec7f39Ilw/zrde+fNg3YUOGiXxuQ10k4g==} dependencies: '@jest/reporters': 28.1.1 '@jest/test-result': 28.1.1 - '@nrwl/devkit': 15.8.3_nx@15.7.2+typescript@4.9.5 - '@nrwl/js': 15.8.3_urld5ccb7eoyt22l6shucmpbjq + '@nrwl/devkit': 15.8.7_nx@15.8.7+typescript@4.9.5 + '@nrwl/js': 15.8.7_dqjtdartv7ybvsvpgsyoehyovu '@phenomnomnominal/tsquery': 4.1.1_typescript@4.9.5 chalk: 4.1.2 dotenv: 10.0.0 @@ -5564,8 +5516,8 @@ packages: - typescript dev: true - /@nrwl/js/15.8.3_m7y556pkqipshg6siky6vdvphu: - resolution: {integrity: sha512-XE0zXYMd1dFb61TRC9gZpNfFjCZvl3TtunhfHE6bW7TY2X/oMZBV09LCyyyaP28h720VZCYiPAQvEAZ0Vv/eMw==} + /@nrwl/js/15.8.7_dqjtdartv7ybvsvpgsyoehyovu: + resolution: {integrity: sha512-FPOtTSIVHXnQG2uPzgvgtjBlMaHnxPKwG+3Qv1gQN9uHxd9e59TryARS+Q7/Y/qSP6woQjSVEcxkp1zJ2DhFFA==} dependencies: '@babel/core': 7.21.3 '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.21.3 @@ -5574,15 +5526,15 @@ packages: '@babel/preset-env': 7.20.2_@babel+core@7.21.3 '@babel/preset-typescript': 7.21.0_@babel+core@7.21.3 '@babel/runtime': 7.21.0 - '@nrwl/devkit': 15.8.3_nx@15.8.3+typescript@4.9.5 - '@nrwl/workspace': 15.8.3_ymfcbvzenwr4nv6uquwdgoto7i + '@nrwl/devkit': 15.8.7_nx@15.8.7+typescript@4.9.5 + '@nrwl/workspace': 15.8.7_ic6aduudx7g4steudquv6lp62a '@phenomnomnominal/tsquery': 4.1.1_typescript@4.9.5 babel-plugin-const-enum: 1.2.0_@babel+core@7.21.3 babel-plugin-macros: 2.8.0 babel-plugin-transform-typescript-metadata: 0.3.2 chalk: 4.1.2 fast-glob: 3.2.7 - fs-extra: 11.1.0 + fs-extra: 11.1.1 ignore: 5.2.4 js-tokens: 4.0.0 minimatch: 3.0.5 @@ -5593,14 +5545,15 @@ packages: - '@swc-node/register' - '@swc/core' - debug + - eslint - nx - prettier - supports-color - typescript dev: true - /@nrwl/js/15.8.3_urld5ccb7eoyt22l6shucmpbjq: - resolution: {integrity: sha512-XE0zXYMd1dFb61TRC9gZpNfFjCZvl3TtunhfHE6bW7TY2X/oMZBV09LCyyyaP28h720VZCYiPAQvEAZ0Vv/eMw==} + /@nrwl/js/15.8.7_ybezqxovyd7j6hpzmq7t37ww4i: + resolution: {integrity: sha512-FPOtTSIVHXnQG2uPzgvgtjBlMaHnxPKwG+3Qv1gQN9uHxd9e59TryARS+Q7/Y/qSP6woQjSVEcxkp1zJ2DhFFA==} dependencies: '@babel/core': 7.21.3 '@babel/plugin-proposal-class-properties': 7.18.6_@babel+core@7.21.3 @@ -5609,15 +5562,15 @@ packages: '@babel/preset-env': 7.20.2_@babel+core@7.21.3 '@babel/preset-typescript': 7.21.0_@babel+core@7.21.3 '@babel/runtime': 7.21.0 - '@nrwl/devkit': 15.8.3_nx@15.7.2+typescript@4.9.5 - '@nrwl/workspace': 15.8.3_ic6aduudx7g4steudquv6lp62a + '@nrwl/devkit': 15.8.7_nx@15.8.7+typescript@4.9.5 + '@nrwl/workspace': 15.8.7_ymfcbvzenwr4nv6uquwdgoto7i '@phenomnomnominal/tsquery': 4.1.1_typescript@4.9.5 babel-plugin-const-enum: 1.2.0_@babel+core@7.21.3 babel-plugin-macros: 2.8.0 babel-plugin-transform-typescript-metadata: 0.3.2 chalk: 4.1.2 fast-glob: 3.2.7 - fs-extra: 11.1.0 + fs-extra: 11.1.1 ignore: 5.2.4 js-tokens: 4.0.0 minimatch: 3.0.5 @@ -5628,23 +5581,22 @@ packages: - '@swc-node/register' - '@swc/core' - debug - - eslint - nx - prettier - supports-color - typescript dev: true - /@nrwl/linter/15.8.3_qms2dit3zbq7wya62zjpqtvdse: - resolution: {integrity: sha512-3uyOdQ+Ou2zqtRLwagj9qeq2hW2JrKukum1Qd5kFXr4Bih6oucVRDvtxtle8l3uY4AbD0fiseWGsY5FKs0MbVw==} + /@nrwl/linter/15.8.7_dqjtdartv7ybvsvpgsyoehyovu: + resolution: {integrity: sha512-s0RDjpGCkBZ83GuJfNGf3yTLb+KXzOz68BUEBPW2iw4ziMcMfQ5ep6zj7/5nzblaUMGslPBldqQ2N23JoiAo4w==} peerDependencies: eslint: ^8.0.0 peerDependenciesMeta: eslint: optional: true dependencies: - '@nrwl/devkit': 15.8.3_nx@15.8.3+typescript@4.9.5 - '@nrwl/js': 15.8.3_m7y556pkqipshg6siky6vdvphu + '@nrwl/devkit': 15.8.7_nx@15.8.7+typescript@4.9.5 + '@nrwl/js': 15.8.7_ybezqxovyd7j6hpzmq7t37ww4i '@phenomnomnominal/tsquery': 4.1.1_typescript@4.9.5 eslint: 8.36.0 tmp: 0.2.1 @@ -5675,8 +5627,8 @@ packages: - debug dev: true - /@nrwl/nx-darwin-arm64/15.7.2: - resolution: {integrity: sha512-F82exjuqkAkElSTxEcTFeLMhHpbGiccfTQh2VjXMS+ONldxM+Kd7atJjtUG8wKNXfg0lxxjjAdnzLy3iBuN/HQ==} + /@nrwl/nx-darwin-arm64/15.8.7: + resolution: {integrity: sha512-+cu8J337gRxUHjz2TGwS/2Oh3yw8d3/T6SoBfvee1DY72VQaeYd8UTz0doOhDtmc/zowvRu7ZVsW0ytNB0jIXQ==} engines: {node: '>= 10'} cpu: [arm64] os: [darwin] @@ -5684,26 +5636,8 @@ packages: dev: true optional: true - /@nrwl/nx-darwin-arm64/15.8.3: - resolution: {integrity: sha512-kN4e4YjmPdgGIQq3jZdKuDQvVlMwC5J9rn0MUaNNXq4bwLypEtd7eUjiejqEU0TvSuK3kApsjnnEOhDQvDFBKw==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@nrwl/nx-darwin-x64/15.7.2: - resolution: {integrity: sha512-MNT7Bxz6yhoVLCgGpR0NtVkj20SER1CbrCaY7tmsKVNY9iA/EOZhz9qa3LeA1KZ4lw8Gpi2vD42mOngn7Mwr7w==} - engines: {node: '>= 10'} - cpu: [x64] - os: [darwin] - requiresBuild: true - dev: true - optional: true - - /@nrwl/nx-darwin-x64/15.8.3: - resolution: {integrity: sha512-N4dwNwFYYhH2+/wHNEZAY4qtVp0BhAEAOrW01pZgoJIu6KlefKpphdjXT0H8rWgqzLOkeEA8xiCKEFJJalhIgg==} + /@nrwl/nx-darwin-x64/15.8.7: + resolution: {integrity: sha512-VqHJEP0wgFu1MU0Bo1vKZ5/s7ThRfYkX8SyGUxjVTzR02CrsjC4rNxFoKD8Cc4YkUn44U/F78toGf+i2gRcjSQ==} engines: {node: '>= 10'} cpu: [x64] os: [darwin] @@ -5711,17 +5645,8 @@ packages: dev: true optional: true - /@nrwl/nx-linux-arm-gnueabihf/15.7.2: - resolution: {integrity: sha512-QGyPkYnZ9LnUnuCzrP50bwsMJ9n6r8K2bNC1sQQwioijY+4MHNL+bMTOGWc8+lYBP7Ju3gpTqozGV3FQVkaM2w==} - engines: {node: '>= 10'} - cpu: [arm] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@nrwl/nx-linux-arm-gnueabihf/15.8.3: - resolution: {integrity: sha512-hUSIs1V0jIBvr0+CTmYHSuyGLW5QSLUg/37U3oqVHbPLz5ZsHIIz3+q6Q0ShdmxPck56usgnuV5yj0sHukkEYg==} + /@nrwl/nx-linux-arm-gnueabihf/15.8.7: + resolution: {integrity: sha512-4F/8awwqPTt7zKQolvjBNrcR1wYicPjGchLOdaqnfMxn/iRRUdh0hD11mEP5zHNv9gZs/nOIvhdBUErNjFkplQ==} engines: {node: '>= 10'} cpu: [arm] os: [linux] @@ -5729,26 +5654,8 @@ packages: dev: true optional: true - /@nrwl/nx-linux-arm64-gnu/15.7.2: - resolution: {integrity: sha512-HqufFVIvuunfChEFGkIhsLhhQjWLTFcCH2aQBSNesHpm6AhFVRGyokNu+PT6NNobr+BTrqJMocBqNQR1uvSyRQ==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@nrwl/nx-linux-arm64-gnu/15.8.3: - resolution: {integrity: sha512-Q0DXImRpwxf5LGYU6+24Kx1jtixRvKJLsMW6ZQyLeTau91DH8ppjsfMehf7qfGJLr5h8ssiER1A9XCjsKfZYGA==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@nrwl/nx-linux-arm64-musl/15.7.2: - resolution: {integrity: sha512-9B8q6I/OVyQuYe+Yg2wNyxza/CsbvejIUsrK3QGGWUwHlkklqOSmUOHyTrcyMHUSped6CWPyKdIywngYOQzltQ==} + /@nrwl/nx-linux-arm64-gnu/15.8.7: + resolution: {integrity: sha512-3ZTSZx02Vv5emQOpaDROIcLtQucoXAe73zGKYDTXB95mxbOPSjjQJ8Rtx+BeqWq9JQoZZyRcD0qnBkTTy1aLRg==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -5756,8 +5663,8 @@ packages: dev: true optional: true - /@nrwl/nx-linux-arm64-musl/15.8.3: - resolution: {integrity: sha512-QU7ohSyAN4MN3GFMX10rvzILMlfSYosz/o81kEmjhuuSCx+uoAdHQSEfKzaV3jqK90vpNntjR9Wr2BILKiuk7Q==} + /@nrwl/nx-linux-arm64-musl/15.8.7: + resolution: {integrity: sha512-SZxTomiHxAh8El+swbmGSGcaA0vGbHb/rmhFAixo19INu1wBJfD6hjkVJt17h6PyEO7BIYPOpRia6Poxnyv8hA==} engines: {node: '>= 10'} cpu: [arm64] os: [linux] @@ -5765,26 +5672,8 @@ packages: dev: true optional: true - /@nrwl/nx-linux-x64-gnu/15.7.2: - resolution: {integrity: sha512-8/6WtQn4derYKUWu5SxWWM+1dGihSZXMhDW9l/sXOr/qbMZu3XBmM2XZSguw/+p9gEVHcMmN0+D+Cai+q6/vDQ==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@nrwl/nx-linux-x64-gnu/15.8.3: - resolution: {integrity: sha512-4czf0u9kJPsiNt1yVmAzoliONL2ZOVXQs6rh+9BjypwHztfeOs2DO+8WGEd7f3TNgQRUeen0KzU3XALVmcGA6g==} - engines: {node: '>= 10'} - cpu: [x64] - os: [linux] - requiresBuild: true - dev: true - optional: true - - /@nrwl/nx-linux-x64-musl/15.7.2: - resolution: {integrity: sha512-c5SbqYZZBeBHhH5E30xwb4cHzCMVa/GQMCyTpZgsS/AHAPHbdkv+pO6bxxALvLPTyimcub7V+xbLCL7rgALzyw==} + /@nrwl/nx-linux-x64-gnu/15.8.7: + resolution: {integrity: sha512-BlNC6Zz1/x6CFbBFTVrgRGMOPqb7zWh5cOjBVNpoBXYTEth1UXb2r1U+gpuQ4xdUqG+uXoWhy6BHJjqBIjzLJA==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -5792,8 +5681,8 @@ packages: dev: true optional: true - /@nrwl/nx-linux-x64-musl/15.8.3: - resolution: {integrity: sha512-Ia2qwL4RJhUaaiEH/qAu+Sa9FKEFvZ1oL1ItqGN8FjCYkgJvzKNTUQWvb5c7vboHcsHB3RGh+/aFok7l3yuBxQ==} + /@nrwl/nx-linux-x64-musl/15.8.7: + resolution: {integrity: sha512-FNYX/IKy8SUbw6bJpvwZrup2YQBYmSJwP6Rw76Vf7c32XHk7uA6AjiPWMIrZCSndXcry8fnwXvR+J2Dnyo82nQ==} engines: {node: '>= 10'} cpu: [x64] os: [linux] @@ -5801,17 +5690,8 @@ packages: dev: true optional: true - /@nrwl/nx-win32-arm64-msvc/15.7.2: - resolution: {integrity: sha512-gWD/+gSO3XBma8PHX1Dp86fM6EcntHFfa7n/BISwDFkZ19MfV/gK6HbO847fkD6I34/IcDM/z1PsFwoIpTeoow==} - engines: {node: '>= 10'} - cpu: [arm64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@nrwl/nx-win32-arm64-msvc/15.8.3: - resolution: {integrity: sha512-fFwDoE/JOC0cclx1/byeCmWtitdYzJvSGXENPYPvghl2gEkQ/DA9l1yoGLqSBRIIg34bMUtyOJ494/BjflDfxA==} + /@nrwl/nx-win32-arm64-msvc/15.8.7: + resolution: {integrity: sha512-sZALEzazjPAeLlw6IbFWsMidCZ4ZM3GKWZZ6rsAqG2y7I9t4nlUPH/y/Isl9MuLBvrBCBXbVnD20wh6EhtuwTw==} engines: {node: '>= 10'} cpu: [arm64] os: [win32] @@ -5819,8 +5699,8 @@ packages: dev: true optional: true - /@nrwl/nx-win32-x64-msvc/15.7.2: - resolution: {integrity: sha512-ARE4qGPgk+e+pSm0uPhHan5UCRtwNYc5ddVNS88NFrVoDTPm5MxYLGdvLnshWWio/Bx526FcwUMSCBWSW8HIFw==} + /@nrwl/nx-win32-x64-msvc/15.8.7: + resolution: {integrity: sha512-VMdDptI2rqkLQRCvertF29QeA/V/MnFtHbsmVzMCEv5EUfrkHbA5LLxV66LLfngmkDT1FHktffztlsMpbxvhRw==} engines: {node: '>= 10'} cpu: [x64] os: [win32] @@ -5828,47 +5708,27 @@ packages: dev: true optional: true - /@nrwl/nx-win32-x64-msvc/15.8.3: - resolution: {integrity: sha512-dqieCWFFkr48h/0dIKVqn1/dhIBPPu5YMe+w5nnoVwLDGplEkwhcBA865dF+WY2kgosG1+JgQEdRlk11KuPQ5A==} - engines: {node: '>= 10'} - cpu: [x64] - os: [win32] - requiresBuild: true - dev: true - optional: true - - /@nrwl/tao/15.7.2: - resolution: {integrity: sha512-srx9heMIt/QIyuqfewiVYbRpFcD/2pHkTkrEEUKspPd25kzAL2adcAITQKVCHI7/VS2sPdDR67pVsGQPZFBMRQ==} - hasBin: true - dependencies: - nx: 15.7.2 - transitivePeerDependencies: - - '@swc-node/register' - - '@swc/core' - - debug - dev: true - - /@nrwl/tao/15.8.3: - resolution: {integrity: sha512-RG6UM/f2AvWBFuE9tCOp9+GdeGbeNpw4jvItmtZYGvc3XP96ainHaU0pcNKs7AnRMCtS8GePpKRBS2v5zhH1kQ==} + /@nrwl/tao/15.8.7: + resolution: {integrity: sha512-wA7QIEh0VwWcyo32Y/xSCTwnQTGcZupe933nResXv8mAb36W8MoR5SXRx+Wdd8fJ1eWlm2tuotIrslhN+lYx/Q==} hasBin: true dependencies: - nx: 15.8.3 + nx: 15.8.7 transitivePeerDependencies: - '@swc-node/register' - '@swc/core' - debug dev: true - /@nrwl/workspace/15.8.3_ic6aduudx7g4steudquv6lp62a: - resolution: {integrity: sha512-oklUSt1sK+1MIoqvul0l8/nW7RdyzECE85lg09nFnDGATpujnmYO6/M1eg+EmRAvaBGufEYLqVAZGhatQKUkuQ==} + /@nrwl/workspace/15.8.7_ic6aduudx7g4steudquv6lp62a: + resolution: {integrity: sha512-ltJn5tLj8eCTNwJbKE9tWgiT/MKZ8f8jFld4YlG7H6i1mPc6d8rk+iNwoN8LZbHHss3x2g9lVnx2Sg5ZoDLNGA==} peerDependencies: prettier: ^2.6.2 peerDependenciesMeta: prettier: optional: true dependencies: - '@nrwl/devkit': 15.8.3_nx@15.8.3+typescript@4.9.5 - '@nrwl/linter': 15.8.3_qms2dit3zbq7wya62zjpqtvdse + '@nrwl/devkit': 15.8.7_nx@15.8.7+typescript@4.9.5 + '@nrwl/linter': 15.8.7_dqjtdartv7ybvsvpgsyoehyovu '@parcel/watcher': 2.0.4 chalk: 4.1.2 chokidar: 3.5.3 @@ -5881,7 +5741,7 @@ packages: ignore: 5.2.4 minimatch: 3.0.5 npm-run-path: 4.0.1 - nx: 15.8.3 + nx: 15.8.7 open: 8.4.2 prettier: 2.8.5 rxjs: 6.6.7 @@ -5899,16 +5759,16 @@ packages: - typescript dev: true - /@nrwl/workspace/15.8.3_ymfcbvzenwr4nv6uquwdgoto7i: - resolution: {integrity: sha512-oklUSt1sK+1MIoqvul0l8/nW7RdyzECE85lg09nFnDGATpujnmYO6/M1eg+EmRAvaBGufEYLqVAZGhatQKUkuQ==} + /@nrwl/workspace/15.8.7_ymfcbvzenwr4nv6uquwdgoto7i: + resolution: {integrity: sha512-ltJn5tLj8eCTNwJbKE9tWgiT/MKZ8f8jFld4YlG7H6i1mPc6d8rk+iNwoN8LZbHHss3x2g9lVnx2Sg5ZoDLNGA==} peerDependencies: prettier: ^2.6.2 peerDependenciesMeta: prettier: optional: true dependencies: - '@nrwl/devkit': 15.8.3_nx@15.8.3+typescript@4.9.5 - '@nrwl/linter': 15.8.3_qms2dit3zbq7wya62zjpqtvdse + '@nrwl/devkit': 15.8.7_nx@15.8.7+typescript@4.9.5 + '@nrwl/linter': 15.8.7_dqjtdartv7ybvsvpgsyoehyovu '@parcel/watcher': 2.0.4 chalk: 4.1.2 chokidar: 3.5.3 @@ -5921,7 +5781,7 @@ packages: ignore: 5.2.4 minimatch: 3.0.5 npm-run-path: 4.0.1 - nx: 15.8.3 + nx: 15.8.7 open: 8.4.2 prettier: 2.8.5 rxjs: 6.6.7 @@ -6400,12 +6260,130 @@ packages: transitivePeerDependencies: - supports-color + /@swc/core-darwin-arm64/1.3.41: + resolution: {integrity: sha512-D4fybODToO/BvuP35bionDUrSuTVVr8eW+mApr1unOqb3mfiqOrVv0VP2fpWNRYiA+xMq+oBCB6KcGpL60HKWQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@swc/core-darwin-x64/1.3.41: + resolution: {integrity: sha512-0RoVyiPCnylf3TG77C3S86PRSmaq+SaYB4VDLJFz3qcEHz1pfP0LhyskhgX4wjQV1mveDzFEn1BVAuo0eOMwZA==} + engines: {node: '>=10'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm-gnueabihf/1.3.41: + resolution: {integrity: sha512-mZW7GeY7Uw1nkKoWpx898ou20oCSt8MR+jAVuAhMjX+G4Zr0WWXYSigWNiRymhR6Q9KhyvoFpMckguSvYWmXsw==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm64-gnu/1.3.41: + resolution: {integrity: sha512-e91LGn+6KuLFw3sWk5swwGc/dP4tXs0mg3HrhjImRoofU02Bb9aHcj5zgrSO8ZByvDtm/Knn16h1ojxIMOFaxg==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm64-musl/1.3.41: + resolution: {integrity: sha512-Q7hmrniLWsQ7zjtImGcjx1tl5/Qxpel+fC+OXTnGvAyyoGssSftIBlXMnqVLteL78zhxIPAzi+gizWAe5RGqrA==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-x64-gnu/1.3.41: + resolution: {integrity: sha512-h4sv1sCfZQgRIwmykz8WPqVpbvHb13Qm3SsrbOudhAp2MuzpWzsgMP5hAEpdCP/nWreiCz3aoM6L8JeakRDq0g==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-x64-musl/1.3.41: + resolution: {integrity: sha512-Z7c26i38378d0NT/dcz8qPSAXm41lqhNzykdhKhI+95mA9m4pskP18T/0I45rmyx1ywifypu+Ip+SXmKeVSPgQ==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-arm64-msvc/1.3.41: + resolution: {integrity: sha512-I0CYnPc+ZGc912YeN0TykIOf/Q7yJQHRwDuhewwD6RkbiSEaVfSux5pAmmdoKw2aGMSq+cwLmgPe9HYLRNz+4w==} + engines: {node: '>=10'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-ia32-msvc/1.3.41: + resolution: {integrity: sha512-EygN4CVDWF29/U2T5fXGfWyLvRbMd2hiUgkciAl7zHuyJ6nKl+kpodqV2A0Wd4sFtSNedU0gQEBEXEe7cqvmsA==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-x64-msvc/1.3.41: + resolution: {integrity: sha512-Mfp8qD1hNwWWRy0ISdwQJu1g0UYoVTtuQlO0z3aGbXqL51ew9e56+8j3M1U9i95lXFyWkARgjDCcKkQi+WezyA==} + engines: {node: '>=10'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core/1.3.41: + resolution: {integrity: sha512-v6P2dfqJDpZ/7RXPvWge9oI6YgolDM0jtNhQZ2qdXrLBzaWQdDoBGBTJ8KN/nTgGhX3IkNvSB1fafXQ+nVnqAQ==} + engines: {node: '>=10'} + requiresBuild: true + optionalDependencies: + '@swc/core-darwin-arm64': 1.3.41 + '@swc/core-darwin-x64': 1.3.41 + '@swc/core-linux-arm-gnueabihf': 1.3.41 + '@swc/core-linux-arm64-gnu': 1.3.41 + '@swc/core-linux-arm64-musl': 1.3.41 + '@swc/core-linux-x64-gnu': 1.3.41 + '@swc/core-linux-x64-musl': 1.3.41 + '@swc/core-win32-arm64-msvc': 1.3.41 + '@swc/core-win32-ia32-msvc': 1.3.41 + '@swc/core-win32-x64-msvc': 1.3.41 + dev: true + /@swc/helpers/0.4.14: resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==} dependencies: tslib: 2.5.0 dev: false + /@swc/jest/0.2.24_@swc+core@1.3.41: + resolution: {integrity: sha512-fwgxQbM1wXzyKzl1+IW0aGrRvAA8k0Y3NxFhKigbPjOJ4mCKnWEcNX9HQS3gshflcxq8YKhadabGUVfdwjCr6Q==} + engines: {npm: '>= 7.0.0'} + peerDependencies: + '@swc/core': '*' + dependencies: + '@jest/create-cache-key-function': 27.5.1 + '@swc/core': 1.3.41 + jsonc-parser: 3.2.0 + dev: true + /@szmarczak/http-timer/1.1.2: resolution: {integrity: sha512-XIB2XbzHTN6ieIjfIMV9hlVcfPU26s2vafYWQcZHWXHOxiaRZYEDKEwdl129Zyg50+foYV2jCgtrqSA6qNuNSA==} engines: {node: '>=6'} @@ -6729,7 +6707,7 @@ packages: resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} dependencies: '@types/eslint': 8.21.3 - '@types/estree': 0.0.51 + '@types/estree': 1.0.0 /@types/eslint/8.21.3: resolution: {integrity: sha512-fa7GkppZVEByMWGbTtE5MbmXWJTVbrjjaS8K6uQj+XtuuUv1fsuPAxhygfqLmsb/Ufb3CV8deFCpiMfAgi00Sw==} @@ -6766,13 +6744,6 @@ packages: /@types/filewriter/0.0.29: resolution: {integrity: sha512-BsPXH/irW0ht0Ji6iw/jJaK8Lj3FJemon2gvEqHKpCdDCeemHa+rI3WBGq5z7cDMZgoLjY40oninGxqk+8NzNQ==} - /@types/glob/8.1.0: - resolution: {integrity: sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==} - dependencies: - '@types/minimatch': 5.1.2 - '@types/node': 18.15.3 - dev: true - /@types/graceful-fs/4.1.6: resolution: {integrity: sha512-Sig0SNORX9fdW+bQuTEovKj3uHcUL6LQKbCrrqb1X7J6/ReAbhCXRAhc+SMejhLELFj2QcyuxmUooZ4bt5ReSw==} dependencies: @@ -6854,10 +6825,6 @@ packages: /@types/mime/3.0.1: resolution: {integrity: sha512-Y4XFY5VJAuw0FgAqPNd6NNoV44jbq9Bz2L7Rh/J6jLTiHBSBJa9fxqQIvkIld4GsoDOcCbvzOUAbLPsSKKg+uA==} - /@types/minimatch/5.1.2: - resolution: {integrity: sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==} - dev: true - /@types/minimist/1.2.2: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true @@ -6873,9 +6840,6 @@ packages: resolution: {integrity: sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==} dev: false - /@types/node/18.14.1: - resolution: {integrity: sha512-QH+37Qds3E0eDlReeboBxfHbX9omAcBCXEzswCu6jySP642jiM3cYSIkU/REqwhCUqXdonHFuBfJDiAJxMNhaQ==} - /@types/node/18.15.3: resolution: {integrity: sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw==} @@ -6960,11 +6924,11 @@ packages: /@types/retry/0.12.0: resolution: {integrity: sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==} - /@types/rimraf/3.0.2: - resolution: {integrity: sha512-F3OznnSLAUxFrCEu/L5PY8+ny8DtcFRjx7fZZ9bycvXRi3KPTRS9HOitGZwvPg0juRhXFWIeKX58cnX5YqLohQ==} + /@types/rimraf/4.0.5: + resolution: {integrity: sha512-DTCZoIQotB2SUJnYgrEx43cQIUYOlNZz0AZPbKU4PSLYTUdML5Gox0++z4F9kQocxStrCmRNhi4x5x/UlwtKUA==} + deprecated: This is a stub types definition. rimraf provides its own type definitions, so you do not need this installed. dependencies: - '@types/glob': 8.1.0 - '@types/node': 18.15.3 + rimraf: 4.4.0 dev: true /@types/sax/1.2.4: @@ -7001,6 +6965,10 @@ packages: dependencies: '@types/node': 18.15.3 + /@types/source-list-map/0.1.2: + resolution: {integrity: sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA==} + dev: true + /@types/stack-utils/2.0.1: resolution: {integrity: sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw==} @@ -7011,12 +6979,48 @@ packages: '@types/serve-static': 1.15.1 dev: true + /@types/tapable/1.0.8: + resolution: {integrity: sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ==} + dev: true + + /@types/uglify-js/3.17.1: + resolution: {integrity: sha512-GkewRA4i5oXacU/n4MA9+bLgt5/L3F1mKrYvFGm7r2ouLXhRKjuWwo9XHNnbx6WF3vlGW21S3fCvgqxvxXXc5g==} + dependencies: + source-map: 0.6.1 + dev: true + /@types/unist/2.0.6: resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} /@types/uuid/9.0.1: resolution: {integrity: sha512-rFT3ak0/2trgvp4yYZo5iKFEPsET7vKydKF+VRCxlQ9bpheehyAJH89dAkaLEq/j/RZXJIqcgsmPJKUP1Z28HA==} + /@types/webpack-sources/3.2.0: + resolution: {integrity: sha512-Ft7YH3lEVRQ6ls8k4Ff1oB4jN6oy/XmU6tQISKdhfh+1mR+viZFphS6WL0IrtDOzvefmJg5a0s7ZQoRXwqTEFg==} + dependencies: + '@types/node': 18.15.3 + '@types/source-list-map': 0.1.2 + source-map: 0.7.4 + dev: true + + /@types/webpack/4.41.33: + resolution: {integrity: sha512-PPajH64Ft2vWevkerISMtnZ8rTs4YmRbs+23c402J0INmxDKCrhZNvwZYtzx96gY2wAtXdrK1BS2fiC8MlLr3g==} + dependencies: + '@types/node': 18.15.3 + '@types/tapable': 1.0.8 + '@types/uglify-js': 3.17.1 + '@types/webpack-sources': 3.2.0 + anymatch: 3.1.3 + source-map: 0.6.1 + dev: true + + /@types/webpackbar/4.0.3: + resolution: {integrity: sha512-KKqtt4+Phsw4b0ZevlFeN1fcevUj+qxEGP5Fb60KWCwlBkTKdxe+Zd4FkYKpM1W+wxs6wKhEnEmF5DdFqE3VpQ==} + dependencies: + '@types/node': 18.15.3 + '@types/webpack': 4.41.33 + dev: true + /@types/ws/8.5.4: resolution: {integrity: sha512-zdQDHKUgcX/zBc4GrwsE/7dVdAD8JR4EuiAXiiUhhfyIJXXb2+PrGshFyeXWQPMmmZ2XxgaqclgpIC7eTXc1mg==} dependencies: @@ -7025,6 +7029,12 @@ packages: /@types/yargs-parser/21.0.0: resolution: {integrity: sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA==} + /@types/yargs/16.0.5: + resolution: {integrity: sha512-AxO/ADJOBFJScHbWhq2xAhlWP24rY4aCEG/NFaMvbT3X2MgRsLjhjQwsn0Zi5zn0LG9jUhCCZMeX9Dkuw6k+vQ==} + dependencies: + '@types/yargs-parser': 21.0.0 + dev: true + /@types/yargs/17.0.22: resolution: {integrity: sha512-pet5WJ9U8yPVRhkwuEIp5ktAeAqRZOq4UdAyWLWzxbtpyXnzbtLdKiXAjJzi/KLmPGS9wk86lUFWZFN6sISo4g==} dependencies: @@ -7177,8 +7187,8 @@ packages: invariant: 2.2.4 optional: true - /@veramo/cli/5.0.0: - resolution: {integrity: sha512-IUdF2Cn+OYw96efmd6DOP7AMoSQ950nGoOTuW5fNtSc2MzJHEecDKZhmr/LJUa9ntZ9IVTxGEKzsmrGP7l/IWg==} + /@veramo/cli/5.1.4: + resolution: {integrity: sha512-zTiFxNiaSVdTm1kEIYw8Mcxiu7A7tYB+ONIxG3htneiA2Mm4qZVdm9QU+HfBxRgkz2JS5X8iOErvY4YQ4l8ITQ==} hasBin: true dependencies: '@microsoft/api-extractor': 7.34.4 @@ -7186,30 +7196,31 @@ packages: '@transmute/credentials-context': 0.7.0-unstable.80 '@types/blessed': 0.1.21 '@types/swagger-ui-express': 4.1.3 - '@veramo/core': 5.0.0 + '@veramo/core': 5.1.2 '@veramo/core-types': 5.1.2 - '@veramo/credential-eip712': 5.0.0 - '@veramo/credential-ld': 5.0.0 - '@veramo/credential-w3c': 5.0.0 + '@veramo/credential-eip712': 5.1.2 + '@veramo/credential-ld': 5.1.2 + '@veramo/credential-w3c': 5.1.4 '@veramo/data-store': 5.1.2_pg@8.10.0+sqlite3@5.1.6 '@veramo/did-comm': 5.1.2 '@veramo/did-discovery': 5.1.2 '@veramo/did-jwt': 5.1.2 - '@veramo/did-manager': 5.0.0 - '@veramo/did-provider-ethr': 5.0.0 + '@veramo/did-manager': 5.1.2 + '@veramo/did-provider-ethr': 5.1.2 '@veramo/did-provider-key': 5.1.2 + '@veramo/did-provider-pkh': 5.1.2 '@veramo/did-provider-web': 5.1.2 - '@veramo/did-resolver': 5.0.0 - '@veramo/key-manager': 5.0.0 - '@veramo/kms-local': 5.0.0 + '@veramo/did-resolver': 5.1.2 + '@veramo/key-manager': 5.1.2 + '@veramo/kms-local': 5.1.2 '@veramo/message-handler': 5.1.2 '@veramo/remote-client': 5.1.2 '@veramo/remote-server': 5.1.2 '@veramo/selective-disclosure': 5.1.2 '@veramo/url-handler': 5.1.2 - '@veramo/utils': 5.0.0 + '@veramo/utils': 5.1.2 blessed: 0.1.81 - commander: 9.5.0 + commander: 10.0.0 console-table-printer: 2.11.1 cors: 2.8.5 cross-fetch: 3.1.5_iqh6pvemik3ebzneirvlerj7uq @@ -7274,34 +7285,35 @@ packages: dependencies: credential-status: 2.0.5 debug: 4.3.4 - did-jwt-vc: 3.1.0 + did-jwt-vc: 3.1.2 did-resolver: 4.0.1 transitivePeerDependencies: - supports-color - /@veramo/core/5.0.0: - resolution: {integrity: sha512-53JZDqb41FIjI8CQm7nc6gdvuc8JRNXn9yK9nu6zFxdRVM3Zrb+Lj+EucRyhXaViX5mQFYLU988NnDY3ksLqOQ==} + /@veramo/core/5.1.2: + resolution: {integrity: sha512-0ees7TekZ4h7dXPsaqu+6ZM5rc4BAqoW/zfiAzM0mAD2anaTyygbKqfjUAMVijdOv6/tyL8Yv3ez74zXYgT+ew==} dependencies: '@veramo/core-types': 5.1.2 + debug: 4.3.4 events: 3.3.0 z-schema: 5.0.5 transitivePeerDependencies: - supports-color - /@veramo/credential-eip712/5.0.0: - resolution: {integrity: sha512-cXd63GsghEiduu8hhR/XHau7OCU7vmfNSAv80S3pe4lziX47ZRNBo61+bGDEYXEfxU7gV9qOoCQF1Fug2zCgGw==} + /@veramo/credential-eip712/5.1.2: + resolution: {integrity: sha512-cPNUqmrBJIvVgWxIXhhjM20LXyo6cPO5/yDCxtNfmfOMdL4Bxf0lKZ+dnTM2ZJLvCit6Js/6IZSMFieEb6goOg==} dependencies: '@metamask/eth-sig-util': 5.0.2 '@veramo/core-types': 5.1.2 - '@veramo/utils': 5.0.0 + '@veramo/utils': 5.1.2 debug: 4.3.4 eip-712-types-generation: 0.1.6 transitivePeerDependencies: - encoding - supports-color - /@veramo/credential-ld/5.0.0: - resolution: {integrity: sha512-FSAm/Ct5J4iDrWNBZOR0WPMgHhLddXSxghHsQYyXBdwy80RcoGsdNshV38sRTgoS2544ooHHfPA1DdKq/Gjjfw==} + /@veramo/credential-ld/5.1.2: + resolution: {integrity: sha512-cq+UcFIEIAUIT0aQbDWBkbGdg5+utyGgYhmekBTRsbXUuDO0TC25HNK4ceYuL+FRPaYHl24vPUuKd609if2L7w==} dependencies: '@digitalcredentials/ed25519-signature-2020': 3.0.2 '@digitalcredentials/ed25519-verification-key-2020': 4.0.0 @@ -7313,7 +7325,7 @@ packages: '@transmute/json-web-signature': 0.7.0-unstable.80 '@veramo-community/lds-ecdsa-secp256k1-recovery2020': github.com/uport-project/EcdsaSecp256k1RecoverySignature2020/ab0db52de6f4e6663ef271a48009ba26e688ef9b '@veramo/core-types': 5.1.2 - '@veramo/utils': 5.0.0 + '@veramo/utils': 5.1.2 cross-fetch: 3.1.5_iqh6pvemik3ebzneirvlerj7uq debug: 4.3.4 did-resolver: 4.0.1 @@ -7326,21 +7338,21 @@ packages: - supports-color - web-streams-polyfill - /@veramo/credential-w3c/5.0.0: - resolution: {integrity: sha512-g6lkJoImKsxJP1hGGKzYJfiXAwFKgt284JbGliDZyPszICi5mDfKU0yq/QwEjVTov7XXFUk8fOfC+YzXmEkmvg==} + /@veramo/credential-w3c/5.1.2: + resolution: {integrity: sha512-1sVDVxFWHwpSdeEgIWmHtUiIy0aDFKMPgEn+d02xGDhXnWlyUdT5OCDLULsKDma/owajkq0RTrbeSpe+63+0pg==} dependencies: '@veramo/core-types': 5.1.2 '@veramo/message-handler': 5.1.2 - '@veramo/utils': 5.0.0 + '@veramo/utils': 5.1.2 canonicalize: 1.0.8 debug: 4.3.4 did-jwt: 6.11.5 - did-jwt-vc: 3.1.0 + did-jwt-vc: 3.1.2 did-resolver: 4.0.1 uint8arrays: 3.1.1 uuid: 9.0.0 optionalDependencies: - '@veramo/credential-ld': 5.0.0 + '@veramo/credential-ld': 5.1.2 transitivePeerDependencies: - domexception - encoding @@ -7348,6 +7360,31 @@ packages: - react-native - supports-color - web-streams-polyfill + dev: false + + /@veramo/credential-w3c/5.1.4: + resolution: {integrity: sha512-Ry2wvbYMg8EjAHQf57QVl8gymm9GnMW2dhXKx/o0wcQ5zm37FbMkRLAuazh61GnmsY6GAYdsVPcCFnt/HWV/iQ==} + dependencies: + '@veramo/core-types': 5.1.2 + '@veramo/message-handler': 5.1.2 + '@veramo/utils': 5.1.2 + canonicalize: 1.0.8 + debug: 4.3.4 + did-jwt: 6.11.5 + did-jwt-vc: 3.1.2 + did-resolver: 4.0.1 + uint8arrays: 3.1.1 + uuid: 9.0.0 + optionalDependencies: + '@veramo/credential-ld': 5.1.2 + transitivePeerDependencies: + - domexception + - encoding + - expo + - react-native + - supports-color + - web-streams-polyfill + dev: true /@veramo/data-store/5.1.2_pg@8.10.0+sqlite3@5.1.6: resolution: {integrity: sha512-9VtEI7oXD+kiRuTttwBgyZXwqacFEvlUr7KGcMiopC/pPpj2AfFaSkNnzE1TRcF1LoR4r78OFiI1IGJaiNTMWg==} @@ -7358,7 +7395,7 @@ packages: '@veramo/key-manager': 5.1.2 '@veramo/utils': 5.1.2 debug: 4.3.4 - did-jwt-vc: 3.1.0 + did-jwt-vc: 3.1.2 typeorm: 0.3.12_pg@8.10.0+sqlite3@5.1.6 uuid: 9.0.0 transitivePeerDependencies: @@ -7422,14 +7459,6 @@ packages: - supports-color dev: true - /@veramo/did-manager/5.0.0: - resolution: {integrity: sha512-f0Jy0RCVyULpw5sjdkkS0/T5HKAGK151lR9xmJ7CMhAhKncDGN1pgwPKGdHD65N3G6VdjovzmGfNWGifihEvTg==} - dependencies: - '@veramo/core-types': 5.1.2 - '@veramo/did-discovery': 5.1.2 - transitivePeerDependencies: - - supports-color - /@veramo/did-manager/5.1.2: resolution: {integrity: sha512-cp847YVlNzXZS2L8x/h3LIeH3qv1WEeHdXdVq2yDvAVFIr69X84K2eGlSueTUGc3Jkk+vUL82GYsOW8aVZ25Lg==} dependencies: @@ -7437,10 +7466,9 @@ packages: '@veramo/did-discovery': 5.1.2 transitivePeerDependencies: - supports-color - dev: true - /@veramo/did-provider-ethr/5.0.0: - resolution: {integrity: sha512-FoQ+4bDoba5sG28EyCRixflDEnPyLWUaD4S4bu4pW1Zmk0X97vpqYIMEYiWCwFryLjCJHafNwF0YsFJJOrwpnw==} + /@veramo/did-provider-ethr/5.1.2: + resolution: {integrity: sha512-bsecW15NkgU5edYehJprzeOzEX4eStFqvrD2L+scb9p+pwIc5587WCkaVP6dlWnerv03tlFgN+eRxe1EJl0TWQ==} dependencies: '@ethersproject/abstract-provider': 5.7.0 '@ethersproject/abstract-signer': 5.7.0 @@ -7452,7 +7480,7 @@ packages: '@ethersproject/signing-key': 5.7.0 '@ethersproject/transactions': 5.7.0 '@veramo/core-types': 5.1.2 - '@veramo/did-manager': 5.0.0 + '@veramo/did-manager': 5.1.2 debug: 4.3.4 ethr-did: 2.3.6 transitivePeerDependencies: @@ -7479,22 +7507,20 @@ packages: - web-streams-polyfill dev: true - /@veramo/did-provider-pkh/5.0.0_xbin4eoqvloyhwqbrtzei47slm: - resolution: {integrity: sha512-AOt5WYASzS+PiDbqtQiv069ZDm+9DHP6QZQ/8wmLKa/b4qhanOoKP12uapCvB0hErcMh6Ka/2+z40HqeSGawzQ==} + /@veramo/did-provider-pkh/5.1.2: + resolution: {integrity: sha512-JzT2eZKZXKo6vqjK31h0A0ye96BJLCXRKzU7L1IBzE1lcoGJRqrjENUuY1HTbdXeOXRFLGEGKW35WPzB1Rxz0A==} dependencies: '@ethersproject/abstract-provider': 5.7.0 '@ethersproject/bignumber': 5.7.0 '@ethersproject/signing-key': 5.7.0 '@ethersproject/transactions': 5.7.0 '@veramo/core-types': 5.1.2 - '@veramo/did-manager': 5.0.0 + '@veramo/did-manager': 5.1.2 caip: 1.1.0 debug: 4.3.4 did-resolver: 4.0.1 transitivePeerDependencies: - supports-color - dev: false - patched: true /@veramo/did-provider-web/5.1.2: resolution: {integrity: sha512-5ZwgQgIfkQFJy6n4+o7nsPRvbWTP65O4ErxMZIQeGhYVcGr5Q6MJk9g+A4bGy/jdJEKzyzD7e1XWcjxJTPJT2w==} @@ -7506,11 +7532,11 @@ packages: - supports-color dev: true - /@veramo/did-resolver/5.0.0: - resolution: {integrity: sha512-vsQO7/cAKVAnlPKGAO/YIsqrmV4+V8XQxCcclNwR/oCWtDrV3284V3tSHbj0+6cBsObY2yX1psjESJqTyaHjzg==} + /@veramo/did-resolver/5.1.2: + resolution: {integrity: sha512-edvF4E6X3XwVUH/eeIsZmYJGfHVL0fFPzdl9lf0jrCiticik76QYiUWLXj67q8E43Lv16mYOIe3S3qQ3/vmsKg==} dependencies: '@veramo/core-types': 5.1.2 - '@veramo/utils': 5.0.0 + '@veramo/utils': 5.1.2 cross-fetch: 3.1.5_iqh6pvemik3ebzneirvlerj7uq debug: 4.3.4 did-resolver: 4.0.1 @@ -7518,21 +7544,6 @@ packages: - encoding - supports-color - /@veramo/key-manager/5.0.0: - resolution: {integrity: sha512-gqmSMBSjz+aLJlkiEDKq2fOO97DhN3s5Lg/e5mnGzsEjsFKoifc0TvwjOx+wUF5RwyqBC++l1xlpvPrsr4/9zQ==} - dependencies: - '@ethersproject/bytes': 5.7.0 - '@ethersproject/strings': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@stablelib/ed25519': 1.0.3 - '@veramo/core-types': 5.1.2 - debug: 4.3.4 - did-jwt: 6.11.5 - uint8arrays: 3.1.1 - uuid: 9.0.0 - transitivePeerDependencies: - - supports-color - /@veramo/key-manager/5.1.2: resolution: {integrity: sha512-o7sNQfDjdJO0MkV+wwUL5wQwZXBG6hMXdbaTqwZgdA0btE9267anx9Cy7dpLnfsRWvHM3EsLFTuZdL9mytMIgQ==} dependencies: @@ -7547,10 +7558,9 @@ packages: uuid: 9.0.0 transitivePeerDependencies: - supports-color - dev: true - /@veramo/kms-local/5.0.0: - resolution: {integrity: sha512-e+Uc5+KapF7/OTXxjSJmee+HaLgU5yfzIgx4qwIp0uyh5cOPlicrjiJ6DLQiL2niASdFYtloBuI93svrCvPJ5A==} + /@veramo/kms-local/5.1.2: + resolution: {integrity: sha512-YJBh9n+cxVoa/bUfa/weV0nd0ik+GgRxaO4NZQS9rJF50vI8XHV1+FOZeKm38LKVbvB4/nupTSzkmQb4nFQNcg==} dependencies: '@ethersproject/abstract-provider': 5.7.0 '@ethersproject/bytes': 5.7.0 @@ -7564,7 +7574,7 @@ packages: '@stablelib/random': 1.0.2 '@stablelib/x25519': 1.0.3 '@veramo/core-types': 5.1.2 - '@veramo/key-manager': 5.0.0 + '@veramo/key-manager': 5.1.2 base-58: 0.0.1 debug: 4.3.4 did-jwt: 6.11.5 @@ -7636,27 +7646,6 @@ packages: - supports-color dev: true - /@veramo/utils/5.0.0: - resolution: {integrity: sha512-/ZhIgsGVRzhhR+Kx+8sZsdhD5c2JQpmtFGrOl9+8ztB1EOD+DmRbWQI6zqHYKE8reSD6oEnOtkGy7KDOpSLOmQ==} - dependencies: - '@ethersproject/signing-key': 5.7.0 - '@ethersproject/transactions': 5.7.0 - '@stablelib/ed25519': 1.0.3 - '@veramo/core-types': 5.1.2 - blakejs: 1.2.1 - credential-status: 2.0.5 - cross-fetch: 3.1.5_iqh6pvemik3ebzneirvlerj7uq - debug: 4.3.4 - did-jwt: 6.11.5 - did-jwt-vc: 3.1.0 - did-resolver: 4.0.1 - elliptic: 6.5.4 - multiformats: 9.9.0 - uint8arrays: 3.1.1 - transitivePeerDependencies: - - encoding - - supports-color - /@veramo/utils/5.1.2: resolution: {integrity: sha512-1hcQzoTQ8q5LWfT1GzCA7wDyX95Pmz2xSVmV5P5otbAtrWk9GXn01snbaDlW+vz/a/iWKKcLlZbkRf5uLpHdnQ==} dependencies: @@ -7669,7 +7658,7 @@ packages: cross-fetch: 3.1.5_iqh6pvemik3ebzneirvlerj7uq debug: 4.3.4 did-jwt: 6.11.5 - did-jwt-vc: 3.1.0 + did-jwt-vc: 3.1.2 did-resolver: 4.0.1 elliptic: 6.5.4 multiformats: 9.9.0 @@ -7677,7 +7666,6 @@ packages: transitivePeerDependencies: - encoding - supports-color - dev: true /@web3-react/abstract-connector/6.0.7: resolution: {integrity: sha512-RhQasA4Ox8CxUC0OENc1AJJm8UTybu/oOCM61Zjg6y0iF7Z0sqv1Ai1VdhC33hrQpA8qSBgoXN9PaP8jKmtdqg==} @@ -7801,27 +7789,27 @@ packages: '@webassemblyjs/ast': 1.11.1 '@xtuc/long': 4.2.2 - /@webpack-cli/configtest/2.0.1_4puitx5hps5iiy4n2enrchvjna: + /@webpack-cli/configtest/2.0.1_rjsyjcrmk25kqsjzwkvj3a2evq: resolution: {integrity: sha512-njsdJXJSiS2iNbQVS0eT8A/KPnmyH4pv1APj2K0d1wrZcBLw+yppxOy4CGqa0OxDJkzfL/XELDhD8rocnIwB5A==} engines: {node: '>=14.15.0'} peerDependencies: webpack: 5.x.x webpack-cli: 5.x.x dependencies: - webpack: 5.76.2_webpack-cli@5.0.1 - webpack-cli: 5.0.1_webpack@5.76.2 + webpack: 5.75.0_webpack-cli@5.0.1 + webpack-cli: 5.0.1_webpack@5.75.0 - /@webpack-cli/info/2.0.1_4puitx5hps5iiy4n2enrchvjna: + /@webpack-cli/info/2.0.1_rjsyjcrmk25kqsjzwkvj3a2evq: resolution: {integrity: sha512-fE1UEWTwsAxRhrJNikE7v4EotYflkEhBL7EbajfkPlf6E37/2QshOy/D48Mw8G5XMFlQtS6YV42vtbG9zBpIQA==} engines: {node: '>=14.15.0'} peerDependencies: webpack: 5.x.x webpack-cli: 5.x.x dependencies: - webpack: 5.76.2_webpack-cli@5.0.1 - webpack-cli: 5.0.1_webpack@5.76.2 + webpack: 5.75.0_webpack-cli@5.0.1 + webpack-cli: 5.0.1_webpack@5.75.0 - /@webpack-cli/serve/2.0.1_4puitx5hps5iiy4n2enrchvjna: + /@webpack-cli/serve/2.0.1_rjsyjcrmk25kqsjzwkvj3a2evq: resolution: {integrity: sha512-0G7tNyS+yW8TdgHwZKlDWYXFA6OJQnoLCQvYKkQP0Q2X205PSQ6RNUj0M+1OB/9gRQaUZ/ccYfaxd0nhaWKfjw==} engines: {node: '>=14.15.0'} peerDependencies: @@ -7832,8 +7820,8 @@ packages: webpack-dev-server: optional: true dependencies: - webpack: 5.76.2_webpack-cli@5.0.1 - webpack-cli: 5.0.1_webpack@5.76.2 + webpack: 5.75.0_webpack-cli@5.0.1 + webpack-cli: 5.0.1_webpack@5.75.0 /@xtuc/ieee754/1.2.0: resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} @@ -8419,7 +8407,7 @@ packages: schema-utils: 2.7.1 webpack: 5.76.2 - /babel-loader/9.1.2_h5x7dh6zbbyopr7jvxivhylqpa: + /babel-loader/9.1.2_j3l6jndlp7jcq6s4bl4ig4yfme: resolution: {integrity: sha512-mN14niXW43tddohGl8HPu5yfQq70iUThvFL/4QzESA7GcZoC0eVOhvWdQ8+3UlSjaDE9MVtsW9mxDY07W7VpVA==} engines: {node: '>= 14.15.0'} peerDependencies: @@ -8429,7 +8417,7 @@ packages: '@babel/core': 7.21.3 find-cache-dir: 3.3.2 schema-utils: 4.0.0 - webpack: 5.76.2_webpack-cli@5.0.1 + webpack: 5.75.0_webpack-cli@5.0.1 dev: true /babel-plugin-apply-mdx-type-prop/1.6.22_@babel+core@7.12.9: @@ -8963,6 +8951,7 @@ packages: engines: {node: '>= 6'} dependencies: fast-json-stable-stringify: 2.1.0 + dev: false /bs58/4.0.1: resolution: {integrity: sha512-Ok3Wdf5vOIlBrgCvTq96gBkJw+JUEzdBgyaza5HLtPm7yTHkjRy8+JzNyHF7BHa0bNWOQIp3m5YF0nnFcOIKLw==} @@ -9125,7 +9114,6 @@ packages: /caip/1.1.0: resolution: {integrity: sha512-yOO3Fu4ygyKYAdznuoaqschMKIZzcdgyMpBNtrIfrUhnOeaOWG+dh0c13wcOS6B/46IGGbncoyzJlio79jU7rw==} - dev: false /call-bind/1.0.2: resolution: {integrity: sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==} @@ -10393,8 +10381,8 @@ packages: minimist: 1.2.8 dev: true - /did-jwt-vc/3.1.0: - resolution: {integrity: sha512-8N54No9RQpbDM4a/aMiGc/tZWubtH8bqi7DLnO6B62AdWaNVKeS9ddcuANztSS1yTuypyzlyeeEtCTqEzpYgjA==} + /did-jwt-vc/3.1.2: + resolution: {integrity: sha512-+3P2wsUF+61nmjnKaH6ueIlCMjz/NGP+vzu07HyBfTR/wVIALMpMLwS4Goz8uFkBidmCjr0zYJnXk+GWdGVfNg==} engines: {node: '>=14'} dependencies: did-jwt: 6.11.5 @@ -11239,6 +11227,19 @@ packages: - supports-color dev: true + /eslint-plugin-jest-extended/2.0.0_vgl77cfdswitgr47lm5swmv43m: + resolution: {integrity: sha512-nMhVVsVcG/+Q6FMshql35WBxwx8xlBhxKgAG08WP3BYWfXrp28oxLpJVu9JSbMpfmfKGVrHwMYJGfPLRKlGB8w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + eslint: ^7.0.0 || ^8.0.0 + dependencies: + '@typescript-eslint/utils': 5.55.0_vgl77cfdswitgr47lm5swmv43m + eslint: 8.36.0 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + /eslint-plugin-jest/27.2.1_c5np4xxgeczfzqnstagjdh5md4: resolution: {integrity: sha512-l067Uxx7ZT8cO9NJuf+eJHvt6bqJyz2Z29wykyEdz/OtmcELQl2MQGQLX8J94O1cSJWAwUSEvCjwjA7KEK3Hmg==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -11401,23 +11402,7 @@ packages: resolution: {integrity: sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} - /eslint-webpack-plugin/3.2.0_c6bstfvn7lmu3jnvygo5gmufvi: - resolution: {integrity: sha512-avrKcGncpPbPSUHX6B3stNGzkKFto3eL+DKM4+VyMrVnhPc3vRczVlCq3uhuFOdRvDHTVXuzwk1ZKUrqDQHQ9w==} - engines: {node: '>= 12.13.0'} - peerDependencies: - eslint: ^7.0.0 || ^8.0.0 - webpack: ^5.0.0 - dependencies: - '@types/eslint': 8.21.3 - eslint: 8.36.0 - jest-worker: 28.1.3 - micromatch: 4.0.5 - normalize-path: 3.0.0 - schema-utils: 4.0.0 - webpack: 5.76.2_webpack-cli@5.0.1 - dev: true - - /eslint-webpack-plugin/4.0.0_c6bstfvn7lmu3jnvygo5gmufvi: + /eslint-webpack-plugin/4.0.0_z62k3dgnr6jbdlqj2thrt6g3ii: resolution: {integrity: sha512-eM9ccGRWkU+btBSVfABRn8CjT7jZ2Q+UV/RfErMDVCFXpihEbvajNrLltZpwTAcEoXSqESGlEPIUxl7PoDlLWw==} engines: {node: '>= 14.15.0'} peerDependencies: @@ -11430,7 +11415,7 @@ packages: micromatch: 4.0.5 normalize-path: 3.0.0 schema-utils: 4.0.0 - webpack: 5.76.2 + webpack: 5.75.0_webpack-cli@5.0.1 dev: true /eslint/8.36.0: @@ -12106,6 +12091,16 @@ packages: dependencies: flat-cache: 3.0.4 + /file-loader/6.2.0_webpack@5.75.0: + resolution: {integrity: sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==} + engines: {node: '>= 10.13.0'} + peerDependencies: + webpack: ^4.0.0 || ^5.0.0 + dependencies: + loader-utils: 2.0.4 + schema-utils: 3.1.1 + webpack: 5.75.0 + /file-loader/6.2.0_webpack@5.76.2: resolution: {integrity: sha512-qo3glqyTa61Ytg4u73GultjHGjdRyig3tG6lPtyX/jOEJvHif9uB0/OCI2Kif6ctF3caQTW2G5gym21oAsI4pw==} engines: {node: '>= 10.13.0'} @@ -12151,15 +12146,6 @@ packages: transitivePeerDependencies: - supports-color - /find-cache-dir/2.1.0: - resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} - engines: {node: '>=6'} - dependencies: - commondir: 1.0.1 - make-dir: 2.1.0 - pkg-dir: 3.0.0 - dev: true - /find-cache-dir/3.3.2: resolution: {integrity: sha512-wXZV5emFEjrridIgED11OoUKLxiYjAcqot/NJdAkOhlJ+vGzwhOAfcG5OX1jP+S0PcjEn8bdMJv+g2jwQ3Onig==} engines: {node: '>=8'} @@ -12270,16 +12256,12 @@ packages: typescript: 4.9.5 webpack: 5.76.2 - /fork-ts-checker-webpack-plugin/7.3.0_a37q6j7dwawz22saey2vgkpwqm: - resolution: {integrity: sha512-IN+XTzusCjR5VgntYFgxbxVx3WraPRnKehBFrf00cMSrtUuW9MsG9dhL6MWpY6MkjC3wVwoujfCDgZZCQwbswA==} + /fork-ts-checker-webpack-plugin/8.0.0_hhrrucqyg4eysmfpujvov2ym5u: + resolution: {integrity: sha512-mX3qW3idpueT2klaQXBzrIM/pHw+T0B/V9KHEvNrqijTq9NFnMZU6oreVxDYcf33P8a5cW+67PjodNHthGnNVg==} engines: {node: '>=12.13.0', yarn: '>=1.0.0'} peerDependencies: typescript: '>3.6.0' - vue-template-compiler: '*' webpack: ^5.11.0 - peerDependenciesMeta: - vue-template-compiler: - optional: true dependencies: '@babel/code-frame': 7.18.6 chalk: 4.1.2 @@ -12294,7 +12276,7 @@ packages: semver: 7.3.8 tapable: 2.2.1 typescript: 4.9.5 - webpack: 5.76.2_webpack-cli@5.0.1 + webpack: 5.75.0_webpack-cli@5.0.1 dev: true /form-data-encoder/1.7.1: @@ -12355,6 +12337,15 @@ packages: universalify: 2.0.0 dev: true + /fs-extra/11.1.1: + resolution: {integrity: sha512-MGIE4HOvQCeUCzmlHs0vXpih4ysz4wg9qiSAu6cd42lVwPbTM1TjV7RusoyQqMmk/95gdQZX72u+YW+c3eEpFQ==} + engines: {node: '>=14.14'} + dependencies: + graceful-fs: 4.2.11 + jsonfile: 6.1.0 + universalify: 2.0.0 + dev: true + /fs-extra/4.0.3: resolution: {integrity: sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==} dependencies: @@ -12607,6 +12598,16 @@ packages: once: 1.4.0 dev: true + /glob/9.3.0: + resolution: {integrity: sha512-EAZejC7JvnQINayvB/7BJbpZpNOJ8Lrw2OZNEvQxe0vaLn1SuwMcfV7/MNaX8L/T0wmptBFI4YMtDvSBxYDc7w==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + fs.realpath: 1.0.0 + minimatch: 7.4.2 + minipass: 4.2.5 + path-scurry: 1.6.1 + dev: true + /global-dirs/0.1.1: resolution: {integrity: sha512-NknMLn7F2J7aflwFOlGdNIuCDpN3VGoSoB+aap3KABFWbHVn1TCgFC+np23J8W2BiZbjfEw3BFBycSMv1AFblg==} engines: {node: '>=4'} @@ -12956,8 +12957,8 @@ packages: dependencies: react-is: 16.13.1 - /hook-shell-script-webpack-plugin/0.1.4: - resolution: {integrity: sha512-LDv0JiHW9GqYpMJuvn9DuNkGbuzOegEo/M2IJTDsJWZjHF+XlJyeXHq2lVf75m6GkSFKQKFMCk7nbqNUSio4mQ==} + /hook-shell-script-webpack-plugin/0.2.0: + resolution: {integrity: sha512-1QcokG2yn0YPc+1GhanoYkHlWdDujC+AlLtk1ebekBQNhNwA0bu3mA6GPjF2nJk5I5MgYSFLLZXihKnm0+dlbQ==} dev: true /hosted-git-info/2.8.9: @@ -13951,34 +13952,6 @@ packages: - '@types/node' - supports-color - ts-node - dev: true - - /jest-cli/29.5.0_ujxcenvse5zlxdro6vjdmkgl3a: - resolution: {integrity: sha512-L1KcP1l4HtfwdxXNFCL5bmUbLQiKrakMUriBEcc1Vfz6gx31ORKdreuWvmQVBit+1ss9NNR3yxjwfwzZNdQXJw==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/core': 29.5.0_ts-node@10.9.1 - '@jest/test-result': 29.5.0 - '@jest/types': 29.5.0 - chalk: 4.1.2 - exit: 0.1.2 - graceful-fs: 4.2.11 - import-local: 3.1.0 - jest-config: 29.5.0_ujxcenvse5zlxdro6vjdmkgl3a - jest-util: 29.5.0 - jest-validate: 29.5.0 - prompts: 2.4.2 - yargs: 17.7.1 - transitivePeerDependencies: - - '@types/node' - - supports-color - - ts-node /jest-config/28.1.1_d2dllaz5dte7avnjm55wl7fmsu: resolution: {integrity: sha512-tASynMhS+jVV85zKvjfbJ8nUyJS/jUSYZ5KQxLUN2ZCvcQc/OmhQl2j6VEL3ezQkNofxn5pQ3SPYWPHb0unTZA==} @@ -14136,45 +14109,6 @@ packages: transitivePeerDependencies: - supports-color - /jest-config/29.5.0_ujxcenvse5zlxdro6vjdmkgl3a: - resolution: {integrity: sha512-kvDUKBnNJPNBmFFOhDbm59iu1Fii1Q6SxyhXfvylq3UTHbg6o7j/g8k2dZyXWLvfdKB1vAPxNZnMgtKJcmu3kA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - peerDependencies: - '@types/node': '*' - ts-node: '>=9.0.0' - peerDependenciesMeta: - '@types/node': - optional: true - ts-node: - optional: true - dependencies: - '@babel/core': 7.21.3 - '@jest/test-sequencer': 29.5.0 - '@jest/types': 29.5.0 - '@types/node': 18.14.1 - babel-jest: 29.5.0_@babel+core@7.21.3 - chalk: 4.1.2 - ci-info: 3.8.0 - deepmerge: 4.3.1 - glob: 7.2.3 - graceful-fs: 4.2.11 - jest-circus: 29.5.0 - jest-environment-node: 29.5.0 - jest-get-type: 29.4.3 - jest-regex-util: 29.4.3 - jest-resolve: 29.5.0 - jest-runner: 29.5.0 - jest-util: 29.5.0 - jest-validate: 29.5.0 - micromatch: 4.0.5 - parse-json: 5.2.0 - pretty-format: 29.5.0 - slash: 3.0.0 - strip-json-comments: 3.1.1 - ts-node: 10.9.1_uayvamxqnl5yeiojjysxwopmsy - transitivePeerDependencies: - - supports-color - /jest-diff/28.1.3: resolution: {integrity: sha512-8RqP1B/OXzjjTWkqMX67iqgwBVJRgCyKD3L9nq+6ZqJMdvjE8RgHktqZ6jNrkdMT+dJuYNI3rhQpxaz7drJHfw==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} @@ -14251,6 +14185,20 @@ packages: jest-mock: 29.5.0 jest-util: 29.5.0 + /jest-extended/3.2.4_jest@29.5.0: + resolution: {integrity: sha512-lSEYhSmvXZG/7YXI7KO3LpiUiQ90gi5giwCJNDMMsX5a+/NZhdbQF2G4ALOBN+KcXVT3H6FPVPohAuMXooaLTQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + jest: '>=27.2.5' + peerDependenciesMeta: + jest: + optional: true + dependencies: + jest: 29.5.0_d2dllaz5dte7avnjm55wl7fmsu + jest-diff: 29.5.0 + jest-get-type: 29.4.3 + dev: true + /jest-get-type/28.0.2: resolution: {integrity: sha512-ioj2w9/DxSYHfOm5lJKCdcAmPJzQXmbM/Url3rhlghrPvT3tt+7a/+oXc9azkKmLvoiXjtV83bEWqi+vs5nlPA==} engines: {node: ^12.13.0 || ^14.15.0 || ^16.10.0 || >=17.0.0} @@ -14761,8 +14709,8 @@ packages: merge-stream: 2.0.0 supports-color: 8.1.1 - /jest/29.4.3: - resolution: {integrity: sha512-XvK65feuEFGZT8OO0fB/QAQS+LGHvQpaadkH5p47/j3Ocqq3xf2pK9R+G0GzgfuhXVxEv76qCOOcMb5efLk6PA==} + /jest/29.5.0: + resolution: {integrity: sha512-juMg3he2uru1QoXX078zTa7pO85QyB9xajZc6bU+d9yEGwrKX6+vGmJQ3UdVZsvTEUARIdObzH68QItim6OSSQ==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true peerDependencies: @@ -14799,26 +14747,6 @@ packages: - '@types/node' - supports-color - ts-node - dev: true - - /jest/29.5.0_ujxcenvse5zlxdro6vjdmkgl3a: - resolution: {integrity: sha512-juMg3he2uru1QoXX078zTa7pO85QyB9xajZc6bU+d9yEGwrKX6+vGmJQ3UdVZsvTEUARIdObzH68QItim6OSSQ==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 - peerDependenciesMeta: - node-notifier: - optional: true - dependencies: - '@jest/core': 29.5.0_ts-node@10.9.1 - '@jest/types': 29.5.0 - import-local: 3.1.0 - jest-cli: 29.5.0_ujxcenvse5zlxdro6vjdmkgl3a - transitivePeerDependencies: - - '@types/node' - - supports-color - - ts-node /jet-logger/1.2.2: resolution: {integrity: sha512-Kbw4G3BC45+Umz5XBnsE50pHplruJTVKGRy5X1YfCu3Te7f8ggTL8Tm10YegAD2QP41MVQ3o/Y9MFAZzfythqw==} @@ -15405,18 +15333,15 @@ packages: dependencies: yallist: 4.0.0 + /lru-cache/7.18.3: + resolution: {integrity: sha512-jumlc0BIUrS3qJGgIkWZsyfAM7NCWiBcCDhnd+3NNM5KbBmLTgHVfWBcg6W+rLUsIpzpERPsvwUP7CckAQSOoA==} + engines: {node: '>=12'} + dev: true + /luxon/3.3.0: resolution: {integrity: sha512-An0UCfG/rSiqtAIiBPO0Y9/zAnHUZxAMiCpTd5h2smgsj7GGmcenvrvww2cqNA8/4A5ZrD1gJpHN2mIHZQF+Mg==} engines: {node: '>=12'} - /make-dir/2.1.0: - resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} - engines: {node: '>=6'} - dependencies: - pify: 4.0.1 - semver: 5.7.1 - dev: true - /make-dir/3.1.0: resolution: {integrity: sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==} engines: {node: '>=8'} @@ -15681,6 +15606,13 @@ packages: brace-expansion: 2.0.1 dev: true + /minimatch/7.4.2: + resolution: {integrity: sha512-xy4q7wou3vUoC9k1xGTXc+awNdGaGVHtFUaey8tiX4H1QRc04DZ/rmDFwNm2EBsuYEhAZ6SgMmYf3InGY6OauA==} + engines: {node: '>=10'} + dependencies: + brace-expansion: 2.0.1 + dev: true + /minimist-options/4.1.0: resolution: {integrity: sha512-Q4r8ghd80yhO/0j1O3B2BjweX3fiHg9cdOwjJd2J76Q135c+NDxGCqdYKQ1SKBuFfgWbAUzBfvYjPUEeNgqN1A==} engines: {node: '>= 6'} @@ -16244,70 +16176,8 @@ packages: strip-hex-prefix: 1.0.0 dev: false - /nx/15.7.2: - resolution: {integrity: sha512-VRb+CZCji3G4ikdMAGoh6TeU9Q6n5atRwqRSFhUX63er8zhlMvWHLskPMZC4q/81edo/E7RhbmEVUD5MB0JoeA==} - hasBin: true - requiresBuild: true - peerDependencies: - '@swc-node/register': ^1.4.2 - '@swc/core': ^1.2.173 - peerDependenciesMeta: - '@swc-node/register': - optional: true - '@swc/core': - optional: true - dependencies: - '@nrwl/cli': 15.7.2 - '@nrwl/tao': 15.7.2 - '@parcel/watcher': 2.0.4 - '@yarnpkg/lockfile': 1.1.0 - '@yarnpkg/parsers': 3.0.0-rc.40 - '@zkochan/js-yaml': 0.0.6 - axios: 1.3.4 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-spinners: 2.6.1 - cliui: 7.0.4 - dotenv: 10.0.0 - enquirer: 2.3.6 - fast-glob: 3.2.7 - figures: 3.2.0 - flat: 5.0.2 - fs-extra: 11.1.0 - glob: 7.1.4 - ignore: 5.2.4 - js-yaml: 4.1.0 - jsonc-parser: 3.2.0 - lines-and-columns: 2.0.3 - minimatch: 3.0.5 - npm-run-path: 4.0.1 - open: 8.4.2 - semver: 7.3.4 - string-width: 4.2.3 - strong-log-transformer: 2.1.0 - tar-stream: 2.2.0 - tmp: 0.2.1 - tsconfig-paths: 4.1.2 - tslib: 2.5.0 - v8-compile-cache: 2.3.0 - yargs: 17.7.1 - yargs-parser: 21.1.1 - optionalDependencies: - '@nrwl/nx-darwin-arm64': 15.7.2 - '@nrwl/nx-darwin-x64': 15.7.2 - '@nrwl/nx-linux-arm-gnueabihf': 15.7.2 - '@nrwl/nx-linux-arm64-gnu': 15.7.2 - '@nrwl/nx-linux-arm64-musl': 15.7.2 - '@nrwl/nx-linux-x64-gnu': 15.7.2 - '@nrwl/nx-linux-x64-musl': 15.7.2 - '@nrwl/nx-win32-arm64-msvc': 15.7.2 - '@nrwl/nx-win32-x64-msvc': 15.7.2 - transitivePeerDependencies: - - debug - dev: true - - /nx/15.8.3: - resolution: {integrity: sha512-xMoylVodaA64gIrQG10F7MWmlXbkzYKyTzbNeALD0bx1RqS/5FTQn3G6WQ2aRpJelUcQJpnTcJV60bXlWuFKvw==} + /nx/15.8.7: + resolution: {integrity: sha512-u6p/1gU20WU61orxK7hcXBsVspPHy3X66XVAAakkYcaOBlsJhJrR7Og191qIyjEkqEWmcekiDQVw3D6XfagL4Q==} hasBin: true requiresBuild: true peerDependencies: @@ -16319,8 +16189,8 @@ packages: '@swc/core': optional: true dependencies: - '@nrwl/cli': 15.8.3 - '@nrwl/tao': 15.8.3 + '@nrwl/cli': 15.8.7 + '@nrwl/tao': 15.8.7 '@parcel/watcher': 2.0.4 '@yarnpkg/lockfile': 1.1.0 '@yarnpkg/parsers': 3.0.0-rc.40 @@ -16335,7 +16205,7 @@ packages: fast-glob: 3.2.7 figures: 3.2.0 flat: 5.0.2 - fs-extra: 11.1.0 + fs-extra: 11.1.1 glob: 7.1.4 ignore: 5.2.4 js-yaml: 4.1.0 @@ -16355,15 +16225,15 @@ packages: yargs: 17.7.1 yargs-parser: 21.1.1 optionalDependencies: - '@nrwl/nx-darwin-arm64': 15.8.3 - '@nrwl/nx-darwin-x64': 15.8.3 - '@nrwl/nx-linux-arm-gnueabihf': 15.8.3 - '@nrwl/nx-linux-arm64-gnu': 15.8.3 - '@nrwl/nx-linux-arm64-musl': 15.8.3 - '@nrwl/nx-linux-x64-gnu': 15.8.3 - '@nrwl/nx-linux-x64-musl': 15.8.3 - '@nrwl/nx-win32-arm64-msvc': 15.8.3 - '@nrwl/nx-win32-x64-msvc': 15.8.3 + '@nrwl/nx-darwin-arm64': 15.8.7 + '@nrwl/nx-darwin-x64': 15.8.7 + '@nrwl/nx-linux-arm-gnueabihf': 15.8.7 + '@nrwl/nx-linux-arm64-gnu': 15.8.7 + '@nrwl/nx-linux-arm64-musl': 15.8.7 + '@nrwl/nx-linux-x64-gnu': 15.8.7 + '@nrwl/nx-linux-x64-musl': 15.8.7 + '@nrwl/nx-win32-arm64-msvc': 15.8.7 + '@nrwl/nx-win32-x64-msvc': 15.8.7 transitivePeerDependencies: - debug dev: true @@ -16793,6 +16663,14 @@ packages: engines: {node: '>= 0.8.0'} dev: true + /path-scurry/1.6.1: + resolution: {integrity: sha512-OW+5s+7cw6253Q4E+8qQ/u1fVvcJQCJo/VFD8pje+dbJCF1n5ZRMV2AEHbGp+5Q7jxQIYJxkHopnj6nzdGeZLA==} + engines: {node: '>=14'} + dependencies: + lru-cache: 7.18.3 + minipass: 4.2.5 + dev: true + /path-to-regexp/0.1.7: resolution: {integrity: sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==} @@ -16906,22 +16784,10 @@ packages: engines: {node: '>=0.10.0'} dev: true - /pify/4.0.1: - resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} - engines: {node: '>=6'} - dev: true - /pirates/4.0.5: resolution: {integrity: sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==} engines: {node: '>= 6'} - /pkg-dir/3.0.0: - resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==} - engines: {node: '>=6'} - dependencies: - find-up: 3.0.0 - dev: true - /pkg-dir/4.2.0: resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} engines: {node: '>=8'} @@ -17429,6 +17295,12 @@ packages: requiresBuild: true dev: true + /precompress/10.0.2: + resolution: {integrity: sha512-KDuSJZltWTirvvl08CZHKC3e/6sK0FXb8YVx1Tqec2LioC2Z4FXWFeNn7zberCQ5ZZs6KcU2Q7BDrwkFI5urtw==} + engines: {node: '>= 16'} + hasBin: true + dev: true + /precompress/9.1.1: resolution: {integrity: sha512-Dvl5Jn78RbohWvlBJViIi7Rm9kG7lxGrj0a9WvifD4dsPqY6j5mdlM4bbmVcJlhh7I8jxYxgfYh+5Jw0djUJzA==} engines: {node: '>= 14'} @@ -18344,6 +18216,14 @@ packages: dependencies: glob: 7.2.3 + /rimraf/4.4.0: + resolution: {integrity: sha512-X36S+qpCUR0HjXlkDe4NAOhS//aHH0Z+h8Ckf2auGJk3PTnx5rLmrHkwNdbVQuCSUhOyFrlRvFEllZOYE+yZGQ==} + engines: {node: '>=14'} + hasBin: true + dependencies: + glob: 9.3.0 + dev: true + /ripemd160/2.0.2: resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} dependencies: @@ -18843,6 +18723,11 @@ packages: resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} engines: {node: '>=0.10.0'} + /source-map/0.7.4: + resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==} + engines: {node: '>= 8'} + dev: true + /source-map/0.8.0-beta.0: resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} engines: {node: '>= 8'} @@ -19651,6 +19536,29 @@ packages: supports-hyperlinks: 2.3.0 dev: true + /terser-webpack-plugin/5.3.7_webpack@5.75.0: + resolution: {integrity: sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw==} + engines: {node: '>= 10.13.0'} + peerDependencies: + '@swc/core': '*' + esbuild: '*' + uglify-js: '*' + webpack: ^5.1.0 + peerDependenciesMeta: + '@swc/core': + optional: true + esbuild: + optional: true + uglify-js: + optional: true + dependencies: + '@jridgewell/trace-mapping': 0.3.17 + jest-worker: 27.5.1 + schema-utils: 3.1.1 + serialize-javascript: 6.0.1 + terser: 5.16.6 + webpack: 5.75.0_webpack-cli@5.0.1 + /terser-webpack-plugin/5.3.7_webpack@5.76.2: resolution: {integrity: sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw==} engines: {node: '>= 10.13.0'} @@ -19840,39 +19748,6 @@ packages: resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} dev: true - /ts-jest/29.0.5_orzzknleilowtsz34rkaotjvzm: - resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} - engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} - hasBin: true - peerDependencies: - '@babel/core': '>=7.0.0-beta.0 <8' - '@jest/types': ^29.0.0 - babel-jest: ^29.0.0 - esbuild: '*' - jest: ^29.0.0 - typescript: '>=4.3' - peerDependenciesMeta: - '@babel/core': - optional: true - '@jest/types': - optional: true - babel-jest: - optional: true - esbuild: - optional: true - dependencies: - bs-logger: 0.2.6 - fast-json-stable-stringify: 2.1.0 - jest: 29.4.3 - jest-util: 29.5.0 - json5: 2.2.3 - lodash.memoize: 4.1.2 - make-error: 1.3.6 - semver: 7.3.8 - typescript: 4.9.5 - yargs-parser: 21.1.1 - dev: true - /ts-jest/29.0.5_q744lk64cx4tbpg7zn4yr5nesi: resolution: {integrity: sha512-PL3UciSgIpQ7f6XjVOmbi96vmDHUqAyqDr8YxzopDqX3kfgYtX1cuNeBjP+L9sFXi6nzsGGA6R3fP3DDDJyrxA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -19897,7 +19772,7 @@ packages: '@babel/core': 7.21.3 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 - jest: 29.5.0_ujxcenvse5zlxdro6vjdmkgl3a + jest: 29.5.0_d2dllaz5dte7avnjm55wl7fmsu jest-util: 29.5.0 json5: 2.2.3 lodash.memoize: 4.1.2 @@ -19951,36 +19826,6 @@ packages: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 - /ts-node/10.9.1_uayvamxqnl5yeiojjysxwopmsy: - resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} - hasBin: true - peerDependencies: - '@swc/core': '>=1.2.50' - '@swc/wasm': '>=1.2.50' - '@types/node': '*' - typescript: '>=2.7' - peerDependenciesMeta: - '@swc/core': - optional: true - '@swc/wasm': - optional: true - dependencies: - '@cspotcode/source-map-support': 0.8.1 - '@tsconfig/node10': 1.0.9 - '@tsconfig/node12': 1.0.11 - '@tsconfig/node14': 1.0.3 - '@tsconfig/node16': 1.0.3 - '@types/node': 18.14.1 - acorn: 8.8.2 - acorn-walk: 8.2.0 - arg: 4.1.3 - create-require: 1.1.1 - diff: 4.0.2 - make-error: 1.3.6 - typescript: 4.9.5 - v8-compile-cache-lib: 3.0.1 - yn: 3.1.1 - /tsconfig-paths/3.14.2: resolution: {integrity: sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g==} dependencies: @@ -20481,6 +20326,22 @@ packages: schema-utils: 3.1.1 webpack: 5.76.2 + /url-loader/4.1.1_p5dl6emkcwslbw72e37w4ug7em: + resolution: {integrity: sha512-3BTV812+AVHHOJQO8O5MkWgZ5aosP7GnROJwvzLS9hWDj00lZ6Z0wNak423Lp9PBZN05N+Jk/N5Si8jRAlGyWA==} + engines: {node: '>= 10.13.0'} + peerDependencies: + file-loader: '*' + webpack: ^4.0.0 || ^5.0.0 + peerDependenciesMeta: + file-loader: + optional: true + dependencies: + file-loader: 6.2.0_webpack@5.75.0 + loader-utils: 2.0.4 + mime-types: 2.1.35 + schema-utils: 3.1.1 + webpack: 5.75.0 + /url-parse-lax/3.0.0: resolution: {integrity: sha512-NjFKA0DidqPa5ciFcSrXnAltTtzz84ogy+NebPvfEgAck0+TNg4UJ4IN+fB7zRZfbgUf0syOo9MDxFkDSMuFaQ==} engines: {node: '>=4'} @@ -21055,7 +20916,7 @@ packages: - bufferutil - utf-8-validate - /webpack-cli/5.0.1_webpack@5.76.2: + /webpack-cli/5.0.1_webpack@5.75.0: resolution: {integrity: sha512-S3KVAyfwUqr0Mo/ur3NzIp6jnerNpo7GUO6so51mxLi1spqsA17YcMXy0WOIJtBSnj748lthxC6XLbNKh/ZC+A==} engines: {node: '>=14.15.0'} hasBin: true @@ -21073,9 +20934,9 @@ packages: optional: true dependencies: '@discoveryjs/json-ext': 0.5.7 - '@webpack-cli/configtest': 2.0.1_4puitx5hps5iiy4n2enrchvjna - '@webpack-cli/info': 2.0.1_4puitx5hps5iiy4n2enrchvjna - '@webpack-cli/serve': 2.0.1_4puitx5hps5iiy4n2enrchvjna + '@webpack-cli/configtest': 2.0.1_rjsyjcrmk25kqsjzwkvj3a2evq + '@webpack-cli/info': 2.0.1_rjsyjcrmk25kqsjzwkvj3a2evq + '@webpack-cli/serve': 2.0.1_rjsyjcrmk25kqsjzwkvj3a2evq colorette: 2.0.19 commander: 9.5.0 cross-spawn: 7.0.3 @@ -21084,7 +20945,7 @@ packages: import-local: 3.1.0 interpret: 3.1.1 rechoir: 0.8.0 - webpack: 5.76.2_webpack-cli@5.0.1 + webpack: 5.75.0_webpack-cli@5.0.1 webpack-merge: 5.8.0 /webpack-dev-middleware/5.3.3_webpack@5.76.2: @@ -21161,8 +21022,8 @@ packages: resolution: {integrity: sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==} engines: {node: '>=10.13.0'} - /webpack/5.76.2: - resolution: {integrity: sha512-Th05ggRm23rVzEOlX8y67NkYCHa9nTNcwHPBhdg+lKG+mtiW7XgggjAeeLnADAe7mLjJ6LUNfgHAuRRh+Z6J7w==} + /webpack/5.75.0: + resolution: {integrity: sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -21192,15 +21053,55 @@ packages: neo-async: 2.6.2 schema-utils: 3.1.1 tapable: 2.2.1 - terser-webpack-plugin: 5.3.7_webpack@5.76.2 + terser-webpack-plugin: 5.3.7_webpack@5.75.0 + watchpack: 2.4.0 + webpack-sources: 3.2.3 + transitivePeerDependencies: + - '@swc/core' + - esbuild + - uglify-js + + /webpack/5.75.0_webpack-cli@5.0.1: + resolution: {integrity: sha512-piaIaoVJlqMsPtX/+3KTTO6jfvrSYgauFVdt8cr9LTHKmcq/AMd4mhzsiP7ZF/PGRNPGA8336jldh9l2Kt2ogQ==} + engines: {node: '>=10.13.0'} + hasBin: true + peerDependencies: + webpack-cli: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + dependencies: + '@types/eslint-scope': 3.7.4 + '@types/estree': 0.0.51 + '@webassemblyjs/ast': 1.11.1 + '@webassemblyjs/wasm-edit': 1.11.1 + '@webassemblyjs/wasm-parser': 1.11.1 + acorn: 8.8.2 + acorn-import-assertions: 1.8.0_acorn@8.8.2 + browserslist: 4.21.5 + chrome-trace-event: 1.0.3 + enhanced-resolve: 5.12.0 + es-module-lexer: 0.9.3 + eslint-scope: 5.1.1 + events: 3.3.0 + glob-to-regexp: 0.4.1 + graceful-fs: 4.2.11 + json-parse-even-better-errors: 2.3.1 + loader-runner: 4.3.0 + mime-types: 2.1.35 + neo-async: 2.6.2 + schema-utils: 3.1.1 + tapable: 2.2.1 + terser-webpack-plugin: 5.3.7_webpack@5.75.0 watchpack: 2.4.0 + webpack-cli: 5.0.1_webpack@5.75.0 webpack-sources: 3.2.3 transitivePeerDependencies: - '@swc/core' - esbuild - uglify-js - /webpack/5.76.2_webpack-cli@5.0.1: + /webpack/5.76.2: resolution: {integrity: sha512-Th05ggRm23rVzEOlX8y67NkYCHa9nTNcwHPBhdg+lKG+mtiW7XgggjAeeLnADAe7mLjJ6LUNfgHAuRRh+Z6J7w==} engines: {node: '>=10.13.0'} hasBin: true @@ -21233,13 +21134,25 @@ packages: tapable: 2.2.1 terser-webpack-plugin: 5.3.7_webpack@5.76.2 watchpack: 2.4.0 - webpack-cli: 5.0.1_webpack@5.76.2 webpack-sources: 3.2.3 transitivePeerDependencies: - '@swc/core' - esbuild - uglify-js + /webpackbar/5.0.2_webpack@5.75.0: + resolution: {integrity: sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ==} + engines: {node: '>=12'} + peerDependencies: + webpack: 3 || 4 || 5 + dependencies: + chalk: 4.1.2 + consola: 2.15.3 + pretty-time: 1.1.0 + std-env: 3.3.2 + webpack: 5.75.0_webpack-cli@5.0.1 + dev: true + /webpackbar/5.0.2_webpack@5.76.2: resolution: {integrity: sha512-BmFJo7veBDgQzfWXl/wwYXr/VFus0614qZ8i9znqcl9fnEdiVkdbi0TedLQ6xAK92HZHDJ0QmyQ0fmuZPAgCYQ==} engines: {node: '>=12'} @@ -21250,7 +21163,7 @@ packages: consola: 2.15.3 pretty-time: 1.1.0 std-env: 3.3.2 - webpack: 5.76.2_webpack-cli@5.0.1 + webpack: 5.76.2 /websocket-driver/0.7.4: resolution: {integrity: sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==} diff --git a/scripts/docker_build/remove-patched-dependencies.js b/scripts/docker_build/remove-patched-dependencies.js deleted file mode 100644 index af77ea7e4..000000000 --- a/scripts/docker_build/remove-patched-dependencies.js +++ /dev/null @@ -1,20 +0,0 @@ -const fs = require('fs'); - -fs.readFile('./package.json', 'utf8', (err, data) => { - if (err) { - throw err; - } - let packageJson = JSON.parse(data); - delete packageJson.pnpm.patchedDependencies; - - fs.writeFile( - 'package.json', - JSON.stringify(packageJson, null, 2), - 'utf8', - (err) => { - if (err) { - throw err; - } - } - ); -}); diff --git a/tsconfig.base.json b/tsconfig.base.json index b711433f4..b58937036 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -5,18 +5,20 @@ Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, + "target": "ES2020", "module": "CommonJS", - "moduleResolution": "Node", + "moduleResolution": "node", + "strict": true, - "target": "ES2020", + "allowJs": true, + "esModuleInterop": true, + + "forceConsistentCasingInFileNames": true, "allowSyntheticDefaultImports": true, "skipLibCheck": true, + /* Stylize errors and messages using color and context. */ - "pretty": true, - "incremental": true, - "allowJs": true + "pretty": true }, "exclude": ["node_modules", "dist"] }