Skip to content

Commit

Permalink
chore(deps): bump esbuild from 0.17.12 to 0.17.14 (#207)
Browse files Browse the repository at this point in the history
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.12 to
0.17.14.
<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.17.14</h2>
<ul>
<li>
<p>Allow the TypeScript 5.0 <code>const</code> modifier in object type
declarations (<a
href="https://redirect.github.com/evanw/esbuild/issues/3021">#3021</a>)</p>
<p>The new TypeScript 5.0 <code>const</code> modifier was added to
esbuild in version 0.17.5, and works with classes, functions, and arrow
expressions. However, support for it wasn't added to object type
declarations (e.g. interfaces) due to an oversight. This release adds
support for these cases, so the following TypeScript 5.0 code can now be
built with esbuild:</p>
<pre lang="ts"><code>interface Foo { &lt;const T&gt;(): T }
type Bar = { new &lt;const T&gt;(): T }
</code></pre>
</li>
<li>
<p>Implement preliminary lowering for CSS nesting (<a
href="https://redirect.github.com/evanw/esbuild/issues/1945">#1945</a>)</p>
<p>Chrome has <a
href="https://developer.chrome.com/articles/css-nesting/">implemented
the new CSS nesting specification</a> in version 112, which is currently
in beta but will become stable very soon. So CSS nesting is now a part
of the web platform!</p>
<p>This release of esbuild can now transform nested CSS syntax into
non-nested CSS syntax for older browsers. The transformation relies on
the <code>:is()</code> pseudo-class in many cases, so the transformation
is only guaranteed to work when targeting browsers that support
<code>:is()</code> (e.g. Chrome 88+). You'll need to set esbuild's <a
href="https://esbuild.github.io/api/#target"><code>target</code></a> to
the browsers you intend to support to tell esbuild to do this
transformation. You will get a warning if you use CSS nesting syntax
with a <code>target</code> which includes older browsers that don't
support <code>:is()</code>.</p>
<p>The lowering transformation looks like this:</p>
<pre lang="css"><code>/* Original input */
a.btn {
  color: [#333](evanw/esbuild#333);
&amp;:hover { color: [#444](evanw/esbuild#444)
}
&amp;:active { color:
[#555](evanw/esbuild#555) }
}
<p>/* New output (with --target=chrome88) */
a.btn {
color: <a
href="https://redirect.github.com/evanw/esbuild/issues/333">#333</a>;
}
a.btn:hover {
color: <a
href="https://redirect.github.com/evanw/esbuild/issues/444">#444</a>;
}
a.btn:active {
color: <a
href="https://redirect.github.com/evanw/esbuild/issues/555">#555</a>;
}
</code></pre></p>
<p>More complex cases may generate the <code>:is()</code>
pseudo-class:</p>
<pre lang="css"><code>/* Original input */
div, p {
  .warning, .error {
    padding: 20px;
  }
}
<p>/* New output (with --target=chrome88) */
:is(div, p) :is(.warning, .error) {
</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.17.14</h2>
<ul>
<li>
<p>Allow the TypeScript 5.0 <code>const</code> modifier in object type
declarations (<a
href="https://redirect.github.com/evanw/esbuild/issues/3021">#3021</a>)</p>
<p>The new TypeScript 5.0 <code>const</code> modifier was added to
esbuild in version 0.17.5, and works with classes, functions, and arrow
expressions. However, support for it wasn't added to object type
declarations (e.g. interfaces) due to an oversight. This release adds
support for these cases, so the following TypeScript 5.0 code can now be
built with esbuild:</p>
<pre lang="ts"><code>interface Foo { &lt;const T&gt;(): T }
type Bar = { new &lt;const T&gt;(): T }
</code></pre>
</li>
<li>
<p>Implement preliminary lowering for CSS nesting (<a
href="https://redirect.github.com/evanw/esbuild/issues/1945">#1945</a>)</p>
<p>Chrome has <a
href="https://developer.chrome.com/articles/css-nesting/">implemented
the new CSS nesting specification</a> in version 112, which is currently
in beta but will become stable very soon. So CSS nesting is now a part
of the web platform!</p>
<p>This release of esbuild can now transform nested CSS syntax into
non-nested CSS syntax for older browsers. The transformation relies on
the <code>:is()</code> pseudo-class in many cases, so the transformation
is only guaranteed to work when targeting browsers that support
<code>:is()</code> (e.g. Chrome 88+). You'll need to set esbuild's <a
href="https://esbuild.github.io/api/#target"><code>target</code></a> to
the browsers you intend to support to tell esbuild to do this
transformation. You will get a warning if you use CSS nesting syntax
with a <code>target</code> which includes older browsers that don't
support <code>:is()</code>.</p>
<p>The lowering transformation looks like this:</p>
<pre lang="css"><code>/* Original input */
a.btn {
  color: [#333](evanw/esbuild#333);
&amp;:hover { color: [#444](evanw/esbuild#444)
}
&amp;:active { color:
[#555](evanw/esbuild#555) }
}
<p>/* New output (with --target=chrome88) */
a.btn {
color: <a
href="https://redirect.github.com/evanw/esbuild/issues/333">#333</a>;
}
a.btn:hover {
color: <a
href="https://redirect.github.com/evanw/esbuild/issues/444">#444</a>;
}
a.btn:active {
color: <a
href="https://redirect.github.com/evanw/esbuild/issues/555">#555</a>;
}
</code></pre></p>
<p>More complex cases may generate the <code>:is()</code>
pseudo-class:</p>
<pre lang="css"><code>/* Original input */
div, p {
  .warning, .error {
    padding: 20px;
  }
}
<p>/* New output (with --target=chrome88) */
</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/b2b897870564a6b8e8bc802a140c55bf602de31b"><code>b2b8978</code></a>
publish 0.17.14 to npm</li>
<li><a
href="https://github.com/evanw/esbuild/commit/079eca4992344201185864c9282221c917c9a3d5"><code>079eca4</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/3021">#3021</a>:
add support for <code>const</code> in object types</li>
<li><a
href="https://github.com/evanw/esbuild/commit/72c837935d74ab1f421c0d96e9d1ce1052438737"><code>72c8379</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/1945">#1945</a>:
initial lowering code for css nesting</li>
<li><a
href="https://github.com/evanw/esbuild/commit/96e09b40f73b29aaf4f419d45f603ee1353be800"><code>96e09b4</code></a>
cannot inline no-op nesting with pseudo-elements</li>
<li><a
href="https://github.com/evanw/esbuild/commit/cd62fa131daecaf8eb4b4bb032331158b2b2d8db"><code>cd62fa1</code></a>
minify: remove unnecessary <code>&amp;</code> selectors</li>
<li><a
href="https://github.com/evanw/esbuild/commit/0546cf7a8cb1d89409e4634bdb3b5d6c65e0a6c5"><code>0546cf7</code></a>
css combinator can be a single byte</li>
<li><a
href="https://github.com/evanw/esbuild/commit/39c39620829dad7f871e32090d4273ed4fdc0ae2"><code>39c3962</code></a>
minify: removes duplicates from CSS selector lists</li>
<li><a
href="https://github.com/evanw/esbuild/commit/8362c373289da762f5636691fc070f630678607c"><code>8362c37</code></a>
Chrome 112+ can now use CSS nesting</li>
<li><a
href="https://github.com/evanw/esbuild/commit/366b632dec741af6f199ef2931b2f0936a9ff822"><code>366b632</code></a>
<a
href="https://redirect.github.com/evanw/esbuild/issues/2940">#2940</a>:
switch to <code>node-compat-table</code> for node data</li>
<li><a
href="https://github.com/evanw/esbuild/commit/daf372df0bea9109b89ddf3bf1703eb5daef4d52"><code>daf372d</code></a>
run <code>make compat-table</code> again</li>
<li>Additional commits viewable in <a
href="https://github.com/evanw/esbuild/compare/v0.17.12...v0.17.14">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=esbuild&package-manager=npm_and_yarn&previous-version=0.17.12&new-version=0.17.14)](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 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>
  • Loading branch information
paularmstrong authored Mar 27, 2023
2 parents 235be0e + f264740 commit cccde3c
Showing 1 changed file with 92 additions and 92 deletions.
184 changes: 92 additions & 92 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1037,9 +1037,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/android-arm64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/android-arm64@npm:0.17.12"
"@esbuild/android-arm64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/android-arm64@npm:0.17.14"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard
Expand All @@ -1051,9 +1051,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/android-arm@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/android-arm@npm:0.17.12"
"@esbuild/android-arm@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/android-arm@npm:0.17.14"
conditions: os=android & cpu=arm
languageName: node
linkType: hard
Expand All @@ -1065,9 +1065,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/android-x64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/android-x64@npm:0.17.12"
"@esbuild/android-x64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/android-x64@npm:0.17.14"
conditions: os=android & cpu=x64
languageName: node
linkType: hard
Expand All @@ -1079,9 +1079,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/darwin-arm64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/darwin-arm64@npm:0.17.12"
"@esbuild/darwin-arm64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/darwin-arm64@npm:0.17.14"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard
Expand All @@ -1093,9 +1093,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/darwin-x64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/darwin-x64@npm:0.17.12"
"@esbuild/darwin-x64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/darwin-x64@npm:0.17.14"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard
Expand All @@ -1107,9 +1107,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/freebsd-arm64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/freebsd-arm64@npm:0.17.12"
"@esbuild/freebsd-arm64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/freebsd-arm64@npm:0.17.14"
conditions: os=freebsd & cpu=arm64
languageName: node
linkType: hard
Expand All @@ -1121,9 +1121,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/freebsd-x64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/freebsd-x64@npm:0.17.12"
"@esbuild/freebsd-x64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/freebsd-x64@npm:0.17.14"
conditions: os=freebsd & cpu=x64
languageName: node
linkType: hard
Expand All @@ -1135,9 +1135,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-arm64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-arm64@npm:0.17.12"
"@esbuild/linux-arm64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-arm64@npm:0.17.14"
conditions: os=linux & cpu=arm64
languageName: node
linkType: hard
Expand All @@ -1149,9 +1149,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-arm@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-arm@npm:0.17.12"
"@esbuild/linux-arm@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-arm@npm:0.17.14"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard
Expand All @@ -1163,9 +1163,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-ia32@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-ia32@npm:0.17.12"
"@esbuild/linux-ia32@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-ia32@npm:0.17.14"
conditions: os=linux & cpu=ia32
languageName: node
linkType: hard
Expand All @@ -1177,9 +1177,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-loong64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-loong64@npm:0.17.12"
"@esbuild/linux-loong64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-loong64@npm:0.17.14"
conditions: os=linux & cpu=loong64
languageName: node
linkType: hard
Expand All @@ -1191,9 +1191,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-mips64el@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-mips64el@npm:0.17.12"
"@esbuild/linux-mips64el@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-mips64el@npm:0.17.14"
conditions: os=linux & cpu=mips64el
languageName: node
linkType: hard
Expand All @@ -1205,9 +1205,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-ppc64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-ppc64@npm:0.17.12"
"@esbuild/linux-ppc64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-ppc64@npm:0.17.14"
conditions: os=linux & cpu=ppc64
languageName: node
linkType: hard
Expand All @@ -1219,9 +1219,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-riscv64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-riscv64@npm:0.17.12"
"@esbuild/linux-riscv64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-riscv64@npm:0.17.14"
conditions: os=linux & cpu=riscv64
languageName: node
linkType: hard
Expand All @@ -1233,9 +1233,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-s390x@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-s390x@npm:0.17.12"
"@esbuild/linux-s390x@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-s390x@npm:0.17.14"
conditions: os=linux & cpu=s390x
languageName: node
linkType: hard
Expand All @@ -1247,9 +1247,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/linux-x64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/linux-x64@npm:0.17.12"
"@esbuild/linux-x64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/linux-x64@npm:0.17.14"
conditions: os=linux & cpu=x64
languageName: node
linkType: hard
Expand All @@ -1261,9 +1261,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/netbsd-x64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/netbsd-x64@npm:0.17.12"
"@esbuild/netbsd-x64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/netbsd-x64@npm:0.17.14"
conditions: os=netbsd & cpu=x64
languageName: node
linkType: hard
Expand All @@ -1275,9 +1275,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/openbsd-x64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/openbsd-x64@npm:0.17.12"
"@esbuild/openbsd-x64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/openbsd-x64@npm:0.17.14"
conditions: os=openbsd & cpu=x64
languageName: node
linkType: hard
Expand All @@ -1289,9 +1289,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/sunos-x64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/sunos-x64@npm:0.17.12"
"@esbuild/sunos-x64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/sunos-x64@npm:0.17.14"
conditions: os=sunos & cpu=x64
languageName: node
linkType: hard
Expand All @@ -1303,9 +1303,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/win32-arm64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/win32-arm64@npm:0.17.12"
"@esbuild/win32-arm64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/win32-arm64@npm:0.17.14"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard
Expand All @@ -1317,9 +1317,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/win32-ia32@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/win32-ia32@npm:0.17.12"
"@esbuild/win32-ia32@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/win32-ia32@npm:0.17.14"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard
Expand All @@ -1331,9 +1331,9 @@ __metadata:
languageName: node
linkType: hard

"@esbuild/win32-x64@npm:0.17.12":
version: 0.17.12
resolution: "@esbuild/win32-x64@npm:0.17.12"
"@esbuild/win32-x64@npm:0.17.14":
version: 0.17.14
resolution: "@esbuild/win32-x64@npm:0.17.14"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -7512,31 +7512,31 @@ __metadata:
linkType: hard

"esbuild@npm:^0.17.0":
version: 0.17.12
resolution: "esbuild@npm:0.17.12"
dependencies:
"@esbuild/android-arm": 0.17.12
"@esbuild/android-arm64": 0.17.12
"@esbuild/android-x64": 0.17.12
"@esbuild/darwin-arm64": 0.17.12
"@esbuild/darwin-x64": 0.17.12
"@esbuild/freebsd-arm64": 0.17.12
"@esbuild/freebsd-x64": 0.17.12
"@esbuild/linux-arm": 0.17.12
"@esbuild/linux-arm64": 0.17.12
"@esbuild/linux-ia32": 0.17.12
"@esbuild/linux-loong64": 0.17.12
"@esbuild/linux-mips64el": 0.17.12
"@esbuild/linux-ppc64": 0.17.12
"@esbuild/linux-riscv64": 0.17.12
"@esbuild/linux-s390x": 0.17.12
"@esbuild/linux-x64": 0.17.12
"@esbuild/netbsd-x64": 0.17.12
"@esbuild/openbsd-x64": 0.17.12
"@esbuild/sunos-x64": 0.17.12
"@esbuild/win32-arm64": 0.17.12
"@esbuild/win32-ia32": 0.17.12
"@esbuild/win32-x64": 0.17.12
version: 0.17.14
resolution: "esbuild@npm:0.17.14"
dependencies:
"@esbuild/android-arm": 0.17.14
"@esbuild/android-arm64": 0.17.14
"@esbuild/android-x64": 0.17.14
"@esbuild/darwin-arm64": 0.17.14
"@esbuild/darwin-x64": 0.17.14
"@esbuild/freebsd-arm64": 0.17.14
"@esbuild/freebsd-x64": 0.17.14
"@esbuild/linux-arm": 0.17.14
"@esbuild/linux-arm64": 0.17.14
"@esbuild/linux-ia32": 0.17.14
"@esbuild/linux-loong64": 0.17.14
"@esbuild/linux-mips64el": 0.17.14
"@esbuild/linux-ppc64": 0.17.14
"@esbuild/linux-riscv64": 0.17.14
"@esbuild/linux-s390x": 0.17.14
"@esbuild/linux-x64": 0.17.14
"@esbuild/netbsd-x64": 0.17.14
"@esbuild/openbsd-x64": 0.17.14
"@esbuild/sunos-x64": 0.17.14
"@esbuild/win32-arm64": 0.17.14
"@esbuild/win32-ia32": 0.17.14
"@esbuild/win32-x64": 0.17.14
dependenciesMeta:
"@esbuild/android-arm":
optional: true
Expand Down Expand Up @@ -7584,7 +7584,7 @@ __metadata:
optional: true
bin:
esbuild: bin/esbuild
checksum: ea6d33eb1bc6c9e00dcee5e253c7e935251b4801d376661fd9f19a9dcffc27f970078a6f7116d6c78ee825ceff9b974594b0b616bd560ce4d875a951aa92977b
checksum: 8f4c05f5d3da04f05c48d65f60f3c6422253f406cd56a7ab7a898f0971b0366c454635a6340172874950771dc005a9928dd999b732a6d4caa504b537bfcbf2ff
languageName: node
linkType: hard

Expand Down

0 comments on commit cccde3c

Please sign in to comment.