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 15.7.4 to 15.10.2 (#4992)
Bumps [happy-dom](https://github.com/capricorn86/happy-dom) from 15.7.4 to 15.10.2. <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>v15.10.2</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Fixes a security vulnerability that allowed for server side code to be executed by a <code><script></code> tag - 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/1585">#1585</a> <ul> <li>There was a case that was missed with the first patch</li> </ul> </li> </ul> <h2>v15.10.1</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Fixes a security vulnerability that allowed for server side code to be executed by a <code><script></code> tag - 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/1585">#1585</a></li> </ul> <h2>v15.10.0</h2> <h3>:art: Features</h3> <ul> <li>Adds a new setting called <code>disableSameOriginPolicy</code> that makes it possible to bypass the same-origin policy in fetch requests - By <strong><a href="https://github.com/OlaviSau"><code>@OlaviSau</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1553">#1553</a></li> </ul> <h2>v15.9.0</h2> <h3>:art: Features</h3> <ul> <li>Adds support for "aspect-ratio" to <code>CSSStyleDeclaration</code> - By <strong><a href="https://github.com/yinm"><code>@yinm</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1147">#1147</a></li> </ul> <h2>v15.8.5</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Fixes bug where <code>Node.getRootNode()</code> returned null when it was within a <code>ShadowRoot</code> that previously been disconnected from the <code>Document</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/1581">#1581</a></li> </ul> <h2>v15.8.4</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Fixes bug where child nodes of <code>HTMLSelectElement</code> and <code>HTMLFormElement</code> had the wrong reference to the parent - 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/1578">#1578</a></li> </ul> <h2>v15.8.3</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Toggle "open" attribute on <code>HTMLDetailsElement</code> when dispatching a click event on a summary element which is a child of the details element - By <strong><a href="https://github.com/mikedidomizio"><code>@mikedidomizio</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1534">#1534</a></li> </ul> <h2>v15.8.2</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Use <code>globalThis</code> instead of <code>global</code> to make Happy DOM work in other runtimes such as Cloudflare workers - By <strong><a href="https://github.com/mattallty"><code>@mattallty</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1546">#1546</a></li> </ul> <h2>v15.8.1</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Always return <code>Promise<Blob></code> from <code>ClipboardItem.getType()</code> - By <strong><a href="https://github.com/ezzatron"><code>@ezzatron</code></a></strong> in task <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1538">#1538</a></li> </ul> <h2>v15.8.0</h2> <h3>:construction_worker_man: Patch fixes</h3> <ul> <li>Adds support for using non-ASCII characters in custom elements when parsing HTML - 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/1079">#1079</a></li> <li>Fixes an issue where <code>getHTML()</code> and <code>getInnerHTML()</code> would return the slotted content of a shadow root before the template, but the template should be the first child - 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/1079">#1079</a></li> <li>Fixes a bug where SVG elements would not be found by <code>getElementsByTagName()</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/1079">#1079</a></li> <li>Improves performance when creating elements (e.g. during parsing of HTML) - 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/1550">#1550</a> <ul> <li>Binding all methods to the target scope in Proxies caused a performance hit, so this is now done when calling a method the first time</li> </ul> </li> </ul> <h3>:art: Features</h3> <ul> <li>Adds support for all remaining SVG elements: <code>SVGAnimateElement</code>, <code>SVGAnimateMotionElement</code>, <code>SVGAnimateTransformElement</code>, <code>SVGCircleElement</code>, <code>SVGClipPathElement</code>, <code>SVGDefsElement</code>, <code>SVGDescElement</code>, <code>SVGEllipseElement</code>, <code>SVGFEBlendElement</code>, <code>SVGFEColorMatrixElement</code>, <code>SVGFEComponentTransferElement</code>, <code>SVGFECompositeElement</code>, <code>SVGFEConvolveMatrixElement</code>, <code>SVGFEDiffuseLightingElement</code>, <code>SVGFEDisplacementMapElement</code>, <code>SVGFEDistantLightElement</code>, <code>SVGFEDropShadowElement</code>, <code>SVGFEFloodElement</code>, <code>SVGFEFuncAElement</code>, <code>SVGFEFuncBElement</code>, <code>SVGFEFuncGElement</code>, <code>SVGFEFuncRElement</code>, <code>SVGFEGaussianBlurElement</code>, <code>SVGFEImageElement</code>, <code>SVGFEMergeElement</code>, <code>SVGFEMergeNodeElement</code>, <code>SVGFEMorphologyElement</code>, <code>SVGFEOffsetElement</code>, <code>SVGFEPointLightElement</code>, <code>SVGFESpecularLightingElement</code>, <code>SVGFESpotLightElement</code>, <code>SVGFETileElement</code>, <code>SVGFETurbulenceElement</code>, <code>SVGFilterElement</code>, <code>SVGForeignObjectElement</code>, <code>SVGGElement</code>, <code>SVGImageElement</code>, <code>SVGLineElement</code>, <code>SVGLinearGradientElement</code>, <code>SVGMarkerElement</code>, <code>SVGMaskElement</code>, <code>SVGMetadataElement</code>, <code>SVGMPathElement</code>, <code>SVGPathElement</code>, <code>SVGPatternElement</code>, <code>SVGPolygonElement</code>, <code>SVGPolylineElement</code>, <code>SVGRadialGradientElement</code>, <code>SVGRectElement</code>, <code>SVGScriptElement</code>, <code>SVGSetElement</code>, <code>SVGStopElement</code>, <code>SVGStyleElement</code>, <code>SVGSwitchElement</code>, <code>SVGSymbolElement</code>, <code>SVGTextElement</code>, <code>SVGTextPathElement</code>, <code>SVGTitleElement</code>, <code>SVGTSpanElement</code>, <code>SVGUseElement</code> and <code>SVGViewElement</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/1079">#1079</a></li> <li>Adds support for <code>DOMMatrix</code>, <code>DOMMatrixReadOnly</code>, <code>DOMPoint</code> and <code>DOMPointReadOnly</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/1079">#1079</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/d23834c232f1cf5519c9418b073f1dcec6b2f0fd"><code>d23834c</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1585">#1585</a> Fixes a security vulnerability that allowed for server side code...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/5ee0b1676d4ce20cc2a70d1c9c8d6f1e3f57efac"><code>5ee0b16</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1585">#1585</a> Fixes security vulnerability that allowed for server side code t...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/a20dba9440b5e93b6f0364c220212f0ce4264b27"><code>a20dba9</code></a> chore: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1542">#1542</a> Adds SECURITY.md file (<a href="https://redirect.github.com/capricorn86/happy-dom/issues/1584">#1584</a>)</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/1625d4080339190682bc76bbe79ea26132accfda"><code>1625d40</code></a> feat: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1553">#1553</a> Adds setting disableSameOriginPolicy, to make it possible to by...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/a78cd8f28d8b83cff087aab826b2ed97920b2813"><code>a78cd8f</code></a> feat: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1147">#1147</a> Adds support for aspect-ratio to CSSStyleDeclaration (<a href="https://redirect.github.com/capricorn86/happy-dom/issues/1537">#1537</a>)</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/e6f8b13b5775c5a669d852c834527dab66fb5662"><code>e6f8b13</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1581">#1581</a> Fixes bug where Node.getRootNode() returned null when it was wi...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/38ab960d0e1e3f230996cc163d78819290c91558"><code>38ab960</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1578">#1578</a> Fixes bug where child nodes of HTMLSelectElement and HTMLFormEle...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/8f74989abe973bb1459fd7195c24d63724236ccf"><code>8f74989</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1534">#1534</a> Toggle open attribute on HTMLDetailsElement when dispatching a c...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/7f57469f2e6f54279e31c95a53ee3f497ebdeff6"><code>7f57469</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1546">#1546</a> Use <code>globalThis</code> instead of <code>global</code> to make Happy DOM work in o...</li> <li><a href="https://github.com/capricorn86/happy-dom/commit/759b4fb60e0ad0d0bc6743a79ae25076313f36fa"><code>759b4fb</code></a> fix: <a href="https://redirect.github.com/capricorn86/happy-dom/issues/1538">#1538</a> Always return Promise<Blob> from ClipboardItem.getType() (<a href="https://redirect.github.com/capricorn86/happy-dom/issues/1539">#1539</a>)</li> <li>Additional commits viewable in <a href="https://github.com/capricorn86/happy-dom/compare/v15.7.4...v15.10.2">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=15.7.4&new-version=15.10.2)](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) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/microsoft/typespec/network/alerts). </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information