Skip to content

Commit

Permalink
Bump jsdom from 24.1.1 to 25.0.0 in /ui (#44)
Browse files Browse the repository at this point in the history
Bumps [jsdom](https://github.com/jsdom/jsdom) from 24.1.1 to 25.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/jsdom/jsdom/releases">jsdom's
releases</a>.</em></p>
<blockquote>
<h2>Version 25.0.0</h2>
<p>This major release changes the prototype of a jsdom's
<code>EventTarget.prototype</code> to point to the
<code>Object.prototype</code> inside the jsdom, instead of pointing to
the Node.js <code>Object.prototype</code>. Thus, the prototype chain of
<code>Window</code> stays entirely within the jsdom, never crossing over
into the Node.js realm.</p>
<p>This only occurs when <code>runScripts</code> is set to non-default
values of <code>&quot;dangerously&quot;</code> or
<code>&quot;outside-only&quot;</code>, as with the default value, there
is no separate <code>Object.prototype</code> inside the jsdom.</p>
<p>This will likely not impact many programs, but could cause some
changes in <code>instanceof</code> behavior, and so out of an abundance
of caution, we're releasing it as a new major version.</p>
<h2>Version 24.1.3</h2>
<ul>
<li>Fixed calls to <code>postMessage()</code> that were done as a bare
property (i.e., <code>postMessage()</code> instead of
<code>window.postMessage()</code>).</li>
</ul>
<h2>Version 24.1.2</h2>
<ul>
<li>Fixed an issue with the <code>in</code> operator applied to
<code>EventTarget</code> methods, e.g. <code>'addEventListener' in
window</code>, which only appeared in Node.js ≥22.5.0. (legendecas)</li>
<li>Fixed the events fired by <code>blur()</code>: it no longer fires
<code>focus</code> and <code>focusin</code> on the
<code>Document</code>, and <code>blur</code> and <code>focusout</code>
no longer have their <code>relatedTarget</code> property set.
(asamuzaK)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/jsdom/jsdom/blob/main/Changelog.md">jsdom's
changelog</a>.</em></p>
<blockquote>
<h2>25.0.0</h2>
<p>This major release changes the prototype of a jsdom's
<code>EventTarget.prototype</code> to point to the
<code>Object.prototype</code> inside the jsdom, instead of pointing to
the Node.js <code>Object.prototype</code>. Thus, the prototype chain of
<code>Window</code> stays entirely within the jsdom, never crossing over
into the Node.js realm.</p>
<p>This only occurs when <code>runScripts</code> is set to non-default
values of <code>&quot;dangerously&quot;</code> or
<code>&quot;outside-only&quot;</code>, as with the default value, there
is no separate <code>Object.prototype</code> inside the jsdom.</p>
<p>This will likely not impact many programs, but could cause some
changes in <code>instanceof</code> behavior, and so out of an abundance
of caution, we're releasing it as a new major version.</p>
<h2>24.1.3</h2>
<ul>
<li>Fixed calls to <code>postMessage()</code> that were done as a bare
property (i.e., <code>postMessage()</code> instead of
<code>window.postMessage()</code>).</li>
</ul>
<h2>24.1.2</h2>
<ul>
<li>Fixed an issue with the <code>in</code> operator applied to
<code>EventTarget</code> methods, e.g. <code>'addEventListener' in
window</code>, which only appeared in Node.js ≥22.5.0. (legendecas)</li>
<li>Fixed the events fired by <code>blur()</code>: it no longer fires
<code>focus</code> and <code>focusin</code> on the
<code>Document</code>, and <code>blur</code> and <code>focusout</code>
no longer have their <code>relatedTarget</code> property set.
(asamuzaK)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/jsdom/jsdom/commit/c53efc81e75f38a0558fbf3ed75d30b78b4c4898"><code>c53efc8</code></a>
Version 25.0.0</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/784c8a5689372b678525b1be394e4a02e99f647c"><code>784c8a5</code></a>
Set EventTarget.prototype to the jsdom's Object.prototype</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/0314f1e42e2fa2735a0f5eb001fe3169a9a25595"><code>0314f1e</code></a>
Version 24.1.3</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/46d5d5c946dcfe783e35ece849be91f8f6bd7390"><code>46d5d5c</code></a>
Fix postMessage referenced as a bare property</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/a241df63ff8f8df4287cd6b53282f3391a86580d"><code>a241df6</code></a>
Version 24.1.2</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/c3a9aedca3d3bd66bb65d0df191e754fe195df12"><code>c3a9aed</code></a>
Remove upstreamed WPTs</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/07fab3735a24ed0b443eccdf83dad5a94e7826ea"><code>07fab37</code></a>
Refactor Window object setup code</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/3383805343cd6a78414f9ff4fb37319b846cc99a"><code>3383805</code></a>
Fix events fired by blur()</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/065abcb3ff55340ead1c45cd6fde54c4fcc3f774"><code>065abcb</code></a>
Roll web platform tests</li>
<li><a
href="https://github.com/jsdom/jsdom/commit/439a43e2f1af624d162f3676a21cc6d5794be6c8"><code>439a43e</code></a>
Setup Window prototype in vm context</li>
<li>Additional commits viewable in <a
href="https://github.com/jsdom/jsdom/compare/24.1.1...25.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jsdom&package-manager=npm_and_yarn&previous-version=24.1.1&new-version=25.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 3, 2024
1 parent 588b3c7 commit 83f19f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@vue/test-utils": "^2.4.6",
"eslint": "^9.9.1",
"eslint-plugin-vue": "^9.23.0",
"jsdom": "^24.1.0",
"jsdom": "^25.0.0",
"vite": "^5.4.2",
"vitest": "^2.0.5"
}
Expand Down

0 comments on commit 83f19f2

Please sign in to comment.