metamask-extension icon indicating copy to clipboard operation
metamask-extension copied to clipboard

build: add alternative build process to enable faster developer builds

Open davidmurdoch opened this issue 1 year ago โ€ข 19 comments

Closes https://github.com/MetaMask/MetaMask-planning/issues/1477 and https://github.com/MetaMask/MetaMask-planning/issues/1903

Prereq PR: https://github.com/MetaMask/metamask-extension/pull/25456

About this PR

This PR adds an alternative build process that is much faster than the gulp build we have now, which is quite slow and doesn't make use of modern build system improvements. The speed up is possible by making use of the SWC compiler, and more modern build system. The build system is also a bit simpler and hopefully more maintainable.

This build doesn't yet support:

  • HMR/chromereload (requires we get rid of our circular dependencies)
  • lavamoat (neither running the build system in lavamoat, or adding lavamoat protections)
  • production builds (because of not supporting lavamoat)
  • MV3 (requires writing a webpack plugin)

Proposed Review Tactics

There is a lot to review in this PR. Depending on your own review methodologies, you might like the idea of breaking up review into several review passes, each one in a different categories/tactics. Some useful categories may cover things like:

  • Style (eslint customizations, exports, imports, use of require)
  • Architecture & Organization (naming, files and folder location, code separation)
  • Accuracy (are there bugs, unhandled exceptions, etc?)
  • Comments, Documentation, etc. (typos, inaccuracies, missing information?)
  • API (the new cli as well as yarn scripts)
  • Test Coverage and Test Organization, CI decisions (are tests lacking, are tests themselves maintainable and extensible, are there any unnecessary or missing tests?)

What's bad and should be discussed:

  • We now have to maintain 2 build systems

davidmurdoch avatar Jan 11 '24 23:01 davidmurdoch

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

github-actions[bot] avatar Jan 11 '24 23:01 github-actions[bot]

๐Ÿšจ Potential security issues detected. Learn more about Socket for GitHub โ†—๏ธŽ

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Shell access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/[email protected] ๐Ÿšซ
Network access npm/@lydell/[email protected] ๐Ÿšซ
Shell access npm/@lydell/[email protected] ๐Ÿšซ
Network access npm/@metamask/[email protected] ๐Ÿšซ

View full reportโ†—๏ธŽ

Next steps

What is network access?

This module accesses the network.

Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/[email protected] or ignore all packages with @SocketSecurity ignore-all

