Commit 8f658e1
authored
Upgrade: [dependabot] - bump esbuild from 0.25.11 to 0.25.12 (#2152)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.25.11 to
0.25.12.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/evanw/esbuild/releases">esbuild's
releases</a>.</em></p>
<blockquote>
<h2>v0.25.12</h2>
<ul>
<li>
<p>Fix a minification regression with CSS media queries (<a
href="https://redirect.github.com/evanw/esbuild/issues/4315">#4315</a>)</p>
<p>The previous release introduced support for parsing media queries
which unintentionally introduced a regression with the removal of
duplicate media rules during minification. Specifically the grammar for
<code>@media <media-type> and <media-condition-without-or> {
... }</code> was missing an equality check for the
<code><media-condition-without-or></code> part, so rules with
different suffix clauses in this position would incorrectly compare
equal and be deduplicated. This release fixes the regression.</p>
</li>
<li>
<p>Update the list of known JavaScript globals (<a
href="https://redirect.github.com/evanw/esbuild/issues/4310">#4310</a>)</p>
<p>This release updates esbuild's internal list of known JavaScript
globals. These are globals that are known to not have side-effects when
the property is accessed. For example, accessing the global
<code>Array</code> property is considered to be side-effect free but
accessing the global <code>scrollY</code> property can trigger a layout,
which is a side-effect. This is used by esbuild's tree-shaking to safely
remove unused code that is known to be side-effect free. This update
adds the following global properties:</p>
<p>From <a href="https://tc39.es/ecma262/2017/">ES2017</a>:</p>
<ul>
<li><code>Atomics</code></li>
<li><code>SharedArrayBuffer</code></li>
</ul>
<p>From <a href="https://tc39.es/ecma262/2020/">ES2020</a>:</p>
<ul>
<li><code>BigInt64Array</code></li>
<li><code>BigUint64Array</code></li>
</ul>
<p>From <a href="https://tc39.es/ecma262/2021/">ES2021</a>:</p>
<ul>
<li><code>FinalizationRegistry</code></li>
<li><code>WeakRef</code></li>
</ul>
<p>From <a href="https://tc39.es/ecma262/2025/">ES2025</a>:</p>
<ul>
<li><code>Float16Array</code></li>
<li><code>Iterator</code></li>
</ul>
<p>Note that this does not indicate that constructing any of these
objects is side-effect free, just that accessing the identifier is
side-effect free. For example, this now allows esbuild to tree-shake
classes that extend from <code>Iterator</code>:</p>
<pre lang="js"><code>// This can now be tree-shaken by esbuild:
class ExampleIterator extends Iterator {}
</code></pre>
</li>
<li>
<p>Add support for the new <code>@view-transition</code> CSS rule (<a
href="https://redirect.github.com/evanw/esbuild/pull/4313">#4313</a>)</p>
<p>With this release, esbuild now has improved support for
pretty-printing and minifying the new <code>@view-transition</code> rule
(which esbuild was previously unaware of):</p>
<pre lang="css"><code>/* Original code */
@view-transition {
navigation: auto;
types: check;
}
<p>/* Old output */<br />
<a
href="https://github.com/view-transition"><code>@view-transition</code></a>
{ navigation: auto; types: check; }</p>
<p>/* New output */<br />
<a
href="https://github.com/view-transition"><code>@view-transition</code></a>
{<br />
navigation: auto;<br />
types: check;<br />
</code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/evanw/esbuild/blob/main/CHANGELOG.md">esbuild's
changelog</a>.</em></p>
<blockquote>
<h2>0.25.12</h2>
<ul>
<li>
<p>Fix a minification regression with CSS media queries (<a
href="https://redirect.github.com/evanw/esbuild/issues/4315">#4315</a>)</p>
<p>The previous release introduced support for parsing media queries
which unintentionally introduced a regression with the removal of
duplicate media rules during minification. Specifically the grammar for
<code>@media <media-type> and <media-condition-without-or> {
... }</code> was missing an equality check for the
<code><media-condition-without-or></code> part, so rules with
different suffix clauses in this position would incorrectly compare
equal and be deduplicated. This release fixes the regression.</p>
</li>
<li>
<p>Update the list of known JavaScript globals (<a
href="https://redirect.github.com/evanw/esbuild/issues/4310">#4310</a>)</p>
<p>This release updates esbuild's internal list of known JavaScript
globals. These are globals that are known to not have side-effects when
the property is accessed. For example, accessing the global
<code>Array</code> property is considered to be side-effect free but
accessing the global <code>scrollY</code> property can trigger a layout,
which is a side-effect. This is used by esbuild's tree-shaking to safely
remove unused code that is known to be side-effect free. This update
adds the following global properties:</p>
<p>From <a href="https://tc39.es/ecma262/2017/">ES2017</a>:</p>
<ul>
<li><code>Atomics</code></li>
<li><code>SharedArrayBuffer</code></li>
</ul>
<p>From <a href="https://tc39.es/ecma262/2020/">ES2020</a>:</p>
<ul>
<li><code>BigInt64Array</code></li>
<li><code>BigUint64Array</code></li>
</ul>
<p>From <a href="https://tc39.es/ecma262/2021/">ES2021</a>:</p>
<ul>
<li><code>FinalizationRegistry</code></li>
<li><code>WeakRef</code></li>
</ul>
<p>From <a href="https://tc39.es/ecma262/2025/">ES2025</a>:</p>
<ul>
<li><code>Float16Array</code></li>
<li><code>Iterator</code></li>
</ul>
<p>Note that this does not indicate that constructing any of these
objects is side-effect free, just that accessing the identifier is
side-effect free. For example, this now allows esbuild to tree-shake
classes that extend from <code>Iterator</code>:</p>
<pre lang="js"><code>// This can now be tree-shaken by esbuild:
class ExampleIterator extends Iterator {}
</code></pre>
</li>
<li>
<p>Add support for the new <code>@view-transition</code> CSS rule (<a
href="https://redirect.github.com/evanw/esbuild/pull/4313">#4313</a>)</p>
<p>With this release, esbuild now has improved support for
pretty-printing and minifying the new <code>@view-transition</code> rule
(which esbuild was previously unaware of):</p>
<pre lang="css"><code>/* Original code */
@view-transition {
navigation: auto;
types: check;
}
<p>/* Old output */<br />
<a
href="https://github.com/view-transition"><code>@view-transition</code></a>
{ navigation: auto; types: check; }</p>
<p>/* New output */<br />
<a
href="https://github.com/view-transition"><code>@view-transition</code></a>
{<br />
navigation: auto;<br />
</code></pre></p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/evanw/esbuild/commit/208f539945b145e7c9d6d844290f81c3fe5af320"><code>208f539</code></a>
publish 0.25.12 to npm</li>
<li><a
href="https://github.com/evanw/esbuild/commit/5f03afdd007f6626d4300afc7cbb5bf7c9554393"><code>5f03afd</code></a>
update release notes</li>
<li><a
href="https://github.com/evanw/esbuild/commit/6b2ee78d7f273d7ed4c4bb08b516939b373bcd67"><code>6b2ee78</code></a>
minify: remove css rules containing empty <code>:is()</code></li>
<li><a
href="https://github.com/evanw/esbuild/commit/f361debd61ffa0ae2d810fbe0e4c9d39183ed4c6"><code>f361deb</code></a>
add some additional known static methods</li>
<li><a
href="https://github.com/evanw/esbuild/commit/07aa646bb2fd9c5eb1de804edf9eae5bd1617637"><code>07aa646</code></a>
automatically mark "RegExp.escape()" calls as pure</li>
<li><a
href="https://github.com/evanw/esbuild/commit/9039c468258fd9a19eeaf5e05fd6a3d582b46d3a"><code>9039c46</code></a>
simplify some call expression checks</li>
<li><a
href="https://github.com/evanw/esbuild/commit/188944dd946dd54d50bbe844dc22969b604589d0"><code>188944d</code></a>
add some additional known static methods</li>
<li><a
href="https://github.com/evanw/esbuild/commit/d3c67f9e94267d06337d2e2e0d837844d2cac6bd"><code>d3c67f9</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/4310">#4310</a>:
add <code>Iterator</code> and other known globals</li>
<li><a
href="https://github.com/evanw/esbuild/commit/4a51f0b24d343d7ae5b7d5a3e5c3afce3f96a0f8"><code>4a51f0b</code></a>
fix: escape dev server breadcrumb hrefs properly (<a
href="https://redirect.github.com/evanw/esbuild/issues/4316">#4316</a>)</li>
<li><a
href="https://github.com/evanw/esbuild/commit/26b29ed51ffe20730ffaf69921dbb53e27de464a"><code>26b29ed</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/4315">#4315</a>:
<code>@media</code> deduplication bug edge case</li>
<li>Additional commits viewable in <a
href="https://github.com/evanw/esbuild/compare/v0.25.11...v0.25.12">compare
view</a></li>
</ul>
</details>
<br />
[](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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>1 parent db83864 commit 8f658e1
2 files changed
+109
-109
lines changed
0 commit comments