@metamask-previews/utils 12.0.0-preview-51ecba2 → 12.0.0-preview-64d459746

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1) hide show
  1. package/package.json +6 -21
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@metamask-previews/utils",
3
- "version": "12.0.0-preview-51ecba2",
3
+ "version": "12.0.0-preview-64d459746",
4
4
  "description": "Various JavaScript/TypeScript utilities of wide relevance to the MetaMask codebase",
5
5
  "keywords": [
6
6
  "Ethereum",
@@ -47,14 +47,10 @@
47
47
  "lint:tsconfigs": "node --import ../../scripts/resolver/register.ts --experimental-transform-types ../../scripts/lint-tsconfigs/lint-tsconfigs.ts",
48
48
  "lint:tsconfigs:fix": "node --import ../../scripts/resolver/register.ts --experimental-transform-types ../../scripts/lint-tsconfigs/lint-tsconfigs.ts --fix",
49
49
  "since-latest-release": "../../scripts/since-latest-release.sh",
50
- "test": "yarn test:unit && yarn test:types",
51
- "test:clean": "yarn test:unit:clean && yarn test:types",
52
- "test:types": "tstyche",
53
- "test:unit": "NODE_OPTIONS=--experimental-vm-modules jest --reporters=jest-silent-reporter",
54
- "test:unit:clean": "NODE_OPTIONS=--experimental-vm-modules jest --clearCache",
55
- "test:unit:verbose": "NODE_OPTIONS=--experimental-vm-modules jest --verbose",
56
- "test:verbose": "yarn test:unit:verbose && yarn test:types",
57
- "test:watch": "NODE_OPTIONS=--experimental-vm-modules jest --watch"
50
+ "test": "vitest",
51
+ "test:clean": "vitest --clearCache",
52
+ "test:verbose": "vitest --reporter=verbose",
53
+ "test:watch": "vitest --watch"
58
54
  },
59
55
  "dependencies": {
60
56
  "@ethereumjs/tx": "^5.4.0",
@@ -74,26 +70,15 @@
74
70
  "@metamask/auto-changelog": "^6.2.1",
75
71
  "@types/jest": "^30.0.0",
76
72
  "@typescript/native": "npm:typescript@^7.0.2",
77
- "deepmerge": "^4.3.1",
78
- "jest": "^30.5.2",
79
- "jest-when": "^4.0.3",
80
73
  "rimraf": "^6.1.3",
81
74
  "stdio-mock": "^1.2.0",
82
- "ts-jest": "^29.4.14",
83
- "tstyche": "^7.2.5",
84
75
  "typedoc": "^0.28.20",
85
76
  "typedoc-plugin-missing-exports": "^4.1.4",
86
77
  "typescript": "npm:@typescript/typescript6@^6.0.2",
78
+ "vitest": "^5.0.0",
87
79
  "web3": "^4.16.0"
88
80
  },
89
81
  "engines": {
90
82
  "node": "^22.14.0 || ^24"
91
- },
92
- "lavamoat": {
93
- "allowScripts": {
94
- "@lavamoat/preinstall-always-fail": false,
95
- "eslint-plugin-import-x>unrs-resolver": false,
96
- "jest>@jest/core>jest-haste-map>@parcel/watcher": false
97
- }
98
83
  }
99
84
  }