Fixed xhr.abort() to no longer give an exception when the constructed XMLHttpRequest was invalid. (whamtet)
Fixed event.getModifierState() on MouseEvent and KeyboardEvent instances to properly consult the ctrlKey, altKey, metaKey, and shiftKey properties of the event. (juzerzarif)
Fixed custom element creation to not be affected by any modifications to the window.customElements property. (bicknellr)
Version 20.0.1
Improved the performance of appending <option> elements to <select> elements. (TheHound)
Fixed location.pathname getter to not crash when the JSDOM instance was created using an opaque-path URL, including the default URL of about:blank.
Fixed crypto.getRandomValues() to accept typed array subclasses. (sebamarynissen)
Updated various dependency minor versions. Notably, nwsapi fixed some selectors bugs, and tough-cookie fixed some cookie bugs.
Version 20.0.0
Node.js v14 is now the minimum supported version.
Added crypto.getRandomValues(). (sjrd)
Added HTMLFormControlsCollection and RadioNodeList, so formEl.elements now behaves correctly. (UndefinedBehavior)
Added the signal option to addEventListener(). (cheap-glitch)
Fixed the :root pseudoclass to work correctly. (hughs-ch)
Updated parse5, bringing along some HTML parsing and serialization fixes. (fb55)
Fixed xhr.abort() to no longer give an exception when the constructed XMLHttpRequest was invalid. (whamtet)
Fixed event.getModifierState() on MouseEvent and KeyboardEvent instances to properly consult the ctrlKey, altKey, metaKey, and shiftKey properties of the event. (juzerzarif)
Fixed custom element creation to not be affected by any modifications to the window.customElements property. (bicknellr)
20.0.1
Improved the performance of appending <option> elements to <select> elements. (TheHound)
Fixed location.pathname getter to not crash when the JSDOM instance was created using an opaque-path URL, including the default URL of about:blank.
Fixed crypto.getRandomValues() to accept typed array subclasses. (sebamarynissen)
Updated various dependency minor versions. Notably, nwsapi fixed some selectors bugs, and tough-cookie fixed some cookie bugs.
20.0.0
Node.js v14 is now the minimum supported version
Added crypto.getRandomValues(). (sjrd)
Added HTMLFormControlsCollection and RadioNodeList, so formEl.elements now behaves correctly. (UndefinedBehavior)
Added the signal option to addEventListener(). (cheap-glitch)
Fixed the :root pseudoclass to work correctly. (hughs-ch)
Updated parse5, bringing along some HTML parsing and serialization fixes. (fb55)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps jsdom and @types/jsdom. These dependencies needed to be updated together. Updates
jsdom
from 19.0.0 to 20.0.2Release notes
Sourced from jsdom's releases.
Changelog
Sourced from jsdom's changelog.
Commits
e285763
Version 20.0.2cb4e454
Change how the custom element registry is looked upf4324ba
Fix event.getModifierState() and modifier property interactionfea788b
Fix xhr.abort() when the XHR is invalidc3c421c
Remove outdated commentdf8de00
Version 20.0.147ec321
Update dependencies and dev dependencies13b5840
Update nwsapi, including a regression test3a569a6
Improve performance of appending <option> to <select>78a6525
Fix location.pathname getter on opaque-path URLsUpdates
@types/jsdom
from 16.2.15 to 20.0.0Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)