Skip to content

Update dependency pako to v3 - #62

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

Update dependency pako to v3#62
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/pako-3.x

Conversation

@renovate

@renovate renovate Bot commented Jun 26, 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
@​types/pako ^2.0.4^3.0.0 age confidence

Release Notes

nodeca/pako (pako)

v3.0.1

Compare Source

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

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: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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

🔕 Ignore: Close this PR and you won't be reminded about these updates 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 force-pushed the renovate/pako-3.x branch from 7899940 to da3dd13 Compare July 6, 2026 17:16
@renovate
renovate Bot force-pushed the renovate/pako-3.x branch from da3dd13 to 5a3f416 Compare August 4, 2026 23:09
@renovate
renovate Bot force-pushed the renovate/pako-3.x branch from 5a3f416 to 357dd9e Compare August 11, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants