jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
21.1.2 is the newest release of 21.x.
In short
3 new5 fixed1 changed
Release note
Added
x,y,pageX,pageY,offsetX, andoffsetYtoMouseEvent. (@jenseng, @ViniciusFXavier)Added support for
unsetwithgetComputedStyle().Added the
submitterproperty toSubmitEvent.Fixed
MouseEvent'sscreenXandscreenYto no longer coerce to integers, allowing fractional values.Fixed
formEl.submit()to not longer firesubmitevents.Fixed stylesheets to no longer affect the document after their corresponding
<link>is removed.Fixed
pointer-eventsto inherit when used withgetComputedStyle().Fixed
<script>elements with nosrc=""to no longer fireloadevents.Improved
getComputedStyle()to cache its results, which should make it much faster.
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.