Skip to content

Commit

Permalink
update lavamoat policies
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed May 29, 2024
1 parent aa428a3 commit 7b44c5a
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 170 deletions.
47 changes: 13 additions & 34 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1001,19 +1001,6 @@
"sass-loader>klona": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider": {
"packages": {
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider>@metamask/json-rpc-engine": true,
"@metamask/safe-event-emitter": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/safe-event-emitter": true,
"@metamask/utils": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
Expand Down Expand Up @@ -1653,11 +1640,11 @@
"@metamask/controller-utils": true,
"@metamask/eth-json-rpc-middleware": true,
"@metamask/eth-query": true,
"@metamask/eth-token-tracker>@metamask/eth-block-tracker": true,
"@metamask/network-controller>@metamask/base-controller": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura": true,
"@metamask/network-controller>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/swappable-obj-proxy": true,
"@metamask/network-controller>eth-block-tracker": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/snaps-controllers>@metamask/json-rpc-engine": true,
"@metamask/utils": true,
Expand All @@ -1678,13 +1665,19 @@
"setTimeout": true
},
"packages": {
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/utils": true,
"node-fetch": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": {
"packages": {
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true,
"@metamask/safe-event-emitter": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
Expand All @@ -1698,19 +1691,6 @@
"@metamask/snaps-controllers>@metamask/json-rpc-engine": true
}
},
"@metamask/network-controller>eth-block-tracker": {
"globals": {
"clearTimeout": true,
"console.error": true,
"setTimeout": true
},
"packages": {
"@metamask/eth-query>json-rpc-random-id": true,
"@metamask/safe-event-emitter": true,
"@metamask/utils": true,
"pify": true
}
},
"@metamask/notification-controller>nanoid": {
"globals": {
"crypto.getRandomValues": true
Expand Down Expand Up @@ -2079,7 +2059,7 @@
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/tx": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/util": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": true,
"@metamask/transaction-controller>nonce-tracker": true,
"@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/utils": true,
"bn.js": true,
"browserify>buffer": true,
Expand Down Expand Up @@ -2336,7 +2316,7 @@
"@metamask/network-controller": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/transaction-controller>@metamask/base-controller": true,
"@metamask/transaction-controller>nonce-tracker": true,
"@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/utils": true,
"bn.js": true,
"browserify>buffer": true,
Expand All @@ -2355,15 +2335,14 @@
"immer": true
}
},
"@metamask/transaction-controller>nonce-tracker": {
"@metamask/transaction-controller>@metamask/nonce-tracker": {
"packages": {
"@ethersproject/providers": true,
"@metamask/network-controller>eth-block-tracker": true,
"@metamask/transaction-controller>nonce-tracker>async-mutex": true,
"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex": true,
"browserify>assert": true
}
},
"@metamask/transaction-controller>nonce-tracker>async-mutex": {
"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex": {
"globals": {
"clearTimeout": true,
"setTimeout": true
Expand Down
47 changes: 13 additions & 34 deletions lavamoat/browserify/desktop/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1096,19 +1096,6 @@
"sass-loader>klona": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider": {
"packages": {
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider>@metamask/json-rpc-engine": true,
"@metamask/safe-event-emitter": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/safe-event-emitter": true,
"@metamask/utils": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
Expand Down Expand Up @@ -1748,11 +1735,11 @@
"@metamask/controller-utils": true,
"@metamask/eth-json-rpc-middleware": true,
"@metamask/eth-query": true,
"@metamask/eth-token-tracker>@metamask/eth-block-tracker": true,
"@metamask/network-controller>@metamask/base-controller": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura": true,
"@metamask/network-controller>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/swappable-obj-proxy": true,
"@metamask/network-controller>eth-block-tracker": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/snaps-controllers>@metamask/json-rpc-engine": true,
"@metamask/utils": true,
Expand All @@ -1773,13 +1760,19 @@
"setTimeout": true
},
"packages": {
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/utils": true,
"node-fetch": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": {
"packages": {
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true,
"@metamask/safe-event-emitter": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
Expand All @@ -1793,19 +1786,6 @@
"@metamask/snaps-controllers>@metamask/json-rpc-engine": true
}
},
"@metamask/network-controller>eth-block-tracker": {
"globals": {
"clearTimeout": true,
"console.error": true,
"setTimeout": true
},
"packages": {
"@metamask/eth-query>json-rpc-random-id": true,
"@metamask/safe-event-emitter": true,
"@metamask/utils": true,
"pify": true
}
},
"@metamask/notification-controller": {
"packages": {
"@metamask/notification-controller>@metamask/base-controller": true,
Expand Down Expand Up @@ -2219,7 +2199,7 @@
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/tx": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/util": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": true,
"@metamask/transaction-controller>nonce-tracker": true,
"@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/utils": true,
"bn.js": true,
"browserify>buffer": true,
Expand Down Expand Up @@ -2622,7 +2602,7 @@
"@metamask/network-controller": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/transaction-controller>@metamask/base-controller": true,
"@metamask/transaction-controller>nonce-tracker": true,
"@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/utils": true,
"bn.js": true,
"browserify>buffer": true,
Expand All @@ -2641,15 +2621,14 @@
"immer": true
}
},
"@metamask/transaction-controller>nonce-tracker": {
"@metamask/transaction-controller>@metamask/nonce-tracker": {
"packages": {
"@ethersproject/providers": true,
"@metamask/network-controller>eth-block-tracker": true,
"@metamask/transaction-controller>nonce-tracker>async-mutex": true,
"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex": true,
"browserify>assert": true
}
},
"@metamask/transaction-controller>nonce-tracker>async-mutex": {
"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex": {
"globals": {
"clearTimeout": true,
"setTimeout": true
Expand Down
47 changes: 13 additions & 34 deletions lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1096,19 +1096,6 @@
"sass-loader>klona": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider": {
"packages": {
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider>@metamask/json-rpc-engine": true,
"@metamask/safe-event-emitter": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/safe-event-emitter": true,
"@metamask/utils": true
}
},
"@metamask/eth-json-rpc-middleware>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
Expand Down Expand Up @@ -1748,11 +1735,11 @@
"@metamask/controller-utils": true,
"@metamask/eth-json-rpc-middleware": true,
"@metamask/eth-query": true,
"@metamask/eth-token-tracker>@metamask/eth-block-tracker": true,
"@metamask/network-controller>@metamask/base-controller": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura": true,
"@metamask/network-controller>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/swappable-obj-proxy": true,
"@metamask/network-controller>eth-block-tracker": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/snaps-controllers>@metamask/json-rpc-engine": true,
"@metamask/utils": true,
Expand All @@ -1773,13 +1760,19 @@
"setTimeout": true
},
"packages": {
"@metamask/eth-json-rpc-middleware>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": true,
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/utils": true,
"node-fetch": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/eth-json-rpc-provider": {
"packages": {
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": true,
"@metamask/safe-event-emitter": true
}
},
"@metamask/network-controller>@metamask/eth-json-rpc-infura>@metamask/json-rpc-engine": {
"packages": {
"@metamask/providers>@metamask/rpc-errors": true,
Expand All @@ -1793,19 +1786,6 @@
"@metamask/snaps-controllers>@metamask/json-rpc-engine": true
}
},
"@metamask/network-controller>eth-block-tracker": {
"globals": {
"clearTimeout": true,
"console.error": true,
"setTimeout": true
},
"packages": {
"@metamask/eth-query>json-rpc-random-id": true,
"@metamask/safe-event-emitter": true,
"@metamask/utils": true,
"pify": true
}
},
"@metamask/notification-controller": {
"packages": {
"@metamask/notification-controller>@metamask/base-controller": true,
Expand Down Expand Up @@ -2271,7 +2251,7 @@
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/tx": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>@ethereumjs/util": true,
"@metamask/smart-transactions-controller>@metamask/transaction-controller>eth-method-registry": true,
"@metamask/transaction-controller>nonce-tracker": true,
"@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/utils": true,
"bn.js": true,
"browserify>buffer": true,
Expand Down Expand Up @@ -2674,7 +2654,7 @@
"@metamask/network-controller": true,
"@metamask/providers>@metamask/rpc-errors": true,
"@metamask/transaction-controller>@metamask/base-controller": true,
"@metamask/transaction-controller>nonce-tracker": true,
"@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/utils": true,
"bn.js": true,
"browserify>buffer": true,
Expand All @@ -2693,15 +2673,14 @@
"immer": true
}
},
"@metamask/transaction-controller>nonce-tracker": {
"@metamask/transaction-controller>@metamask/nonce-tracker": {
"packages": {
"@ethersproject/providers": true,
"@metamask/network-controller>eth-block-tracker": true,
"@metamask/transaction-controller>nonce-tracker>async-mutex": true,
"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex": true,
"browserify>assert": true
}
},
"@metamask/transaction-controller>nonce-tracker>async-mutex": {
"@metamask/transaction-controller>@metamask/nonce-tracker>async-mutex": {
"globals": {
"clearTimeout": true,
"setTimeout": true
Expand Down
Loading

0 comments on commit 7b44c5a

Please sign in to comment.