jsdom/jsdom (jsdom)
### [`v25.0.1`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2501)
[Compare Source](https://redirect.github.com/jsdom/jsdom/compare/25.0.0...25.0.1)
- Updated dependencies, notably `tough-cookie`, which no longer prints a deprecation warning.
### [`v25.0.0`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2500)
[Compare Source](https://redirect.github.com/jsdom/jsdom/compare/24.1.3...25.0.0)
This major release changes the prototype of a jsdom's `EventTarget.prototype` to point to the `Object.prototype` inside the jsdom, instead of pointing to the Node.js `Object.prototype`. Thus, the prototype chain of `Window` stays entirely within the jsdom, never crossing over into the Node.js realm.
This only occurs when `runScripts` is set to non-default values of `"dangerously"` or `"outside-only"`, as with the default value, there is no separate `Object.prototype` inside the jsdom.
This will likely not impact many programs, but could cause some changes in `instanceof` behavior, and so out of an abundance of caution, we're releasing it as a new major version.
### [`v24.1.3`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2413)
[Compare Source](https://redirect.github.com/jsdom/jsdom/compare/24.1.2...24.1.3)
- Fixed calls to `postMessage()` that were done as a bare property (i.e., `postMessage()` instead of `window.postMessage()`).
### [`v24.1.2`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2412)
[Compare Source](https://redirect.github.com/jsdom/jsdom/compare/24.1.1...24.1.2)
- Fixed an issue with the `in` operator applied to `EventTarget` methods, e.g. `'addEventListener' in window`, which only appeared in Node.js ≥22.5.0. (legendecas)
- Fixed the events fired by `blur()`: it no longer fires `focus` and `focusin` on the `Document`, and `blur` and `focusout` no longer have their `relatedTarget` property set. (asamuzaK)
### [`v24.1.1`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2411)
[Compare Source](https://redirect.github.com/jsdom/jsdom/compare/24.1.0...24.1.1)
- Fixed selection methods to trigger the `selectionchange` event on the `Document` object. (piotr-oles)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^24.1.0
->^25.0.1
Release Notes
jsdom/jsdom (jsdom)
### [`v25.0.1`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2501) [Compare Source](https://redirect.github.com/jsdom/jsdom/compare/25.0.0...25.0.1) - Updated dependencies, notably `tough-cookie`, which no longer prints a deprecation warning. ### [`v25.0.0`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2500) [Compare Source](https://redirect.github.com/jsdom/jsdom/compare/24.1.3...25.0.0) This major release changes the prototype of a jsdom's `EventTarget.prototype` to point to the `Object.prototype` inside the jsdom, instead of pointing to the Node.js `Object.prototype`. Thus, the prototype chain of `Window` stays entirely within the jsdom, never crossing over into the Node.js realm. This only occurs when `runScripts` is set to non-default values of `"dangerously"` or `"outside-only"`, as with the default value, there is no separate `Object.prototype` inside the jsdom. This will likely not impact many programs, but could cause some changes in `instanceof` behavior, and so out of an abundance of caution, we're releasing it as a new major version. ### [`v24.1.3`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2413) [Compare Source](https://redirect.github.com/jsdom/jsdom/compare/24.1.2...24.1.3) - Fixed calls to `postMessage()` that were done as a bare property (i.e., `postMessage()` instead of `window.postMessage()`). ### [`v24.1.2`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2412) [Compare Source](https://redirect.github.com/jsdom/jsdom/compare/24.1.1...24.1.2) - Fixed an issue with the `in` operator applied to `EventTarget` methods, e.g. `'addEventListener' in window`, which only appeared in Node.js ≥22.5.0. (legendecas) - Fixed the events fired by `blur()`: it no longer fires `focus` and `focusin` on the `Document`, and `blur` and `focusout` no longer have their `relatedTarget` property set. (asamuzaK) ### [`v24.1.1`](https://redirect.github.com/jsdom/jsdom/blob/HEAD/Changelog.md#2411) [Compare Source](https://redirect.github.com/jsdom/jsdom/compare/24.1.0...24.1.1) - Fixed selection methods to trigger the `selectionchange` event on the `Document` object. (piotr-oles)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.