jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 7.0.2 to 7.1.0
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
7 other lines we could not sort, mostly version bumps
- 7.1.0
Our
EventTargetimplementation has been rewritten from scratch to follow the spec exactly. This should improve any edge case misbehaviors. - 7.1.0
Our
Eventclass hierarchy has been rewritten and fleshed out, fixing many gaps in functionality. - 7.1.0
The
Attrclass and related attribute-manipulating methods has been rewritten to follow the latest specification. In particular,Attris no longer a subclass ofNode, and no longer has child text nodes. - 7.1.0
The
<template>element implementation has been greatly improved, now passing most web platform tests. Its.contentproperty no longer has an extra intermediate document fragment; it no longer has child nodes; and related parts of the parser and serializer have been fixed, includinginnerHTMLandouterHTML, to now work as specified. - 7.1.0
querySelector,querySelectorAll, andmatchesnow correctly throw"SyntaxError"DOMExceptions for invalid selectors, instead of justErrorinstances. - 7.1.0
Node.prototype'sinsertBefore,replaceChild, andappendChildmethods now check their arguments more correctly. - 7.1.0
The browser builds now have regained the ability to fetch URLs for content and the like; this had been broken due to an issue with the browser-request package, which is no longer necessary anyway.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.