Bump jsdom from 24.1.3 to 28.0.0
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(4 months ago)
(4 months ago)
(4 months ago)
dependencies javascript
Bumps jsdom from 24.1.3 to 28.0.0.
Release notes
Sourced from jsdom's releases.
Version 28.0.0
- Overhauled resource loading customization. See the new README for details on the new API.
- Added MIME type sniffing to
<iframe>and<frame>loads.- Regression:
WebSockets are no longer correctly throttled to one connection per origin. This is a result of the bug at nodejs/undici#4743.- Fixed decoding of the query components of
<a>and<area>elements in non-UTF-8 documents.- Fixed
XMLHttpRequestfetches andWebSocketupgrade requests to be interceptable by the new customizable resource loading. (Except synchronousXMLHttpRequests.)- Fixed the referrer of a document to be set correctly when redirects are involved; it is now the initiating page, not the last hop in the redirect chain.
- Fixed correctness bugs when passing
ArrayBuffers or typed arrays to various APIs, where they would not correctly snapshot the data.- Fixed
require("url").parse()deprecation warning when usingWebSockets.- Fixed
<iframe>,<frame>, and<img>(whencanvasis installed) to fireloadevents, noterrorevents, on non-OK HTTP responses.- Fixed many small issues in
XMLHttpRequest.Version 27.4.0
- Added
TextEncoderandTextDecoder.- Improved decoding of HTML bytes by using the new
@exodus/bytespackage; it is now much more correct. (ChALkeR)- Improved decoding of XML bytes to use UTF-8 more often, instead of sniffing for
<meta charset>or using the parent frame's encoding.- Fixed a memory leak when
Ranges were used and then the elements referred to by those ranges were removed.Version 27.3.0
- Improved CSS parsing and CSSOM object APIs via updates to
@acemir/cssom. (acemir)Version 27.2.0
- Added
CSSGroupingRule,CSSNestedDeclarations,CSSConditionRule,CSSContainerRule,CSSScopeRule,CSSSupportsRule,CSSLayerBlockRule, andCSSLayerStatementRuleto jsdomWindows. (acemir)- Improved CSS parsing and CSSOM object APIs via updates to
@acemir/cssom. (acemir)- Fixed
@import-ed stylesheets to be properly exposed to CSSOM, and not to overwrite the sheet created from the<link>or<style>element. (acemir)Version 27.1.0
- Improved CSS parsing by switching to
@acemir/cssom, including support for nested selectors, nested declarations, layer statements, and improved at-rule validation. (acemir)- Fixed some selector cache invalidation issues where changes to attributes were not being picked up. (asamuzaK)
- Fixed
package.json"engines"field to reflect the new minimum Node.js versions needed to run jsdom, as noted in the changelog for v27.0.1.Version 27.0.1
This release inadvertently raised the minimum Node.js version from v20.0.0 to v20.19.0+, v22.12.0+, v24.0.0+. (This happened via a dependency update.) This probably should have been a breaking (major) change, instead of happening in a patch version, since it prevents using earlier Node.js versions.
After further testing, we found that most of our development dependencies also require these versions, and so it's not feasible for the jsdom project to support earlier Node.js versions. (For example, our testing frameworks will not run on them.) If you need to use such earlier versions, or otherwise are working in an environment which gives related errors such as
ERR_REQUIRE_ESM, then please stick with the v26.1.0 release of jsdom. (Noting, of course, that such versions are unsupported, and we will not respond to bug reports opened against them.)Subsequent jsdom releases will explicitly require these minimum Node.js versions, and will have CI testing to ensure that the minimum version is not accidentally raised again.
Normal changelog:
- Fixed some regressions in CSS selectors. Most such regression fixes were done in a minor update of a dependency, and thus available for all fresh installs of v27.0.0. However, one related to
class=""attribute changes is only possible with a new version of jsdom. (asamuzaK)Version 27.0.0
Changes since 26.1.0
- Node.js v20 is now the minimum supported version.
- Added a variety of event constructors, even though we do not implement their associated specifications or ever fire them:
BeforeUnloadEvent,BlobEvent,DeviceMotionEvent(omittingrequestPermission()),DeviceOrientationEvent(omittingrequestPermission()),PointerEvent,PromiseRejectionEvent, andTransitionEvent.- Added
movementXandmovementYtoMouseEvent. (These are from the Pointer Lock specification, the rest of which is not implemented.)- Added
customElements.getName(). (mash-graz)- Updated the virtual console:
... (truncated)
Changelog
Sourced from jsdom's changelog.
28.0.0
- Overhauled resource loading customization. See the new README for details on the new API.
- Added MIME type sniffing to
<iframe>and<frame>loads.- Regression:
WebSockets are no longer correctly throttled to one connection per origin. This is a result of the bug at nodejs/undici#4743.- Fixed decoding of the query components of
<a>and<area>elements in non-UTF-8 documents.- Fixed
XMLHttpRequestfetches andWebSocketupgrade requests to be interceptable by the new customizable resource loading. (Except synchronousXMLHttpRequests.)- Fixed the referrer of a document to be set correctly when redirects are involved; it is now the initiating page, not the last hop in the redirect chain.
- Fixed correctness bugs when passing
ArrayBuffers or typed arrays to various APIs, where they would not correctly snapshot the data.- Fixed
require("url").parse()deprecation warning when usingWebSockets.- Fixed
<iframe>,<frame>, and<img>(whencanvasis installed) to fireloadevents, noterrorevents, on non-OK HTTP responses.- Fixed many small issues in
XMLHttpRequest.27.4.0
- Added
TextEncoderandTextDecoder.- Improved decoding of HTML bytes by using the new
@exodus/bytespackage; it is now much more correct. (ChALkeR)- Improved decoding of XML bytes to use UTF-8 more often, instead of sniffing for
<meta charset>or using the parent frame's encoding.- Fixed a memory leak when
Ranges were used and then the elements referred to by those ranges were removed.27.3.0
- Improved CSS parsing and CSSOM object APIs via updates to
@acemir/cssom. (acemir)27.2.0
- Added
CSSGroupingRule,CSSNestedDeclarations,CSSConditionRule,CSSContainerRule,CSSScopeRule,CSSSupportsRule,CSSLayerBlockRule, andCSSLayerStatementRuleto jsdomWindows. (acemir)- Improved CSS parsing and CSSOM object APIs via updates to
@acemir/cssom. (acemir)- Fixed
@import-ed stylesheets to be properly exposed to CSSOM, and not to overwrite the sheet created from the<link>or<style>element. (acemir)27.1.0
- Improved CSS parsing by switching to
@acemir/cssom, including support for nested selectors, nested declarations, layer statements, and improved at-rule validation. (acemir)- Fixed some selector cache invalidation issues where changes to attributes were not being picked up. (asamuzaK)
- Fixed
package.json"engines"field to reflect the new minimum Node.js versions needed to run jsdom, as noted in the changelog for v27.0.1.27.0.1
This release inadvertently raised the minimum Node.js version from v20.0.0 to v20.19.0+, v22.12.0+, v24.0.0+. (This happened via a dependency update.) This probably should have been a breaking (major) change, instead of happening in a patch version, since it prevents using earlier Node.js versions.
After further testing, we found that most of our development dependencies also require these versions, and so it's not feasible for the jsdom project to support earlier Node.js versions. (For example, our testing frameworks will not run on them.) If you need to use such earlier versions, or otherwise are working in an environment which gives related errors such as
ERR_REQUIRE_ESM, then please stick with the v26.1.0 release of jsdom. (Noting, of course, that such versions are unsupported, and we will not respond to bug reports opened against them.)Subsequent jsdom releases will explicitly require these minimum Node.js versions, and will have CI testing to ensure that the minimum version is not accidentally raised again.
Normal changelog:
- Fixed some regressions in CSS selectors. Most such regression fixes were done in a minor update of a dependency, and thus available for all fresh installs of v27.0.0. However, one related to
class=""attribute changes is only possible with a new version of jsdom. (asamuzaK)27.0.0
... (truncated)
Commits
20f614dVersion 28.0.02b65c6aReplace the resource loader API638bd68Decode <a> and <area> query strings using document's encoding457bd4bAdd AGENTS.md (and CLAUDE.md)bf1dc15Mark header-values tests as fail-slow due to Node.js bug92f269eUpdate dependencies and dev dependencies7d6e667Improve spec alignment of Headers and header type tests2c29aedFix Windows-specific task kill timeoutsd941216Add failing regression test for animation-name case-sensitivity56a833dUpdate style benchmark- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Package Dependencies
Technical Details
| ID: | 13869019 |
| UUID: | 3885532383 |
| Node ID: | PR_kwDOOjCz-c7A5Lyy |
| Host: | GitHub |
| Repository: | TMHSDigital/Static_Chess |