Skip to content

Bump pako from 2.1.0 to 3.0.1#218

Merged
sphericle merged 1 commit into
mainfrom
dependabot/npm_and_yarn/pako-3.0.1
Jul 18, 2026
Merged

Bump pako from 2.1.0 to 3.0.1#218
sphericle merged 1 commit into
mainfrom
dependabot/npm_and_yarn/pako-3.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 10, 2026

Copy link
Copy Markdown
Contributor

Bumps pako from 2.1.0 to 3.0.1.

Changelog

Sourced from pako's changelog.

3.0.1 - 2026-07-06

Changed

  • Narrow Uint8Array type to ArrayBuffer only
  • Added Z_STREAM_ERROR check (reachable only via wrong options call)

[3.0.0] - 2026-06-26

Added

  • Generated type definitions.
  • Low-level zlib API exports.
  • .onStart() hooks for advanced stream setup.

Changed

  • Switched sources to TypeScript, and tests, examples and benchmarks to ESM.
  • Changed exports to named-only. Use import * as pako from 'pako' instead of default import if you need the whole API as an object.
  • Changed package files layout. See package.json for supported entry points.
  • legacyHash default is now false. Binary output is now compatible with nodejs by default.
  • dictionary option now accepts only Uint8Array / ArrayBuffer (no String anymore).
  • .onEnd() now only assembles output chunks into result, and no longer sets the err / msg fields.
  • Use native TextEncoder / TextDecoder for string conversion. Removed shims.
  • Replaced { to: 'string' }) with { toText: true }) for UTF-8 text output in high-level helpers (inflate, inflateRaw, ungzip).
  • Build dist/ on publish instead of keeping generated bundles in git.
  • Inflate.push() after stream end returns the decode result, not always false.

Removed

  • Default export. import pako from 'pako' is no longer supported.
  • { to: 'string' }) option from the streaming Inflate class. It now always emits byte chunks.
  • Automatic gzip header collection in Inflate. Use .onStart() with zlibInflateGetHeader() to read gzip metadata.
  • Prebuilt dist/ bundles from repository.

[2.2.0] - 2026-06-22

Added

  • Alternate deflate hash (ANZAC++) - for nodejs zlib compatibility. A nice bonus ~ 40% speed boost.

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 10, 2026
@sphericle

Copy link
Copy Markdown
Collaborator

@dependabot rebase

Bumps [pako](https://github.com/nodeca/pako) from 2.1.0 to 3.0.1.
- [Changelog](https://github.com/nodeca/pako/blob/master/CHANGELOG.md)
- [Commits](nodeca/pako@2.1.0...3.0.1)

---
updated-dependencies:
- dependency-name: pako
  dependency-version: 3.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/pako-3.0.1 branch from 6c7f589 to a5b4911 Compare July 18, 2026 15:31
@sphericle
sphericle merged commit 0ed3fb4 into main Jul 18, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/pako-3.0.1 branch July 18, 2026 15:32
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