[Snyk] Upgrade hardhat from 2.9.3 to 2.22.0 #46
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade hardhat from 2.9.3 to 2.22.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version fixes:
SNYK-JS-MOCHA-2863123
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-2980279
Why? CVSS 7.5
SNYK-JS-QS-3153490
Why? CVSS 7.5
SNYK-JS-QS-3153490
Why? CVSS 7.5
SNYK-JS-UNDICI-3323845
Why? CVSS 7.5
SNYK-JS-ES5EXT-6095076
Why? CVSS 7.5
SNYK-JS-ES5EXT-6095076
Why? CVSS 7.5
SNYK-JS-FOLLOWREDIRECTS-6141137
Why? CVSS 7.5
SNYK-JS-GETFUNCNAME-5923417
Why? CVSS 7.5
SNYK-JS-NORMALIZEURL-1296539
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-2958047
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-2958050
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-2964946
Why? CVSS 7.5
SNYK-JS-SIMPLEGET-2361683
Why? CVSS 7.5
SNYK-JS-TAR-1536528
Why? CVSS 7.5
SNYK-JS-TAR-1536531
Why? CVSS 7.5
SNYK-JS-TAR-1579147
Why? CVSS 7.5
SNYK-JS-TAR-1579152
Why? CVSS 7.5
SNYK-JS-TAR-1579155
Why? CVSS 7.5
SNYK-JS-JSONSCHEMA-1920922
Why? CVSS 7.5
SNYK-JS-BROWSERIFYSIGN-6037026
Why? CVSS 7.5
SNYK-JS-DECODEURICOMPONENT-3149970
Why? CVSS 7.5
SNYK-JS-MOCHA-2863123
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-5425051
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-5838352
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-6346765
Why? CVSS 7.5
SNYK-JS-PATHPARSE-1077067
Why? CVSS 7.5
SNYK-JS-UNDICI-2980286
Why? CVSS 7.5
SNYK-JS-UNDICI-3323844
Why? CVSS 7.5
SNYK-JS-ELLIPTIC-1064899
Why? CVSS 7.5
SNYK-JS-EXPRESS-6474509
Why? CVSS 7.5
SNYK-JS-EXPRESS-6474509
Why? CVSS 7.5
SNYK-JS-FOLLOWREDIRECTS-6444610
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-2965798
Why? CVSS 7.5
SNYK-JS-HIGHLIGHTJS-1048676
Why? CVSS 7.5
SNYK-JS-UNDICI-2928996
Why? CVSS 7.5
SNYK-JS-UNDICI-2953389
Why? CVSS 7.5
SNYK-JS-UNDICI-2980276
Why? CVSS 7.5
SNYK-JS-HTTPCACHESEMANTICS-3248783
Why? CVSS 7.5
SNYK-JS-COOKIEJAR-3149984
Why? CVSS 7.5
SNYK-JS-COOKIEJAR-3149984
Why? CVSS 7.5
SNYK-JS-MINIMATCH-3050818
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-5425827
Why? CVSS 7.5
SNYK-JS-OPENZEPPELINCONTRACTS-5672116
Why? CVSS 7.5
SNYK-JS-UNDICI-5962466
Why? CVSS 7.5
SNYK-JS-UNDICI-6252336
Why? CVSS 7.5
SNYK-JS-TAR-1536758
Why? CVSS 7.5
SNYK-JS-UNDICI-2957529
Why? CVSS 7.5
SNYK-JS-MINIMIST-2429795
Why? CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: hardhat
This release sets Cancun as the default hardfork used by the Hardhat Network.
This version of Hardhat marks the debut of EDR (Ethereum Development Runtime), our new Rust-based runtime that is a complete rewrite of the original TypeScript-based Hardhat Network. This release lays a new long-term foundation for Hardhat's evolution over the coming year.
There are no functional changes, but there are some performance improvements across the board, which we’ll continue to expand in future updates.
Given the significance of this internal change, there’s a possibility of bugs. If you encounter any problems specific to this version, please report them by opening an issue. You should be able to downgrade to v2.20.1 without losing functionality if needed.
solidity-coverage out-of-memory issues
The
solidity-coverage
plugin works by heavily instrumenting the code, which sometimes causes OOM (out-of-memory) issues. This new version of Hardhat can, in certain cases, make those problems more likely.If you run into this, you can fix it by using Node.js’s
--max-old-space-size
flag:NODE_OPTIONS="--max-old-space-size=8192" npx hardhat coverage
Dropping support for Node.js v16
As part of this release, we are dropping support for Node.js v16. This version of Node.js reached its end-of-life in September of last year. You can learn more about our support guarantees here.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs