Repository navigation
chore(deps): postgres.js 4.1.0 and jsdom 31.0.0, with the adjustments they need - #451
Merged
Merged
Conversation
Bumps [jsdom](https://github.com/jsdom/jsdom) from 30.1.3 to 31.0.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Commits](jsdom/jsdom@v30.1.3...v31.0.0) --- updated-dependencies: - dependency-name: jsdom dependency-version: 31.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [postgres](https://github.com/porsager/postgres) from 3.4.9 to 4.1.0. - [Release notes](https://github.com/porsager/postgres/releases) - [Changelog](https://github.com/porsager/postgres/blob/master/CHANGELOG.md) - [Commits](porsager/postgres@v3.4.9...v4.1.0) --- updated-dependencies: - dependency-name: postgres dependency-version: 4.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…n; docs: postgres.js 4 fixes the COPY hang jsdom 31 serialises translate(50px, 0px) as translate(50px), as browsers do, so the PhylogenyViewer assertions compare the parsed offset instead of the string. The COPY hang gotcha now records that postgres.js 4.1.0 rejects the writable with the server's error; the idle guard stays. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
On postgres.js 4.1.0 a malformed row rejects through the driver before the guard fires, so the integration tests no longer exercise the abort. A unit test now does; the JSDoc and test comments stop describing the 3.4.9 hang in the present tense. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
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.
Combines the two open Dependabot majors into one PR (the strict ruleset costs one CI run per PR) with the adjustments each needs.
Closes #449
Closes #450
jsdom 30.1.3 → 31.0.0 (web, dev only)
jsdom 31 serialises
translate(50px, 0px)astranslate(50px), as browsers do, which broke threePhylogenyViewerassertions on #449. The test now parses the offset (offsetOf) instead of matching the string; it reads both forms.postgres.js 3.4.9 → 4.1.0 (api)
Checked against the v4 upgrade guide:
timestamptz; there are notimestamp,date,time,byteaor domain columns, so the time-zone and domain changes do not apply.sql.array()is not used; the one array parameter (TREE_FLAGS) is cast totext[].BEGIN; Drizzle transactions go throughclient.begin, the migrator runs atmax: 1.Date, bigint, boolean or Buffer where the server cannot type it (all ~900 template parameters reviewed).docs/gotchas/import.mdreproduces on 3.4.9 (3/3) and not on 4.1.0 (3/3, rejects with22P04), with a malformed row piped straight into.writable(). The gotcha, thepipelineWithIdleGuardJSDoc and the test comments now say so; the guard stays, and a new unit test (src/db/copy.test.ts) pins its abort with a stalled destination, since the integration tests no longer reach it.return()gotcha (docs/gotchas/dataset.md) still reproduces on 4.1.0 and stays as is.Follow-up: postgres.js 4.1.1 (un-awaited statements inside
sql.begincould run after commit; none found here) clears the 7-day cooldown on 2026-11-18 and will come through Dependabot as a patch.Merging this deploys the rewritten database driver to production through the
Deployjob.Verification
pnpm lint,pnpm typecheck,pnpm rfc:checkandpnpm test(328 files, 2848 tests) pass locally; reviewed by a fresh-context agent before the PR.🤖 Generated with Claude Code