Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump happy-dom from 13.10.1 to 14.3.6 (sergiodxa#326)
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 13.10.1 to 14.3.6. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/capricorn86/happy-dom/releases">happy-dom's releases</a>.</em></p> <blockquote> <h2>v14.3.6</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Adds support for parsing the shorthand comment <code><!></code> - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1288">#1288</a></li> </ul> <h2>v14.3.5</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Fixes bug where the tag name for custom elements constructed using the "new" keyword rendered as <code><null></code> - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1354">#1354</a></li> </ul> <h2>v14.3.4</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Ignores invalid selectors when parsing CSS in <code>Window.getComputedStyle()</code> - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1352">#1352</a></li> </ul> <h2>v14.3.3</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Fixes bug where calling <code>Storage.getItem()</code> with a key that has the same name as one of its methods or properties, returned the method/property (e.g. <code>Storage.getItem('key')</code> returned <code>Storage.key()</code> which is a function) - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1351">#1351</a> <ul> <li>The solution has been changed to use a <code>Proxy</code> instead to safeguard against this</li> </ul> </li> </ul> <h2>v14.3.2</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Converts the value parameter to string in <code>Storage.setItem()</code> - By <strong><a href="https://github.com/dr2009"><code>@dr2009</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1347">#1347</a></li> </ul> <h2>v14.3.1</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Adds support for defining keys to the <code>Storage</code> class used by the properties <code>Window.localStorage</code> and <code>Window.sessionStorage</code> - By <strong><a href="https://github.com/frankdiw"><code>@frankdiw</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1181">#1181</a></li> </ul> <h2>v14.3.0</h2> <h3>:art: Features</h3> <ul> <li>Adds support for <code>Select.selectedOptions</code> - By <strong><a href="https://github.com/otaviosoares"><code>@otaviosoares</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1282">#1282</a></li> </ul> <h2>v14.2.1</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Binds getters and setters on all Window classes (not only <code>GlobalWindow</code>), so that they will be available when calling <code>Object.getOwnPropertyDescriptors()</code> - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1343">#1343</a> <ul> <li>The reason for this change is that JSDOM and browsers has these properties as part of the Window instance and not the prototype</li> <li>Happy DOM will now behave correctly when overriding a property on Window with <code>spyOn(window, 'property')</code> or <code>Object.defineProperty(window, 'property')</code></li> </ul> </li> </ul> <h2>v14.2.0</h2> <h3>:art: Features</h3> <ul> <li>Adds support for the pseudo selectors <code>:is()</code> and <code>:where()</code> - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1333">#1333</a></li> </ul> <h2>v14.1.2</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Fixes problem with properties defined as getters and setters not being registered globally by Vitest - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1339">#1339</a> <ul> <li>The problem occurred as Vitest is using <code>Object.getOwnPropertyDescriptors(window)</code> to read which properties to register globally, but getters and setters are defined on the prototype</li> <li>To solve the problem, <code>GlobalWindow</code> now defines the properties on the instance when it is constructed</li> </ul> </li> </ul> <h2>v14.1.1</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Changes <code>location</code>, <code>history</code>, <code>navigator</code>, <code>screen</code>, <code>sessionStorage</code> and <code>localStorage</code> to be getters instead of properties on <code>Window</code> - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1336">#1336</a></li> <li>Adds setter for <code>Window.location</code> - By <strong><a href="https://github.com/capricorn86"><code>@capricorn86</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1336">#1336</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/capricorn86/happy-dom/commit/0ee95b7a99a810edc78160e735dd70dd6f010ea6"><code>0ee95b7</code></a> Merge pull request <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1358">#1358</a> from capricorn86/1288-add-support-for-comment-shorthand</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/c71929b5db23c74399da48dfe987591e35ba3b90"><code>c71929b</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1288">#1288</a> Adds support for parsing shorthand comments</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/06b556ca5f3fe6fcb3abc7ee9b1255b3d3ed5c6f"><code>06b556c</code></a> Merge pull request <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1357">#1357</a> from capricorn86/1354-incorrect-custom-element-tag-n...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/1c57ecc6fbeb44ef5a7f7c81f755872c4846b4ef"><code>1c57ecc</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1354">#1354</a> Fixes bug where the tag name for custom elements constructed usi...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/1fa9701d374dbf57c5e54bcbd877828cd007603c"><code>1fa9701</code></a> Merge pull request <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1355">#1355</a> from capricorn86/1352-bug-domexception-the-selector-...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/1a1d05ba6a36fda2ff599ef95f9393b6e9312d02"><code>1a1d05b</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1352">#1352</a> Ignores invalid selectors when parsing CSS in Window.getComputed...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/6cbe8c09c98ae8b310da0c8b6acb37b1b7820981"><code>6cbe8c0</code></a> Merge pull request <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1353">#1353</a> from capricorn86/1351-bug-unexpected-return-value-wh...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/6cdc5ed323c8f043551593ef8df42b9ce38b8e3c"><code>6cdc5ed</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1351">#1351</a> Fixes bug where calling Storage.getItem() with a key that has th...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/44dd9ce0991bca18b1fade5c0b78a6987d299b9e"><code>44dd9ce</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1347">#1347</a> LocalStorage.setItem non-string value should to be string (<a href="https://redirect.github.com/capricorn86/happy-dom/issues/1348">#1348</a>)</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/b5af02b6d2d9cb940890983b3a2ec35155d8cba6"><code>b5af02b</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1181">#1181</a> Adds support for defining keys to the Storage class used by the ...</li> <li>Additional commits viewable in <a href="https://github.com/capricorn86/happy-dom/compare/v13.10.1...v14.3.6">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=happy-dom&package-manager=npm_and_yarn&previous-version=13.10.1&new-version=14.3.6)](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