Skip to content

Commit 774ca7d

Browse files
cinderblockclaude
andcommitted
Bump node-pkware fork to 6069278 (outputBuffer under-allocation fix)
The previous fork commit (dacd10b) fixed three round-trip bugs but left literal-only ASCII streams of certain lengths failing with AbortedError on explode. That was outputBuffer being sized as `inputSize + 5`, assuming compression always shrinks the data. For literal-only inputs ASCII codes are 5-13 bits each, so the compressed stream can exceed the raw input and implode was silently truncating its output. Fixed at 6069278 by allocating `inputSize * 2 + 5`. Doesn't affect any of ewd's real-world samples (they have repetitions that drive the size down), so the 72 tests pass exactly as before. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent ce4b046 commit 774ca7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bun.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)