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>👷♂️ 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>👷♂️ 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>🎨 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>🎨 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>👷♂️ 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>👷♂️ 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>👷♂️ 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>👷♂️ 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>👷♂️ 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>👷♂️ 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>🎨 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="d23834c232"><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="5ee0b1676d"><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="a20dba9440"><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="1625d40803"><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="a78cd8f28d"><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="e6f8b13b57"><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="38ab960d0e"><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="8f74989abe"><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="7f57469f2e"><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="759b4fb60e"><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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Replace `ArmChallengeAuthenticationPolicy` in azure-core-management
with `BearerTokenAuthenticationPolicy` in azure-core
- https://github.com/Azure/azure-sdk-for-java/issues/41984
Currently ARM has this feature disabled, so switching with no CAE
shouldn't affect anything.
CAE is implemented for `BearerTokenAuthenticationPolicy` in next
azure-core release, this feature will get automatically enabled when we
sync azure-core to 1.54.0
- Expose mutateSubgraphWithNamespace which allows Namespace mutations
- mutateSubgraph doesn't allow Namespace mutators. We want to keep
namespace mutator hidden as it is a more advanced use case.
close https://github.com/microsoft/typespec/issues/705
---------
Co-authored-by: iscai-msft <43154838+iscai-msft@users.noreply.github.com>
Co-authored-by: Mark Cowlishaw <markcowl@microsoft.com>
close#4739
- `@typespec/http`
- add `@cookie` decorator to decorate parameters as cookie parameters
- add `response-cookie-not-supported` diagnostics
- to be emitted when response cookies are specified
- add tests for cookie params
- `@typespec/http-server-javascript`
- throw UnimplementedError when cookie params came
- `@typespec/openapi3`
- support cookie param case
- add tests for cookie params
### response cookie design
| in | explicit body | implicit body |
| - | - | - |
| diagnostics | `metadata-ignored` | `response-cookie-not-supported` |
| result | included (unified with other metadata) | NOT included
(prevent breaking change for `set-cookie`) |
---
based on:
- https://github.com/microsoft/typespec/discussions/4721
---------
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
Fixes#4298
Added tests for all the OpenAPI permutations of query params
explode/style. This also updates tsp generation to be compatible with
the change introduced in `@typespec/http` v0.59.1 where `@query` without
params sets `explode: false` (previously it was not set - which assumed
`explode: true`.)
---------
Co-authored-by: Christopher Radek <Christopher.Radek@microsoft.com>
Earlier, in the `upload-scenario-manifest` script, I had handled the
multiple paths in a different way (one by one). After working with the
`cadl-ranch-dashboard`, the correct approach is to generate the manifest
file in the same way as coverage file. This PR performs this task.
Here is a snapshot of the modified manifest file:
![image](https://github.com/user-attachments/assets/cf752245-452a-424f-b1ed-86b2965103a0)
Please review and approve the PR. Thanks
1. TypeSpec Language Server would be restarted with new settings when
setting "typespec.tsp-server.path" is changed
2. Typespec Language Server can be restarted properly when the server
wasn't running before
3. Code refactor in vscode extension.
related issues:
#2996, #4765
---------
Co-authored-by: Timothee Guerin <tiguerin@microsoft.com>
This PR fixes an issue where the model factory method for a model was
using the incorrect full constructor when the full constructor was
suppressed and customized.
fixes: https://github.com/microsoft/typespec/issues/4830
Fixes#4489 and fixes#4614
This now generates the `@summary` decorator based on either the
Component schema `title` field, or the path item `summary` field.
---------
Co-authored-by: Christopher Radek <Christopher.Radek@microsoft.com>
Co-authored-by: Timothee Guerin <timothee.guerin@outlook.com>