Skip to content

chore(deps): bump adm-zip and hardhat in /precompiles/solidity - #201

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/precompiles/solidity/multi-fad6aa1bf6
Open

chore(deps): bump adm-zip and hardhat in /precompiles/solidity#201
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/precompiles/solidity/multi-fad6aa1bf6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 1, 2026

Copy link
Copy Markdown
Contributor

Bumps adm-zip to 0.6.0 and updates ancestor dependency hardhat. These dependencies need to be updated together.

Updates adm-zip from 0.4.16 to 0.6.0

Release notes

Sourced from adm-zip's releases.

v0.6.0

Full Changelog: cthackers/adm-zip@v0.5.18...v0.6.0

This release fixes a security vulnerability (CVE-2026-39244), resolves several long-standing bugs, ships built-in TypeScript types, and includes two behavior changes worth reading before you upgrade.

  • extractEntryTo(dirEntry, target, maintainEntryPath = false) now preserves subdirectories instead of flattening files into the target folder by basename (which also silently overwrote same-named files). (#306)
  • Extraction no longer fails when the modification time can't be set — utimes is now best-effort. (#379)
  • Minimum Node.js is now 14 (the code already required it; engines was incorrectly >=12).
  • CVE-2026-39244 — a crafted archive declaring a huge uncompressed size could force an unbounded Buffer.alloc and OOM the process; allocation is now bounded by the data actually present. Reported by Daniel Púa (devploit), Anh Hong, and José Antonio Zamudio Amaya. (#568)
  • Hardened entry-name lookup against object injection (proto names). Prototype-less table.
  • Data-descriptor regression rejecting valid archives (#548, #533, #554)
  • Directory permissions not restored on extract (#530)
  • Infinite recursion on symlink loops in addLocalFolder (#541)
  • Uncaught process crash in writeFileToAsync on write failure (#470, #459, #402)
  • Empty name on directory entries (#466)
  • test() always returned false for archives with files
  • ~6× faster entry sorting for large archives
  • Built-in TypeScript definitions (types.d.ts) — you can drop @​types/adm-zip

v0.5.18

What's Changed

New Contributors

Full Changelog: cthackers/adm-zip@v0.5.17...v0.5.18

v0.5.17

What's Changed

New Contributors

Full Changelog: cthackers/adm-zip@v0.5.16...v0.5.17

v0.5.16

... (truncated)

Changelog

Sourced from adm-zip's changelog.

0.6.0 / 2026-07-10

Security

  • Fixed CVE-2026-39244: a crafted archive declaring a huge uncompressed size could force an unbounded Buffer.alloc (memory exhaustion / DoS) before any validation. Allocation is now bounded by the data actually present — STORED output is sized from the real bytes, DEFLATED output is grown by the inflater and capped at the declared size (#568)
  • Hardened the internal entry-name lookup table against object injection: entry names come from untrusted archives, and a name such as __proto__ previously resolved to Object.prototype, crashing addFile and hiding the entry from getEntry/readFile. The table is now prototype-less

Bug fixes

  • Fixed a regression (0.5.15) that rejected valid archives using a data descriptor (general-purpose bit 3). The payload is now validated against the authoritative central-directory CRC instead of requiring/parsing the trailing descriptor (#548, #533, #554)
  • Fixed extractAllTo/extractAllToAsync not restoring directory permissions with keepOriginalPermission; directory modes are applied after their contents are written, deepest path first, and no longer lock the extractor out of a restrictive directory (#530)
  • Fixed infinite recursion in addLocalFolder when a folder contains a symlink pointing back to an ancestor (e.g. workspace node_modules); the walk now tracks resolved real paths and skips already-visited directories (#541)
  • Fixed an uncaught exception (ERR_INVALID_ARG_TYPE) that crashed the process when writeFileToAsync could not open the target file (bad permissions, invalid filename, exhausted file descriptors); write failures are now reported through the callback and write errors are no longer silently swallowed (#470, #459, #402)
  • Fixed directory entries reporting an empty name (e.g. a/b/c/ now returns c) (#466)
  • Fixed extractEntryTo flattening subdirectories when maintainEntryPath is false; the structure below the extracted directory is now preserved instead of collapsing (and overwriting) files by basename (#306)
  • Fixed a failed utimes aborting extraction; setting the modification time is now best-effort and never fails extraction of already-written content (#379)
  • Fixed test() always returning false for any archive containing a file (it indexed the entries array with an entry object instead of reading the entry); it now correctly verifies each entry's CRC

Performance

  • Faster entry sorting when writing archives with many entries: names are decoded once instead of on every comparison (about 6× faster sort for large archives)

Added

  • Bundled TypeScript type definitions (types.d.ts), so @types/adm-zip is no longer required

Notes

  • Behavior change: extractEntryTo(dir, target, /* maintainEntryPath */ false) now preserves subdirectories beneath the extracted directory rather than flattening them
  • Behavior change: extraction no longer fails when the modification time cannot be set

0.5.4 / 2021-03-08

  • Fixed relative paths
  • Added zipcrypto encryption
  • Lower verMade for macOS when generating zip file

0.5.3 / 2021-02-07

  • Fixed filemode when unzipping

0.5.2 / 2021-01-27

  • Fixed path traversal issue (GHSL-2020-198)

0.5.1 / 2020-11-27

  • Incremented version (cthackers)
  • Fixed outFileName (cthackers)

0.5.0 / 2020-11-19

  • Added extra parameter to extractEntryTo so target filename can be renamed (cthackers)

... (truncated)

Commits
  • 2b4d840 updated minimum node engine version to >= 14
  • dc57f0f Hardened entry-name lookup, fixed test(), and sped up entry sorting
  • f81806a Made utimes best-effort so it can't abort extraction (#379)
  • ab04324 Fixed extractEntryTo flattening subdirectories (#306)
  • 8a5d9ba Fixed empty name for directory entries (#466)
  • 3e72790 Fixed uncaught crash in writeFileToAsync on write failure (#470, #459, #402)
  • 651ae4c Added typescript types
  • e72021d Fixed infinite recursion on symlink loops in addLocalFolder (#541)
  • 8f3176b Fixed directory permissions on linux
  • 4d2c8f9 Fixed error introduced with zip descriptor checks
  • Additional commits viewable in compare view

Updates hardhat from 3.9.0 to 3.12.0

Release notes

Sourced from hardhat's releases.

Hardhat v3.12.0

This release includes two new features: negative test filtering with the --grep-exclude flag for both Solidity tests and Mocha test suite, and experimental Amsterdam "EIP-7843: SLOTNUM" support, see our Amsterdam support guide.

Changes

  • #8442 4904c72 Thanks @​ChristopherDedominici! - Support test name filter negation (--grep-exclude) for Solidity and Mocha tests.

  • #8472 2a66c2e Added experimental EIP-7843 support to the Amsterdam hardfork: blocks now include the slotNumber header field, and the SLOTNUM (0x4b) opcode returns it. EDR has no consensus layer, so the value is simulated: it increments by one per mined block, starting at 0 on a new chain, or from the forked block's slot number when forking.

  • #8464 b2b69f7 Thanks @​nishant-uxs! - Prefer environment variables over configurationVariables hooks when resolving config vars.

  • #8474 49cc2f0 Thanks @​Wodann! - Report chain type to Google Analytics

  • #8458 0c60e08 Thanks @​schaable! - Fixed project initialization so that compilation and build output directories are never copied from a template into a new project.

  • #8472 2a66c2e Thanks @​kanej! - Fixed empty stack traces on Solidity test failures when running with -vvv or above.

  • #8472 2a66c2e Thanks @​kanej! - Fixed missing stack traces when an invariant already fails on its initial check, when running with -vvv or above.

  • #8470 341807c Thanks @​kanej! - Update the chokidar runtime dependency to its latest major version.

  • #8470 4a71543 Thanks @​kanej! - Update the p-map dependency.

  • #8461 841423a Thanks @​kanej! - Reduce installation warnings with updated dependencies.


💡 The Nomic Foundation is hiring! Check our open positions.


Hardhat v3.11.1

This release removes the Hardhat 2 option from project initialization and fixes how Solidity files are classified when the same directory is configured for both sources and tests.

Changes

  • #8451 5c9d4a4 Thanks @​kanej! - Remove Hardhat 2 option from init process

  • #8452 724b7cd Thanks @​kanej! - Fixed Solidity source classification so that a directory listed in both paths.sources.solidity and paths.tests.solidity is treated as a source.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-utils@​4.1.6

💡 The Nomic Foundation is hiring! Check our open positions.


Hardhat v3.11.0

This release adds two further EIPs to Hardhat's experimental Amsterdam support: EIP-7778: block gas accounting without refunds and EIP-7928: Block-Level Access Lists. See our Amsterdam support reference for full details of how these work within Hardhat.

Changes

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.12.0

Minor Changes

  • #8442 4904c72 Thanks @​ChristopherDedominici! - Support test name filter negation (--grep-exclude) for Solidity and Mocha tests.

  • #8472 2a66c2e Thanks @​kanej! - Added experimental EIP-7843 support to the Amsterdam hardfork: blocks now include the slotNumber header field, and the SLOTNUM (0x4b) opcode returns it. EDR has no consensus layer, so the value is simulated: it increments by one per mined block, starting at 0 on a new chain, or from the forked block's slot number when forking.

Patch Changes

  • #8464 b2b69f7 Thanks @​nishant-uxs! - Prefer environment variables over configurationVariables hooks when resolving config vars.

  • #8474 49cc2f0 Thanks @​Wodann! - Report chain type to Google Analytics

  • #8458 0c60e08 Thanks @​schaable! - Fixed project initialization so that compilation and build output directories are never copied from a template into a new project.

  • #8472 2a66c2e Thanks @​kanej! - Fixed empty stack traces on Solidity test failures when running with -vvv or above.

  • #8472 2a66c2e Thanks @​kanej! - Fixed missing stack traces when an invariant already fails on its initial check, when running with -vvv or above.

  • #8470 341807c Thanks @​kanej! - Update the chokidar runtime dependency to its latest major version.

  • #8470 4a71543 Thanks @​kanej! - Update the p-map dependency.

  • #8461 841423a Thanks @​kanej! - Reduce installation warnings with updated dependencies.

3.11.1

Patch Changes

  • #8451 5c9d4a4 Thanks @​kanej! - Remove Hardhat 2 option from init process

  • #8452 724b7cd Thanks @​kanej! - Fixed Solidity source classification so that a directory listed in both paths.sources.solidity and paths.tests.solidity is treated as a source.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-utils@​4.1.6

3.11.0

Minor Changes

  • #8447 dff401d Thanks @​kanej! - Added experimental EIP-7778 support to the Amsterdam hardfork: a block's gasUsed excludes gas refunds; transaction receipts are unchanged.

  • #8447 dff401d Thanks @​kanej! - Added experimental EIP-7928 support to the Amsterdam hardfork: blocks on Amsterdam now include the blockAccessListHash header field. The value is simulated, not the real keccak256(rlp(blockAccessList)).

Patch Changes

3.10.0

... (truncated)

Commits
  • 7cf7797 Version Packages
  • 633ddb2 Merge pull request #8479 from NomicFoundation/fix-for-grep-exclude-args
  • a778da5 fix: only forward grep options to subtasks that declare them
  • 414df77 Merge pull request #8474 from NomicFoundation/feat/chain-type-analytics
  • 94a2189 Update packages/hardhat/src/internal/builtin-plugins/solidity-test/helpers.ts
  • e7181d3 refactor: move supporting function bellow the main function
  • 144c56a add grep-exclude in gas analytics
  • cd60672 remove unused imports
  • 103aed0 remove useless test
  • f898044 add logic for throw with node test runner
  • 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 show <dependency name> 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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [adm-zip](https://github.com/cthackers/adm-zip) to 0.6.0 and updates ancestor dependency [hardhat](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat). These dependencies need to be updated together.


Updates `adm-zip` from 0.4.16 to 0.6.0
- [Release notes](https://github.com/cthackers/adm-zip/releases)
- [Changelog](https://github.com/cthackers/adm-zip/blob/master/history.md)
- [Commits](cthackers/adm-zip@v0.4.16...v0.6.0)

Updates `hardhat` from 3.9.0 to 3.12.0
- [Release notes](https://github.com/NomicFoundation/hardhat/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat/commits/hardhat@3.12.0/packages/hardhat)

---
updated-dependencies:
- dependency-name: adm-zip
  dependency-version: 0.6.0
  dependency-type: indirect
- dependency-name: hardhat
  dependency-version: 3.12.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants