Skip to content

chore: Remove nanoid resolution#8809

Merged
Gudahtt merged 2 commits into
mainfrom
remove-nanoid-resolution
Mar 4, 2024
Merged

chore: Remove nanoid resolution#8809
Gudahtt merged 2 commits into
mainfrom
remove-nanoid-resolution

Conversation

@Gudahtt

@Gudahtt Gudahtt commented Mar 1, 2024

Copy link
Copy Markdown
Member

Description

This resolution for nanoid was added in #3641 to resolve a security advisory. The resolution is not needed, as the advisory is not present after removing the resolution.

This resolution was unsafe because it was forcing the use of incompatible versions of the package.

Related issues

N/A

Manual testing steps

N/A

Screenshots/Recordings

N/A

Pre-merge author checklist

  • I’ve followed MetaMask Coding Standards.
  • I've clearly explained what problem this PR is solving and how it is solved.
  • I've linked related issues
  • I've included manual testing steps
  • I've included screenshots/recordings if applicable
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable
  • I’ve applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
  • I’ve properly set the pull request status:
    • In case it's not yet "ready for review", I've set it to "draft".
    • In case it's "ready for review", I've changed it from "draft" to "non-draft".

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

@Gudahtt Gudahtt requested a review from a team as a code owner March 1, 2024 20:01
@Gudahtt Gudahtt force-pushed the remove-nanoid-resolution branch from ddf873a to dd41b8e Compare March 1, 2024 20:18
@Gudahtt Gudahtt added the team-mobile-platform Mobile Platform team label Mar 1, 2024
@socket-security

socket-security Bot commented Mar 1, 2024

Copy link
Copy Markdown

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

Package New capabilities Transitives Size Publisher
npm/nanoid@3.3.7 None 0 24.4 kB ai

🚮 Removed packages: npm/nanoid@3.2.0

View full report↗︎

@gauthierpetetin gauthierpetetin added the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Mar 1, 2024
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 41.60%. Comparing base (c575f53) to head (bf0073f).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #8809   +/-   ##
=======================================
  Coverage   41.60%   41.60%           
=======================================
  Files        1269     1269           
  Lines       30859    30859           
  Branches     3082     3082           
=======================================
  Hits        12840    12840           
  Misses      17243    17243           
  Partials      776      776           

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

@github-actions

github-actions Bot commented Mar 1, 2024

Copy link
Copy Markdown
Contributor

https://bitrise.io/ Bitrise

✅✅✅ pr_smoke_e2e_pipeline passed on Bitrise! ✅✅✅

Commit hash: bf0073f
Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/91baa8fa-dc6e-47b1-9ac1-39b7f0243a91

Note

  • You can kick off another pr_smoke_e2e_pipeline on Bitrise by removing and re-applying the Run Smoke E2E label on the pull request

@Cal-L Cal-L left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

Gudahtt added 2 commits March 4, 2024 09:51
This resolution for `nanoid` was added in #3641 to resolve a security
advisory. The resolution is not needed, as the advisory is not present
after removing the resolution.

This resolution was unsafe because it was forcing the use of
incompatible versions of the package.
@Gudahtt Gudahtt force-pushed the remove-nanoid-resolution branch from bf0073f to e962ff9 Compare March 4, 2024 13:21
@sonarqubecloud

sonarqubecloud Bot commented Mar 4, 2024

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@Gudahtt Gudahtt merged commit 8fdfaca into main Mar 4, 2024
@Gudahtt Gudahtt deleted the remove-nanoid-resolution branch March 4, 2024 13:36
@github-actions github-actions Bot removed the needs-dev-review PR needs reviews from other engineers (in order to receive required approvals) label Mar 4, 2024
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 4, 2024
@metamaskbot metamaskbot added the release-7.19.0 Issue or pull request that will be included in release 7.19.0 label Mar 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

release-7.19.0 Issue or pull request that will be included in release 7.19.0 team-mobile-platform Mobile Platform team

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants