Skip to content

Commit

Permalink
Update LavaMoat policies
Browse files Browse the repository at this point in the history
  • Loading branch information
metamaskbot authored and vthomas13 committed Sep 13, 2024
1 parent 7a5510b commit a840f33
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 153 deletions.
40 changes: 4 additions & 36 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1633,18 +1633,10 @@
},
"@metamask/logging-controller": {
"packages": {
"@metamask/logging-controller>@metamask/base-controller": true,
"@metamask/base-controller": true,
"uuid": true
}
},
"@metamask/logging-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/logo": {
"globals": {
"addEventListener": true,
Expand Down Expand Up @@ -1895,9 +1887,9 @@
"removeEventListener": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/notification-services-controller>@contentful/rich-text-html-renderer": true,
"@metamask/notification-services-controller>@metamask/base-controller": true,
"@metamask/notification-services-controller>firebase": true,
"@metamask/profile-sync-controller": true,
"bignumber.js": true,
Expand All @@ -1910,14 +1902,6 @@
"SuppressedError": true
}
},
"@metamask/notification-services-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/notification-services-controller>firebase": {
"packages": {
"@metamask/notification-services-controller>firebase>@firebase/app": true,
Expand Down Expand Up @@ -2281,22 +2265,14 @@
"setTimeout": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/message-signing-snap>@noble/ciphers": true,
"@metamask/profile-sync-controller>@metamask/base-controller": true,
"@metamask/profile-sync-controller>siwe": true,
"@noble/hashes": true,
"browserify>buffer": true,
"loglevel": true
}
},
"@metamask/profile-sync-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/profile-sync-controller>siwe": {
"globals": {
"console.error": true,
Expand Down Expand Up @@ -2458,22 +2434,14 @@
"console.info": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/logging-controller": true,
"@metamask/message-manager": true,
"@metamask/signature-controller>@metamask/base-controller": true,
"lodash": true,
"webpack>events": true
}
},
"@metamask/signature-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/smart-transactions-controller": {
"globals": {
"URLSearchParams": true,
Expand Down
40 changes: 4 additions & 36 deletions lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1633,18 +1633,10 @@
},
"@metamask/logging-controller": {
"packages": {
"@metamask/logging-controller>@metamask/base-controller": true,
"@metamask/base-controller": true,
"uuid": true
}
},
"@metamask/logging-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/logo": {
"globals": {
"addEventListener": true,
Expand Down Expand Up @@ -1895,9 +1887,9 @@
"removeEventListener": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/notification-services-controller>@contentful/rich-text-html-renderer": true,
"@metamask/notification-services-controller>@metamask/base-controller": true,
"@metamask/notification-services-controller>firebase": true,
"@metamask/profile-sync-controller": true,
"bignumber.js": true,
Expand All @@ -1910,14 +1902,6 @@
"SuppressedError": true
}
},
"@metamask/notification-services-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/notification-services-controller>firebase": {
"packages": {
"@metamask/notification-services-controller>firebase>@firebase/app": true,
Expand Down Expand Up @@ -2281,22 +2265,14 @@
"setTimeout": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/message-signing-snap>@noble/ciphers": true,
"@metamask/profile-sync-controller>@metamask/base-controller": true,
"@metamask/profile-sync-controller>siwe": true,
"@noble/hashes": true,
"browserify>buffer": true,
"loglevel": true
}
},
"@metamask/profile-sync-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/profile-sync-controller>siwe": {
"globals": {
"console.error": true,
Expand Down Expand Up @@ -2458,22 +2434,14 @@
"console.info": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/logging-controller": true,
"@metamask/message-manager": true,
"@metamask/signature-controller>@metamask/base-controller": true,
"lodash": true,
"webpack>events": true
}
},
"@metamask/signature-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/smart-transactions-controller": {
"globals": {
"URLSearchParams": true,
Expand Down
40 changes: 4 additions & 36 deletions lavamoat/browserify/main/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1633,18 +1633,10 @@
},
"@metamask/logging-controller": {
"packages": {
"@metamask/logging-controller>@metamask/base-controller": true,
"@metamask/base-controller": true,
"uuid": true
}
},
"@metamask/logging-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/logo": {
"globals": {
"addEventListener": true,
Expand Down Expand Up @@ -1895,9 +1887,9 @@
"removeEventListener": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/notification-services-controller>@contentful/rich-text-html-renderer": true,
"@metamask/notification-services-controller>@metamask/base-controller": true,
"@metamask/notification-services-controller>firebase": true,
"@metamask/profile-sync-controller": true,
"bignumber.js": true,
Expand All @@ -1910,14 +1902,6 @@
"SuppressedError": true
}
},
"@metamask/notification-services-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/notification-services-controller>firebase": {
"packages": {
"@metamask/notification-services-controller>firebase>@firebase/app": true,
Expand Down Expand Up @@ -2281,22 +2265,14 @@
"setTimeout": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/message-signing-snap>@noble/ciphers": true,
"@metamask/profile-sync-controller>@metamask/base-controller": true,
"@metamask/profile-sync-controller>siwe": true,
"@noble/hashes": true,
"browserify>buffer": true,
"loglevel": true
}
},
"@metamask/profile-sync-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/profile-sync-controller>siwe": {
"globals": {
"console.error": true,
Expand Down Expand Up @@ -2458,22 +2434,14 @@
"console.info": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/logging-controller": true,
"@metamask/message-manager": true,
"@metamask/signature-controller>@metamask/base-controller": true,
"lodash": true,
"webpack>events": true
}
},
"@metamask/signature-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/smart-transactions-controller": {
"globals": {
"URLSearchParams": true,
Expand Down
40 changes: 4 additions & 36 deletions lavamoat/browserify/mmi/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1725,18 +1725,10 @@
},
"@metamask/logging-controller": {
"packages": {
"@metamask/logging-controller>@metamask/base-controller": true,
"@metamask/base-controller": true,
"uuid": true
}
},
"@metamask/logging-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/logo": {
"globals": {
"addEventListener": true,
Expand Down Expand Up @@ -1987,9 +1979,9 @@
"removeEventListener": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/notification-services-controller>@contentful/rich-text-html-renderer": true,
"@metamask/notification-services-controller>@metamask/base-controller": true,
"@metamask/notification-services-controller>firebase": true,
"@metamask/profile-sync-controller": true,
"bignumber.js": true,
Expand All @@ -2002,14 +1994,6 @@
"SuppressedError": true
}
},
"@metamask/notification-services-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/notification-services-controller>firebase": {
"packages": {
"@metamask/notification-services-controller>firebase>@firebase/app": true,
Expand Down Expand Up @@ -2373,22 +2357,14 @@
"setTimeout": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/message-signing-snap>@noble/ciphers": true,
"@metamask/profile-sync-controller>@metamask/base-controller": true,
"@metamask/profile-sync-controller>siwe": true,
"@noble/hashes": true,
"browserify>buffer": true,
"loglevel": true
}
},
"@metamask/profile-sync-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/profile-sync-controller>siwe": {
"globals": {
"console.error": true,
Expand Down Expand Up @@ -2550,22 +2526,14 @@
"console.info": true
},
"packages": {
"@metamask/base-controller": true,
"@metamask/controller-utils": true,
"@metamask/logging-controller": true,
"@metamask/message-manager": true,
"@metamask/signature-controller>@metamask/base-controller": true,
"lodash": true,
"webpack>events": true
}
},
"@metamask/signature-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/smart-transactions-controller": {
"globals": {
"URLSearchParams": true,
Expand Down
10 changes: 1 addition & 9 deletions lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2131,8 +2131,7 @@
"chokidar>normalize-path": true,
"chokidar>readdirp": true,
"del>is-glob": true,
"eslint>glob-parent": true,
"tsx>fsevents": true
"eslint>glob-parent": true
}
},
"chokidar>anymatch": {
Expand Down Expand Up @@ -8889,13 +8888,6 @@
"typescript": true
}
},
"tsx>fsevents": {
"globals": {
"console.assert": true,
"process.platform": true
},
"native": true
},
"typescript": {
"builtin": {
"buffer.Buffer": true,
Expand Down

0 comments on commit a840f33

Please sign in to comment.