jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Your version
21.1.2 is the newest release of 21.x.
In short
3 fixed
Release note
Fixed
jsdom.reconfigure()to also adjust the URL as seen by the history API, so that e.g.history.replaceState(null, "")would not mess up the URL.Fixed
location.hash = ""to leave any#in location.href.Fixes a few bugs with CSS parsing by replacing
cssomwithrweb-cssom, since the latter is maintained.
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.