Update dependency pako to v3#1249
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.2.0→3.0.0Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
nodeca/pako (pako)
v3.0.0Compare Source
Added
zlibAPI exports..onStart()hooks for advanced stream setup.Changed
import * as pako from 'pako'instead ofdefault import if you need the whole API as an object.
package.jsonfor supported entry points.legacyHashdefault is nowfalse. Binary output is now compatible withnodejsby default.dictionaryoption now accepts onlyUint8Array/ArrayBuffer(no
Stringanymore)..onEnd()now only assembles output chunks intoresult, and no longer setsthe
err/msgfields.TextEncoder/TextDecoderfor string conversion. Removed shims.{ to: 'string' })with{ toText: true })for UTF-8 text output inhigh-level helpers (
inflate,inflateRaw,ungzip).dist/on publish instead of keeping generated bundles in git.Inflate.push()after stream end returns the decode result, not alwaysfalse.Removed
import pako from 'pako'is no longer supported.{ to: 'string' })option from the streamingInflateclass. It now alwaysemits byte chunks.
Inflate. Use.onStart()withzlibInflateGetHeader()to read gzip metadata.dist/bundles from repository.Configuration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.