jsdom
31.0.1 · 13 Nov 2026MIT166.8M / weekRepositoryHomepagenpmAtom feed
Upgrading jsdom From 3.1.1 to 3.1.2
1 release in betweenevery note read
- 0
- changes to make
- 0
- advisories fixed
- 0
- new
- 3
- fixes
Release by release
- Fixed
Fixed a global variable leak when triggering
NOT_IMPLEMENTEDmethods, likewindow.location.reload. - Fixed
Fixed the URL resolution algorithm to handle
about:blankproperly on all systems (previously it only worked on Windows). This is especially important since as of 3.0.0 the default URL isabout:blank. - Fixed
Fixed, at least partially, the ability to run
<script>s inside a browserified jsdom instance. This is done by dynamically rewriting the source code so that global variable references become explicit references towindow.variableName, so it is not foolproof.
- Fixed
1 other line we could not sort, mostly version bumps
- 3.1.2
Some fixes to the
NOT_IMPLEMENTEDinternal helper, which should eliminate the cases where calling e.g.window.alertcrashes your application.
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.