Skip to content

Commit

Permalink
refactor: keyring-controller 8.0.1 and remove patch
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesposito committed Sep 29, 2023
1 parent cff1339 commit de44deb
Show file tree
Hide file tree
Showing 9 changed files with 233 additions and 69 deletions.

This file was deleted.

10 changes: 9 additions & 1 deletion lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1554,14 +1554,22 @@
},
"@metamask/keyring-controller": {
"packages": {
"@metamask/base-controller": true,
"@metamask/eth-keyring-controller": true,
"@metamask/keyring-controller>@metamask/base-controller": true,
"@metamask/keyring-controller>@metamask/utils": true,
"@metamask/keyring-controller>ethereumjs-wallet": true,
"eth-json-rpc-filters>async-mutex": true,
"ethereumjs-util": true
}
},
"@metamask/keyring-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/keyring-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down
10 changes: 9 additions & 1 deletion lavamoat/browserify/desktop/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1695,14 +1695,22 @@
},
"@metamask/keyring-controller": {
"packages": {
"@metamask/base-controller": true,
"@metamask/eth-keyring-controller": true,
"@metamask/keyring-controller>@metamask/base-controller": true,
"@metamask/keyring-controller>@metamask/utils": true,
"@metamask/keyring-controller>ethereumjs-wallet": true,
"eth-json-rpc-filters>async-mutex": true,
"ethereumjs-util": true
}
},
"@metamask/keyring-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/keyring-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down
10 changes: 9 additions & 1 deletion lavamoat/browserify/flask/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1695,14 +1695,22 @@
},
"@metamask/keyring-controller": {
"packages": {
"@metamask/base-controller": true,
"@metamask/eth-keyring-controller": true,
"@metamask/keyring-controller>@metamask/base-controller": true,
"@metamask/keyring-controller>@metamask/utils": true,
"@metamask/keyring-controller>ethereumjs-wallet": true,
"eth-json-rpc-filters>async-mutex": true,
"ethereumjs-util": true
}
},
"@metamask/keyring-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/keyring-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down
10 changes: 9 additions & 1 deletion lavamoat/browserify/main/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1554,14 +1554,22 @@
},
"@metamask/keyring-controller": {
"packages": {
"@metamask/base-controller": true,
"@metamask/eth-keyring-controller": true,
"@metamask/keyring-controller>@metamask/base-controller": true,
"@metamask/keyring-controller>@metamask/utils": true,
"@metamask/keyring-controller>ethereumjs-wallet": true,
"eth-json-rpc-filters>async-mutex": true,
"ethereumjs-util": true
}
},
"@metamask/keyring-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/keyring-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down
10 changes: 9 additions & 1 deletion lavamoat/browserify/mmi/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1694,14 +1694,22 @@
},
"@metamask/keyring-controller": {
"packages": {
"@metamask/base-controller": true,
"@metamask/eth-keyring-controller": true,
"@metamask/keyring-controller>@metamask/base-controller": true,
"@metamask/keyring-controller>@metamask/utils": true,
"@metamask/keyring-controller>ethereumjs-wallet": true,
"eth-json-rpc-filters>async-mutex": true,
"ethereumjs-util": true
}
},
"@metamask/keyring-controller>@metamask/base-controller": {
"globals": {
"setTimeout": true
},
"packages": {
"immer": true
}
},
"@metamask/keyring-controller>@metamask/utils": {
"globals": {
"TextDecoder": true,
Expand Down
132 changes: 124 additions & 8 deletions lavamoat/build-system/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -1136,6 +1136,21 @@
"string.prototype.matchall>side-channel": true
}
},
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>gauge>has-unicode": {
"builtin": {
"os.type": true
},
"globals": {
"process.env.LANG": true,
"process.env.LC_ALL": true,
"process.env.LC_CTYPE": true
}
},
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>gauge>wide-align": {
"packages": {
"yargs>string-width": true
}
},
"@storybook/core>@storybook/core-server>x-default-browser>default-browser-id>untildify>os-homedir": {
"builtin": {
"os.homedir": true
Expand Down Expand Up @@ -4882,6 +4897,7 @@
"@lavamoat/allow-scripts>@npmcli/run-script>node-gyp>npmlog": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>detect-libc": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>semver": true
}
Expand Down Expand Up @@ -4939,9 +4955,20 @@
},
"packages": {
"@storybook/core>@storybook/core-server>x-default-browser>default-browser-id>untildify>os-homedir": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-homedir": {
"builtin": {
"os.homedir": true
},
"globals": {
"process.env": true,
"process.getuid": true,
"process.platform": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>nopt>osenv>os-tmpdir": {
"globals": {
"process.env.SystemRoot": true,
Expand All @@ -4952,6 +4979,70 @@
"process.platform": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog": {
"builtin": {
"events.EventEmitter": true,
"util": true
},
"globals": {
"process.nextTick": true,
"process.stderr": true
},
"packages": {
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>console-control-strings": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge": true,
"nyc>yargs>set-blocking": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>are-we-there-yet": {
"builtin": {
"events.EventEmitter": true,
"util.inherits": true
},
"packages": {
"koa>delegates": true,
"readable-stream": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge": {
"builtin": {
"util.format": true
},
"globals": {
"clearInterval": true,
"process": true,
"setImmediate": true,
"setInterval": true
},
"packages": {
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>console-control-strings": true,
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>gauge>has-unicode": true,
"@storybook/addon-mdx-gfm>@storybook/node-logger>npmlog>gauge>wide-align": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>aproba": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true,
"nyc>signal-exit": true,
"react>object-assign": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width": {
"packages": {
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": true,
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": true,
"gulp>gulp-cli>yargs>string-width>code-point-at": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>string-width>is-fullwidth-code-point": {
"packages": {
"gulp>gulp-cli>yargs>string-width>is-fullwidth-code-point>number-is-nan": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi": {
"packages": {
"gulp-watch>chokidar>fsevents>node-pre-gyp>npmlog>gauge>strip-ansi>ansi-regex": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf": {
"builtin": {
"assert": true,
Expand All @@ -4963,9 +5054,34 @@
"setTimeout": true
},
"packages": {
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob": true,
"nyc>glob": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>rimraf>glob": {
"builtin": {
"assert": true,
"events.EventEmitter": true,
"fs": true,
"path.join": true,
"path.resolve": true,
"util": true
},
"globals": {
"console.error": true,
"process.cwd": true,
"process.nextTick": true,
"process.platform": true
},
"packages": {
"eslint>minimatch": true,
"gulp-watch>path-is-absolute": true,
"nyc>glob>fs.realpath": true,
"nyc>glob>inflight": true,
"pump>once": true,
"pumpify>inherits": true
}
},
"gulp-watch>chokidar>fsevents>node-pre-gyp>semver": {
"globals": {
"console": true,
Expand Down Expand Up @@ -6409,6 +6525,13 @@
"process.platform": true
}
},
"mockttp>portfinder>mkdirp": {
"builtin": {
"fs": true,
"path.dirname": true,
"path.resolve": true
}
},
"nock>debug": {
"builtin": {
"tty.isatty": true,
Expand Down Expand Up @@ -8016,14 +8139,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
"mockttp>portfinder>mkdirp": true
}
},
"stylelint>global-modules": {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@
"request@^2.88.2": "patch:request@npm%3A2.88.2#./.yarn/patches/request-npm-2.88.2-f4a57c72c4.patch",
"request@^2.85.0": "patch:request@npm%3A2.88.2#./.yarn/patches/request-npm-2.88.2-f4a57c72c4.patch",
"lavamoat-core@npm:^14.4.1": "patch:lavamoat-core@npm%3A14.4.1#~/.yarn/patches/lavamoat-core-npm-14.4.1-c4e8bbb016.patch",
"@metamask/keyring-controller@^8.0.0": "patch:@metamask/keyring-controller@npm%3A8.0.0#~/.yarn/patches/@metamask-keyring-controller-npm-8.0.0-806630ae4e.patch",
"@metamask/signature-controller@^6.0.0": "patch:@metamask/signature-controller@npm%3A6.0.0#~/.yarn/patches/@metamask-signature-controller-npm-6.0.0-90e8e479a9.patch",
"[email protected]": "^7.5.4",
"[email protected]": "^7.5.4"
Expand Down Expand Up @@ -256,7 +255,7 @@
"@metamask/gas-fee-controller": "^6.0.1",
"@metamask/jazzicon": "^2.0.0",
"@metamask/key-tree": "^9.0.0",
"@metamask/keyring-controller": "^8.0.0",
"@metamask/keyring-controller": "^8.0.1",
"@metamask/logging-controller": "^1.0.1",
"@metamask/logo": "^3.1.1",
"@metamask/message-manager": "^7.3.0",
Expand Down
Loading

0 comments on commit de44deb

Please sign in to comment.