Skip to content

2.0.0

Compare
Choose a tag to compare
@malept malept released this 28 Mar 00:02
· 9 commits to master since this release

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.