bancorprotocol / contracts-solidity

Bancor Protocol Contracts
Other
840 stars 391 forks source link

Bump undici and hardhat #704

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps undici to 5.22.0 and updates ancestor dependency hardhat. These dependencies need to be updated together.

Updates undici from 5.5.1 to 5.22.0

Release notes

Sourced from undici's releases.

v5.22.0

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v5.21.2...v5.22.0

v5.21.2

What's Changed

Full Changelog: https://github.com/nodejs/undici/compare/v5.21.1...v5.21.2

v5.21.1

What's Changed

... (truncated)

Commits


Updates hardhat from 2.9.3 to 2.14.0

Release notes

Sourced from hardhat's releases.

Hardhat v2.14.0 — Shanghai

This release sets Shanghai as the default hardfork used by the Hardhat Network.

If for some reason you want to keep using the previous hardfork, set it explicitly in your config:

module.exports = {
  networks: {
    hardhat: {
      hardfork: "merge"
    }
  }
}

Hardhat v2.13.1

This release adds support for the upcoming Shanghai hardfork. This hardfork is not enabled by default; if you want to use it, then you have to enable it in your Hardhat config:

module.exports = {
  networks: {
    hardhat: {
      hardfork: "shanghai"
    }
  }
}

Besides that, this version fixes a problem when importing scoped packages in a Yarn Berry monorepo that uses PnP (thanks @​zouguangxian!)

Hardhat v2.13.0 — ES Modules and compiling with viaIR

This new version of Hardhat adds two long-awaited features: ES Modules support, and better support for solc’s IR-based compilation pipeline. Besides that, this version includes several other improvements and bug fixes.

Remember to give this repo a star ⭐ if you are enjoying Hardhat!

ES Modules support

Hardhat was designed with CommonJS in mind, but in the last years adoption of ES Modules (ESM) has been growing. This version includes better support for it. You can now write scripts and tests as ESM, but your Hardhat config —and anything imported from it— still needs to use CommonJS.

ES modules let you use import/export and top-level await. This means that instead of writing a script like this:

// script.js
const helpers = require("@nomicfoundation/hardhat-network-helpers");

async function main() { const latestBlockNumber = await helpers.time.latestBlock(); console.log("Latest block:", latestBlockNumber); }

</tr></table>

... (truncated)

Commits
  • f3eafce Version Packages
  • f168763 Merge pull request #3861 from NomicFoundation/fix-shanghai
  • 28c99a9 Run full, post-shanghai, mainnet block
  • 3234cee Upgrade ethereumjs dependencies
  • 2d5c937 Use shanghai hardfork in (most) tests
  • 15c07c2 Fix forking a shanghai block with a pre-shanghai local hardfork
  • 231f7c4 Merge pull request #3830 from NomicFoundation/shanghai-default
  • 07198d6 Merge pull request #3850 from gnidan/truffle-dashboard-hardhat-plugin
  • 5b70ae0 Run prettier
  • dbbd9d0 Merge pull request #3831 from thiagodeev/patch-1
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/bancorprotocol/contracts-solidity/network/alerts).