chore(deps): refresh dependencies and move CI to Bun 1.4.2 - #10
Merged
Merged
Conversation
Drain redirect/oversized bodies that lack dump(), attach a quiet error listener before teardown, and abort the drain on the fetch signal. Co-authored-by: Indosaram <freedomzero91@gmail.com>
This was referenced Sep 24, 2026
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.
Summary
Refresh toolchain and runtime dependencies, move CI to Bun 1.4.2, and land the remaining
discardBodydrain fallback from #7 (dump feature-detect already merged in #8).Fixes #9
Version table
jsdom@types/jsdomundiciturndown@mozilla/readability@biomejs/biomevitesttypescript@types/node@typescript/native-preview@types/turndown@earendil-works/pi-ai(dev)@earendil-works/pi-coding-agent(dev)@earendil-works/pi-tui(dev)typebox(dev)engines.nodePeer dependencies stay
@earendil-works/pi-*andtypeboxat*(never^0.87) so date-versioned downstream runtimes still resolve. Package version0.1.2→0.1.3(patch: deps + drain fix).Majors taken because the full suite passed locally on Bun 1.4.2 (
bun run check,bun run test46 tests) and as an npm consumer (npm ci && npm test).CI
ubuntu-latest/macos-latest× Node 22 / 24actions/checkout@v7,actions/setup-node@v7,oven-sh/setup-bun@v2withbun-version: 1.4.2test:bun install --frozen-lockfile,bun run check,bun run test,npm pack --dry-runnpm-consumer(ubuntu, Node 22):npm cithennpm testpermissions.contents: readand the existing concurrency block keptbun.lockandpackage-lock.jsoncommitted; nopackageManagerfieldPR decisions
^0.83.0peers reject date-versioned runtimes; Node 22.19 / CI 22/24 are included here with*peers and Bun 1.4.2.Linkedom / senpi
Senpi swapped the DOM layer to linkedom. That swap is not ported here: it is a host-side interop change, not a proven standalone improvement, and the jsdom 30 suite already passes.
Summary by cubic
Refreshes the dependency and toolchain, moves CI to Bun 1.4.2, and lands the
discardBodydrain fallback from #7 so redirect and oversized-body cleanup can't crash the host or hang when a stream lacksdump(). Fixes #9.jsdom29→30,@types/jsdom28→30,undici7→8, andvitest4→5; package goes from 0.1.2 to 0.1.3.npm-consumerjob.*so date-versioned downstream runtimes still resolve.Migration
>=22.19.0is now required and Node 20 is no longer tested.Written for commit 5b66cba. Summary will update on new commits.