Skip to content

Commit

Permalink
Update LavaMoat policies
Browse files Browse the repository at this point in the history
  • Loading branch information
metamaskbot committed Oct 12, 2023
1 parent f044ac4 commit d07b619
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 85 deletions.
78 changes: 61 additions & 17 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@
"setTimeout": true
},
"packages": {
"@metamask/assets-controllers>@metamask/utils": true,
"@metamask/assets-controllers>@metamask/controller-utils>@metamask/utils": true,
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
Expand All @@ -809,6 +809,19 @@
"ethjs>ethjs-unit": true
}
},
"@metamask/assets-controllers>@metamask/controller-utils>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/assets-controllers>@metamask/rpc-errors": {
"packages": {
"@metamask/assets-controllers>@metamask/rpc-errors>@metamask/utils": true,
Expand Down Expand Up @@ -1710,26 +1723,13 @@
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/assets-controllers>@metamask/abi-utils": true,
"@metamask/message-manager>@metamask/eth-sig-util>@metamask/utils": true,
"@metamask/message-manager>@metamask/utils": true,
"browserify>buffer": true,
"eth-sig-util>ethereumjs-util>ethjs-util": true,
"eth-sig-util>tweetnacl": true,
"eth-sig-util>tweetnacl-util": true
}
},
"@metamask/message-manager>@metamask/eth-sig-util>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/message-manager>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down Expand Up @@ -1902,14 +1902,27 @@
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/permission-controller>@metamask/utils": true,
"@metamask/permission-controller>@metamask/controller-utils>@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/permission-controller>@metamask/controller-utils>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/permission-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down Expand Up @@ -2040,15 +2053,46 @@
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/logging-controller": true,
"@metamask/message-manager": true,
"@metamask/signature-controller>@metamask/controller-utils": true,
"browserify>buffer": true,
"eth-rpc-errors": true,
"ethereumjs-util": true,
"lodash": true,
"webpack>events": true
}
},
"@metamask/signature-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/signature-controller>@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/signature-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/smart-transactions-controller": {
"globals": {
"URLSearchParams": true,
Expand Down
78 changes: 61 additions & 17 deletions lavamoat/browserify/desktop/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -800,7 +800,7 @@
"setTimeout": true
},
"packages": {
"@metamask/assets-controllers>@metamask/utils": true,
"@metamask/assets-controllers>@metamask/controller-utils>@metamask/utils": true,
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
Expand All @@ -809,6 +809,19 @@
"ethjs>ethjs-unit": true
}
},
"@metamask/assets-controllers>@metamask/controller-utils>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/assets-controllers>@metamask/rpc-errors": {
"packages": {
"@metamask/assets-controllers>@metamask/rpc-errors>@metamask/utils": true,
Expand Down Expand Up @@ -1851,26 +1864,13 @@
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/assets-controllers>@metamask/abi-utils": true,
"@metamask/message-manager>@metamask/eth-sig-util>@metamask/utils": true,
"@metamask/message-manager>@metamask/utils": true,
"browserify>buffer": true,
"eth-sig-util>ethereumjs-util>ethjs-util": true,
"eth-sig-util>tweetnacl": true,
"eth-sig-util>tweetnacl-util": true
}
},
"@metamask/message-manager>@metamask/eth-sig-util>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/message-manager>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down Expand Up @@ -2050,14 +2050,27 @@
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/permission-controller>@metamask/utils": true,
"@metamask/permission-controller>@metamask/controller-utils>@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/permission-controller>@metamask/controller-utils>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/permission-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down Expand Up @@ -2207,15 +2220,46 @@
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/logging-controller": true,
"@metamask/message-manager": true,
"@metamask/signature-controller>@metamask/controller-utils": true,
"browserify>buffer": true,
"eth-rpc-errors": true,
"ethereumjs-util": true,
"lodash": true,
"webpack>events": true
}
},
"@metamask/signature-controller>@metamask/controller-utils": {
"globals": {
"URL": true,
"console.error": true,
"fetch": true,
"setTimeout": true
},
"packages": {
"@metamask/controller-utils>@spruceid/siwe-parser": true,
"@metamask/signature-controller>@metamask/utils": true,
"browserify>buffer": true,
"eslint>fast-deep-equal": true,
"eth-ens-namehash": true,
"ethereumjs-util": true,
"ethjs>ethjs-unit": true
}
},
"@metamask/signature-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
},
"packages": {
"@metamask/key-tree>@noble/hashes": true,
"browserify>buffer": true,
"nock>debug": true,
"semver": true,
"superstruct": true
}
},
"@metamask/smart-transactions-controller": {
"globals": {
"URLSearchParams": true,
Expand Down
Loading

0 comments on commit d07b619

Please sign in to comment.