Skip to content

Commit 215952c

Browse files
Merge #498
498: Bump jsdom from 18.1.1 to 19.0.0 r=bidoubiwa a=dependabot[bot] Bumps [jsdom](https://github.com/jsdom/jsdom) from 18.1.1 to 19.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 19.0.0</h2> <ul> <li>Changed <code>jsdom.nodeLocation()</code> to return <code>undefined</code> when used on nodes that originate via fragment parsing (e.g., via <code>innerHTML</code>). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0. (bakkot)</li> <li>Fixed calling <code>window.close()</code> inside the <code>Window</code>'s <code>load</code> event to no longer crash. (MattiasBuelens)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/jsdom/jsdom/blob/master/Changelog.md">jsdom's changelog</a>.</em></p> <blockquote> <h2>19.0.0</h2> <ul> <li>Changed <code>jsdom.nodeLocation()</code> to return <code>undefined</code> when used on nodes that originate via fragment parsing (e.g., via <code>innerHTML</code>). Previously it would return based on the node location of the fragment string, which made node locations unreliable with respect to the original document source. This restores the behavior that was present in v14.0.0, and was accidentally broken in v14.1.0. (bakkot)</li> <li>Fixed calling <code>window.close()</code> inside the <code>Window</code>'s <code>load</code> event to no longer crash. (MattiasBuelens)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/jsdom/jsdom/commit/a604d67995fe5b2b1ce73090d347c23eeed011eb"><code>a604d67</code></a> Version 19.0.0</li> <li><a href="https://github.com/jsdom/jsdom/commit/e46f76f7e311447213a3a3be1526db3d53028ee5"><code>e46f76f</code></a> Fix crash when calling window.close() inside load event listener</li> <li><a href="https://github.com/jsdom/jsdom/commit/f9de3fd8c622f810a9c3bc5efde3e5ec43c1a99e"><code>f9de3fd</code></a> Do not track location information for fragment-parsed nodes</li> <li>See full diff in <a href="https://github.com/jsdom/jsdom/compare/18.1.1...19.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=18.1.1&new-version=19.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR 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` 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> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 parents a8904cc + 5fb6e92 commit 215952c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"eslint-plugin-jest": "^24.1.8",
5555
"eslint-plugin-prettier": "^3.3.0",
5656
"jest": "^26.6.3",
57-
"jsdom": "^18.1.1",
57+
"jsdom": "^19.0.0",
5858
"postcss-cli": "^7.1.2",
5959
"prettier": "^2.0.5",
6060
"pretty-bytes-cli": "^2.0.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5094,10 +5094,10 @@ jsdom@^16.4.0:
50945094
ws "^7.4.5"
50955095
xml-name-validator "^3.0.0"
50965096

5097-
jsdom@^18.1.1:
5098-
version "18.1.1"
5099-
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-18.1.1.tgz#15ec896f5ab7df9669a62375606f47c8c09551aa"
5100-
integrity sha512-NmJQbjQ/gpS/1at/ce3nCx89HbXL/f5OcenBe8wU1Eik0ROhyUc3LtmG3567dEHAGXkN8rmILW/qtCOPxPHQJw==
5097+
jsdom@^19.0.0:
5098+
version "19.0.0"
5099+
resolved "https://registry.yarnpkg.com/jsdom/-/jsdom-19.0.0.tgz#93e67c149fe26816d38a849ea30ac93677e16b6a"
5100+
integrity sha512-RYAyjCbxy/vri/CfnjUWJQQtZ3LKlLnDqj+9XLNnJPgEGeirZs3hllKR20re8LUZ6o1b1X4Jat+Qd26zmP41+A==
51015101
dependencies:
51025102
abab "^2.0.5"
51035103
acorn "^8.5.0"

0 commit comments

Comments
 (0)