Skip to content
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

chore (cherry-pick): ignore warning for ethereumjs-wallet (#28145) #28155

Closed
wants to merge 5 commits into from

Conversation

danjm
Copy link
Contributor

@danjm danjm commented Oct 29, 2024

Cherry pick 3a35385 to v12.5.1. Original PR description:

Description

To unblock develop, creating this PR that adds ethereumjs-wallet to list of deprecated packages that are ignored when using yarn audit. .

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Go to this page... 2.

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

Description

Open in GitHub Codespaces

Related issues

Fixes:

Manual testing steps

  1. Go to this page...

Screenshots/Recordings

Before

After

Pre-merge author checklist

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.

## **Description**

To unblock develop, creating this PR that adds `ethereumjs-wallet` to
list of deprecated packages that are ignored when using yarn audit. .

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/28145?quickstart=1)

## **Related issues**

Fixes:

## **Manual testing steps**

1. Go to this page...
2.
3.

## **Screenshots/Recordings**

<!-- If applicable, add screenshots and/or recordings to visualize the
before and after of your change. -->

### **Before**

<!-- [screenshots/recordings] -->

### **After**

<!-- [screenshots/recordings] -->

## **Pre-merge author checklist**

- [ ] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.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/develop/.github/guidelines/LABELING_GUIDELINES.md)).
Not required for external contributors.

## **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.
@danjm danjm requested a review from a team as a code owner October 29, 2024 14:07
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.

hjetpoluru
hjetpoluru previously approved these changes Oct 29, 2024
- fix(deps): `gridplus-sdk@2.5.1->~2.6.0`
    - `2.7.0` updates to `@ethereumjs/tx` 5, so holding at 2.6
    - removes dependency on legacy `ethereum-cryptography` v1
- dedupe and unpin `@ethereumjs/tx` to `^4.2.0`
  - `eth-lattice-keyring` is pinned to `@ethereumjs/tx@4.1.1`
  - `gridplus-sdk` is pinned to `@ethereumjs/tx@4.1.2`
- fix(deps): bump `elliptic@6.5.4->^6.5.7` via resolutions
- fix(deps): bump `secp256k`

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27973?quickstart=1)

- GridPlus/eth-lattice-keyring#64
- GridPlus/gridplus-sdk#547

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.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.
Copy link

socket-security bot commented Oct 29, 2024

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

Package New capabilities Transitives Size Publisher
npm/@babel/generator@7.25.5 None 0 489 kB nicolo-ribaudo
npm/@babel/helper-create-class-features-plugin@7.25.4 None +2 613 kB nicolo-ribaudo
npm/@babel/helper-module-imports@7.24.7 None 0 63.7 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.8 None 0 114 kB nicolo-ribaudo
npm/@babel/helper-replace-supers@7.25.0 None 0 106 kB nicolo-ribaudo
npm/@babel/helper-simple-access@7.24.7 None 0 14.1 kB nicolo-ribaudo
npm/@babel/helper-skip-transparent-expression-wrappers@7.24.7 None 0 58.5 kB nicolo-ribaudo
npm/@babel/helper-validator-option@7.24.8 None 0 11.8 kB nicolo-ribaudo
npm/@babel/plugin-syntax-jsx@7.24.7 None 0 70 kB nicolo-ribaudo
npm/@babel/plugin-syntax-typescript@7.25.4 None 0 69.7 kB existentialism, hzoo, jlhwung, ...1 more
npm/@babel/plugin-transform-modules-commonjs@7.24.8 None 0 107 kB nicolo-ribaudo
npm/@babel/plugin-transform-typescript@7.25.2 None 0 200 kB nicolo-ribaudo
npm/@babel/preset-typescript@7.24.7 None 0 90.8 kB nicolo-ribaudo
npm/@babel/runtime@7.25.4 None 0 248 kB nicolo-ribaudo
npm/@babel/types@7.25.4 environment 0 2.48 MB nicolo-ribaudo
npm/@metamask/eth-snap-keyring@4.4.0 None +1 123 kB
npm/@metamask/slip44@4.0.0 None 0 136 kB metamaskbot
npm/@metamask/snaps-controllers@9.11.1 None 0 1.62 MB danfinlay, gudahtt, kumavis, ...8 more
npm/@metamask/snaps-rpc-methods@11.5.0 None 0 1.23 MB danfinlay, gudahtt, kumavis, ...8 more
npm/@metamask/snaps-utils@8.4.1 None 0 1.34 MB danfinlay, gudahtt, kumavis, ...8 more
npm/@metamask/utils@9.3.0 None 0 706 kB metamaskbot
npm/@scure/base@1.1.9 None 0 133 kB paulmillr
npm/@testing-library/dom@7.31.2 environment +3 3.14 MB testing-library-bot
npm/dom-accessibility-api@0.5.16 None 0 257 kB eps1lon
npm/elliptic@6.5.7 None 0 119 kB indutny
npm/lz-string@1.5.0 None 0 176 kB pieroxy
npm/node-addon-api@5.1.0 None 0 380 kB nicknaso
npm/secp256k1@4.0.4 None 0 1.82 MB fanatid, jprichardson, null_radix
npm/undici-types@6.19.8 None 0 84.2 kB matteo.collina

