Skip to content

chore(deps): update dependency pako to v3#100

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-npm-(runtime)
Open

chore(deps): update dependency pako to v3#100
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/major-npm-(runtime)

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.03.0.1 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: (in timezone Europe/Madrid)

  • 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 is behind base branch, 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 force-pushed the renovate/major-npm-(runtime) branch from d8098dc to c2520e7 Compare July 6, 2026 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant