OpenZeppelin / defender-client

Monorepo for all defender-client npm packages
https://docs.openzeppelin.com/defender/
MIT License
56 stars 47 forks source link

Bump ethers from 5.7.2 to 6.13.0 in /packages/admin #585

Open dependabot[bot] opened 3 months ago

dependabot[bot] commented 3 months ago

Bumps ethers from 5.7.2 to 6.13.0.

Release notes

Sourced from ethers's releases.

ethers/v6.13.0 (2024-06-04 01:38)

  • Added Options for BrowserProvider (#4707; 33bb0bf).
  • Fix Result deep toObject when a parent is an Array (#4681; d8cb849).
  • Added consistent timeout and cancel behaviour to FetchRequest (#4122; a12a739).

ethers/v6.12.2 (2024-05-30 17:24)

  • Copy EIP-4844 properties during estimateGas and call (#4728; cebe5ee).
  • Use non-capturing regex for data to prevent memory exhaustion for long strings (#4741; 5463aa0).
  • Added Base endpointsto EtherscanProvider (#4729; 7e1dc95).

ethers/v6.12.1 (2024-04-30 23:23)

  • Prevent bad Interface clone when using two different versions of v6 (#4689; 4d2d90f).
  • Fixed typo in error message for invalid quorum weight (#4149; 45b9b9c).
  • Added matic-amoy to EtherescanProvider (#4711; 5c8d17a).
  • Fix JsonRpcProvider ignoring pollingInterval in options (#4644; 7b7be0d).

ethers/v6.12.0 (2024-04-17 02:09)

  • Added Linea Sepolia network and Infura endpoint (#4655; b4aaab8).
  • Do not send unsubscribe messages to destroyed Providers (#4678; c45935e).
  • Get definitive network from InfuraProvider when using InfuraWebSocketProvider (38e32d8).
  • Better error messages for transaction field mismatch (#4659; 9230aa0).
  • Added prevRandao to block (#3372; ec6a754).
  • Added Polygon Amoy testnet (#4645; 1717abb).
  • Added Chainstack provider (#2741; 014004d).
  • Added deep convertion to Result for toObject and toArray (#4681; 03bfe2a).
  • Added EIP-4844 broadcast support (92bad88).
  • Fix ignored throttle parameters (#4663; 12772e9).

ethers/v6.12.0-beta.1 (2024-03-27 14:47)

  • Added EIP-4844 broadcast support.
  • Fix ignored throttle parameters (#4663; 12772e9).

ethers/v6.11.1 (2024-02-14 13:47)

  • Throw an error when attempting to derive from a master path from a non-master node (#4551; 556fdd9).
  • Allow ENS wildcards with labels up to 255 bytes wide; discussed with ENS and deemed safe (#4543; 7f14bde).
  • Enforce string is passed to toUtf8Bytes (#4583; f45bb87).
  • Fix transaction.index not being populated on some backends (#4591; 7f0e140).

ethers/v6.11.0 (2024-02-08 22:02)

  • Allow transaction encoding for inferred type transactions (f02211d).
  • Added EIP-4788, receipts root and state root fields to Block (#4570; c5f126f).
  • Added EIP-4844 fields to Provider classes and formatter (#4570; 7b4f2c1).
  • Assert BrowserProvider receives an EIP-1193 provider to fail early when passing undefined ethereum object (b69f43b).
  • Add timeout to ContractTransactionResponse wait (#4497; 095de51).
  • Allow override keyword in human-readable ABI and improve error messages (#4514, #4548; be5ec2d).
  • Expand Contract sub-class to accept BaseContract super-class constructor arguments (#4538; 98496bc).
  • Allow network for default provider to be null to select mainnet (#4501; b6bf7ab).
  • Allow long dnsEncode names with optional length parameter (#4543; a136348).
  • Fix parseLog signature when receiving read-only array for topics (#4029, #4459; 20cd8a2).
  • Use Secure endpoints for BNB on Etherscan (#4525; 1f6e188).

... (truncated)

Changelog

Sourced from ethers's changelog.

ethers/v6.13.0 (2024-06-04 01:01)

  • Added Options for BrowserProvider (#4707; 33bb0bf).
  • Fix Result deep toObject when a parent is an Array (#4681; d8cb849).
  • Added consistent timeout and cancel behaviour to FetchRequest (#4122; a12a739).

ethers/v6.12.2 (2024-05-30 17:24)

  • Copy EIP-4844 properties during estimateGas and call (#4728; cebe5ee).
  • Use non-capturing regex for data to prevent memory exhaustion for long strings (#4741; 5463aa0).
  • Added Base endpointsto EtherscanProvider (#4729; 7e1dc95).

ethers/v6.12.1 (2024-04-30 22:46)

  • Prevent bad Interface clone when using two different versions of v6 (#4689; 4d2d90f).
  • Fixed typo in error message for invalid quorum weight (#4149; 45b9b9c).
  • Added matic-amoy to EtherescanProvider (#4711; 5c8d17a).
  • Fix JsonRpcProvider ignoring pollingInterval in options (#4644; 7b7be0d).

ethers/v6.12.0 (2024-04-17 01:09)

  • Added Linea Sepolia network and Infura endpoint (#4655; b4aaab8).
  • Do not send unsubscribe messages to destroyed Providers (#4678; c45935e).
  • Get definitive network from InfuraProvider when using InfuraWebSocketProvider (38e32d8).
  • Better error messages for transaction field mismatch (#4659; 9230aa0).
  • Added prevRandao to block (#3372; ec6a754).
  • Added Polygon Amoy testnet (#4645; 1717abb).
  • Added Chainstack provider (#2741; 014004d).
  • Added deep convertion to Result for toObject and toArray (#4681; 03bfe2a).
  • Added EIP-4844 broadcast support (92bad88).
  • Fix ignored throttle parameters (#4663; 12772e9).

ethers/v6.11.1 (2024-02-14 13:13)

  • Throw an error when attempting to derive from a master path from a non-master node (#4551; 556fdd9).
  • Allow ENS wildcards with labels up to 255 bytes wide; discussed with ENS and deemed safe (#4543; 7f14bde).
  • Enforce string is passed to toUtf8Bytes (#4583; f45bb87).
  • Fix transaction.index not being populated on some backends (#4591; 7f0e140).

ethers/v6.11.0 (2024-02-08 20:26)

  • Allow transaction encoding for inferred type transactions (f02211d).
  • Added EIP-4788, receipts root and state root fields to Block (#4570; c5f126f).
  • Added EIP-4844 fields to Provider classes and formatter (#4570; 7b4f2c1).

... (truncated)

Commits
  • 90c196a Fix missing return for Result proxy (#4681).
  • 5b8781d admin: updated dist files
  • e97ca3b Merge branch 'wip-6.13'
  • c2d5346 tests: added gasless testcase for RicMoo-controlled domain
  • 0f1434b admin: remove deprecated mumbai network from tests.
  • 33bb0bf Added Options for BrowserProvider (#4707).
  • 2d2572a admin: update dist files
  • cebe5ee Copy EIP-4844 properties during estimateGas and call (#4728).
  • 5463aa0 Use non-capturing regex for data to prevent memory exhaustion for long string...
  • 8b5dfca docs: fixed links to Parity project (#4738)
  • Additional commits viewable in compare view


Dependabot compatibility score

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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)
socket-security[bot] commented 3 months ago

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

Package New capabilities Transitives Size Publisher
npm/@babel/code-frame@7.24.2 environment +10 194 kB nicolo-ribaudo
npm/@babel/core@7.24.5 environment, filesystem, unsafe Transitive: shell +27 5.33 MB nicolo-ribaudo
npm/@babel/generator@7.24.5 None +3 624 kB nicolo-ribaudo
npm/@babel/helper-plugin-utils@7.24.5 None 0 130 kB nicolo-ribaudo
npm/@babel/parser@7.24.5 None 0 1.89 MB nicolo-ribaudo
npm/@babel/template@7.24.0 None 0 68.9 kB nicolo-ribaudo
npm/@babel/types@7.24.5 environment +3 2.5 MB nicolo-ribaudo
npm/@npmcli/fs@3.1.0 filesystem 0 26.5 kB lukekarrys
npm/@npmcli/promise-spawn@6.0.2 environment, shell Transitive: filesystem +2 30.2 kB nlf
npm/@npmcli/run-script@6.0.2 environment, filesystem Transitive: shell +9 2.17 MB npm-cli-ops
npm/@nx/devkit@16.10.0 environment, filesystem, shell, unsafe Transitive: eval +9 1.67 MB nrwl-jason
npm/@octokit/types@9.3.2 None +1 4.45 MB octokitbot
npm/@types/babel__traverse@7.20.6 None 0 84.1 kB types
npm/@types/glob@8.1.0 None +1 19.2 kB types
npm/@types/jest@29.5.12 None 0 78.7 kB types
npm/@types/node@16.18.97 None 0 1.8 MB types
npm/@typescript-eslint/eslint-plugin@5.62.0 Transitive: environment, filesystem +16 6.2 MB jameshenry
npm/@typescript-eslint/parser@5.62.0 Transitive: environment, filesystem +6 1.82 MB jameshenry
npm/abortcontroller-polyfill@1.7.5 network 0 94.6 kB molsson
npm/asn1@0.2.6 None 0 19.8 kB bahamat
npm/bl@4.1.0 None 0 64.4 kB matteo.collina
npm/cors@2.8.5 None 0 20 kB dougwilson
npm/dashdash@1.14.1 environment, filesystem 0 80.6 kB trentm
npm/eslint-config-prettier@8.10.0 None 0 19.9 kB lydell
npm/eslint-plugin-prettier@4.2.1 None +1 67.9 kB jounqin
npm/eslint@8.57.0 environment, filesystem Transitive: unsafe +40 6.92 MB eslintbot
npm/expect@29.7.0 Transitive: unsafe +15 872 kB simenb
npm/fs-extra@10.1.0 None +1 68 kB ryanzim
npm/fs-minipass@2.1.0 filesystem 0 14.1 kB isaacs
npm/getpass@0.1.7 filesystem 0 5.67 kB arekinath
npm/hosted-git-info@4.1.0 None +1 40 kB gar
npm/http-signature@1.2.0 network +4 165 kB arekinath
npm/import-local@3.1.0 Transitive: filesystem +8 56.1 kB sindresorhus
npm/jest-diff@29.7.0 None +2 128 kB simenb
npm/jest-util@29.7.0 environment +7 606 kB simenb
npm/jest@29.7.0 Transitive: environment, eval, filesystem, network, shell, unsafe +144 5.44 MB simenb
npm/js-yaml@4.1.0 Transitive: environment, filesystem +1 576 kB vitaly
npm/lerna@7.4.2 Transitive: environment, eval, filesystem, network, shell +154 33.2 MB jameshenry
npm/node-fetch@2.6.7 network +2 508 kB endless
npm/npm-registry-fetch@14.0.5 environment, filesystem, network +1 54.8 kB npm-cli-ops
npm/npmlog@6.0.2 None +4 55.7 kB lukekarrys
npm/nx-cloud@19.0.0 environment, filesystem, shell, unsafe +1 418 kB altan-nrwl
npm/nx@16.10.0 environment, filesystem, network, shell, unsafe Transitive: eval +10 3.44 MB nrwl-jason
npm/p-reduce@2.1.0 None 0 6.14 kB sindresorhus
npm/parse-json@5.2.0 None +4 34.3 kB sindresorhus
npm/path-scurry@1.11.1 filesystem +2 566 kB isaacs
npm/read-package-json@6.0.4 filesystem +1 31.1 kB npm-cli-ops
npm/request@2.88.2 environment, filesystem, network +4 505 kB mikeal
npm/ssri@9.0.1 None 0 37.5 kB nlf
npm/string-width@4.2.3 None +2 58.4 kB sindresorhus
npm/strong-log-transformer@2.1.0 filesystem 0 16.4 kB rmg
npm/tar@6.1.11 environment, filesystem 0 161 kB isaacs
npm/ts-jest@29.1.3 environment, filesystem, unsafe Transitive: eval, network, shell +68 2.67 MB kul
npm/validate-npm-package-name@5.0.0 None 0 7.88 kB lukekarrys
npm/yargs@17.7.2 environment, filesystem +5 376 kB oss-bot

🚮 Removed packages: npm/@aws-crypto/sha256-js@1.2.2, npm/@aws-crypto/util@1.2.2, npm/@aws-sdk/types@3.418.0, npm/@aws-sdk/types@3.465.0, npm/@ethereumjs/rlp@4.0.1, npm/@ethersproject/abi@5.7.0, npm/@ethersproject/abstract-provider@5.7.0, npm/@ethersproject/abstract-signer@5.7.0, npm/@ethersproject/address@5.7.0, npm/@ethersproject/base64@5.7.0, npm/@ethersproject/basex@5.7.0, npm/@ethersproject/bignumber@5.7.0, npm/@ethersproject/bytes@5.7.0, npm/@ethersproject/constants@5.7.0, npm/@ethersproject/contracts@5.7.0, npm/@ethersproject/hash@5.7.0, npm/@ethersproject/hdnode@5.7.0, npm/@ethersproject/json-wallets@5.7.0, npm/@ethersproject/keccak256@5.7.0, npm/@ethersproject/logger@5.7.0, npm/@ethersproject/networks@5.7.1, npm/@ethersproject/pbkdf2@5.7.0, npm/@ethersproject/properties@5.7.0, npm/@ethersproject/random@5.7.0, npm/@ethersproject/rlp@5.7.0, npm/@ethersproject/sha2@5.7.0, npm/@ethersproject/signing-key@5.7.0, npm/@ethersproject/solidity@5.7.0, npm/@ethersproject/strings@5.7.0, npm/@ethersproject/transactions@5.7.0, npm/@ethersproject/units@5.7.0, npm/@ethersproject/wallet@5.7.0, npm/@ethersproject/web@5.7.1, npm/@ethersproject/wordlists@5.7.0, npm/@openzeppelin/defender-base-client@1.48.0, npm/@openzeppelin/defender-base-client@1.54.0-rc.0, npm/@openzeppelin/defender-relay-client@1.54.0-rc.0, npm/@openzeppelin/defender-sentinel-client@1.48.0, npm/@sindresorhus/is@4.6.0, npm/@smithy/types@2.3.3, npm/@smithy/types@2.7.0, npm/@types/bn.js@5.1.5, npm/amazon-cognito-identity-js@6.3.6, npm/amazon-cognito-identity-js@6.3.7, npm/async-limiter@1.0.1, npm/async-retry@1.3.3, npm/available-typed-arrays@1.0.7, npm/aws4@1.13.0, npm/axios@1.6.1, npm/axios@1.6.2, npm/base-x@3.0.9, npm/bignumber.js@9.1.2, npm/bn.js@5.2.1, npm/brorand@1.1.0, npm/buffer@5.7.1, npm/bufferutil@4.0.8, npm/cacheable-lookup@5.0.4, npm/cipher-base@1.0.4, npm/cli-spinners@2.6.1, npm/cookie@0.6.0, npm/create-hash@1.2.0, npm/create-hmac@1.1.7, npm/d@1.0.2, npm/defer-to-connect@2.0.1, npm/dom-walk@0.1.2, npm/dotenv@16.3.2, npm/elliptic@6.5.4, npm/es5-ext@0.10.64, npm/es6-symbol@3.1.4, npm/ethereum-cryptography@0.1.3, npm/ethers@5.7.2, npm/eventemitter3@4.0.7, npm/fast-base64-decode@1.0.0, npm/follow-redirects@1.15.1, npm/follow-redirects@1.15.4, npm/has-tostringtag@1.0.2, npm/hash.js@1.1.7, npm/hmac-drbg@1.0.1, npm/http-cache-semantics@4.1.1, npm/is-core-module@2.13.1, npm/js-cookie@2.2.1, npm/js-sha3@0.8.0, npm/jsonparse@1.3.1, npm/minimalistic-assert@1.0.1, npm/minimalistic-crypto-utils@1.0.1, npm/minimist@1.2.8, npm/minizlib@2.1.2, npm/node-gyp-build@4.8.1, npm/protocols@2.0.1, npm/punycode@2.3.1, npm/resolve-alpn@1.2.1, npm/ripemd160@2.0.2, npm/scrypt-js@3.0.1, npm/type-check@0.4.0, npm/utf-8-validate@5.0.10, npm/whatwg-url@5.0.0, npm/which-typed-array@1.1.15

View full report↗︎

socket-security[bot] commented 3 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/nx@16.10.0
  • Install script: postinstall
  • Source: node ./bin/post-install
Protestware/Troll package npm/es5-ext@0.10.64
  • Note: This package prints a protestware console message on install regarding Ukraine for users with Russian language locale
Install scripts npm/es5-ext@0.10.64
  • Install script: postinstall
  • Source: node -e "try{require('./_postinstall')}catch(e){}" || exit 0

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

What is protestware?

This package is a joke, parody, or includes undocumented or hidden behavior unrelated to its primary function.

Consider that consuming this package my come along with functionality unrelated to its primary purpose.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/nx@16.10.0
  • @SocketSecurity ignore npm/es5-ext@0.10.64