jsdom 31.0.0
A JavaScript implementation of many web standards
jsdom@31.0.0 was published on 2026-11-05. Its manifest declares 18 runtime dependencies and 1 peer requirement. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is ^22.22.2 || ^24.15.0 || >=26.0.0.
All jsdom versions · Permanent reference to 31.0.0 · View npm registry JSON · Latest release
Package specifications
| Version | 31.0.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-11-05T12:15:08.988Z |
| Node.js requirement | ^22.22.2 || ^24.15.0 || >=26.0.0 |
| Type declarations | Not declared |
| Runtime dependency count | 18 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | 4647.53 KiB |
| Minified + gzip | 998.30 KiB |
| Unpacked distribution size | 6727.05 KiB |
| Published file count | 720 |
| Package type | commonjs |
| ES module entry | Not declared |
| Default entry | ./lib/api.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 27 |
| Repository stars | 21746 |
| Repository forks | 1821 |
Install jsdom 31.0.0
npm install jsdom@31.0.0 pnpm add jsdom@31.0.0 yarn add jsdom@31.0.0
Runtime dependencies
- saxes ^6.0.0
- bcp-47 ^2.1.2
- parse5 ^8.1.0
- undici ^8.12.3
- data-urls ^8.0.0
- lru-cache ^11.5.3
- decimal.js ^10.6.0
- whatwg-url ^17.3.0
- bcp-47-match ^2.0.3
- tough-cookie ^6.0.2
- @exodus/bytes ^1.16.0
- whatwg-mimetype ^5.0.0
- w3c-xmlserializer ^6.0.0
- webidl-conversions ^8.0.1
- xml-name-validator ^5.0.0
- parse5-parser-stream ^8.1.0
- html-encoding-sniffer ^7.0.0
- is-potential-custom-element-name ^1.0.1
Peer requirements
- @napi-rs/canvas ^1.0.13 (optional peer)
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @exodus/bytes@1.16.0 — direct
- bcp-47@2.1.2 — direct
- bcp-47-match@2.0.3 — direct
- data-urls@8.0.0 — direct
- decimal.js@10.6.0 — direct
- entities@9.0.0 — indirect
- html-encoding-sniffer@7.0.0 — direct
- is-alphabetical@2.0.1 — indirect
- is-alphanumerical@2.0.1 — indirect
- is-decimal@2.0.1 — indirect
- is-potential-custom-element-name@1.0.1 — direct
- lru-cache@11.5.3 — direct
- parse5@8.1.0 — direct
- parse5-parser-stream@8.1.0 — direct
- punycode@2.3.1 — indirect
- saxes@6.0.0 — direct
- tldts@7.4.19 — indirect
- tldts-core@7.4.20 — indirect
- tough-cookie@6.0.2 — direct
- tr46@7.0.0 — indirect
- undici@8.12.4 — direct
- w3c-xmlserializer@6.0.0 — direct
- webidl-conversions@8.0.1 — direct
- whatwg-mimetype@5.0.0 — direct
- whatwg-url@17.3.0 — direct
- xml-name-validator@5.0.0 — direct
- xmlchars@2.2.0 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
|---|---|
| Maintained | 10/10 — 30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10 |
| Code-Review | 6/10 — Found 18/30 approved changesets -- score normalized to 6 |
| Token-Permissions | 10/10 — GitHub workflow tokens follow principle of least privilege |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Pinned-Dependencies | 3/10 — dependency not pinned by hash detected -- score normalized to 3 |
| Packaging | 10/10 — packaging workflow detected |
| Security-Policy | 10/10 — security policy file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-08T15:59:02.011Z
- https://bundlephobia.com/api/size?package=jsdom%4031.0.0 — retrieved 2026-11-08T15:59:02.084Z
- https://api.deps.dev/v3/systems/npm/packages/jsdom/versions/31.0.0 — retrieved 2026-11-08T15:59:02.149Z
- https://api.deps.dev/v3/projects/github.com%2Fjsdom%2Fjsdom — retrieved 2026-11-08T03:50:38.758Z
- https://api.deps.dev/v3/systems/npm/packages/jsdom/versions/31.0.0:dependencies — retrieved 2026-11-08T15:59:02.174Z