jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Your version
In short
3 fixed1 changed
Release note
Add:
Node.prototype.parentElement.Attributes that are reflected as properties should be
''when not present, instead ofnull. (Note thatgetAttributestill returnsnullfor them).textContentnow works for nodes that do not have children, like text nodes for example.jsdom.jQueryifywas using the wrong URL for jQuery by default.
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.