jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 21.1.0 to 21.1.2
2 releases in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 5
- fixes
Release by release
- Fixed
Fixed
setRangeText()used on<input>and<textarea>elements to calculate the new end index correctly. - Fixed
Fixed
pageX,pageY,offsetX, andoffsetYonMouseEvents during dispatch.
- Fixed
- Fixed
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
Fixed
location.hash = ""to leave any#in location.href. - Fixed
Fixes a few bugs with CSS parsing by replacing
cssomwithrweb-cssom, since the latter is maintained.
- Fixed
1 other line we could not sort, mostly version bumps
- 21.1.2
Upgraded
nwsapito v2.2.4, bringing along various fixes to our selector engine.
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.