1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/development
Etienne Dusseault 9f6fa64d67
Add SES lockdown to extension webapp (#9729)
* Freezeglobals: remove Promise freezing, add lockdown

* background & UI: temp disable sentry

* add loose-envify, dedupe symbol-observable

* use loose envify

* add symbol-observable patch

* run freezeGlobals after sentry init

* use require instead of import

* add lockdown to contentscript

* add error code in message

* try increasing node env heap size to 2048

* change back circe CI option

* make freezeGlobals an exported function

* make freezeGlobals an exported function

* use freezeIntrinsics

* pass down env to child process

* fix unknown module

* fix tests

* change back to 2048

* fix import error

* attempt to fix memory error

* fix lint

* fix lint

* fix mem gain

* use lockdown in phishing detect

* fix lint

* move sentry init into freezeIntrinsics to run lockdown before other imports

* lint fix

* custom lockdown modules per context

* lint fix

* fix global test

* remove run in child process

* remove lavamoat-core, use ses, require lockdown directly

* revert childprocess

* patch package postinstall

* revert back child process

* add postinstall to ci

* revert node max space size to 1024

* put back loose-envify

* Disable sentry to see if e2e tetss pass

* use runLockdown, add as script in manifest

* remove global and require from runlockdown

* add more memory to tests

* upgrade resource class for prep-build & prep-build-test

* fix lint

* lint fix

* upgrade remote-redux-devtools

* skillfully re-add sentry

* lintfix

* fix lint

* put back beep

* remove envify, add loose-envify and patch-package in dev deps

* Replace patch with Yarn resolution (#9923)

Instead of patching `symbol-observable`, this ensures that all
versions of `symbol-observable` are resolved to the given range, even
if it contradicts the requested range.

Co-authored-by: Mark Stacey <markjstacey@gmail.com>
2020-11-24 11:26:43 +08:00
..
build Add SES lockdown to extension webapp (#9729) 2020-11-24 11:26:43 +08:00
lib Add mock Segment server (#9783) 2020-11-09 18:15:23 -03:30
announcer.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
auto-changelog.sh Add shellcheck lint (#7392) 2019-11-19 10:46:10 -05:00
create-static-server.js Split createStaticServer from static-server.js (#8955) 2020-07-10 00:15:29 -03:00
generate-migration.sh Add tests around migration files (#7016) 2019-12-12 20:44:29 -03:30
gource-viz.sh dev - move gource instructions from docs to development script 2019-09-10 22:05:16 +08:00
metamaskbot-build-announce.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
mock-3box.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
mock-segment.js Add mock Segment server (#9783) 2020-11-09 18:15:23 -03:30
README.md add READMEs to folders, re #3427 2018-03-14 15:33:22 +02:00
require-react-devtools.js Add React and Redux DevTools (#6793) 2019-07-11 12:27:06 -02:30
run-ganache Remove localhost provider type (#9551) 2020-10-12 12:05:40 -07:00
sentry-publish.js Exit sentry:publish with non-zero code upon failure (#9893) 2020-11-17 09:37:15 +08:00
sentry-upload-artifacts.sh Improve Sentry publish script (#7417) 2019-12-05 17:59:48 -04:00
shellcheck.sh Add lint:shellcheck:package (#7568) 2019-12-11 15:52:08 -05:00
show-deps-install-scripts.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
source-map-explorer.sh ci - create source-map-explorer build-artifacts (#7141) 2019-09-11 23:35:30 +08:00
sourcemap-validator.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
static-server.js Add mock Segment server (#9783) 2020-11-09 18:15:23 -03:30
verify-locale-strings.js add shared transaction constants (#9459) 2020-11-03 16:57:51 -06:00

Development

Several files which are needed for developing on(!) MetaMask.

Usually each files contains information about its scope / usage.