bump: mockttp and webpack-dev-server to remove node-forge cp-13.25.0#41288
Conversation
|
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. |
|
@metamaskbot update-policies |
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution MetaMask internal reviewing guidelines:
|
|
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff 👀 lavamoat/browserify/beta/policy.json changes differ from main/policy.json policy changes |
Builds ready [3a0384f]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
|
@HowardBraham if for some reason your PR is taking a while for review or other, this PR here is green as well and could be a temporary fix. |
|
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff 👀 lavamoat/browserify/beta/policy.json changes differ from main/policy.json policy changes |
✨ Files requiring CODEOWNER review ✨📜 @MetaMask/policy-reviewers (13 files, +427 -242)
Tip Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers. |
98611df to
635717d
Compare
|
Builds ready [635717d]
⚡ Performance Benchmarks
🌐 Dapp Page Load BenchmarksCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Bundle size diffs
|
|
LGTM ✅ |



Description
I initially wrote this to fix a node-forge audit error, but someone else got a resolution fix in first.
This PR updates mockttp and webpack-dev-server, which eliminates node-forge entirely.
Changelog
CHANGELOG entry: null
Note
Medium Risk
Dependency upgrades and Lavamoat policy regeneration may affect dev-server/test tooling and bundling behavior, though changes are largely config/third-party updates rather than app logic.
Overview
Resolves the
node-forgeaudit finding by upgradingmockttpto^4.2.3andwebpack-dev-serverto^5.2.3, and removing the explicitnode-forgeentry frompackage.json.Regenerates multiple Lavamoat
policy.jsonfiles to reflect the new dependency graphs (notably shiftingasync-mutexallowances tomockttp>async-mutex, adding new@peculiar/x509chains formockttp, and updating somewebpack-dev-serverbuiltin module references). Updates the Jest setup helper to polyfillcrypto.randomUUIDwhen missing in the test environment.Written by Cursor Bugbot for commit 635717d. This will update automatically on new commits. Configure here.