Skip to content

fix(deps/project): update pako to v3#460

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/pako-3.x
Open

fix(deps/project): update pako to v3#460
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/pako-3.x

Conversation

@renovate

@renovate renovate Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pako ^2.1.0^3.0.0 age confidence

Release Notes

nodeca/pako (pako)

v3.0.0

Compare Source

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.

v2.2.0

Compare Source

Added
  • Alternate deflate hash (ANZAC++) - for nodejs zlib compatibility.
    A nice bonus ~ 40% speed boost.
  • legacyHash (default: true) deflate option, to switch between original zlib
    and nodejs binary-compatible output.
Fixed
  • Inflate: fix window not updated after inflateReset (multistream/bgzip), #​139.
  • Inflate: emit chunk on flush, #​259.
  • Inflate: only continue to next stream for gzip; error on truncated input.

Configuration

📅 Schedule: (in timezone Europe/Berlin)

  • Branch creation
    • "before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 29, 2026
@renovate renovate Bot requested a review from JulianVallee as a code owner June 29, 2026 02:02
@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Jun 29, 2026
@renovate renovate Bot enabled auto-merge June 29, 2026 02:02
@renovate renovate Bot force-pushed the renovate/pako-3.x branch from e6ea3b2 to 9d682e7 Compare July 6, 2026 17:55
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants