Skip to content

Bump Browserify#20946

Merged
FrederikBolding merged 5 commits intodevelopfrom
fb/bump-browserify
Sep 20, 2023
Merged

Bump Browserify#20946
FrederikBolding merged 5 commits intodevelopfrom
fb/bump-browserify

Conversation

@FrederikBolding
Copy link
Member

@FrederikBolding FrederikBolding commented Sep 19, 2023

Description

Bumps Browserify to the latest version, this allows us to start using readable-stream@v3 features and also dedupes some dependencies.

@FrederikBolding
Copy link
Member Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policy update failed. You can review the logs or retry the policy update here

@socket-security
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
@metamask/eslint-config-jest 9.0.0 None +0 5.9 kB gudahtt
@types/gulp-sourcemaps 0.0.35 None +0 6.13 kB types
@testing-library/react 10.4.9 eval, environment +0 5.22 MB testing-library-bot

🚮 Removed packages: browserify@16.5.2, mocha@9.2.2

@socket-security
Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

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

Issue Package Version Note Source
New author @metamask/eslint-config-jest 9.0.0
Unmaintained header-case 1.0.1
  • Last Publish: 12/2/2020, 12:32:04 AM

Next steps

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What are unmaintained packages?

Package has not been updated in more than a year and may be unmaintained. Problems with the package may go unaddressed.

Package should publish periodic maintenance releases if they are maintained, or deprecate if they have no intention in further maintenance.

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 package-name@version specifiers. e.g. @SocketSecurity ignore foo@1.0.0 bar@* or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore @metamask/eslint-config-jest@9.0.0
  • @SocketSecurity ignore header-case@1.0.1

@FrederikBolding
Copy link
Member Author

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated

@metamaskbot
Copy link
Collaborator

Builds ready [80a1dcf]
Page Load Metrics (1696 ± 138 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1062421533517
domContentLoaded139824811696286138
load139824811696286138
domInteractive139824811696286138
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 340 Bytes (0.01%)
  • ui: -13.88 KiB (-0.17%)
  • common: 63.71 KiB (1.39%)

@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (a3a99aa) 68.25% compared to head (b17b181) 68.25%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #20946   +/-   ##
========================================
  Coverage    68.25%   68.25%           
========================================
  Files         1006     1006           
  Lines        40184    40184           
  Branches     10742    10742           
========================================
  Hits         27424    27424           
  Misses       12760    12760           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jiexi jiexi marked this pull request as ready for review September 19, 2023 16:31
@jiexi jiexi requested review from a team as code owners September 19, 2023 16:31
@github-actions
Copy link
Contributor

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.

@jiexi
Copy link
Member

jiexi commented Sep 19, 2023

Brought these changes into: #20917

So going to close this PR. Thank you, @FrederikBolding

@jiexi jiexi closed this Sep 19, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Sep 19, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [48bd458]
Page Load Metrics (1446 ± 29 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint109151126126
domContentLoaded1336154114466029
load1336154114466029
domInteractive1336154114466029
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 340 Bytes (0.01%)
  • ui: -13.88 KiB (-0.17%)
  • common: 63.71 KiB (1.39%)

@legobeat legobeat reopened this Sep 20, 2023
@legobeat legobeat marked this pull request as draft September 20, 2023 00:40
@legobeat legobeat added the dependencies Pull requests that update a dependency file label Sep 20, 2023
@legobeat
Copy link
Contributor

legobeat commented Sep 20, 2023

Reopened after chat with @jiexi . We agreed the browserify update is warranted to be done independently.

@legobeat legobeat marked this pull request as ready for review September 20, 2023 01:20
@legobeat
Copy link
Contributor

@SocketSecurity ignore @metamask/eslint-config-jest@9.0.0

"new author" ok, unrelated

@legobeat
Copy link
Contributor

@SocketSecurity ignore header-case@1.0.1

unmaintained ok; unrelated

@FrederikBolding FrederikBolding added the team-snaps-deprecated DEPRECATED: please use "team-core-platform" instead label Sep 20, 2023
@FrederikBolding
Copy link
Member Author

@legobeat Updated description and re-ran failed CI. Should be good to review!

@MetaMask MetaMask unlocked this conversation Sep 20, 2023
@metamaskbot
Copy link
Collaborator

Builds ready [b17b181]
Page Load Metrics (1743 ± 78 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint1222131592612
domContentLoaded15272082174015976
load15272106174316378
domInteractive15272082174015976
Bundle size diffs [🚨 Warning! Bundle size has increased!]
  • background: 340 Bytes (0.01%)
  • ui: -13.88 KiB (-0.17%)
  • common: 63.71 KiB (1.39%)

Copy link
Contributor

@legobeat legobeat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@FrederikBolding FrederikBolding merged commit 3741079 into develop Sep 20, 2023
@FrederikBolding FrederikBolding deleted the fb/bump-browserify branch September 20, 2023 13:14
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2023
@metamaskbot metamaskbot added the release-11.3.0 Issue or pull request that will be included in release 11.3.0 label Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file release-11.3.0 Issue or pull request that will be included in release 11.3.0 team-snaps-deprecated DEPRECATED: please use "team-core-platform" instead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants