-
Notifications
You must be signed in to change notification settings - Fork 5.4k
release(runway): cherry-pick fix: update package to avoid yarn audit issue #38367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> Resolve `node-forge` to ^1.3.2 in order to pass the audit. DO NOT MERGE unless someone with security privileges clears it. [](https://codespaces.new/MetaMask/metamask-extension/pull/38348?quickstart=1) <!-- If this PR is not End-User-Facing and should not show up in the CHANGELOG, you can choose to either: 1. Write `CHANGELOG entry: null` 2. Label with `no-changelog` If this PR is End-User-Facing, please write a short User-Facing description in the past tense like: `CHANGELOG entry: Added a new tab for users to see their NFTs` `CHANGELOG entry: Fixed a bug that was causing some NFTs to flicker` (This helps the Release Engineer do their job more quickly and accurately) --> CHANGELOG entry: null Fixes: 1. Go to this page... 2. 3. <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> <!-- [screenshots/recordings] --> <!-- [screenshots/recordings] --> - [ ] I've followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Extension Coding Standards](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [ ] I've completed the PR template to the best of my ability - [ ] I’ve included tests if applicable - [ ] I’ve documented my code using [JSDoc](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-extension/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). Not required for external contributors. - [ ] 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. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Updates node-forge to 1.3.2 and stabilizes E2E by adding/using a safe handler for the backup reminder modal. > > - **Dependencies**: > - Bump `node-forge` to `1.3.2` in `yarn.lock`. > - **Tests (E2E)**: > - `test/e2e/page-objects/pages/home/homepage.ts`: add `clickBackupRemindMeLaterButtonSafe` using `clickElementSafe`. > - Use the safe backup reminder handler in `tests/account/incremental-security.spec.ts` and `tests/settings/change-password.spec.ts` to proceed past the reminder. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 846d2a1. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> --------- Co-authored-by: Mark Stacey <[email protected]>
|
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. |
seaona
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
✨ Files requiring CODEOWNER review ✨🧪 @MetaMask/qa (1 files, +4 -0)
|
Note for myself:The conflict we had to resolve to create this cherry-pick PR are due to the fact this PR was merged to main after release 13.11.0 was cut. |
Builds ready [17f5b4a]
UI Startup Metrics (1293 ± 109 ms)
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
|
|
No release label on PR. Adding release label release-13.11.0 on PR, as PR was cherry-picked in branch 13.11.0. |
Description
Resolve
node-forgeto ^1.3.2 in order to pass the audit.DO NOT MERGE unless someone with security privileges clears it.
Changelog
CHANGELOG entry: null
Related issues
Fixes:
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Docs and MetaMask
Extension Coding
Standards.
if applicable
guidelines).
Not required for external contributors.
Pre-merge reviewer checklist
app, test code being changed).
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.
Note
Adds a safe click helper for the backup reminder and updates affected e2e tests to use it post-onboarding.
test/e2e/page-objects/pages/home/homepage.ts): AddclickBackupRemindMeLaterButtonSafeusingdriver.clickElementSafe.test/e2e/tests/account/incremental-security.spec.tsto useclickBackupRemindMeLaterButtonSafeafter onboarding.test/e2e/tests/settings/change-password.spec.tsto useclickBackupRemindMeLaterButtonSafeafter onboarding.Written by Cursor Bugbot for commit 17f5b4a. This will update automatically on new commits. Configure here.
Co-authored-by: Mark Stacey [email protected] 54fd624