Skip to content

Commit c53efc8

Browse files
committed
Version 25.0.0
1 parent 784c8a5 commit c53efc8

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

Changelog.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,14 @@ Other guidelines:
2626
* Roughly order changes within those groupings by impact.
2727
-->
2828

29+
## 25.0.0
30+
31+
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.
32+
33+
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.
34+
35+
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.
36+
2937
## 24.1.3
3038

3139
* Fixed calls to `postMessage()` that were done as a bare property (i.e., `postMessage()` instead of `window.postMessage()`).

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jsdom",
3-
"version": "24.1.3",
3+
"version": "25.0.0",
44
"description": "A JavaScript implementation of many web standards",
55
"keywords": [
66
"dom",

0 commit comments

Comments
 (0)