Skip to content

Commit

Permalink
Update LavaMoat policies
Browse files Browse the repository at this point in the history
  • Loading branch information
metamaskbot committed May 29, 2024
1 parent 5a61bba commit d131569
Show file tree
Hide file tree
Showing 6 changed files with 668 additions and 638 deletions.
154 changes: 88 additions & 66 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1155,6 +1155,7 @@
"@ngraveio/bc-ur>assert>object-is": true,
"browserify>util>is-arguments": true,
"browserify>util>which-typed-array": true,
"eslint-plugin-react>string.prototype.matchall>regexp.prototype.flags": true,
"gulp>vinyl-fs>object.assign": true,
"lavamoat>json-stable-stringify>isarray": true,
"lavamoat>json-stable-stringify>object-keys": true,
Expand All @@ -1164,7 +1165,6 @@
"string.prototype.matchall>es-abstract>is-regex": true,
"string.prototype.matchall>es-abstract>is-shared-array-buffer": true,
"string.prototype.matchall>get-intrinsic": true,
"string.prototype.matchall>regexp.prototype.flags": true,
"string.prototype.matchall>side-channel": true
}
},
Expand All @@ -1187,7 +1187,7 @@
"StopIteration": true
},
"packages": {
"string.prototype.matchall>internal-slot": true
"eslint-plugin-react>es-iterator-helpers>internal-slot": true
}
},
"@metamask/eth-token-tracker>deep-equal>is-date-object": {
Expand Down Expand Up @@ -1936,7 +1936,7 @@
},
"packages": {
"@metamask/scure-bip39>@noble/hashes": true,
"@metamask/utils>@scure/base": true
"@metamask/scure-bip39>@scure/base": true
}
},
"@metamask/scure-bip39>@noble/hashes": {
Expand All @@ -1945,6 +1945,12 @@
"crypto": true
}
},
"@metamask/scure-bip39>@scure/base": {
"globals": {
"TextDecoder": true,
"TextEncoder": true
}
},
"@metamask/selected-network-controller": {
"packages": {
"@metamask/network-controller>@metamask/swappable-obj-proxy": true,
Expand Down Expand Up @@ -3141,23 +3147,42 @@
},
"browserify>util>is-typed-array": {
"packages": {
"browserify>util>which-typed-array": true
"browserify>util>is-typed-array>which-typed-array": true
}
},
"browserify>util>is-typed-array>which-typed-array": {
"packages": {
"browserify>util>which-typed-array>for-each": true,
"eslint-plugin-react>object.hasown>es-abstract>available-typed-arrays": true,
"eslint-plugin-react>string.prototype.matchall>gopd": true,
"koa>is-generator-function>has-tostringtag": true,
"string.prototype.matchall>call-bind": true
}
},
"browserify>util>which-typed-array": {
"packages": {
"browserify>util>which-typed-array>available-typed-arrays": true,
"browserify>util>which-typed-array>for-each": true,
"browserify>util>which-typed-array>is-typed-array": true,
"eslint-plugin-react>string.prototype.matchall>gopd": true,
"koa>is-generator-function>has-tostringtag": true,
"string.prototype.matchall>call-bind": true,
"string.prototype.matchall>es-abstract>available-typed-arrays": true,
"string.prototype.matchall>gopd": true
"string.prototype.matchall>call-bind": true
}
},
"browserify>util>which-typed-array>for-each": {
"packages": {
"string.prototype.matchall>es-abstract>is-callable": true
}
},
"browserify>util>which-typed-array>is-typed-array": {
"packages": {
"browserify>util>which-typed-array>available-typed-arrays": true,
"browserify>util>which-typed-array>for-each": true,
"eslint-plugin-react>string.prototype.matchall>gopd": true,
"koa>is-generator-function>has-tostringtag": true,
"string.prototype.matchall>call-bind": true
}
},
"browserify>vm-browserify": {
"globals": {
"document.body.appendChild": true,
Expand Down Expand Up @@ -3270,7 +3295,7 @@
},
"eslint-plugin-import>hasown": {
"packages": {
"eslint-plugin-react>es-iterator-helpers>function-bind": true
"browserify>has>function-bind": true
}
},
"eslint-plugin-react>array-includes>is-string": {
Expand All @@ -3283,6 +3308,39 @@
"string.prototype.matchall>call-bind>es-define-property": true
}
},
"eslint-plugin-react>es-iterator-helpers>internal-slot": {
"packages": {
"eslint-plugin-import>hasown": true,
"eslint-plugin-react>es-iterator-helpers>es-errors": true,
"string.prototype.matchall>side-channel": true
}
},
"eslint-plugin-react>object.hasown>es-abstract>available-typed-arrays": {
"packages": {
"eslint-plugin-react>object.hasown>es-abstract>typed-array-length>possible-typed-array-names": true
}
},
"eslint-plugin-react>string.prototype.matchall>gopd": {
"packages": {
"string.prototype.matchall>get-intrinsic": true
}
},
"eslint-plugin-react>string.prototype.matchall>regexp.prototype.flags": {
"packages": {
"eslint-plugin-react>es-iterator-helpers>es-errors": true,
"eslint-plugin-react>string.prototype.matchall>set-function-name": true,
"string.prototype.matchall>call-bind": true,
"string.prototype.matchall>define-properties": true
}
},
"eslint-plugin-react>string.prototype.matchall>set-function-name": {
"packages": {
"eslint-plugin-react>es-iterator-helpers>es-errors": true,
"eslint-plugin-react>es-iterator-helpers>has-property-descriptors": true,
"eslint-plugin-react>string.prototype.matchall>set-function-name>functions-have-names": true,
"string.prototype.matchall>define-properties>define-data-property": true
}
},
"eslint>optionator>fast-levenshtein": {
"globals": {
"Intl": true,
Expand Down Expand Up @@ -3687,11 +3745,8 @@
"extension-port-stream>readable-stream": {
"globals": {
"AbortController": true,
"AbortSignal": true,
"AggregateError": true,
"Blob": true,
"ERR_INVALID_ARG_TYPE": true,
"queueMicrotask": true
"Blob": true
},
"packages": {
"@lavamoat/lavapack>readable-stream>abort-controller": true,
Expand Down Expand Up @@ -4586,10 +4641,10 @@
},
"string.prototype.matchall>call-bind": {
"packages": {
"eslint-plugin-react>es-iterator-helpers>function-bind": true,
"browserify>has>function-bind": true,
"eslint-plugin-react>es-iterator-helpers>es-errors": true,
"string.prototype.matchall>call-bind>es-define-property": true,
"string.prototype.matchall>call-bind>set-function-length": true,
"string.prototype.matchall>es-errors": true,
"string.prototype.matchall>get-intrinsic": true
}
},
Expand All @@ -4600,11 +4655,11 @@
},
"string.prototype.matchall>call-bind>set-function-length": {
"packages": {
"eslint-plugin-react>es-iterator-helpers>es-errors": true,
"eslint-plugin-react>es-iterator-helpers>has-property-descriptors": true,
"eslint-plugin-react>string.prototype.matchall>gopd": true,
"string.prototype.matchall>define-properties>define-data-property": true,
"string.prototype.matchall>es-errors": true,
"string.prototype.matchall>get-intrinsic": true,
"string.prototype.matchall>gopd": true
"string.prototype.matchall>get-intrinsic": true
}
},
"string.prototype.matchall>define-properties": {
Expand All @@ -4616,9 +4671,9 @@
},
"string.prototype.matchall>define-properties>define-data-property": {
"packages": {
"string.prototype.matchall>call-bind>es-define-property": true,
"string.prototype.matchall>es-errors": true,
"string.prototype.matchall>gopd": true
"eslint-plugin-react>es-iterator-helpers>es-errors": true,
"eslint-plugin-react>string.prototype.matchall>gopd": true,
"string.prototype.matchall>call-bind>es-define-property": true
}
},
"string.prototype.matchall>es-abstract>array-buffer-byte-length": {
Expand All @@ -4627,11 +4682,6 @@
"string.prototype.matchall>es-abstract>is-array-buffer": true
}
},
"string.prototype.matchall>es-abstract>available-typed-arrays": {
"packages": {
"string.prototype.matchall>es-abstract>typed-array-length>possible-typed-array-names": true
}
},
"string.prototype.matchall>es-abstract>es-to-primitive>is-symbol": {
"packages": {
"string.prototype.matchall>has-symbols": true
Expand Down Expand Up @@ -4659,63 +4709,35 @@
"string.prototype.matchall>call-bind": true
}
},
"string.prototype.matchall>es-abstract>object-inspect": {
"globals": {
"HTMLElement": true,
"WeakRef": true
},
"packages": {
"browserify>browser-resolve": true
}
},
"string.prototype.matchall>get-intrinsic": {
"globals": {
"AggregateError": true,
"FinalizationRegistry": true,
"WeakRef": true
},
"packages": {
"browserify>has>function-bind": true,
"eslint-plugin-import>hasown": true,
"eslint-plugin-react>es-iterator-helpers>function-bind": true,
"eslint-plugin-react>es-iterator-helpers>es-errors": true,
"eslint-plugin-react>es-iterator-helpers>has-proto": true,
"string.prototype.matchall>es-errors": true,
"string.prototype.matchall>has-symbols": true
}
},
"string.prototype.matchall>gopd": {
"packages": {
"string.prototype.matchall>get-intrinsic": true
}
},
"string.prototype.matchall>internal-slot": {
"packages": {
"eslint-plugin-import>hasown": true,
"string.prototype.matchall>es-errors": true,
"string.prototype.matchall>side-channel": true
}
},
"string.prototype.matchall>regexp.prototype.flags": {
"string.prototype.matchall>side-channel": {
"packages": {
"eslint-plugin-react>es-iterator-helpers>es-errors": true,
"string.prototype.matchall>call-bind": true,
"string.prototype.matchall>define-properties": true,
"string.prototype.matchall>es-errors": true,
"string.prototype.matchall>set-function-name": true
}
},
"string.prototype.matchall>set-function-name": {
"packages": {
"eslint-plugin-react>es-iterator-helpers>has-property-descriptors": true,
"string.prototype.matchall>define-properties>define-data-property": true,
"string.prototype.matchall>es-errors": true,
"string.prototype.matchall>set-function-name>functions-have-names": true
"string.prototype.matchall>get-intrinsic": true,
"string.prototype.matchall>side-channel>object-inspect": true
}
},
"string.prototype.matchall>side-channel": {
"string.prototype.matchall>side-channel>object-inspect": {
"globals": {
"HTMLElement": true,
"WeakRef": true
},
"packages": {
"string.prototype.matchall>call-bind": true,
"string.prototype.matchall>es-abstract>object-inspect": true,
"string.prototype.matchall>es-errors": true,
"string.prototype.matchall>get-intrinsic": true
"browserify>browser-resolve": true
}
},
"superstruct": {
Expand Down Expand Up @@ -4776,4 +4798,4 @@
}
}
}
}
}
Loading

0 comments on commit d131569

Please sign in to comment.