Skip to content

Update dependency pako to v3#1249

Merged
kishikawakatsumi merged 2 commits into
masterfrom
renovate/pako-3.x
Jun 28, 2026
Merged

Update dependency pako to v3#1249
kishikawakatsumi merged 2 commits into
masterfrom
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.2.03.0.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


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.

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 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 Bot and others added 2 commits June 26, 2026 02:57
pako 3.0 removed the `{ to: "string" }` option from the high-level
helpers; UTF-8 text output is now requested via `{ toText: true }`.
Without this, Decoder.decode would receive a Uint8Array instead of a
string and JSON.parse would fail.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kishikawakatsumi kishikawakatsumi merged commit 90940ee into master Jun 28, 2026
1 check passed
@kishikawakatsumi kishikawakatsumi deleted the renovate/pako-3.x branch June 28, 2026 23:13
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.

1 participant