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)
Version 19.0.0
Changed jsdom.nodeLocation() to return undefined when used on nodes that originate via fragment parsing (e.g., via innerHTML). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0. (bakkot)
Fixed calling window.close() inside the Window's load event to no longer crash. (MattiasBuelens)
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)
19.0.0
Changed jsdom.nodeLocation() to return undefined when used on nodes that originate via fragment parsing (e.g., via innerHTML). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0. (bakkot)
Fixed calling window.close() inside the Window's load event to no longer crash. (MattiasBuelens)
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 from 18.1.1 to 20.0.1.
Release notes
Sourced from jsdom's releases.
Changelog
Sourced from jsdom's changelog.
Commits
df8de00
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 URLsfd00838
Fix typed array subclasses in crypto.getRandomValues()b1c0072
Don't use w3c-hr-time6d7ccf2
Version 20.0.028ed587
Implement HTMLFormControlsCollection and RadioNodeList9fca1df
Fix the :root pseudoclass when used in selectorsDependabot 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)