Skip to content

Bump extract-zip from 1.6.8 to 2.0.1#680

Merged
JamieMagee merged 2 commits into
masterfrom
dependabot/npm_and_yarn/extract-zip-2.0.1
Jan 26, 2026
Merged

Bump extract-zip from 1.6.8 to 2.0.1#680
JamieMagee merged 2 commits into
masterfrom
dependabot/npm_and_yarn/extract-zip-2.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Jan 26, 2026

Bumps extract-zip from 1.6.8 to 2.0.1.

Release notes

Sourced from extract-zip's releases.

2.0.1

Fixed

  • stop using deprecated process.umask (#96)
  • correct minimum Node version (>= 10.17.0) based on fs.promises stability (#105)

2.0.0

Changes

Added

  • Promise-style API (#90)
  • TypeScript definition (#92)

Changed

  • Required Node 10.12 (#89). As a result, the mkdirp dependency was removed.
  • Switched from concat-stream to get-stream (#90) to lower the number of transitive dependencies

Removed

  • Callback-style API (#90)
  • Support for Node < 10.12 (#89)

Internals

  • Heavy refactors for code clarity
  • Switched from tape to AVA for tests (#90)
  • Switched from Travis CI to GitHub Actions
  • Changed files are checked/fixed for lints via a pre-commit hook (#91)

Upgrade Guide

  • This module has dropped support for versions of Node.js < 10.12.0.
  • This module uses a Promise-based API instead of a callback-based API. If you still need to use a callback-based API, look into util.callbackify or similar functions.
  • For TypeScript codebases, remove @types/extract-zip as a TypeScript definition is bundled with the module.

1.7.0

Added

  • Error handler for zipfile object (#67)

Changed

  • Don't pin dependency requirements to specific versions (#88)
Commits

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 <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)

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jan 26, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/extract-zip-2.0.1 branch from 0d9000c to 265e8f9 Compare January 26, 2026 18:51
@JamieMagee
Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps [extract-zip](https://github.com/maxogden/extract-zip) from 1.6.8 to 2.0.1.
- [Release notes](https://github.com/maxogden/extract-zip/releases)
- [Commits](max-mapper/extract-zip@v1.6.8...v2.0.1)

---
updated-dependencies:
- dependency-name: extract-zip
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/extract-zip-2.0.1 branch from 265e8f9 to d2a044e Compare January 26, 2026 19:05
Copy link
Copy Markdown
Contributor

@JamieMagee JamieMagee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The extract-zip 2.x API changed from callback-style to Promise-based. The current unzip() method passes a callback as the third argument, but 2.x ignores it and returns a Promise directly. This means the callback never fires and unzip() hangs indefinitely.

The fix is straightforward - just return the Promise from extract():

unzip(source, destination) {
  return extract(source, { dir: destination })
}

@JamieMagee JamieMagee merged commit 21a1b2c into master Jan 26, 2026
2 checks passed
@JamieMagee JamieMagee deleted the dependabot/npm_and_yarn/extract-zip-2.0.1 branch January 26, 2026 19:15
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.

1 participant