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)
Version 18.1.1
Fixed connectedCallback to fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan)
Version 18.1.0
Fixed headers.append() and headers.set() to normalize values. (MattiasBuelens)
Fixed pageshow events to have bubbles: true and cancelable: true. (MattiasBuelens)
Implemented the reason property on AbortSignals, along with the corresponding reason argument to abortSignal.abort() and AbortSignal.abort(). (MattiasBuelens)
Version 18.0.1
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)
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)
18.1.1
Fixed connectedCallback to fire in situations involving document fragments, which was broken in v18.0.1. (GrantGryczan)
18.1.0
Fixed headers.append() and headers.set() to normalize values. (MattiasBuelens)
Fixed pageshow events to have bubbles: true and cancelable: true. (MattiasBuelens)
Implemented the reason property on AbortSignals, along with the corresponding reason argument to abortSignal.abort() and AbortSignal.abort(). (MattiasBuelens)
18.0.1
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)
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 17.0.0 to 19.0.0.
Release notes
Sourced from jsdom's releases.
Changelog
Sourced from jsdom's changelog.
Commits
a604d67
Version 19.0.0e46f76f
Fix crash when calling window.close() inside load event listenerf9de3fd
Do not track location information for fragment-parsed nodesa61fdb8
Version 18.1.115cbed6
Fix connectedCallback with document fragments79ff734
Version 18.1.0a303721
Add AbortSignal's reason property158ada2
Update web platform tests + minor fixesc98e0f5
Fix changelog username typob1ce1af
Version 18.0.1Dependabot 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)