Fixed live Ranges to update correctly after calling node.normalize(). (hgiesel)
Fixed live Ranges to update correctly after removing child nodes. (hgiesel)
Fixed setting inputEl.valueAsDate = null to no longer throw an exception, but instead set the value to the empty string. (simon-weimann)
Improved performance of node insertion and node.contains(). (GrantGryczan)
Version 18.0.0
Potentially-breaking bug fixes:
Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the ResourceLoader's strictSSL option (which defaults to true).
Changed the global in which almost all Promise and TypeError instances are created to be the jsdom global, not the Node.js global. This could affect any code that uses instanceof.
Other changes:
Fixed moving an element between HTML and XML documents to reset the tagName cache, allowing it to return a lowercase value once it's in the XML document. (LucasLefevre)
Fixed form submission to not happen when the form is invalid. (pozil)
Version 17.0.0
Breaking change: Node v12 is now the minimum supported version.
Version 16.7.0
Added AbortSignal.abort(). (ninevra)
Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)
Implemented wrapping for textareaEl.value if the wrap="" attribute is specified. (ninevra)
Fixed jsdom's handling of when code running inside the jsdom throws null or undefined as an exception. (@mbest)
Removed the dependency on the deprecated request package, in the process fixing several issues with the XMLHttpRequest implementation around header processing. Thanks go to @tobyhinloopen, @andrewaylett, and especially @vegardbb, for completing this months-long effort!
Fixed live Ranges to update correctly after calling node.normalize(). (hgiesel)
Fixed live Ranges to update correctly after removing child nodes. (hgiesel)
Fixed setting inputEl.valueAsDate = null to no longer throw an exception, but instead set the value to the empty string. (simon-weimann)
Improved performance of node insertion and node.contains(). (GrantGryczan)
18.0.0
Potentially-breaking bug fixes:
Fixed SSL certificate checking for WebSocket connections. Previously, invalid SSL certificates were always accepted; now, they properly respect the ResourceLoader's strictSSL option (which defaults to true).
Changed the global in which almost all Promise and TypeError instances are created to be the jsdom global, not the Node.js global. This could affect any code that uses instanceof.
Other changes:
Fixed moving an element between HTML and XML documents to reset the tagName cache, allowing it to return a lowercase value once it's in the XML document. (LucasLefevre)
Fixed form submission to not happen when the form is invalid. (pozil)
17.0.0
Breaking change: Node v12 is now the minimum supported version.
16.7.0
Added AbortSignal.abort(). (ninevra)
Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)
Implemented wrapping for textareaEl.value if the wrap="" attribute is specified. (ninevra)
Fixed some bad cascade computation in getComputedStyle(). (romain-trotard)
16.6.0
Added parentNode.replaceChildren(). (ninevra)
Fixed jsdom's handling of when code running inside the jsdom throws null or undefined as an exception. (mbest)
Removed the dependency on the deprecated request package, in the process fixing several issues with the XMLHttpRequest implementation around header processing. Special thanks to vegardbb for completing this months-long effort!
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 16.5.3 to 18.0.1.
Release notes
Sourced from jsdom's releases.
Changelog
Sourced from jsdom's changelog.
Commits
b1ce1af
Version 18.0.11f5acae
Major performance improvements in some casesb86cd55
Fix typo in style.js41e10e6
Fix valueAsDate for HTMLInputElement with null valuesa14f79e
Fixnode._referencedRanges
removal handling (#3273)27560bc
Fix live ranges not correctly updated when calling Node.normalize()24e23c0
Version 18.0.06a4d9a0
Prevent invalid forms from being submitted5731aa3
Update dependencies and dev dependencies82c4d54
Update webidl2js and related dependenciesDependabot 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)