🚮 Removed packages: npm/@babel/generator@7.24.10, npm/@babel/helper-annotate-as-pure@7.22.5, npm/@babel/helper-create-class-features-plugin@7.24.5, npm/@babel/helper-module-imports@7.24.3, npm/@babel/helper-plugin-utils@7.24.5, npm/@babel/helper-skip-transparent-expression-wrappers@7.22.5, npm/@babel/helper-validator-option@7.23.5, npm/@babel/parser@7.24.8, npm/@babel/plugin-syntax-jsx@7.24.1, npm/@babel/plugin-syntax-typescript@7.24.1, npm/@babel/plugin-transform-modules-commonjs@7.24.1, npm/@babel/plugin-transform-typescript@7.24.5, npm/@babel/preset-typescript@7.24.1, npm/@babel/runtime@7.24.8, npm/@babel/traverse@7.24.8, npm/@babel/types@7.24.9, npm/@chainsafe/as-sha256@0.3.1, npm/@chainsafe/persistent-merkle-tree@0.4.2, npm/@chainsafe/ssz@0.9.4, npm/@metamask/eth-snap-keyring@4.3.3, npm/@metamask/snaps-controllers@9.7.0, npm/@metamask/snaps-rpc-methods@11.1.1, npm/@metamask/utils@9.2.1, npm/@scure/base@1.1.7, npm/@testing-library/dom@7.22.2, npm/bitwise@2.1.0, npm/case@1.6.3, npm/dom-accessibility-api@0.5.0, npm/elliptic@6.5.4, npm/eth-eip712-util-browser@0.0.3, npm/gridplus-sdk@2.5.1, npm/secp256k1@4.0.3

View full report↗︎

@danjm
Copy link
Contributor Author

danjm commented Oct 29, 2024

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated.
👀 Please review the diff for suspicious new powers.

🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff

@metamaskbot
Copy link
Collaborator

Builds ready [872470e]
Page Load Metrics (1888 ± 58 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint24621061810380182
domContentLoaded16912058185612258
load17072116188812258
domInteractive16182493416

- fix(deps): `gridplus-sdk@2.5.1->~2.6.0`
    - `2.7.0` updates to `@ethereumjs/tx` 5, so holding at 2.6
    - removes dependency on legacy `ethereum-cryptography` v1
- dedupe and unpin `@ethereumjs/tx` to `^4.2.0`
  - `eth-lattice-keyring` is pinned to `@ethereumjs/tx@4.1.1`
  - `gridplus-sdk` is pinned to `@ethereumjs/tx@4.1.2`
- fix(deps): bump `elliptic@6.5.4->^6.5.7` via resolutions
- fix(deps): bump `secp256k`

[![Open in GitHub
Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/MetaMask/metamask-extension/pull/27973?quickstart=1)

- GridPlus/eth-lattice-keyring#64
- GridPlus/gridplus-sdk#547

- [x] I've followed [MetaMask Contributor
Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask
Extension Coding
Standards](https://github.com/MetaMask/metamask-extension/blob/develop/.github/guidelines/CODING_GUIDELINES.md).
- [x] I've completed the PR template to the best of my ability
- [x] I’ve included tests if applicable
- [x] I’ve documented my code using [JSDoc](https://jsdoc.app/) format
if applicable
- [x] I’ve applied the right labels on the PR (see [labeling
guidelines](https://github.com/MetaMask/metamask-extension/blob/develop/.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.
@danjm
Copy link
Contributor Author

danjm commented Oct 29, 2024

@metamaskbot update-policies

@metamaskbot
Copy link
Collaborator

Policies updated.
👀 Please review the diff for suspicious new powers.

🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff

@metamaskbot
Copy link
Collaborator

Builds ready [4ab6bb4]
Page Load Metrics (1699 ± 67 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint25521561636351169
domContentLoaded14661944166012459
load14742067169913967
domInteractive18183564723

Base automatically changed from Version-v12.5.1 to master October 31, 2024 12:26
@danjm danjm closed this Oct 31, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants