jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 9.3.0 to 9.4.0
1 release in betweenevery note read
Release by release
- New
Added the
DOMParserAPI. It is spec-compliant, including producing<parsererror>elements, except that the produced documents do not have the same URL as the creating document (they instead always have"about:blank"). - New
Added strict XML parsing when using
parsingMode: "xml". Creating documents will now fail, just like in a browser, when ill-formed XHTML markup is used. - New
Added some rudimentary application of XML
<!ENTITYdeclarations. - New
Added
window.frameElement, although without appropriate cross-origin security checks.
- New
3 other lines we could not sort, mostly version bumps
- 9.4.0
Updated our elements-being-disabled semantics to more closely match the spec, in particular with regard to being descendants of
<fieldset disabled>. - 9.4.0
Updated
FormDatafor recent spec fixes: blobs, files, and filenames should now all work like you'd expect. - 9.4.0
Updated the
FormDataconstructor to use the proper, rather-complex, constructing the form data set algorithm.
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.