Skip to content

Commit

Permalink
Update LavaMoat policies (MetaMask#19744)
Browse files Browse the repository at this point in the history
Update LavaMoat policies to match what CI expects.
  • Loading branch information
Gudahtt committed Jun 23, 2023
1 parent 34375a5 commit fc2402d
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 8 deletions.
6 changes: 6 additions & 0 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4490,6 +4490,12 @@
"string.prototype.matchall>regexp.prototype.flags>functions-have-names": true
}
},
"superstruct": {
"globals": {
"console.warn": true,
"define": true
}
},
"uuid": {
"globals": {
"crypto": true,
Expand Down
6 changes: 6 additions & 0 deletions lavamoat/browserify/desktop/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5148,6 +5148,12 @@
"string.prototype.matchall>regexp.prototype.flags>functions-have-names": true
}
},
"superstruct": {
"globals": {
"console.warn": true,
"define": true
}
},
"terser>source-map-support>buffer-from": {
"packages": {
"browserify>buffer": true
Expand Down
6 changes: 6 additions & 0 deletions lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5148,6 +5148,12 @@
"string.prototype.matchall>regexp.prototype.flags>functions-have-names": true
}
},
"superstruct": {
"globals": {
"console.warn": true,
"define": true
}
},
"terser>source-map-support>buffer-from": {
"packages": {
"browserify>buffer": true
Expand Down
6 changes: 6 additions & 0 deletions lavamoat/browserify/main/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4490,6 +4490,12 @@
"string.prototype.matchall>regexp.prototype.flags>functions-have-names": true
}
},
"superstruct": {
"globals": {
"console.warn": true,
"define": true
}
},
"uuid": {
"globals": {
"crypto": true,
Expand Down
6 changes: 6 additions & 0 deletions lavamoat/browserify/mmi/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -4711,6 +4711,12 @@
"string.prototype.matchall>regexp.prototype.flags>functions-have-names": true
}
},
"superstruct": {
"globals": {
"console.warn": true,
"define": true
}
},
"uuid": {
"globals": {
"crypto": true,
Expand Down
16 changes: 8 additions & 8 deletions lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1124,6 +1124,13 @@
"@metamask/jazzicon>color>color-convert>color-name": true
}
},
"@sentry/cli>mkdirp": {
"builtin": {
"fs": true,
"path.dirname": true,
"path.resolve": true
}
},
"@storybook/addon-knobs>qs": {
"packages": {
"string.prototype.matchall>side-channel": true
Expand Down Expand Up @@ -8146,14 +8153,7 @@
"path.dirname": true
},
"packages": {
"stylelint>file-entry-cache>flat-cache>write>mkdirp": true
}
},
"stylelint>file-entry-cache>flat-cache>write>mkdirp": {
"builtin": {
"fs": true,
"path.dirname": true,
"path.resolve": true
"@sentry/cli>mkdirp": true
}
},
"stylelint>global-modules": {
Expand Down

0 comments on commit fc2402d

Please sign in to comment.