Skip to content

Commit

Permalink
update lavamoat policies
Browse files Browse the repository at this point in the history
  • Loading branch information
legobeat committed Jun 3, 2024
1 parent 5ed2905 commit 0121814
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 @@ -1034,19 +1034,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 @@ -1684,11 +1671,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 @@ -1709,13 +1696,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 @@ -1729,19 +1722,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 @@ -2082,7 +2062,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 @@ -2339,7 +2319,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 @@ -2358,15 +2338,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 @@ -1179,19 +1179,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 @@ -1829,11 +1816,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 @@ -1854,13 +1841,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 @@ -1874,19 +1867,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 @@ -2272,7 +2252,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 @@ -2630,7 +2610,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 @@ -2649,15 +2629,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 @@ -1179,19 +1179,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 @@ -1829,11 +1816,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 @@ -1854,13 +1841,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 @@ -1874,19 +1867,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 @@ -2324,7 +2304,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 @@ -2682,7 +2662,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 @@ -2701,15 +2681,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 0121814

Please sign in to comment.