Fixed the window, document, location, and top properties of Window to be non-configurable. (ExE-Boss)
Other changes:
Added support for <input type=image> submitting forms. (jenseng)
Added the location setter to the Window object, which forwards to the location.href setter. Setting the URL is still only implemented for fragment navigations, however. (ExE-Boss)
Fixed defer=""<script> elements that are added after DOMContentLoaded to execute, instead of being skipped.
Fixed selectElement.selectedOptions being incorrect when optionElement.selected is set. This was a regression introduced in v20.0.1. Unfortunately this also reverts the performance improvement when appending <option> elements that was introduced then. (eps1lon)
Fixed the self, locationbar, menubar, personalbar, scrollbars, statusbar, toolbar, frames, parent, external, length, and screen properties of Window to be replaceable: that is, setting them will override their values, instead of having the new value be ignored. (ExE-Boss)
Fixed a few issues with JSOM.fromURL() in the browser build of jsdom. (LungZeno)
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.
All Depfu comment commands
@depfu rebase
Rebases against your default branch and redoes this update
@depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@depfu close
Closes this PR and deletes the branch
@depfu reopen
Restores the branch and reopens this PR (if it's closed)
@depfu pause
Ignores all future updates for this dependency and closes this PR
@depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.
What changed?
✳️ jsdom (^19.0.0 → ^21.0.0) · Repo · Changelog
Release Notes
21.0.0
Does any of this look wrong? Please let us know.
Commits
See the full diff on Github. The new version differs by 10 commits:
Version 21.0.0
Minor fixes to many Window properties
Clean up some pre-Node v14 support code
Fix defer="" scripts inserted after DOMContentLoaded
Fix JSDOM.fromURL() bugs in the browser build
Remove redundant style setter
Revert "Improve performance of appending <option> to <select>"
Test selectedOptions + selected interaction
Minor readme updates
Allow <input type=image> to submit forms
Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with
@depfu rebase
.All Depfu comment commands