jsdom
31.0.1 · 13 Nov 2026MIT166.2M / weekRepositoryHomepagenpmAtom feed
0.11.1 is the newest release of 0.2.x.
In short
3 new4 fixed6 changed
Release note
Adding script to invalid/incomplete dom (document.documentElement) now catches the error and passes it in the
.envcallback (Gregory Tomlinson)Cleanup: Trigger and html tests
Add: Support for inline event handlers (ie:
<div onclick='some.horrible.string()'>) (Brian McDaniel)Script loading over https (Brian McDaniel) #280
Add: Using style.setProperty updates the style attribute (Jimmy Mabey).
Add: Invalid markup is reported as an error and attached to the associated element and document
Crash when setChild() failes to create new DOM element (John Hurliman)
Added test for issue #287.
Added support for inline event handlers.
Moved frame tests to test/window/frame.js and cleaned up formatting.
Moved script execution tests to test/window/script.js.
Fix a crash when setChild() fails to create a new DOM element
Override CSSOM to update style attribute
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.