socket-security[bot] avatar Jan 31 '24 16:01 socket-security[bot]

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/@leichtgewicht/[email protected] None 0 17.7 kB leichtgewicht
npm/@swc/[email protected] None 0 235 kB kdy1
npm/@types/[email protected] None 0 5.57 kB types
npm/@types/[email protected] None 0 694 kB types
npm/@types/[email protected] None 0 4.86 kB types
npm/@types/[email protected] None 0 24.9 kB types
npm/@types/[email protected] None 0 8.34 kB types
npm/@types/[email protected] None 0 32.4 kB types
npm/@types/[email protected] None 0 9.39 kB types
npm/@types/[email protected] None 0 14.4 kB types
npm/@types/[email protected] None 0 63.1 kB types
npm/@types/[email protected] None 0 4.26 kB types
npm/@types/[email protected] None 0 7.91 kB types
npm/@types/[email protected] None 0 4.71 kB types
npm/@types/[email protected] None 0 5.35 kB types
npm/[email protected] None 0 43.1 kB webdiscus
npm/[email protected] None 0 7.29 kB dougwilson
npm/[email protected] None 0 66.2 kB mdidon
npm/[email protected] None 0 3.7 kB juliangruber
npm/[email protected] None 0 3.15 kB sindresorhus
npm/[email protected] None 0 10.2 kB bripkens
npm/[email protected] None +1 8.84 kB sindresorhus
npm/[email protected] None 0 16.1 kB silverwind
npm/[email protected] None 0 61 kB silverwind
npm/[email protected] None 0 275 kB kilianvalkhof
npm/[email protected] None 0 773 kB 101arrowz
npm/[email protected] None 0 12.1 kB indutny
npm/[email protected] None 0 86.9 kB indutny
npm/[email protected] environment, filesystem, unsafe 0 648 kB webdiscus
npm/[email protected] None 0 4.6 MB sibiraj-s
npm/[email protected] None 0 13.9 kB indutny
npm/[email protected] network +1 67.9 kB chimurai
npm/[email protected] network +1 270 kB jcrugzz
npm/[email protected] None +1 6.63 kB sindresorhus
npm/[email protected] None 0 4.54 kB sindresorhus
npm/[email protected] environment, filesystem, unsafe 0 1.91 MB pi0
npm/[email protected] None 0 121 kB thomasaribart
npm/[email protected] environment, filesystem, shell 0 14.2 kB soda
npm/[email protected] None 0 924 kB tonybrix
npm/[email protected] network 0 22 kB mafintosh
npm/[email protected] environment, filesystem, network, shell 0 1.15 MB tyriar
npm/[email protected] None 0 19.1 kB indutny
npm/[email protected] None +1 32.1 kB sindresorhus
npm/[email protected] eval, unsafe Transitive: filesystem +1 176 kB evilebottnawi
npm/[email protected] environment, filesystem 0 277 kB isaacs
npm/[email protected] None 0 5 kB sindresorhus
npm/[email protected] environment 0 60.3 kB evilebottnawi
npm/[email protected] None 0 15.4 kB indutny
npm/[email protected] None 0 25.4 kB jfromaniello
npm/[email protected] filesystem, network +3 115 kB dougwilson
npm/[email protected] filesystem, network 0 82.8 kB brycekahle
npm/[email protected] None 0 136 kB daviddias
npm/[email protected] network 0 57.7 kB indutny
npm/[email protected] None 0 7.76 kB mafintosh
npm/[email protected] None 0 101 kB thomasaribart
npm/[email protected] None 0 20.9 kB indutny
npm/[email protected] environment, eval, network Transitive: filesystem +13 3.28 MB evilebottnawi

๐Ÿšฎ Removed packages: npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full reportโ†—๏ธŽ

socket-security[bot] avatar Mar 28 '24 16:03 socket-security[bot]

