Packages

jsdom

31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed

Your version

21.1.0

22 Jan 2023Where it was published

21.1.2 is the newest release of 21.x.

In short

3 new5 fixed1 changed

Release note

  • Added x, y, pageX, pageY, offsetX, and offsetY to MouseEvent. (@jenseng, @ViniciusFXavier)

  • Added support for unset with getComputedStyle().

  • Added the submitter property to SubmitEvent.

  • Fixed MouseEvent's screenX and screenY to no longer coerce to integers, allowing fractional values.

  • Fixed formEl.submit() to not longer fire submit events.

  • Fixed stylesheets to no longer affect the document after their corresponding <link> is removed.

  • Fixed pointer-events to inherit when used with getComputedStyle().

  • Fixed <script> elements with no src="" to no longer fire load events.

  • 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.