Repository navigation
chore(deps): Bump jsdom from 30.1.3 to 31.0.0 - #307
dependabot[bot] wants to merge 1 commit into
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>
There was a problem hiding this comment.
Copse Reviewer
Some checks remain unverified. See review details below.
2 issues to review. See the inline comment.
Issue 1
package.json:141
npm run test fails on head and passes on base
High priority. Confirmed by an automated check.
Why this was flagged
exit 1 on head, exit 0 on base; head failure repeated on confirmation
npm run teston head: exit 1npm run teston base: exit 0npm run teston head: exit 1
Category: test. Model confidence: high.
raised by stage 0 · id 44e2062d95505571
Review details
Executed in the container backend (container).
Checks: build ✓, typecheck ✓, test ✗ regressed.
Verification: 1 attempted — 0 confirmed by reproducer, 0 refuted, 1 survived challenge, 0 undetermined.
Reviewers: openai/gpt-6-luna.
Review limits: 2 completed reviewer run(s) left material uncertainty.
Could not verify (openai/gpt-6-luna, correctness): The install probe did not emulate Node 21: npm ignored its --node-version option, so the reported install failure is based on declared engines plus engine-strict, not a runtime reproduction.
Could not verify (openai/gpt-6-luna, visual): No relevant before/after screenshot or image file was available for visual comparison; img-1 could not be loaded. The change only upgrades the jsdom development dependency, so no visual regression is evidenced by the available images.
Head: 2b256c07c209.
Hosting providers reported by responses: Azure.
| Task | Total | Tools | Model and waiting |
|---|---|---|---|
| Find issues | 208.5s | 137.2s | 71.3s |
| Find issues | 13.6s | 0.0s | 13.6s |
| Check the claim | 124.1s | 71.3s | 52.8s |
Passes may overlap; their totals should not be added. Tools includes waiting for the shared execution lane. Model and waiting includes API retries and orchestration, not just inference.
Suggestions for the author; this review does not block merging. copse-review 0.1.0 ·
| "esbuild": "^0.28.1", | ||
| "highlight.js": "^11.11.1", | ||
| "jsdom": "^30.0.1", | ||
| "jsdom": "^31.0.0", |
There was a problem hiding this comment.
Installing the development dependencies with Node 21 now fails because the locked jsdom 31 package only supports Node 22.22.2 and later.
Medium priority. Possible issue — not confirmed by a test.
Why this was flagged
This project declares devEngines.runtime as >=21 and enables npm engine-strict in .npmrc, but jsdom 31's lockfile entry restricts its engine to ^22.22.2 || ^24.15.0 || >=26.0.0. Since jsdom is a direct devDependency, npm rejects installation on supported Node 21 versions, so the declared development runtime floor is no longer true. — survived challenge by openai/gpt-6-luna: The reported path is directly present: package.json:207-218 declares jsdom as a development dependency, package-lock.json:2821-2825 pins jsdom@31.0.0, and package-lock.json:2847-2849 declares its Node engine as ^22.22.2 || ^24.15.0 || >=26.0.0, which does not include Node 21. .npmrc:6 enables engine-strict, so npm’s normal install engine check rejects this incompatible dependency rather than merely warning. package.json:129-134 explicitly accepts Node >=21 for the development runtime. The engine-strict setting also applies to dependencies, and no conditional installation or alternate jsdom path was found to bypass the check. The available runtime was Node 24.20.0, so I could not execute a true Node 21 install; the attempted npx Node 21 download failed for network resolution, and the npm probe did not actually emulate Node 21. Nevertheless the incompatible declared engine plus strict policy establishes the defect.
package.json:218–218node --versionon head: exit 0npm install --package-lock-only --dry-run --ignore-scripts --engine-strict --node-version=21.0.0on head: exit 0npx --yes node@21 --versionon head: exit 1
Category: build. Model confidence: high.
raised by openai/gpt-6-luna (correctness); survived challenge by openai/gpt-6-luna · id 776f6c3c04ec2ae2
jsdom 31 (dependabot #307) changes two serializations the tests pinned: cssstyle now writes translate(0px, 0px) as translate(0px), and the HTML serializer now escapes < and > inside attribute values. Both are equivalent to the old spelling. Normalize them in the assertions so the tests pass on jsdom 30 and 31 alike, and #307's build goes green. Claude-Session: https://claude.ai/code/session_01F6vooF9c5HQcwhoKCDMHrc Co-authored-by: Claude <noreply@anthropic.com>
|
·@·d·ependabot r·ebase Note Claude's GitHub safety filter added the Generated by Claude Code |
Bumps jsdom from 30.1.3 to 31.0.0.
Release notes
Sourced from jsdom's releases.
Commits
825fa8e31.0.09f2e49aAdd ariaBrailleLabel and ariaBrailleRoleDescription4c0a35eFlush text written with document.write()fce11d3Switch canvas support to@napi-rs/canvas27614bfFix document.hasFocus() during focus changes627ade2Implement asynchronous focus fixup8bd17a2Implement reportError()5ae66cfUpdate webidl2js and remove IDL workaroundsce5a100Align development scripts and CI9cc717fAdopt ESLint config v6 and oxfmtDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Note
High risk
This upgrades a dependency and replaces parts of its locked transitive dependency tree, changing the DOM/CSS implementation used by consumers and tests.
Overview
Summary by Copse Reviewer for commit 2b256c0. The review reported 2 issues. copse-review 0.1.0