diff --git a/.prettierrc.js b/.prettierrc.js index b2d98d2ee2..325d63805f 100644 --- a/.prettierrc.js +++ b/.prettierrc.js @@ -5,4 +5,5 @@ module.exports = { singleQuote: true, tabWidth: 2, trailingComma: 'all', + plugins: ['prettier-plugin-packagejson'], }; diff --git a/package.json b/package.json index fd9160a23a..c4221e79b1 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "lint:dependencies": "yarn workspaces foreach --all --parallel --verbose run lint:dependencies && yarn dedupe --check", "lint:eslint": "eslint . --cache --ext js,cjs,mjs,jsx,ts,mts,cts,tsx", "lint:fix": "yarn workspaces foreach --all --parallel run lint:eslint --fix && yarn lint:misc --write && yarn lint:tsconfig && yarn constraints --fix && yarn dedupe", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' '**/*.html'", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn '**/*.json' '**/*.md' '!**/CHANGELOG.md' '**/*.yml' '**/*.html'", "lint:tsconfig": "node scripts/verify-tsconfig.mjs", "prepare-preview-builds": "./scripts/prepare-preview-builds.sh", "publish-previews": "yarn workspaces foreach --all --parallel --verbose run publish:preview", @@ -77,7 +77,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/create-release-branch": "^3.0.1", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", @@ -95,12 +95,12 @@ "chromedriver": "^131.0.5", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "execa": "^5.1.1", "favicons": "^7.1.2", @@ -110,7 +110,7 @@ "lint-staged": "^12.4.1", "lodash": "^4.17.21", "minimatch": "^7.4.1", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "semver": "^7.5.4", diff --git a/packages/create-snap/.depcheckrc.json b/packages/create-snap/.depcheckrc.json index 3fba666b10..0a1cea5dcc 100644 --- a/packages/create-snap/.depcheckrc.json +++ b/packages/create-snap/.depcheckrc.json @@ -10,6 +10,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/create-snap/package.json b/packages/create-snap/package.json index 0e9dfb7ed2..552e2cebd0 100644 --- a/packages/create-snap/package.json +++ b/packages/create-snap/package.json @@ -49,15 +49,15 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:package": "../../scripts/publish-package.sh", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-utils": "workspace:^", @@ -66,7 +66,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -82,18 +82,18 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "tsc-watch": "^4.5.0", diff --git a/packages/examples/.depcheckrc.json b/packages/examples/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/.depcheckrc.json +++ b/packages/examples/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/package.json b/packages/examples/package.json index 5ec686c105..f1ca0199be 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -33,7 +33,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!packages/**\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!packages/**\" --ignore-path ../../.gitignore", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "yarn workspaces foreach --worktree --parallel --verbose --interlaced --no-private --jobs unlimited run start", "start:test": "yarn start", @@ -45,7 +45,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -54,15 +54,15 @@ "@typescript-eslint/parser": "^6.21.0", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/bip32/.depcheckrc.json b/packages/examples/packages/bip32/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/bip32/.depcheckrc.json +++ b/packages/examples/packages/bip32/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/bip32/package.json b/packages/examples/packages/bip32/package.json index b76ec0ad19..518935616d 100644 --- a/packages/examples/packages/bip32/package.json +++ b/packages/examples/packages/bip32/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", @@ -52,7 +52,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -66,16 +66,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/bip44/.depcheckrc.json b/packages/examples/packages/bip44/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/bip44/.depcheckrc.json +++ b/packages/examples/packages/bip44/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/bip44/package.json b/packages/examples/packages/bip44/package.json index 61f0fbb8fe..92f0cda958 100644 --- a/packages/examples/packages/bip44/package.json +++ b/packages/examples/packages/bip44/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", @@ -51,7 +51,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -65,16 +65,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/browserify-plugin/.depcheckrc.json b/packages/examples/packages/browserify-plugin/.depcheckrc.json index fdfa140639..1625bbfff0 100644 --- a/packages/examples/packages/browserify-plugin/.depcheckrc.json +++ b/packages/examples/packages/browserify-plugin/.depcheckrc.json @@ -10,6 +10,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/browserify-plugin/package.json b/packages/examples/packages/browserify-plugin/package.json index 7b58c47dd0..34d2991879 100644 --- a/packages/examples/packages/browserify-plugin/package.json +++ b/packages/examples/packages/browserify-plugin/package.json @@ -33,13 +33,13 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -47,7 +47,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/browserify/.depcheckrc.json b/packages/examples/packages/browserify/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/browserify/.depcheckrc.json +++ b/packages/examples/packages/browserify/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/browserify/package.json b/packages/examples/packages/browserify/package.json index 0ba3299f9c..26689ad2b9 100644 --- a/packages/examples/packages/browserify/package.json +++ b/packages/examples/packages/browserify/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/client-status/.depcheckrc.json b/packages/examples/packages/client-status/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/client-status/.depcheckrc.json +++ b/packages/examples/packages/client-status/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/client-status/package.json b/packages/examples/packages/client-status/package.json index a5425b6105..387927ffb9 100644 --- a/packages/examples/packages/client-status/package.json +++ b/packages/examples/packages/client-status/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/cronjobs/.depcheckrc.json b/packages/examples/packages/cronjobs/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/cronjobs/.depcheckrc.json +++ b/packages/examples/packages/cronjobs/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/cronjobs/package.json b/packages/examples/packages/cronjobs/package.json index 6813f24ab4..1c16f41f60 100644 --- a/packages/examples/packages/cronjobs/package.json +++ b/packages/examples/packages/cronjobs/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/dialogs/.depcheckrc.json b/packages/examples/packages/dialogs/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/dialogs/.depcheckrc.json +++ b/packages/examples/packages/dialogs/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/dialogs/package.json b/packages/examples/packages/dialogs/package.json index f95b55dea1..2438edf9cd 100644 --- a/packages/examples/packages/dialogs/package.json +++ b/packages/examples/packages/dialogs/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/errors/.depcheckrc.json b/packages/examples/packages/errors/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/errors/.depcheckrc.json +++ b/packages/examples/packages/errors/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/errors/package.json b/packages/examples/packages/errors/package.json index d1ca433a7f..b22fb43c8c 100644 --- a/packages/examples/packages/errors/package.json +++ b/packages/examples/packages/errors/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/ethereum-provider/.depcheckrc.json b/packages/examples/packages/ethereum-provider/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/ethereum-provider/.depcheckrc.json +++ b/packages/examples/packages/ethereum-provider/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/ethereum-provider/package.json b/packages/examples/packages/ethereum-provider/package.json index ecd2fcbc2d..802a10e9a5 100644 --- a/packages/examples/packages/ethereum-provider/package.json +++ b/packages/examples/packages/ethereum-provider/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/ethers-js/.depcheckrc.json b/packages/examples/packages/ethers-js/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/ethers-js/.depcheckrc.json +++ b/packages/examples/packages/ethers-js/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/ethers-js/package.json b/packages/examples/packages/ethers-js/package.json index 6d8b527a8c..24d67fa850 100644 --- a/packages/examples/packages/ethers-js/package.json +++ b/packages/examples/packages/ethers-js/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3", diff --git a/packages/examples/packages/file-upload/.depcheckrc.json b/packages/examples/packages/file-upload/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/file-upload/.depcheckrc.json +++ b/packages/examples/packages/file-upload/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/file-upload/package.json b/packages/examples/packages/file-upload/package.json index 3e3b321a9f..d9b6a8d218 100644 --- a/packages/examples/packages/file-upload/package.json +++ b/packages/examples/packages/file-upload/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/get-entropy/.depcheckrc.json b/packages/examples/packages/get-entropy/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/get-entropy/.depcheckrc.json +++ b/packages/examples/packages/get-entropy/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/get-entropy/package.json b/packages/examples/packages/get-entropy/package.json index d1119e2be8..dc4907109c 100644 --- a/packages/examples/packages/get-entropy/package.json +++ b/packages/examples/packages/get-entropy/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -50,7 +50,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -64,16 +64,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/get-file/.depcheckrc.json b/packages/examples/packages/get-file/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/get-file/.depcheckrc.json +++ b/packages/examples/packages/get-file/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/get-file/package.json b/packages/examples/packages/get-file/package.json index d7851edce8..6f61e4c37f 100644 --- a/packages/examples/packages/get-file/package.json +++ b/packages/examples/packages/get-file/package.json @@ -34,14 +34,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/home-page/.depcheckrc.json b/packages/examples/packages/home-page/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/home-page/.depcheckrc.json +++ b/packages/examples/packages/home-page/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/home-page/package.json b/packages/examples/packages/home-page/package.json index 7cadb85f4c..cfe9ba3fca 100644 --- a/packages/examples/packages/home-page/package.json +++ b/packages/examples/packages/home-page/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/images/.depcheckrc.json b/packages/examples/packages/images/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/images/.depcheckrc.json +++ b/packages/examples/packages/images/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/images/package.json b/packages/examples/packages/images/package.json index a650a1a427..f8313cbf34 100644 --- a/packages/examples/packages/images/package.json +++ b/packages/examples/packages/images/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/interactive-ui/.depcheckrc.json b/packages/examples/packages/interactive-ui/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/interactive-ui/.depcheckrc.json +++ b/packages/examples/packages/interactive-ui/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/interactive-ui/package.json b/packages/examples/packages/interactive-ui/package.json index 966dd59155..4bd34c71ba 100644 --- a/packages/examples/packages/interactive-ui/package.json +++ b/packages/examples/packages/interactive-ui/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/invoke-snap/.depcheckrc.json b/packages/examples/packages/invoke-snap/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/invoke-snap/.depcheckrc.json +++ b/packages/examples/packages/invoke-snap/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/invoke-snap/package.json b/packages/examples/packages/invoke-snap/package.json index 71be50aae7..1dcf4c6bfc 100644 --- a/packages/examples/packages/invoke-snap/package.json +++ b/packages/examples/packages/invoke-snap/package.json @@ -32,18 +32,18 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" \"!packages/**\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" \"!packages/**\" --ignore-path ../../../../.gitignore", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn workspaces foreach --worktree --parallel --verbose --interlaced --jobs unlimited run start", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -52,15 +52,15 @@ "@typescript-eslint/parser": "^6.21.0", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/.depcheckrc.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/.depcheckrc.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json index fadb7785c5..fdbdbb960c 100644 --- a/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/consumer-signer/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", @@ -51,7 +51,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -65,16 +65,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/.depcheckrc.json b/packages/examples/packages/invoke-snap/packages/core-signer/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/.depcheckrc.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/invoke-snap/packages/core-signer/package.json b/packages/examples/packages/invoke-snap/packages/core-signer/package.json index 6b9a9a0e38..04b348b6db 100644 --- a/packages/examples/packages/invoke-snap/packages/core-signer/package.json +++ b/packages/examples/packages/invoke-snap/packages/core-signer/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", @@ -52,7 +52,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -67,16 +67,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/json-rpc/.depcheckrc.json b/packages/examples/packages/json-rpc/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/json-rpc/.depcheckrc.json +++ b/packages/examples/packages/json-rpc/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/json-rpc/package.json b/packages/examples/packages/json-rpc/package.json index 77155de7a5..aaca7692b0 100644 --- a/packages/examples/packages/json-rpc/package.json +++ b/packages/examples/packages/json-rpc/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/jsx/.depcheckrc.json b/packages/examples/packages/jsx/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/jsx/.depcheckrc.json +++ b/packages/examples/packages/jsx/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/jsx/package.json b/packages/examples/packages/jsx/package.json index bc52b260e5..9f6a48030d 100644 --- a/packages/examples/packages/jsx/package.json +++ b/packages/examples/packages/jsx/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/rpc-errors": "^7.0.2", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -64,16 +64,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/lifecycle-hooks/.depcheckrc.json b/packages/examples/packages/lifecycle-hooks/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/lifecycle-hooks/.depcheckrc.json +++ b/packages/examples/packages/lifecycle-hooks/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/lifecycle-hooks/package.json b/packages/examples/packages/lifecycle-hooks/package.json index a8e5a80902..11d84d246a 100644 --- a/packages/examples/packages/lifecycle-hooks/package.json +++ b/packages/examples/packages/lifecycle-hooks/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/localization/.depcheckrc.json b/packages/examples/packages/localization/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/localization/.depcheckrc.json +++ b/packages/examples/packages/localization/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/localization/package.json b/packages/examples/packages/localization/package.json index 933e82a004..2d14dd346c 100644 --- a/packages/examples/packages/localization/package.json +++ b/packages/examples/packages/localization/package.json @@ -34,14 +34,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/manage-state/.depcheckrc.json b/packages/examples/packages/manage-state/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/manage-state/.depcheckrc.json +++ b/packages/examples/packages/manage-state/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/manage-state/package.json b/packages/examples/packages/manage-state/package.json index d208aa38ec..293ff7cdd5 100644 --- a/packages/examples/packages/manage-state/package.json +++ b/packages/examples/packages/manage-state/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/name-lookup/.depcheckrc.json b/packages/examples/packages/name-lookup/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/name-lookup/.depcheckrc.json +++ b/packages/examples/packages/name-lookup/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/name-lookup/package.json b/packages/examples/packages/name-lookup/package.json index 521203033c..bd3d8bf51c 100644 --- a/packages/examples/packages/name-lookup/package.json +++ b/packages/examples/packages/name-lookup/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/network-access/.depcheckrc.json b/packages/examples/packages/network-access/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/network-access/.depcheckrc.json +++ b/packages/examples/packages/network-access/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/network-access/package.json b/packages/examples/packages/network-access/package.json index 2b029a926c..a342485820 100644 --- a/packages/examples/packages/network-access/package.json +++ b/packages/examples/packages/network-access/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -64,16 +64,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/notifications/.depcheckrc.json b/packages/examples/packages/notifications/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/notifications/.depcheckrc.json +++ b/packages/examples/packages/notifications/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/notifications/package.json b/packages/examples/packages/notifications/package.json index e35e00a0db..b94fbb1b2f 100644 --- a/packages/examples/packages/notifications/package.json +++ b/packages/examples/packages/notifications/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/preinstalled/.depcheckrc.json b/packages/examples/packages/preinstalled/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/preinstalled/.depcheckrc.json +++ b/packages/examples/packages/preinstalled/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/preinstalled/package.json b/packages/examples/packages/preinstalled/package.json index f25da5d9dd..a1799d6964 100644 --- a/packages/examples/packages/preinstalled/package.json +++ b/packages/examples/packages/preinstalled/package.json @@ -34,14 +34,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -65,16 +65,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "tsx": "^4.19.1", diff --git a/packages/examples/packages/rollup-plugin/.depcheckrc.json b/packages/examples/packages/rollup-plugin/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/rollup-plugin/.depcheckrc.json +++ b/packages/examples/packages/rollup-plugin/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/rollup-plugin/package.json b/packages/examples/packages/rollup-plugin/package.json index ed24de7aac..dd8103affe 100644 --- a/packages/examples/packages/rollup-plugin/package.json +++ b/packages/examples/packages/rollup-plugin/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn build --watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -51,7 +51,7 @@ "@babel/preset-typescript": "^7.23.2", "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -69,16 +69,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rollup": "^2.73.0", "ts-node": "^10.9.1", diff --git a/packages/examples/packages/send-flow/.depcheckrc.json b/packages/examples/packages/send-flow/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/send-flow/.depcheckrc.json +++ b/packages/examples/packages/send-flow/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/send-flow/package.json b/packages/examples/packages/send-flow/package.json index 2220b228f4..5a19f612be 100644 --- a/packages/examples/packages/send-flow/package.json +++ b/packages/examples/packages/send-flow/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/rpc-errors": "^7.0.2", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/signature-insights/.depcheckrc.json b/packages/examples/packages/signature-insights/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/signature-insights/.depcheckrc.json +++ b/packages/examples/packages/signature-insights/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/signature-insights/package.json b/packages/examples/packages/signature-insights/package.json index d26f6d89ae..8d31ae9697 100644 --- a/packages/examples/packages/signature-insights/package.json +++ b/packages/examples/packages/signature-insights/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -62,16 +62,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/transaction-insights/.depcheckrc.json b/packages/examples/packages/transaction-insights/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/examples/packages/transaction-insights/.depcheckrc.json +++ b/packages/examples/packages/transaction-insights/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/transaction-insights/package.json b/packages/examples/packages/transaction-insights/package.json index 0a11808ba5..16cd481d2a 100644 --- a/packages/examples/packages/transaction-insights/package.json +++ b/packages/examples/packages/transaction-insights/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/wasm/.depcheckrc.json b/packages/examples/packages/wasm/.depcheckrc.json index 0f1dad8d45..0449aef810 100644 --- a/packages/examples/packages/wasm/.depcheckrc.json +++ b/packages/examples/packages/wasm/.depcheckrc.json @@ -10,6 +10,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/examples/packages/wasm/package.json b/packages/examples/packages/wasm/package.json index e1c435d415..8dcd73a358 100644 --- a/packages/examples/packages/wasm/package.json +++ b/packages/examples/packages/wasm/package.json @@ -34,14 +34,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "yarn build:wasm && mm-snap watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -49,7 +49,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -64,16 +64,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "typescript": "~5.3.3" diff --git a/packages/examples/packages/webpack-plugin/.depcheckrc.json b/packages/examples/packages/webpack-plugin/.depcheckrc.json index 5dd3097d97..b0dd03cbb9 100644 --- a/packages/examples/packages/webpack-plugin/.depcheckrc.json +++ b/packages/examples/packages/webpack-plugin/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "swc-loader", diff --git a/packages/examples/packages/webpack-plugin/package.json b/packages/examples/packages/webpack-plugin/package.json index 9a98b4d02f..2c5effb3b8 100644 --- a/packages/examples/packages/webpack-plugin/package.json +++ b/packages/examples/packages/webpack-plugin/package.json @@ -33,14 +33,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" \"!snap.manifest.json\" --ignore-path ../../../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../../../scripts/since-latest-release.sh", "start": "webpack watch", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^" @@ -48,7 +48,7 @@ "devDependencies": { "@jest/globals": "^29.5.0", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -63,16 +63,16 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "swc-loader": "^0.2.3", "terser-webpack-plugin": "^5.3.9", diff --git a/packages/snaps-browserify-plugin/.depcheckrc.json b/packages/snaps-browserify-plugin/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/snaps-browserify-plugin/.depcheckrc.json +++ b/packages/snaps-browserify-plugin/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-browserify-plugin/package.json b/packages/snaps-browserify-plugin/package.json index 1e1b3fc5c9..f9a4677973 100644 --- a/packages/snaps-browserify-plugin/package.json +++ b/packages/snaps-browserify-plugin/package.json @@ -47,14 +47,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-utils": "workspace:^", @@ -63,7 +63,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -81,18 +81,18 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "typescript": "~5.3.3" }, diff --git a/packages/snaps-cli/.depcheckrc.json b/packages/snaps-cli/.depcheckrc.json index 1bb7642b66..bc82c6b540 100644 --- a/packages/snaps-cli/.depcheckrc.json +++ b/packages/snaps-cli/.depcheckrc.json @@ -13,6 +13,7 @@ "buffer", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "events", "is-core-module", diff --git a/packages/snaps-cli/package.json b/packages/snaps-cli/package.json index 6a78209ff8..ef56baa152 100644 --- a/packages/snaps-cli/package.json +++ b/packages/snaps-cli/package.json @@ -54,14 +54,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@babel/core": "^7.23.2", @@ -117,7 +117,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -135,19 +135,19 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "execa": "^5.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-node": "^10.9.1", "tsc-watch": "^4.5.0", diff --git a/packages/snaps-controllers/.depcheckrc.json b/packages/snaps-controllers/.depcheckrc.json index f8028874ce..df3d46b312 100644 --- a/packages/snaps-controllers/.depcheckrc.json +++ b/packages/snaps-controllers/.depcheckrc.json @@ -10,6 +10,7 @@ "@wdio/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "expect-webdriverio", "prettier-plugin-packagejson", diff --git a/packages/snaps-controllers/package.json b/packages/snaps-controllers/package.json index e120b94c75..ff1aefb609 100644 --- a/packages/snaps-controllers/package.json +++ b/packages/snaps-controllers/package.json @@ -67,16 +67,16 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter && yarn test:browser", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter && yarn test:browser", "test:browser": "wdio run wdio.config.js", - "test:clean": "jest --clearCache", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "ts-node scripts/coverage.ts && rimraf coverage/jest coverage/wdio", "test:pre": "yarn mkdirp test/fixtures && ./scripts/generate-fixtures.sh", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/approval-controller": "^7.1.2", @@ -112,7 +112,7 @@ "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/browser-passworder": "^6.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", @@ -144,12 +144,12 @@ "depcheck": "^1.4.7", "esbuild": "^0.18.10", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "expect-webdriverio": "^4.4.1", "istanbul-lib-coverage": "^3.2.0", @@ -159,7 +159,7 @@ "jest-fetch-mock": "^3.0.3", "jest-silent-reporter": "^0.6.0", "mkdirp": "^1.0.4", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/snaps-controllers/src/services/iframe/test/index.html b/packages/snaps-controllers/src/services/iframe/test/index.html index 810e78b57e..4bc64e9a3d 100644 --- a/packages/snaps-controllers/src/services/iframe/test/index.html +++ b/packages/snaps-controllers/src/services/iframe/test/index.html @@ -1,4 +1,4 @@ - + Sandbox test diff --git a/packages/snaps-execution-environments/.depcheckrc.json b/packages/snaps-execution-environments/.depcheckrc.json index bd54e9cf1b..4a113a92b2 100644 --- a/packages/snaps-execution-environments/.depcheckrc.json +++ b/packages/snaps-execution-environments/.depcheckrc.json @@ -10,6 +10,7 @@ "@wdio/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "expect-webdriverio", "prettier-plugin-packagejson", diff --git a/packages/snaps-execution-environments/package.json b/packages/snaps-execution-environments/package.json index 58da1e87d1..62a6ec0300 100644 --- a/packages/snaps-execution-environments/package.json +++ b/packages/snaps-execution-environments/package.json @@ -52,16 +52,16 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ./.prettierignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ./.prettierignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "node scripts/start.js", - "test": "jest --reporters=jest-silent-reporter && yarn test:browser", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter && yarn test:browser", "test:browser": "wdio run wdio.config.js", - "test:clean": "jest --clearCache", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "ts-node scripts/coverage.ts && rimraf coverage/jest coverage/wdio", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/json-rpc-engine": "^10.0.2", @@ -85,7 +85,7 @@ "@lavamoat/allow-scripts": "^3.0.4", "@lavamoat/lavapack": "^6.1.1", "@lavamoat/lavatube": "^1.0.0", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -111,12 +111,12 @@ "depcheck": "^1.4.7", "esbuild": "^0.18.10", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "expect-webdriverio": "^4.4.1", "istanbul-lib-coverage": "^3.2.0", @@ -128,7 +128,7 @@ "jest-silent-reporter": "^0.6.0", "lavamoat": "^8.0.4", "lavamoat-browserify": "^17.0.5", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "serve-handler": "^6.1.5", diff --git a/packages/snaps-jest/.depcheckrc.json b/packages/snaps-jest/.depcheckrc.json index d1513836c7..b1167cc280 100644 --- a/packages/snaps-jest/.depcheckrc.json +++ b/packages/snaps-jest/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "redux", diff --git a/packages/snaps-jest/package.json b/packages/snaps-jest/package.json index 9cc29e5be2..5163d572f1 100644 --- a/packages/snaps-jest/package.json +++ b/packages/snaps-jest/package.json @@ -47,14 +47,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@jest/environment": "^29.5.0", @@ -73,7 +73,7 @@ "devDependencies": { "@jest/types": "^29.6.3", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -89,17 +89,17 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "typescript": "~5.3.3" }, diff --git a/packages/snaps-jest/src/environment.ts b/packages/snaps-jest/src/environment.ts index 4a9bcda8ec..3138755629 100644 --- a/packages/snaps-jest/src/environment.ts +++ b/packages/snaps-jest/src/environment.ts @@ -85,9 +85,9 @@ export class SnapsEnvironment extends NodeEnvironment { * @returns The installed Snap. */ async installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId: string = this.snapId, options: Partial> = {}, diff --git a/packages/snaps-jest/src/helpers.ts b/packages/snaps-jest/src/helpers.ts index d6f51cab11..e2bd81a599 100644 --- a/packages/snaps-jest/src/helpers.ts +++ b/packages/snaps-jest/src/helpers.ts @@ -16,9 +16,9 @@ const log = createModuleLogger(rootLogger, 'helpers'); * @returns The options. */ function getOptions< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId: SnapId | Partial> | undefined, options: Partial>, @@ -83,9 +83,9 @@ export async function installSnap(): Promise; * @throws If the built-in server is not running, and no snap ID is provided. */ export async function installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >(options: Partial>): Promise; /** @@ -121,9 +121,9 @@ export async function installSnap< * @throws If the built-in server is not running, and no snap ID is provided. */ export async function installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId: SnapId, options?: Partial>, @@ -162,9 +162,9 @@ export async function installSnap< * @throws If the built-in server is not running, and no snap ID is provided. */ export async function installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId?: SnapId | Partial>, options: Partial> = {}, diff --git a/packages/snaps-rollup-plugin/.depcheckrc.json b/packages/snaps-rollup-plugin/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/snaps-rollup-plugin/.depcheckrc.json +++ b/packages/snaps-rollup-plugin/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-rollup-plugin/package.json b/packages/snaps-rollup-plugin/package.json index 4622d129da..2676dbaa51 100644 --- a/packages/snaps-rollup-plugin/package.json +++ b/packages/snaps-rollup-plugin/package.json @@ -47,21 +47,21 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-utils": "workspace:^" }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -76,18 +76,18 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rollup": "^2.73.0", "typescript": "~5.3.3" diff --git a/packages/snaps-rpc-methods/.depcheckrc.json b/packages/snaps-rpc-methods/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/snaps-rpc-methods/.depcheckrc.json +++ b/packages/snaps-rpc-methods/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-rpc-methods/package.json b/packages/snaps-rpc-methods/package.json index a645782a72..5aa0bdb781 100644 --- a/packages/snaps-rpc-methods/package.json +++ b/packages/snaps-rpc-methods/package.json @@ -45,14 +45,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", @@ -67,7 +67,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -83,17 +83,17 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "typescript": "~5.3.3" }, diff --git a/packages/snaps-rpc-methods/src/permitted/experimentalProviderRequest.test.ts b/packages/snaps-rpc-methods/src/permitted/experimentalProviderRequest.test.ts index eaa6b930ca..7d90a4da72 100644 --- a/packages/snaps-rpc-methods/src/permitted/experimentalProviderRequest.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/experimentalProviderRequest.test.ts @@ -36,7 +36,7 @@ describe('snap_experimentalProviderRequest', () => { getNetworkClientById: jest.fn().mockImplementation(() => ({ provider: { request: jest.fn().mockResolvedValue('0x1') }, })), - } as any); + }) as any; it('returns the result from the network client', async () => { const { implementation } = providerRequestHandler; diff --git a/packages/snaps-rpc-methods/src/permitted/getFile.test.ts b/packages/snaps-rpc-methods/src/permitted/getFile.test.ts index b52bd2e9bd..bb880634c5 100644 --- a/packages/snaps-rpc-methods/src/permitted/getFile.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/getFile.test.ts @@ -30,7 +30,7 @@ describe('snap_getFile', () => { const getMockHooks = () => ({ getSnapFile: jest.fn(), - } as GetFileHooks); + }) as GetFileHooks; it('returns the result received from the getSnapFile hook', async () => { const { implementation } = getFileHandler; diff --git a/packages/snaps-rpc-methods/src/permitted/invokeKeyring.test.ts b/packages/snaps-rpc-methods/src/permitted/invokeKeyring.test.ts index bb4905708b..45b6b89a71 100644 --- a/packages/snaps-rpc-methods/src/permitted/invokeKeyring.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/invokeKeyring.test.ts @@ -40,7 +40,7 @@ describe('wallet_invokeKeyring', () => { hasPermission: jest.fn(), handleSnapRpcRequest: jest.fn(), getAllowedKeyringMethods: jest.fn(), - } as any); + }) as any; it('invokes the snap and returns the result', async () => { const { implementation } = invokeKeyringHandler; diff --git a/packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.test.ts b/packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.test.ts index e43f209cb7..32df53a53b 100644 --- a/packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/invokeSnapSugar.test.ts @@ -21,7 +21,7 @@ describe('wallet_invokeSnap', () => { ({ id: 'some-id', jsonrpc: jsonrpc2, - } as PendingJsonRpcResponse); + }) as PendingJsonRpcResponse; it('invokes snap using hook', async () => { const params = { diff --git a/packages/snaps-rpc-methods/src/permitted/requestSnaps.test.ts b/packages/snaps-rpc-methods/src/permitted/requestSnaps.test.ts index 9f823e98e0..e51145113d 100644 --- a/packages/snaps-rpc-methods/src/permitted/requestSnaps.test.ts +++ b/packages/snaps-rpc-methods/src/permitted/requestSnaps.test.ts @@ -178,7 +178,7 @@ describe('implementation', () => { installSnaps: jest.fn(), requestPermissions: jest.fn(), getPermissions: jest.fn(), - } as any); + }) as any; it('requests permissions if needed', async () => { const { implementation } = requestSnapsHandler; diff --git a/packages/snaps-rpc-methods/src/restricted/dialog.test.tsx b/packages/snaps-rpc-methods/src/restricted/dialog.test.tsx index dd5d3c7fec..671d9aae76 100644 --- a/packages/snaps-rpc-methods/src/restricted/dialog.test.tsx +++ b/packages/snaps-rpc-methods/src/restricted/dialog.test.tsx @@ -50,7 +50,7 @@ describe('implementation', () => { getInterface: jest .fn() .mockReturnValue({ content: text('foo'), state: {}, snapId: 'foo' }), - } as DialogMethodHooks); + }) as DialogMethodHooks; it('accepts string dialog types', async () => { const hooks = getMockDialogHooks(); diff --git a/packages/snaps-rpc-methods/src/restricted/invokeSnap.test.ts b/packages/snaps-rpc-methods/src/restricted/invokeSnap.test.ts index 95f9a5fc51..9df38a2f37 100644 --- a/packages/snaps-rpc-methods/src/restricted/invokeSnap.test.ts +++ b/packages/snaps-rpc-methods/src/restricted/invokeSnap.test.ts @@ -87,7 +87,7 @@ describe('implementation', () => { ({ getSnap: jest.fn(), handleSnapRpcRequest: jest.fn(), - } as any); + }) as any; it('calls handleSnapRpcRequest', async () => { const hooks = getMockHooks(); hooks.getSnap.mockImplementation(getTruncatedSnap); diff --git a/packages/snaps-sdk/.depcheckrc.json b/packages/snaps-sdk/.depcheckrc.json index c437c59cd2..a07da118be 100644 --- a/packages/snaps-sdk/.depcheckrc.json +++ b/packages/snaps-sdk/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-sdk/package.json b/packages/snaps-sdk/package.json index 7af9992e2c..2855b2b9e7 100644 --- a/packages/snaps-sdk/package.json +++ b/packages/snaps-sdk/package.json @@ -81,14 +81,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/key-tree": "^10.0.2", @@ -99,7 +99,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -111,19 +111,19 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "expect-type": "^0.17.3", "jest": "^29.0.2", "jest-fetch-mock": "^3.0.3", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-jest": "^29.1.1", "typescript": "~5.3.3" diff --git a/packages/snaps-sdk/src/internals/jsx.ts b/packages/snaps-sdk/src/internals/jsx.ts index cf8ae331c2..e47251ed29 100644 --- a/packages/snaps-sdk/src/internals/jsx.ts +++ b/packages/snaps-sdk/src/internals/jsx.ts @@ -26,55 +26,56 @@ type IsUnion = [Type] extends [UnionToIntersection] ? false : true; * This is copied from `superstruct` but fixes some issues with the original * implementation. */ -type StructSchema = IsUnion extends true - ? null - : [Type] extends [EmptyObject] - ? EmptyObject - : [Type] extends [string | undefined | null] - ? [Type] extends [`0x${string}`] +type StructSchema = + IsUnion extends true ? null - : [Type] extends [IsMatch] - ? null - : [Type] extends [IsUnion] - ? EnumSchema - : Type - : [Type] extends [number | undefined | null] - ? [Type] extends [IsMatch] - ? null - : [Type] extends [IsUnion] - ? EnumSchema - : Type - : [Type] extends [boolean] - ? [Type] extends [IsExactMatch] - ? null - : Type - : Type extends - | bigint - | symbol - | undefined - | null - // eslint-disable-next-line @typescript-eslint/ban-types - | Function - | Date - | Error - | RegExp - | Map - | WeakMap - | Set - | WeakSet - | Promise - ? null - : Type extends (infer E)[] - ? Type extends IsTuple - ? null - : Struct - : Type extends object - ? Type extends IsRecord - ? null - : { - [InnerKey in keyof Type]: Describe; - } - : null; + : [Type] extends [EmptyObject] + ? EmptyObject + : [Type] extends [string | undefined | null] + ? [Type] extends [`0x${string}`] + ? null + : [Type] extends [IsMatch] + ? null + : [Type] extends [IsUnion] + ? EnumSchema + : Type + : [Type] extends [number | undefined | null] + ? [Type] extends [IsMatch] + ? null + : [Type] extends [IsUnion] + ? EnumSchema + : Type + : [Type] extends [boolean] + ? [Type] extends [IsExactMatch] + ? null + : Type + : Type extends + | bigint + | symbol + | undefined + | null + // eslint-disable-next-line @typescript-eslint/ban-types + | Function + | Date + | Error + | RegExp + | Map + | WeakMap + | Set + | WeakSet + | Promise + ? null + : Type extends (infer E)[] + ? Type extends IsTuple + ? null + : Struct + : Type extends object + ? Type extends IsRecord + ? null + : { + [InnerKey in keyof Type]: Describe; + } + : null; /** * Describe a struct type. diff --git a/packages/snaps-sdk/src/ui/builder.ts b/packages/snaps-sdk/src/ui/builder.ts index 03514b2533..0bd6af7072 100644 --- a/packages/snaps-sdk/src/ui/builder.ts +++ b/packages/snaps-sdk/src/ui/builder.ts @@ -10,12 +10,10 @@ import type { NodeType } from './nodes'; * * @internal */ -type NodeBuilder = Omit< - Node, - 'type' -> extends Record - ? (...args: []) => Node - : (...args: [Omit] | NodeArrayType) => Node; +type NodeBuilder = + Omit extends Record + ? (...args: []) => Node + : (...args: [Omit] | NodeArrayType) => Node; /** * Map from an array of node keys to the corresponding array type. diff --git a/packages/snaps-simulation/.depcheckrc.json b/packages/snaps-simulation/.depcheckrc.json index 5474429eab..b098d5cdeb 100644 --- a/packages/snaps-simulation/.depcheckrc.json +++ b/packages/snaps-simulation/.depcheckrc.json @@ -9,6 +9,7 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-jest", diff --git a/packages/snaps-simulation/package.json b/packages/snaps-simulation/package.json index ea83df9a44..cac2a80df6 100644 --- a/packages/snaps-simulation/package.json +++ b/packages/snaps-simulation/package.json @@ -45,14 +45,14 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/base-controller": "^7.0.3", @@ -77,7 +77,7 @@ }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -92,18 +92,18 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "express": "^4.18.2", "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "ts-jest": "^29.1.1", "typescript": "~5.3.3" diff --git a/packages/snaps-simulation/src/simulation.ts b/packages/snaps-simulation/src/simulation.ts index d023c27d39..55a6b894c3 100644 --- a/packages/snaps-simulation/src/simulation.ts +++ b/packages/snaps-simulation/src/simulation.ts @@ -75,20 +75,21 @@ export type ExecutionServiceOptions< * @template Service - The type of the execution service. */ export type InstallSnapOptions< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, -> = ExecutionServiceOptions extends Record - ? { - executionService: Service; - executionServiceOptions?: ExecutionServiceOptions; - options?: SimulationUserOptions; - } - : { - executionService: Service; - executionServiceOptions: ExecutionServiceOptions; - options?: SimulationUserOptions; - }; + Service extends new ( + ...args: any[] + ) => InstanceType>, +> = + ExecutionServiceOptions extends Record + ? { + executionService: Service; + executionServiceOptions?: ExecutionServiceOptions; + options?: SimulationUserOptions; + } + : { + executionService: Service; + executionServiceOptions: ExecutionServiceOptions; + options?: SimulationUserOptions; + }; export type InstalledSnap = { snapId: SnapId; @@ -253,9 +254,9 @@ export type PermittedMiddlewareHooks = { * @template Service - The type of the execution service. */ export async function installSnap< - Service extends new (...args: any[]) => InstanceType< - typeof AbstractExecutionService - >, + Service extends new ( + ...args: any[] + ) => InstanceType, >( snapId: SnapId, { diff --git a/packages/snaps-simulator/.depcheckrc.json b/packages/snaps-simulator/.depcheckrc.json index a00f357582..58c700965b 100644 --- a/packages/snaps-simulator/.depcheckrc.json +++ b/packages/snaps-simulator/.depcheckrc.json @@ -12,6 +12,7 @@ "css-loader", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "process", diff --git a/packages/snaps-simulator/jest.config.js b/packages/snaps-simulator/jest.config.js index f8048f5e64..2ae412b762 100644 --- a/packages/snaps-simulator/jest.config.js +++ b/packages/snaps-simulator/jest.config.js @@ -8,9 +8,9 @@ module.exports = deepmerge(baseConfig, { coverageThreshold: { global: { branches: 54.33, - functions: 60.59, - lines: 80.49, - statements: 80.83, + functions: 60.43, + lines: 80.38, + statements: 80.73, }, }, setupFiles: ['./jest.setup.js'], diff --git a/packages/snaps-simulator/package.json b/packages/snaps-simulator/package.json index b949d49203..d3a0c7be3e 100644 --- a/packages/snaps-simulator/package.json +++ b/packages/snaps-simulator/package.json @@ -30,7 +30,7 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:constraints --fix && yarn lint:misc --write && yarn changelog:validate", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "webpack serve --config-name main --mode development", "start:e2e": "webpack serve --config-name test --mode development", @@ -81,7 +81,7 @@ "redux-saga": "^1.2.3" }, "devDependencies": { - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-browser": "^11.1.0", "@metamask/eslint-config-jest": "^12.1.0", @@ -110,12 +110,12 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", @@ -129,7 +129,7 @@ "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", "monaco-editor-webpack-plugin": "^7.0.1", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "process": "^0.11.10", "react-refresh": "^0.14.0", diff --git a/packages/snaps-simulator/src/contexts/SnapInterface.tsx b/packages/snaps-simulator/src/contexts/SnapInterface.tsx index da21d7dbed..40ed51dd39 100644 --- a/packages/snaps-simulator/src/contexts/SnapInterface.tsx +++ b/packages/snaps-simulator/src/contexts/SnapInterface.tsx @@ -143,7 +143,7 @@ export const SnapInterfaceContextProvider: FunctionComponent< const handleEvent: HandleEvent = ({ event, name, - value = name ? (state as FormState)[name] ?? undefined : undefined, + value = name ? ((state as FormState)[name] ?? undefined) : undefined, }) => { const fn = THROTTLED_EVENTS.includes(event) ? snapRequestThrottled diff --git a/packages/snaps-simulator/src/features/builder/Builder.tsx b/packages/snaps-simulator/src/features/builder/Builder.tsx index bc7d2e33c2..71084ef936 100644 --- a/packages/snaps-simulator/src/features/builder/Builder.tsx +++ b/packages/snaps-simulator/src/features/builder/Builder.tsx @@ -8,9 +8,10 @@ import { Tabs, } from '@chakra-ui/react'; import { Box, type JSXElement } from '@metamask/snaps-sdk/jsx'; +import { logError } from '@metamask/snaps-utils'; import type { NodeModel } from '@minoru/react-dnd-treeview'; import type { FunctionComponent } from 'react'; -import { useState } from 'react'; +import { useEffect, useState } from 'react'; import { Editor } from '../../components'; import { TemplateComponentList, NodeTree, NodeRenderer } from './components'; @@ -28,6 +29,12 @@ export const Builder: FunctionComponent = () => { }, ]); + const [code, setCode] = useState(''); + + useEffect(() => { + boxToCode(nodeModelsToComponent(items)).then(setCode).catch(logError); + }, [items]); + const incrementId = () => { setId((state) => state + 1); }; @@ -103,7 +110,7 @@ export const Builder: FunctionComponent = () => { > { }); describe('boxToCode', () => { - it('creates code from a component', () => { + it('creates code from a component', async () => { const component = Box({ children: [ Text({ children: 'foo' }), @@ -207,7 +207,7 @@ describe('boxToCode', () => { ], }); - const code = boxToCode(component); + const code = await boxToCode(component); expect(code).toMatchInlineSnapshot(` "import { Box, Text } from '@metamask/snaps-sdk/jsx'; @@ -224,7 +224,7 @@ describe('boxToCode', () => { `); }); - it('creates code from a component with a form', () => { + it('creates code from a component with a form', async () => { const component = Box({ children: [ Text({ children: 'foo' }), @@ -242,7 +242,7 @@ describe('boxToCode', () => { ], }); - const code = boxToCode(component); + const code = await boxToCode(component); expect(code).toMatchInlineSnapshot(` "import { Box, Button, Field, Form, Input, Text } from '@metamask/snaps-sdk/jsx'; diff --git a/packages/snaps-simulator/src/features/builder/utils.ts b/packages/snaps-simulator/src/features/builder/utils.ts index a27d11a1e0..3e8c258a09 100644 --- a/packages/snaps-simulator/src/features/builder/utils.ts +++ b/packages/snaps-simulator/src/features/builder/utils.ts @@ -16,8 +16,9 @@ import { import { is } from '@metamask/superstruct'; import { assert, hasProperty } from '@metamask/utils'; import type { NodeModel } from '@minoru/react-dnd-treeview'; -import typescript from 'prettier/parser-typescript'; -import prettier from 'prettier/standalone'; +import * as estree from 'prettier/plugins/estree'; +import * as typescript from 'prettier/plugins/typescript'; +import { format } from 'prettier/standalone'; /** * Get the text of a node model. @@ -184,10 +185,10 @@ function getComponentTypes(component: JSXElement): string[] { * @param component - The root panel. * @returns The code. */ -export function boxToCode(component: BoxElement): string { +export async function boxToCode(component: BoxElement): Promise { const types = getComponentTypes(component).join(', '); - return prettier.format( + return await format( ` import { ${types} } from '@metamask/snaps-sdk/jsx'; @@ -195,7 +196,7 @@ export function boxToCode(component: BoxElement): string { `, { parser: 'typescript', - plugins: [typescript], + plugins: [estree, typescript], printWidth: 80, tabWidth: 2, singleQuote: true, diff --git a/packages/snaps-simulator/src/features/simulation/sagas.ts b/packages/snaps-simulator/src/features/simulation/sagas.ts index 24d84dee85..37af61ee81 100644 --- a/packages/snaps-simulator/src/features/simulation/sagas.ts +++ b/packages/snaps-simulator/src/features/simulation/sagas.ts @@ -277,9 +277,8 @@ export function* initSaga({ payload }: PayloadAction) { */ export function* rebootSaga({ payload }: PayloadAction>) { const snapId: string = yield select(getSnapId); - const executionService: IframeExecutionService = yield select( - getExecutionService, - ); + const executionService: IframeExecutionService = + yield select(getExecutionService); const permissionController: GenericPermissionController = yield select( getPermissionController, ); @@ -317,9 +316,8 @@ export function* requestSaga({ payload }: PayloadAction) { yield put({ type: `${payload.handler}/setRequest`, payload }); const snapId: string = yield select(getSnapId); - const executionService: IframeExecutionService = yield select( - getExecutionService, - ); + const executionService: IframeExecutionService = + yield select(getExecutionService); try { const result: unknown = yield call( diff --git a/packages/snaps-simulator/src/features/status/StatusIndicator.tsx b/packages/snaps-simulator/src/features/status/StatusIndicator.tsx index a9d3ff4e45..283e7457c0 100644 --- a/packages/snaps-simulator/src/features/status/StatusIndicator.tsx +++ b/packages/snaps-simulator/src/features/status/StatusIndicator.tsx @@ -40,8 +40,8 @@ export const StatusIndicator = () => { status === SnapStatus.Ok ? 'text.success' : status === SnapStatus.Error - ? 'text.error' - : 'info.default'; + ? 'text.error' + : 'info.default'; const handleClick = () => { dispatch(openConfigurationModal()); diff --git a/packages/snaps-simulator/src/index.html b/packages/snaps-simulator/src/index.html index f6f3eac1c6..c61cf9db37 100644 --- a/packages/snaps-simulator/src/index.html +++ b/packages/snaps-simulator/src/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/snaps-utils/.depcheckrc.json b/packages/snaps-utils/.depcheckrc.json index f8028874ce..df3d46b312 100644 --- a/packages/snaps-utils/.depcheckrc.json +++ b/packages/snaps-utils/.depcheckrc.json @@ -10,6 +10,7 @@ "@wdio/*", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "expect-webdriverio", "prettier-plugin-packagejson", diff --git a/packages/snaps-utils/package.json b/packages/snaps-utils/package.json index 57716fc698..96d1720afc 100644 --- a/packages/snaps-utils/package.json +++ b/packages/snaps-utils/package.json @@ -66,15 +66,15 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter && yarn test:browser", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter && yarn test:browser", "test:browser": "wdio run wdio.config.js", - "test:clean": "jest --clearCache", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "ts-node scripts/coverage.ts && rimraf coverage/jest coverage/wdio", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@babel/core": "^7.23.2", @@ -105,7 +105,7 @@ "@esbuild-plugins/node-globals-polyfill": "^0.2.3", "@esbuild-plugins/node-modules-polyfill": "^0.2.2", "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -132,12 +132,12 @@ "depcheck": "^1.4.7", "esbuild": "^0.18.10", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "expect-webdriverio": "^4.4.1", "istanbul-lib-coverage": "^3.2.0", @@ -146,7 +146,7 @@ "jest": "^29.0.2", "jest-silent-reporter": "^0.6.0", "memfs": "^3.4.13", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "prettier-plugin-packagejson": "^2.5.2", "rimraf": "^4.1.2", "ts-node": "^10.9.1", diff --git a/packages/snaps-webpack-plugin/.depcheckrc.json b/packages/snaps-webpack-plugin/.depcheckrc.json index c437c59cd2..5b10b62a78 100644 --- a/packages/snaps-webpack-plugin/.depcheckrc.json +++ b/packages/snaps-webpack-plugin/.depcheckrc.json @@ -9,6 +9,8 @@ "@typescript-eslint/*", "eslint-config-*", "eslint-plugin-*", + "jest", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "ts-node", diff --git a/packages/snaps-webpack-plugin/package.json b/packages/snaps-webpack-plugin/package.json index e53223e20c..0eedd63f95 100644 --- a/packages/snaps-webpack-plugin/package.json +++ b/packages/snaps-webpack-plugin/package.json @@ -47,25 +47,25 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "publish:preview": "yarn npm publish --tag preview", "since-latest-release": "../../scripts/since-latest-release.sh", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/snaps-sdk": "workspace:^", "@metamask/snaps-utils": "workspace:^", "@metamask/utils": "^11.0.1", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "webpack-sources": "^3.2.3" }, "devDependencies": { "@lavamoat/allow-scripts": "^3.0.4", - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -80,12 +80,12 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "jest": "^29.0.2", "jest-it-up": "^2.0.0", diff --git a/packages/snaps-webpack-plugin/src/manifest.ts b/packages/snaps-webpack-plugin/src/manifest.ts index 041828404b..da1694bb3f 100644 --- a/packages/snaps-webpack-plugin/src/manifest.ts +++ b/packages/snaps-webpack-plugin/src/manifest.ts @@ -1,6 +1,9 @@ import type { WriteFileFunction } from '@metamask/snaps-utils/node'; import { promises as fs } from 'fs'; -import { format, resolveConfig } from 'prettier'; +import { resolveConfig } from 'prettier'; +import * as babel from 'prettier/plugins/babel'; +import * as estree from 'prettier/plugins/estree'; +import { format } from 'prettier/standalone'; /** * Format the manifest data with Prettier and write it to disk. @@ -22,10 +25,11 @@ export async function writeManifest( editorconfig: true, }); - const formattedManifest = format(data, { + const formattedManifest = await format(data, { ...config, parser: 'json', filepath: path, + plugins: [babel, estree], }); await writeFileFn(path, formattedManifest); diff --git a/packages/test-snaps/.depcheckrc.json b/packages/test-snaps/.depcheckrc.json index 841acc3cfc..97c3f34709 100644 --- a/packages/test-snaps/.depcheckrc.json +++ b/packages/test-snaps/.depcheckrc.json @@ -11,6 +11,7 @@ "css-loader", "eslint-config-*", "eslint-plugin-*", + "jest", "jest-silent-reporter", "prettier-plugin-packagejson", "process", diff --git a/packages/test-snaps/package.json b/packages/test-snaps/package.json index bdc74e8e3e..8bcb9d9fdc 100644 --- a/packages/test-snaps/package.json +++ b/packages/test-snaps/package.json @@ -30,15 +30,15 @@ "lint:dependencies": "depcheck", "lint:eslint": "eslint . --cache --ext js,ts,jsx,tsx", "lint:fix": "yarn lint:eslint --fix && yarn lint:misc --write", - "lint:misc": "prettier --no-error-on-unmatched-pattern --loglevel warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", + "lint:misc": "prettier --no-error-on-unmatched-pattern --log-level warn \"**/*.json\" \"**/*.md\" \"**/*.html\" \"!CHANGELOG.md\" --ignore-path ../../.gitignore", "since-latest-release": "../../scripts/since-latest-release.sh", "start": "yarn workspaces foreach --parallel --verbose --interlaced --all --include \"@metamask/test-snaps\" --include \"@metamask/example-snaps\" run start:test", "start:test": "cross-env NODE_ENV=development webpack serve", - "test": "jest --reporters=jest-silent-reporter", - "test:clean": "jest --clearCache", + "test": "node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter", + "test:clean": "node --experimental-vm-modules $(yarn bin jest) --clearCache", "test:post": "jest-it-up", - "test:verbose": "jest --verbose", - "test:watch": "jest --watch" + "test:verbose": "node --experimental-vm-modules $(yarn bin jest) --verbose", + "test:watch": "node --experimental-vm-modules $(yarn bin jest) --watch" }, "dependencies": { "@metamask/bip32-example-snap": "workspace:^", @@ -79,7 +79,7 @@ "react-redux": "^8.0.5" }, "devDependencies": { - "@metamask/auto-changelog": "^3.4.4", + "@metamask/auto-changelog": "^4.0.0", "@metamask/eslint-config": "^12.1.0", "@metamask/eslint-config-jest": "^12.1.0", "@metamask/eslint-config-nodejs": "^12.1.0", @@ -99,12 +99,12 @@ "deepmerge": "^4.2.2", "depcheck": "^1.4.7", "eslint": "^8.27.0", - "eslint-config-prettier": "^8.5.0", + "eslint-config-prettier": "^9.1.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-jest": "^27.1.5", "eslint-plugin-jsdoc": "^41.1.2", "eslint-plugin-n": "^15.7.0", - "eslint-plugin-prettier": "^4.2.1", + "eslint-plugin-prettier": "^5.2.1", "eslint-plugin-promise": "^6.1.1", "favicons": "^7.1.2", "favicons-webpack-plugin": "^6.0.0", @@ -112,7 +112,7 @@ "jest": "^29.0.2", "jest-it-up": "^2.0.0", "jest-silent-reporter": "^0.6.0", - "prettier": "^2.8.8", + "prettier": "^3.4.2", "style-loader": "^3.3.2", "swc-loader": "^0.2.3", "terser-webpack-plugin": "^5.3.9", diff --git a/packages/test-snaps/src/index.html b/packages/test-snaps/src/index.html index 6ba4dff6f9..6f52e42b68 100644 --- a/packages/test-snaps/src/index.html +++ b/packages/test-snaps/src/index.html @@ -1,4 +1,4 @@ - + diff --git a/yarn.config.cjs b/yarn.config.cjs index b664ba13f6..92553e4fb1 100644 --- a/yarn.config.cjs +++ b/yarn.config.cjs @@ -165,19 +165,22 @@ module.exports = defineConfig({ getRelativePath(workspace, 'scripts', 'since-latest-release.sh'), ); - if (workspace.cwd !== 'packages/examples') { + if ( + workspace.cwd !== 'packages/examples' && + workspace.cwd !== 'packages/snaps-simulator' + ) { // All non-root packages must have the same "test" script. if (workspace.manifest.scripts['test:browser']) { expectWorkspaceField( workspace, 'scripts.test', - 'jest --reporters=jest-silent-reporter && yarn test:browser', + 'node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter && yarn test:browser', ); } else { expectWorkspaceField( workspace, 'scripts.test', - 'jest --reporters=jest-silent-reporter', + 'node --experimental-vm-modules $(yarn bin jest) --reporters=jest-silent-reporter', ); } @@ -185,18 +188,22 @@ module.exports = defineConfig({ expectWorkspaceField( workspace, 'scripts.test:clean', - 'jest --clearCache', + 'node --experimental-vm-modules $(yarn bin jest) --clearCache', ); // All non-root packages must have the same "test:verbose" script. expectWorkspaceField( workspace, 'scripts.test:verbose', - 'jest --verbose', + 'node --experimental-vm-modules $(yarn bin jest) --verbose', ); // All non-root packages must have the same "test:watch" script. - expectWorkspaceField(workspace, 'scripts.test:watch', 'jest --watch'); + expectWorkspaceField( + workspace, + 'scripts.test:watch', + 'node --experimental-vm-modules $(yarn bin jest) --watch', + ); } } diff --git a/yarn.lock b/yarn.lock index 9207cf36cb..6ecd83a021 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3876,18 +3876,19 @@ __metadata: languageName: node linkType: hard -"@metamask/auto-changelog@npm:^3.4.4": - version: 3.4.4 - resolution: "@metamask/auto-changelog@npm:3.4.4" +"@metamask/auto-changelog@npm:^4.0.0": + version: 4.0.0 + resolution: "@metamask/auto-changelog@npm:4.0.0" dependencies: diff: "npm:^5.0.0" execa: "npm:^5.1.1" - prettier: "npm:^2.8.8" semver: "npm:^7.3.5" yargs: "npm:^17.0.1" + peerDependencies: + prettier: ">=3.0.0" bin: auto-changelog: dist/cli.js - checksum: 10/70e98529a153ebeab10410dbc3f567014999f77ed82f2b52f1b36501b28a4e3614c809a90c89600a739d7710595bfecc30e2260410e6afac7539f8db65a48f2c + checksum: 10/4968d316411e5f4820092391f79078839f49e0e26ecd0c48266b5a1e0e32614b75dad5f36b76e632a7a22a2f2eeeb762a693ae390b0373bff29081ff2a7eefda languageName: node linkType: hard @@ -3922,7 +3923,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -3941,16 +3942,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -3963,7 +3964,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -3981,16 +3982,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4013,7 +4014,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4028,16 +4029,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4051,7 +4052,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4068,16 +4069,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4090,7 +4091,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4105,16 +4106,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4128,7 +4129,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4146,16 +4147,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4188,7 +4189,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4208,16 +4209,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4251,7 +4252,7 @@ __metadata: resolution: "@metamask/create-snap@workspace:packages/create-snap" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4268,18 +4269,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" semver: "npm:^7.5.4" ts-node: "npm:^10.9.1" @@ -4297,7 +4298,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4312,16 +4313,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4335,7 +4336,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4350,16 +4351,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4372,7 +4373,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4387,16 +4388,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4538,7 +4539,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4554,16 +4555,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4576,7 +4577,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4591,17 +4592,17 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" ethers: "npm:^6.3.0" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4626,7 +4627,7 @@ __metadata: resolution: "@metamask/example-snaps@workspace:packages/examples" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4635,15 +4636,15 @@ __metadata: "@typescript-eslint/parser": "npm:^6.21.0" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4656,7 +4657,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4672,16 +4673,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4695,7 +4696,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4712,16 +4713,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4734,7 +4735,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4749,16 +4750,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4771,7 +4772,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4786,16 +4787,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4808,7 +4809,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4823,16 +4824,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4846,7 +4847,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4862,16 +4863,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4884,7 +4885,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4900,16 +4901,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" ts-node: "npm:^10.9.1" @@ -4922,7 +4923,7 @@ __metadata: resolution: "@metamask/invoke-snap-example-snap@workspace:packages/examples/packages/invoke-snap" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4931,15 +4932,15 @@ __metadata: "@typescript-eslint/parser": "npm:^6.21.0" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -4963,7 +4964,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -4978,16 +4979,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5012,7 +5013,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5029,16 +5030,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5064,7 +5065,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5079,16 +5080,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5101,7 +5102,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5116,16 +5117,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5138,7 +5139,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5154,16 +5155,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5176,7 +5177,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5191,16 +5192,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5213,7 +5214,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5230,16 +5231,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5252,7 +5253,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5267,16 +5268,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5353,7 +5354,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5370,16 +5371,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" tsx: "npm:^4.19.1" @@ -5418,7 +5419,7 @@ __metadata: "@babel/preset-typescript": "npm:^7.23.2" "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5437,16 +5438,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rollup: "npm:^2.73.0" ts-node: "npm:^10.9.1" @@ -5487,7 +5488,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5503,16 +5504,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5525,7 +5526,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5540,16 +5541,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -5568,7 +5569,7 @@ __metadata: resolution: "@metamask/snaps-browserify-plugin@workspace:packages/snaps-browserify-plugin" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5588,18 +5589,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" typescript: "npm:~5.3.3" @@ -5619,7 +5620,7 @@ __metadata: "@babel/preset-env": "npm:^7.23.2" "@babel/preset-typescript": "npm:^7.23.2" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5653,12 +5654,12 @@ __metadata: depcheck: "npm:^1.4.7" domain-browser: "npm:^4.22.0" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" events: "npm:^3.3.0" execa: "npm:^5.1.1" @@ -5671,7 +5672,7 @@ __metadata: ora: "npm:^5.4.1" os-browserify: "npm:^0.3.0" path-browserify: "npm:^1.0.1" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" process: "npm:^0.11.10" punycode: "npm:^2.3.0" @@ -5709,7 +5710,7 @@ __metadata: "@esbuild-plugins/node-modules-polyfill": "npm:^0.2.2" "@lavamoat/allow-scripts": "npm:^3.0.4" "@metamask/approval-controller": "npm:^7.1.2" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/base-controller": "npm:^7.0.3" "@metamask/browser-passworder": "npm:^6.0.0" "@metamask/eslint-config": "npm:^12.1.0" @@ -5759,12 +5760,12 @@ __metadata: depcheck: "npm:^1.4.7" esbuild: "npm:^0.18.10" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" expect-webdriverio: "npm:^4.4.1" fast-deep-equal: "npm:^3.1.3" @@ -5779,7 +5780,7 @@ __metadata: luxon: "npm:^3.5.0" mkdirp: "npm:^1.0.4" nanoid: "npm:^3.1.31" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" readable-web-to-node-stream: "npm:^3.0.2" @@ -5813,7 +5814,7 @@ __metadata: "@lavamoat/allow-scripts": "npm:^3.0.4" "@lavamoat/lavapack": "npm:^6.1.1" "@lavamoat/lavatube": "npm:^1.0.0" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5848,12 +5849,12 @@ __metadata: depcheck: "npm:^1.4.7" esbuild: "npm:^0.18.10" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" expect-webdriverio: "npm:^4.4.1" istanbul-lib-coverage: "npm:^3.2.0" @@ -5866,7 +5867,7 @@ __metadata: lavamoat: "npm:^8.0.4" lavamoat-browserify: "npm:^17.0.5" nanoid: "npm:^3.1.31" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" rimraf: "npm:^4.1.2" @@ -5893,7 +5894,7 @@ __metadata: "@jest/globals": "npm:^29.5.0" "@jest/types": "npm:^29.6.3" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5914,12 +5915,12 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" express: "npm:^4.18.2" jest: "npm:^29.0.2" @@ -5927,7 +5928,7 @@ __metadata: jest-it-up: "npm:^2.0.0" jest-matcher-utils: "npm:^29.5.0" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" redux: "npm:^4.2.1" typescript: "npm:~5.3.3" @@ -5951,7 +5952,7 @@ __metadata: resolution: "@metamask/snaps-rollup-plugin@workspace:packages/snaps-rollup-plugin" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -5967,18 +5968,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rollup: "npm:^2.73.0" typescript: "npm:~5.3.3" @@ -5990,7 +5991,7 @@ __metadata: resolution: "@metamask/snaps-rpc-methods@workspace:packages/snaps-rpc-methods" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6014,18 +6015,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" luxon: "npm:^3.5.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" typescript: "npm:~5.3.3" languageName: unknown @@ -6036,7 +6037,7 @@ __metadata: resolution: "@metamask/snaps-sdk@workspace:packages/snaps-sdk" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6053,19 +6054,19 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" expect-type: "npm:^0.17.3" jest: "npm:^29.0.2" jest-fetch-mock: "npm:^3.0.3" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-jest: "npm:^29.1.1" typescript: "npm:~5.3.3" @@ -6077,7 +6078,7 @@ __metadata: resolution: "@metamask/snaps-simulation@workspace:packages/snaps-simulation" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/base-controller": "npm:^7.0.3" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" @@ -6107,12 +6108,12 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" express: "npm:^4.18.2" fast-deep-equal: "npm:^3.1.3" @@ -6120,7 +6121,7 @@ __metadata: jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" mime: "npm:^3.0.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" readable-stream: "npm:^3.6.2" redux-saga: "npm:^1.2.3" @@ -6138,7 +6139,7 @@ __metadata: "@emotion/react": "npm:^11.10.8" "@emotion/styled": "npm:^11.10.8" "@ethersproject/units": "npm:^5.7.0" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/base-controller": "npm:^7.0.3" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-browser": "npm:^11.1.0" @@ -6184,12 +6185,12 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" eslint-plugin-react: "npm:^7.32.2" eslint-plugin-react-hooks: "npm:^4.6.0" @@ -6210,7 +6211,7 @@ __metadata: lodash.throttle: "npm:^4.1.1" monaco-editor: "npm:^0.38.0" monaco-editor-webpack-plugin: "npm:^7.0.1" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" process: "npm:^0.11.10" react: "npm:^18.2.0" @@ -6248,7 +6249,7 @@ __metadata: "@esbuild-plugins/node-globals-polyfill": "npm:^0.2.3" "@esbuild-plugins/node-modules-polyfill": "npm:^0.2.2" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/base-controller": "npm:^7.0.3" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" @@ -6288,12 +6289,12 @@ __metadata: depcheck: "npm:^1.4.7" esbuild: "npm:^0.18.10" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" expect-webdriverio: "npm:^4.4.1" fast-deep-equal: "npm:^3.1.3" @@ -6306,7 +6307,7 @@ __metadata: jest-silent-reporter: "npm:^0.6.0" marked: "npm:^12.0.1" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rfdc: "npm:^1.3.0" rimraf: "npm:^4.1.2" @@ -6328,7 +6329,7 @@ __metadata: resolution: "@metamask/snaps-webpack-plugin@workspace:packages/snaps-webpack-plugin" dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6346,18 +6347,18 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" memfs: "npm:^3.4.13" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" typescript: "npm:~5.3.3" webpack: "npm:^5.88.0" @@ -6383,7 +6384,7 @@ __metadata: version: 0.0.0-use.local resolution: "@metamask/test-snaps@workspace:packages/test-snaps" dependencies: - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/bip32-example-snap": "workspace:^" "@metamask/bip44-example-snap": "workspace:^" "@metamask/client-status-example-snap": "workspace:^" @@ -6435,12 +6436,12 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" favicons: "npm:^7.1.2" favicons-webpack-plugin: "npm:^6.0.0" @@ -6448,7 +6449,7 @@ __metadata: jest: "npm:^29.0.2" jest-it-up: "npm:^2.0.0" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" react: "npm:^18.2.0" react-bootstrap: "npm:^2.5.0" react-dom: "npm:^18.2.0" @@ -6505,7 +6506,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6521,16 +6522,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" ts-node: "npm:^10.9.1" typescript: "npm:~5.3.3" @@ -6543,7 +6544,7 @@ __metadata: dependencies: "@jest/globals": "npm:^29.5.0" "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" "@metamask/eslint-config-nodejs": "npm:^12.1.0" @@ -6559,16 +6560,16 @@ __metadata: deepmerge: "npm:^4.2.2" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" jest: "npm:^29.0.2" jest-silent-reporter: "npm:^0.6.0" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" swc-loader: "npm:^0.2.3" terser-webpack-plugin: "npm:^5.3.9" @@ -12899,14 +12900,14 @@ __metadata: languageName: node linkType: hard -"eslint-config-prettier@npm:^8.5.0": - version: 8.5.0 - resolution: "eslint-config-prettier@npm:8.5.0" +"eslint-config-prettier@npm:^9.1.0": + version: 9.1.0 + resolution: "eslint-config-prettier@npm:9.1.0" peerDependencies: eslint: ">=7.0.0" bin: eslint-config-prettier: bin/cli.js - checksum: 10/cafd93fb39997969e9e79b3e0b3466d0b8570273d15423986597b8422b7363d4a80f009aec1d1443fa2329972dafde79031b1649590cc35069b0a68d31098e7b + checksum: 10/411e3b3b1c7aa04e3e0f20d561271b3b909014956c4dba51c878bf1a23dbb8c800a3be235c46c4732c70827276e540b6eed4636d9b09b444fd0a8e07f0fcd830 languageName: node linkType: hard @@ -13020,18 +13021,23 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:^4.2.1": - version: 4.2.1 - resolution: "eslint-plugin-prettier@npm:4.2.1" +"eslint-plugin-prettier@npm:^5.2.1": + version: 5.2.1 + resolution: "eslint-plugin-prettier@npm:5.2.1" dependencies: prettier-linter-helpers: "npm:^1.0.0" + synckit: "npm:^0.9.1" peerDependencies: - eslint: ">=7.28.0" - prettier: ">=2.0.0" + "@types/eslint": ">=8.0.0" + eslint: ">=8.0.0" + eslint-config-prettier: "*" + prettier: ">=3.0.0" peerDependenciesMeta: + "@types/eslint": + optional: true eslint-config-prettier: optional: true - checksum: 10/d387f85dd1bfcb6bc6b794845fee6afb9ebb2375653de6bcde6e615892fb97f85121a7c012a4651b181fc09953bdf54c9bc70cab7ad297019d89ae87dd007e28 + checksum: 10/10ddf68215237e327af09a47adab4c63f3885fda4fb28c4c42d1fc5f47d8a0cc45df6484799360ff1417a0aa3c77c3aaac49d7e9dfd145557b17e2d7ecc2a27c languageName: node linkType: hard @@ -19179,6 +19185,15 @@ __metadata: languageName: node linkType: hard +"prettier@npm:^3.4.2": + version: 3.4.2 + resolution: "prettier@npm:3.4.2" + bin: + prettier: bin/prettier.cjs + checksum: 10/a3e806fb0b635818964d472d35d27e21a4e17150c679047f5501e1f23bd4aa806adf660f0c0d35214a210d5d440da6896c2e86156da55f221a57938278dc326e + languageName: node + linkType: hard + "pretty-error@npm:^4.0.0": version: 4.0.0 resolution: "pretty-error@npm:4.0.0" @@ -20476,7 +20491,7 @@ __metadata: resolution: "root@workspace:." dependencies: "@lavamoat/allow-scripts": "npm:^3.0.4" - "@metamask/auto-changelog": "npm:^3.4.4" + "@metamask/auto-changelog": "npm:^4.0.0" "@metamask/create-release-branch": "npm:^3.0.1" "@metamask/eslint-config": "npm:^12.1.0" "@metamask/eslint-config-jest": "npm:^12.1.0" @@ -20494,12 +20509,12 @@ __metadata: chromedriver: "npm:^131.0.5" depcheck: "npm:^1.4.7" eslint: "npm:^8.27.0" - eslint-config-prettier: "npm:^8.5.0" + eslint-config-prettier: "npm:^9.1.0" eslint-plugin-import: "npm:^2.26.0" eslint-plugin-jest: "npm:^27.1.5" eslint-plugin-jsdoc: "npm:^41.1.2" eslint-plugin-n: "npm:^15.7.0" - eslint-plugin-prettier: "npm:^4.2.1" + eslint-plugin-prettier: "npm:^5.2.1" eslint-plugin-promise: "npm:^6.1.1" execa: "npm:^5.1.1" favicons: "npm:^7.1.2" @@ -20509,7 +20524,7 @@ __metadata: lint-staged: "npm:^12.4.1" lodash: "npm:^4.17.21" minimatch: "npm:^7.4.1" - prettier: "npm:^2.8.8" + prettier: "npm:^3.4.2" prettier-plugin-packagejson: "npm:^2.5.2" rimraf: "npm:^4.1.2" semver: "npm:^7.5.4" @@ -21706,6 +21721,16 @@ __metadata: languageName: node linkType: hard +"synckit@npm:^0.9.1": + version: 0.9.2 + resolution: "synckit@npm:0.9.2" + dependencies: + "@pkgr/core": "npm:^0.1.0" + tslib: "npm:^2.6.2" + checksum: 10/d45c4288be9c0232343650643892a7edafb79152c0c08d7ae5d33ca2c296b67a0e15f8cb5c9153969612c4ea5cd5686297542384aab977db23cfa6653fe02027 + languageName: node + linkType: hard + "syntax-error@npm:^1.1.1": version: 1.4.0 resolution: "syntax-error@npm:1.4.0"