Builds ready [bf5809e]
Page Load Metrics (612 ยฑ 450 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint6112892178
domContentLoaded8171021
load552407612937450
domInteractive8171021
Bundle size diffs [๐Ÿš€ Bundle size reduced!]
  • background: 22 Bytes (0.00%)
  • ui: -11 Bytes (-0.00%)
  • common: -462 Bytes (-0.01%)

metamaskbot avatar May 30 '24 17:05 metamaskbot

Codecov Report

Attention: Patch coverage is 61.81818% with 21 lines in your changes missing coverage. Please review.

Project coverage is 69.99%. Comparing base (80ac1b2) to head (27872ae). Report is 7 commits behind head on develop.

Files Patch % Lines
app/scripts/load/_initialize.ts 0.00% 15 Missing :warning:
app/scripts/load/background.ts 0.00% 2 Missing :warning:
app/scripts/load/ui.ts 0.00% 2 Missing :warning:
app/scripts/metamask-controller.js 0.00% 1 Missing :warning:
app/scripts/sentry-install.js 0.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #22506      +/-   ##
===========================================
+ Coverage    69.97%   69.99%   +0.02%     
===========================================
  Files         1409     1428      +19     
  Lines        49905    50036     +131     
  Branches     13787    13837      +50     
===========================================
+ Hits         34920    35021     +101     
- Misses       14985    15015      +30     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 30 '24 17:05 codecov[bot]

Builds ready [bf5809e]
Page Load Metrics (702 ยฑ 517 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint641711052914
domContentLoaded8191232
load6028507021077517
domInteractive8191232
Bundle size diffs [๐Ÿš€ Bundle size reduced!]
  • background: 22 Bytes (0.00%)
  • ui: -11 Bytes (-0.00%)
  • common: -462 Bytes (-0.01%)

metamaskbot avatar May 31 '24 00:05 metamaskbot

Builds ready [1613ae8]
Page Load Metrics (224 ยฑ 234 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint691911023416
domContentLoaded94816105
load421906224488234
domInteractive94816105

metamaskbot avatar May 31 '24 17:05 metamaskbot

Builds ready [692f0df]
Page Load Metrics (122 ยฑ 158 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint69202862713
domContentLoaded8201031
load411557122329158
domInteractive8201031

metamaskbot avatar May 31 '24 19:05 metamaskbot

Builds ready [0b12a65]
Page Load Metrics (52 ยฑ 5 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint681078294
domContentLoaded9181121
load439452115
domInteractive9181121

metamaskbot avatar Jun 01 '24 01:06 metamaskbot

Builds ready [8f15900]
Page Load Metrics (148 ยฑ 192 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7112291147
domContentLoaded9281352
load471890148400192
domInteractive9281352

metamaskbot avatar Jun 01 '24 03:06 metamaskbot

Builds ready [4bbb14a]
Page Load Metrics (42 ยฑ 2 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint6413076147
domContentLoaded816921
load40514232
domInteractive816921

metamaskbot avatar Jun 03 '24 21:06 metamaskbot

Builds ready [c3875b3]
Page Load Metrics (51 ยฑ 4 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7412485115
domContentLoaded9141011
load45795184
domInteractive9141011

metamaskbot avatar Jun 11 '24 21:06 metamaskbot

Builds ready [1bce76e]
Page Load Metrics (52 ยฑ 4 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7010986105
domContentLoaded9281142
load44715284
domInteractive9281142

metamaskbot avatar Jun 11 '24 22:06 metamaskbot

Builds ready [5531c59]
Page Load Metrics (233 ยฑ 251 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint751059084
domContentLoaded10281553
load451938233523251
domInteractive10281553
Bundle size diffs [๐Ÿš€ Bundle size reduced!]
  • background: -16.22 KiB (-0.47%)
  • ui: -11 Bytes (-0.00%)
  • common: -16.61 KiB (-0.26%)

metamaskbot avatar Jun 12 '24 20:06 metamaskbot

Builds ready [bef1e90]
Page Load Metrics (196 ยฑ 302 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint681048795
domContentLoaded9201221
load412936196629302
domInteractive9201221
Bundle size diffs [๐Ÿš€ Bundle size reduced!]
  • background: -16.22 KiB (-0.49%)
  • ui: -11 Bytes (-0.00%)
  • common: -16.61 KiB (-0.27%)

metamaskbot avatar Jun 12 '24 22:06 metamaskbot

Builds ready [27cd36e]
Page Load Metrics (61 ยฑ 8 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint7113391188
domContentLoaded9271452
load429961178
domInteractive8271452
Bundle size diffs [๐Ÿš€ Bundle size reduced!]
  • background: -16.22 KiB (-0.49%)
  • ui: -11 Bytes (-0.00%)
  • common: -16.61 KiB (-0.27%)

metamaskbot avatar Jun 13 '24 16:06 metamaskbot

Webpack testing update

  • [x] Compilation Test: Validated that the webpack compiles without errors.
  • [x] Source Maps: Ensure source maps are generated for development builds.
  • [x] Code Splitting: Test that code splitting and dynamic imports work as expected.
  • [ ] Cross-Environment Compatibility: Generate the different build for cross browser on Mac operating systems and performed below testing.
  • [x] Generate the different build for firefox browser and perform below smoke test.
  • [x] Generate the build for Chrome browser and perform below smoke test.
  • [ ] Generate build for Opera browser and perform below smoke test.
  • [x] Generate build for Brave browser and perform below smoke test.
  • [ ] Generate build for Flask build and perform below smoke test.
  • [ ] Generate build for mmi build and perform below smoke test.
  • [x] Validation of the helpers and the corresponding options are working as expected.
  • [x] Performance: Analyzed bundle size and time taken to build is faster
  • [x] Output Verification: Check that output files are correctly placed and named.
  • [x] Zip file validation: Webpack build is able to produce a zip file with the corresponding browser and perform quick smoke test.
  • [ ] Error Handling: Introduce errors to confirm that Webpack displays them appropriately.
  • [x] Continuous Integration: Ensure the Webpack build process integrates smoothly with CI/CD pipelines.
  • [x] Documentation: Validate that Webpack configuration and customizations are well-documented for future reference.

SmokeTest checklist

  • [ ] Loading times to ensure performance targets are met.
  • [ ] Load the extension app
  • [ ] Connect to Test Dapp
  • [ ] Validate loading of the icons, text, error message appears.
  • [ ] Validate a basic send transactions
  • [ ] Validate a hardware wallet
  • [ ] Validate the Snaps

hjetpoluru avatar Jun 14 '24 22:06 hjetpoluru

Builds ready [ef60531]
Page Load Metrics (224 ยฑ 249 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint6711486105
domContentLoaded10221231
load441971224519249
domInteractive10221231
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 40.91 KiB (1.19%)
  • ui: -11 Bytes (-0.00%)
  • common: -12.75 KiB (-0.20%)

metamaskbot avatar Jun 26 '24 23:06 metamaskbot

Builds ready [a0cf359]
Page Load Metrics (41 ยฑ 3 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint56837094
domContentLoaded716921
load36574163
domInteractive716921
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 40.91 KiB (1.19%)
  • ui: -11 Bytes (-0.00%)
  • common: -12.75 KiB (-0.20%)

metamaskbot avatar Jun 28 '24 23:06 metamaskbot

Notes from group review:

  • Skip empty string for env var when building `yarn webpack metamask-extension/development/build/set-environment-variables.js:203 throw new Error( ^

Error: Invalid phishing warning page URL: '/' `

DDDDDanica avatar Jul 01 '24 15:07 DDDDDanica

Builds ready [c30f6a6]
Page Load Metrics (397 ยฑ 396 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint64133912210
domContentLoaded9321574
load392417397825396
domInteractive9321473
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 40.91 KiB (1.19%)
  • ui: -11 Bytes (-0.00%)
  • common: -12.75 KiB (-0.20%)

metamaskbot avatar Jul 02 '24 20:07 metamaskbot

Builds ready [9f07cde]
Page Load Metrics (147 ยฑ 168 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint60135972110
domContentLoaded95025136
load391673147351168
domInteractive95025136
Bundle size diffs [๐Ÿš€ Bundle size reduced!]
  • background: 22 Bytes (0.00%)
  • ui: -11 Bytes (-0.00%)
  • common: -278 Bytes (-0.00%)

metamaskbot avatar Jul 02 '24 22:07 metamaskbot

Builds ready [67d4ba8]
Page Load Metrics (66 ยฑ 15 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint623541016029
domContentLoaded97527168
load38183663115
domInteractive97527168
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 40.52 KiB (1.24%)
  • ui: -11 Bytes (-0.00%)
  • common: -12.62 KiB (-0.19%)

metamaskbot avatar Jul 03 '24 15:07 metamaskbot

Builds ready [43ddf5a]
Page Load Metrics (151 ยฑ 147 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint643801156431
domContentLoaded9180413617
load381465151306147
domInteractive9180413617
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 40.52 KiB (1.24%)
  • ui: -11 Bytes (-0.00%)
  • common: -12.62 KiB (-0.19%)

metamaskbot avatar Jul 04 '24 18:07 metamaskbot

Builds ready [43ddf5a]
Page Load Metrics (151 ยฑ 147 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint643801156431
domContentLoaded9180413617
load381465151306147
domInteractive9180413617
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 40.52 KiB (1.24%)
  • ui: -11 Bytes (-0.00%)
  • common: -12.62 KiB (-0.19%)

metamaskbot avatar Jul 04 '24 22:07 metamaskbot

Builds ready [14ba18c]
Page Load Metrics (161 ยฑ 160 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint723051144923
domContentLoaded9104342210
load411602161334160
domInteractive9104342210
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 40.52 KiB (1.24%)
  • ui: -11 Bytes (-0.00%)
  • common: -12.62 KiB (-0.19%)

metamaskbot avatar Jul 05 '24 20:07 metamaskbot

Builds ready [ee37392]
Page Load Metrics (80 ยฑ 16 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint712901174522
domContentLoaded97630189
load41194803316
domInteractive97630189
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 40.52 KiB (1.24%)
  • ui: -11 Bytes (-0.00%)
  • common: -12.62 KiB (-0.19%)

metamaskbot avatar Jul 05 '24 21:07 metamaskbot

Overall, the PR looks really great. Looking at style, at first I thought the use of require in TS files was strange, but the alternative (dynamic imports) makes things less readable imo. I think it's a good decision to keep require for now, but if there's an opportunity in the future to replace require with imports without reducing readability, we should look into it. Thanks for all the comments and documentation @davidmurdoch!

vthomas13 avatar Jul 23 '24 15:07 vthomas13

Overall, the PR looks really great. Looking at style, at first I thought the use of require in TS files was strange, but the alternative (dynamic imports) makes things less readable imo. I think it's a good decision to keep require for now, but if there's an opportunity in the future to replace require with imports without reducing readability, we should look into it. Thanks for all the comments and documentation @davidmurdoch!

I did some really naive perf testing and synchronous require was slightly faster (like 2 milliseconds) than await import, so that didn't really matter so much in the end, BUT the verbosity of dynamic import is the real killer here, as you discovered. If we could bump our prettier line length to 120 our codebase would be exactly 40% more readable (for everyone except @legobeat who uses a TUI for code editing ๐Ÿ˜›).

davidmurdoch avatar Jul 29 '24 15:07 davidmurdoch

New and removed dependencies detected. Learn more about Socket for GitHub โ†—๏ธŽ

Package New capabilities Transitives Size Publisher
npm/@leichtgewicht/[email protected] None 0 17.7 kB leichtgewicht
npm/@lydell/[email protected] None 0 136 kB lydell
npm/@lydell/[email protected] None 0 103 kB lydell
npm/@lydell/[email protected] None 0 76.3 kB lydell
npm/@lydell/[email protected] None 0 10.5 MB lydell
npm/@lydell/[email protected] None 0 10.9 MB lydell
npm/@lydell/[email protected] environment, filesystem, network, shell 0 58.8 kB lydell
npm/@mantine/[email protected] None 0 10.7 MB rtivital
npm/@mantine/[email protected] environment, network 0 1.02 MB rtivital
npm/@metamask/[email protected] None 0 96.9 kB metamaskbot
npm/@metamask/[email protected] None 0 507 kB metamaskbot
npm/@metamask/[email protected] Transitive: environment, filesystem, network +36 10.8 MB metamaskbot
npm/@swc/[email protected] None 0 38.3 MB kdy1
npm/@swc/[email protected] None 0 40.7 MB kdy1
npm/@swc/[email protected] None 0 25.2 MB kdy1
npm/@swc/[email protected] None 0 43.7 MB kdy1
npm/@swc/[email protected] None 0 55.5 MB kdy1
npm/@swc/[email protected] None 0 49.7 MB kdy1
npm/@swc/[email protected] None 0 62.1 MB kdy1
npm/@swc/[email protected] None 0 33.8 MB kdy1
npm/@swc/[email protected] None 0 27.7 MB kdy1
npm/@swc/[email protected] None 0 52.9 MB kdy1
npm/@swc/[email protected] environment, filesystem, shell 0 211 kB kdy1
npm/@swc/[email protected] None 0 229 kB kdy1
npm/@types/[email protected] None 0 5.57 kB types
npm/@types/[email protected] None 0 4.86 kB types
npm/@types/[email protected] None 0 44.9 kB types
npm/@types/[email protected] None 0 7.86 kB types
npm/@types/[email protected] None 0 6.59 kB types
npm/@types/[email protected] None 0 14.4 kB types
npm/@types/[email protected] None 0 63.1 kB types
npm/@types/[email protected] None 0 4.26 kB types
npm/@types/[email protected] None 0 7.91 kB types
npm/@types/[email protected] None 0 4.71 kB types
npm/@types/[email protected] None 0 7.77 kB types
npm/@types/[email protected] None 0 5.35 kB types
npm/@types/[email protected] None 0 21.7 kB types
npm/@types/[email protected] None 0 8.65 kB types
npm/[email protected] None 0 43.1 kB webdiscus
npm/[email protected] None 0 7.29 kB dougwilson
npm/[email protected] None 0 66.2 kB mdidon
npm/[email protected] None 0 91.3 kB feross
npm/[email protected] environment, filesystem, network 0 493 kB jakub.pawlowicz
npm/[email protected] None 0 9.56 kB mafintosh
npm/[email protected] None 0 10.2 kB bripkens
npm/[email protected] None 0 16.1 kB silverwind
npm/[email protected] None 0 61 kB silverwind
npm/[email protected] None 0 773 kB 101arrowz
npm/[email protected] filesystem 0 2.22 kB mafintosh
npm/[email protected] None 0 12.1 kB indutny
npm/[email protected] None 0 86.9 kB indutny
npm/[email protected] environment, filesystem, unsafe 0 636 kB webdiscus
npm/[email protected] None 0 287 kB mdevils
npm/[email protected] None 0 13.9 kB indutny
npm/[email protected] None 0 25.8 kB jimbly
npm/[email protected] network 0 64.1 kB chimurai
npm/[email protected] network 0 232 kB jcrugzz
npm/[email protected] None 0 4.87 kB sindresorhus
npm/[email protected] None 0 4.5 kB sindresorhus
npm/[email protected] environment, filesystem, unsafe 0 1.91 MB pi0
npm/[email protected] None 0 119 kB thomasaribart
npm/[email protected] None 0 75.6 kB tdegrunt
npm/[email protected] environment, filesystem, shell 0 14.2 kB soda
npm/[email protected] network 0 22 kB mafintosh
npm/[email protected] None 0 1.66 MB davidlehn
npm/[email protected] None 0 19.1 kB indutny
npm/[email protected] None 0 13.2 kB sindresorhus
npm/[email protected] eval, unsafe 0 52.1 kB evilebottnawi
npm/[email protected] environment, filesystem 0 277 kB isaacs
npm/[email protected] environment 0 56.3 kB evilebottnawi
npm/[email protected] environment 0 71.6 kB evilebottnawi
npm/[email protected] None 0 15.4 kB indutny
npm/[email protected] None 0 25.4 kB jfromaniello
npm/[email protected] filesystem, network 0 93.4 kB dougwilson
npm/[email protected] filesystem, network 0 82.8 kB brycekahle
npm/[email protected] None 0 136 kB daviddias
npm/[email protected] network 0 57.7 kB indutny
npm/[email protected] None 0 26.8 kB jhiesey
npm/[email protected] filesystem 0 27.7 kB mafintosh
npm/[email protected] None 0 7.76 kB mafintosh
npm/[email protected] None 0 100 kB thomasaribart
npm/[email protected] None 0 20.9 kB indutny
npm/[email protected] environment, eval, network 0 530 kB evilebottnawi
npm/[email protected] network 0 67.4 kB jcoglan

๐Ÿšฎ Removed packages: npm/@mantine/[email protected], npm/@mantine/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@swc/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@xstate/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full reportโ†—๏ธŽ

socket-security[bot] avatar Jul 29 '24 21:07 socket-security[bot]

Builds ready [8a83684]
Page Load Metrics (437 ยฑ 341 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint882461284120
domContentLoaded10184313818
load432136437710341
domInteractive10184313818
Bundle size diffs [๐Ÿšจ Warning! Bundle size has increased!]
  • background: 81.68 KiB (2.36%)
  • ui: -11 Bytes (-0.00%)
  • common: 31.38 KiB (0.45%)

metamaskbot avatar Jul 30 '24 01:07 metamaskbot