Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"@metamask/eslint-config-jest": "^14.0.0",
"@metamask/eslint-config-nodejs": "^14.0.0",
"@metamask/eslint-config-typescript": "^14.0.0",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@swc/core": "1.11.31",
"@ts-bridge/cli": "^0.6.1",
"@types/jest": "^27.5.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/bip32/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@metamask/key-tree": "^10.1.1",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@noble/ed25519": "^1.6.0",
"@noble/secp256k1": "^1.7.1"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/bip32/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "TTnQZgZJpzYVWytLlk7KiEdijmx0ok01vU5yOjyZbLo=",
"shasum": "WdvL17PHZnUfsITq9vIfixkF7Yr5PUVn/ZkD9/z07PI=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/bip44/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@metamask/key-tree": "^10.1.1",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@noble/bls12-381": "^1.2.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/bip44/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "SwK1PASM3Lz6WPWcHsdF1AMkyQ/APV4WJFx+pb7n4vI=",
"shasum": "qb2edYztD/KxNxPeAliEeIobE2pY73BPjPwgo8Tb/7Q=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/cronjobs/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "ihi/cq8tSGubVAgKCF2rcOvpJON1atazPW+ZV6eudbg=",
"shasum": "MN6H8GSR1/kwAI/ZJXG2U4BcSwp4DyHao70RZOIC73I=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/dialogs/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "82E3HmfZ0HAvYMcHRPIrgUAAYgm2L4qQHJwMeORPLQY=",
"shasum": "2SnF6CdB0srExlMQdYuBEO0zOSCu9W3NzHEoOX0Uqbc=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2"
"@metamask/utils": "^11.5.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "rnE5nn0SWwL1YXWtnPL04gdJUHnNQq5+Zb5jXFPZ9m0=",
"shasum": "AC904yOikNkoyqlo/6RGOQvZWQVMAXS83XsAJ6T57t8=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/ethers-js/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "DzaD7wdJf/RvaECeMzlfleKl0j3EfzWceIOQSwzdLxo=",
"shasum": "ZoQ0Yrap8zorOvaU2lEmE5A0oGQyQTX1HkqfCU9GLY0=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/file-upload/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2"
"@metamask/utils": "^11.5.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/get-entropy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@noble/bls12-381": "^1.2.0"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "42+U92LeZBoTI2doKGasnwuzyCGQbs+qn9SoXhGzxSY=",
"shasum": "QMPOaxrGs7ALsxA7wWV/s4BxveVdBPLZaSSX5FG+lNo=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/images/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "l+7n8bh1NI/+gK1LdZn7ium6BaZcZ2Sh82RkOUEhNKk=",
"shasum": "D+YDhAdnyu9sLAC67CkbClYZZqdB2yhuVxhavPv9U6c=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/interactive-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2"
"@metamask/utils": "^11.5.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "33LBL6rWvysgpwDzPSwfBM5qNp6501ASbHDRy8pVquc=",
"shasum": "Rk7SrG+Ml/rOrWRDUbvjGSSZqJ8BzX3fFw3XgNiACaQ=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@metamask/key-tree": "^10.1.1",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@noble/hashes": "^1.7.1"
},
"devDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "2zH370+f6qpYn9cTDNZZDZL4UXt0elnih0Pl/OtwvrU=",
"shasum": "hW1HG8x38XjPoi9dvtXzwfTYjfi/JrMqQaZB4zqzPQw=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@metamask/key-tree": "^10.1.1",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@noble/curves": "^1.1.0",
"async-mutex": "^0.5.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "nu8YWyEFKdpQbe0Sc/OvoL7wchAJV9DHEqpovyjXnSE=",
"shasum": "hZ2H0EXuZ82GjRfiTFIO06vc6s57+lLC62NewcIx7wE=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/jsx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@metamask/auto-changelog": "^5.0.2",
"@metamask/snaps-cli": "workspace:^",
"@metamask/snaps-jest": "workspace:^",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@swc/core": "1.11.31",
"@swc/jest": "^0.2.38",
"@types/node": "18.14.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/manage-state/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2"
"@metamask/utils": "^11.5.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/network-access/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2"
"@metamask/utils": "^11.5.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/preinstalled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"@metamask/snaps-cli": "workspace:^",
"@metamask/snaps-controllers": "workspace:^",
"@metamask/snaps-jest": "workspace:^",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@swc/core": "1.11.31",
"@swc/jest": "^0.2.38",
"@types/node": "18.14.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/protocol/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2"
"@metamask/utils": "^11.5.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/send-flow/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"dependencies": {
"@metamask/rpc-errors": "^7.0.3",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2"
"@metamask/utils": "^11.5.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/examples/packages/send-flow/snap.manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "7CDsQT5Pk5B5jTQ8hYILsKvEtIrbn/SpqgTevZND2fs=",
"shasum": "Ye/Zcbn1ZrhZhuCsnaO99AM4JRaWcuKiEseYb2lq1Yc=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "8V+Vjn6eAPX8gEtPO7N66AZoOFexIOatf3ZLm732kus=",
"shasum": "w/wwPHv5/mOxRac/H8cf3fRxqgc2u/K67ntm+2+Gm34=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
},
"dependencies": {
"@metamask/snaps-sdk": "workspace:^",
"@metamask/utils": "^11.4.2"
"@metamask/utils": "^11.5.0"
},
"devDependencies": {
"@jest/globals": "^29.5.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/MetaMask/snaps.git"
},
"source": {
"shasum": "GYa8fErp8S+LMuM7Q0eTT10gcAn14Fw5Z8jbaAonNvM=",
"shasum": "aX+Oe08L4m5Kl4ogph5lXCJiimVwfNuLCYEqE677boI=",
"location": {
"npm": {
"filePath": "dist/bundle.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@metamask/snaps-utils": "workspace:^",
"@metamask/snaps-webpack-plugin": "workspace:^",
"@metamask/superstruct": "^3.2.1",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@swc/core": "1.11.31",
"assert": "^2.0.0",
"browserify-zlib": "^0.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-controllers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@metamask/snaps-rpc-methods": "workspace:^",
"@metamask/snaps-sdk": "workspace:^",
"@metamask/snaps-utils": "workspace:^",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@xstate/fsm": "^2.0.0",
"async-mutex": "^0.5.0",
"concat-stream": "^2.0.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"@metamask/superstruct": true,
"@metamask/utils>@noble/hashes": true,
"eslint>debug": true,
"@metamask/utils>lodash.memoize": true,
"depcheck>lodash": true,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: LavaMoat Policy Mismatch for lodash Dependency

The LavaMoat policy for @metamask/utils incorrectly references depcheck>lodash. As @metamask/utils now directly depends on lodash (replacing lodash.memoize), the policy should instead allow @metamask/utils>lodash, preventing potential runtime issues.

Additional Locations (3)

Fix in Cursor Fix in Web

"@metamask/utils>pony-cause": true,
"depcheck>semver": true
}
Expand Down Expand Up @@ -136,6 +136,11 @@
"console": true
}
},
"depcheck>lodash": {
"globals": {
"define": true
}
},
"@metamask/object-multiplex>once": {
"packages": {
"@metamask/object-multiplex>once>wrappy": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"@metamask/superstruct": true,
"@metamask/utils>@noble/hashes": true,
"eslint>debug": true,
"@metamask/utils>lodash.memoize": true,
"depcheck>lodash": true,
"@metamask/utils>pony-cause": true,
"depcheck>semver": true
}
Expand Down Expand Up @@ -148,6 +148,11 @@
"util.inherits": true
}
},
"depcheck>lodash": {
"globals": {
"define": true
}
},
"@metamask/object-multiplex>once": {
"packages": {
"@metamask/object-multiplex>once>wrappy": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@
"@metamask/superstruct": true,
"@metamask/utils>@noble/hashes": true,
"eslint>debug": true,
"@metamask/utils>lodash.memoize": true,
"depcheck>lodash": true,
"@metamask/utils>pony-cause": true,
"depcheck>semver": true
}
Expand Down Expand Up @@ -148,6 +148,11 @@
"util.inherits": true
}
},
"depcheck>lodash": {
"globals": {
"define": true
}
},
"@metamask/object-multiplex>once": {
"packages": {
"@metamask/object-multiplex>once>wrappy": true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"@metamask/superstruct": true,
"@metamask/utils>@noble/hashes": true,
"eslint>debug": true,
"@metamask/utils>lodash.memoize": true,
"depcheck>lodash": true,
"@metamask/utils>pony-cause": true,
"depcheck>semver": true
}
Expand Down Expand Up @@ -136,6 +136,11 @@
"console": true
}
},
"depcheck>lodash": {
"globals": {
"define": true
}
},
"@metamask/object-multiplex>once": {
"packages": {
"@metamask/object-multiplex>once>wrappy": true
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-execution-environments/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
"@metamask/snaps-sdk": "workspace:^",
"@metamask/snaps-utils": "workspace:^",
"@metamask/superstruct": "^3.2.1",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"readable-stream": "^3.6.2"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@metamask/snaps-sdk": "workspace:^",
"@metamask/snaps-simulation": "workspace:^",
"@metamask/superstruct": "^3.2.1",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"express": "^5.1.0",
"jest-environment-node": "^29.5.0",
"jest-matcher-utils": "^29.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/snaps-rpc-methods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@metamask/snaps-sdk": "workspace:^",
"@metamask/snaps-utils": "workspace:^",
"@metamask/superstruct": "^3.2.1",
"@metamask/utils": "^11.4.2",
"@metamask/utils": "^11.5.0",
"@noble/hashes": "^1.7.1"
},
"devDependencies": {
Expand Down
Loading
Loading