jsdom
31.0.1 · 13 Nov 2026MIT166.2M / weekRepositoryHomepagenpmAtom feed
Your version
0.11.1 is the newest release of 0.5.x.
In short
3 fixed
Release note
Make event handlers attached via
on<event>more spec-compatible, supportingreturn falseand passing theeventargument.Make the getter for
textContentmore accurate, e.g. in cases involving comment nodes or processing instruction nodes.Make
<canvas>behave like a<div>when thenode-canvaspackage isn't available, instead of crashing.
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.