Skip to content

Commit

Permalink
chore(deps-dev): Bump esbuild from 0.17.19 to 0.18.9 (#187)
Browse files Browse the repository at this point in the history
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.17.19 to
0.18.9.
<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.18.9</h2>
<ul>
<li>
<p>Fix <code>await using</code> declarations inside <code>async</code>
generator functions</p>
<p>I forgot about the new <code>await using</code> declarations when
implementing lowering for <code>async</code> generator functions in the
previous release. This change fixes the transformation of <code>await
using</code> declarations when they are inside lowered
<code>async</code> generator functions:</p>
<pre lang="js"><code>// Original code
async function* foo() {
  await using x = await y
}
<p>// Old output (with --supported:async-generator=false)
function foo() {
return __asyncGenerator(this, null, function* () {
await using x = yield new __await(y);
});
}</p>
<p>// New output (with --supported:async-generator=false)
function foo() {
return __asyncGenerator(this, null, function* () {
var _stack = [];
try {
const x = __using(<em>stack, yield new __await(y), true);
} catch (</em>) {
var _error = _, _hasError = true;
} finally {
var _promise = __callDispose(_stack, _error, _hasError);
_promise &amp;&amp; (yield new __await(_promise));
}
});
}
</code></pre></p>
</li>
<li>
<p>Insert some prefixed CSS properties when appropriate (<a
href="https://redirect.github.com/evanw/esbuild/issues/3122">#3122</a>)</p>
<p>With this release, esbuild will now insert prefixed CSS properties in
certain cases when the <code>target</code> setting includes browsers
that require a certain prefix. This is currently done for the following
properties:</p>
<ul>
<li><code>appearance: *;</code> =&gt; <code>-webkit-appearance: *;
-moz-appearance: *;</code></li>
<li><code>backdrop-filter: *;</code> =&gt;
<code>-webkit-backdrop-filter: *;</code></li>
<li><code>background-clip: text</code> =&gt;
<code>-webkit-background-clip: text;</code></li>
<li><code>box-decoration-break: *;</code> =&gt;
<code>-webkit-box-decoration-break: *;</code></li>
<li><code>clip-path: *;</code> =&gt; <code>-webkit-clip-path:
*;</code></li>
<li><code>font-kerning: *;</code> =&gt; <code>-webkit-font-kerning:
*;</code></li>
<li><code>hyphens: *;</code> =&gt; <code>-webkit-hyphens: *;</code></li>
<li><code>initial-letter: *;</code> =&gt; <code>-webkit-initial-letter:
*;</code></li>
<li><code>mask-image: *;</code> =&gt; <code>-webkit-mask-image:
*;</code></li>
<li><code>mask-origin: *;</code> =&gt; <code>-webkit-mask-origin:
*;</code></li>
<li><code>mask-position: *;</code> =&gt; <code>-webkit-mask-position:
*;</code></li>
<li><code>mask-repeat: *;</code> =&gt; <code>-webkit-mask-repeat:
*;</code></li>
</ul>
</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.18.9</h2>
<ul>
<li>
<p>Fix <code>await using</code> declarations inside <code>async</code>
generator functions</p>
<p>I forgot about the new <code>await using</code> declarations when
implementing lowering for <code>async</code> generator functions in the
previous release. This change fixes the transformation of <code>await
using</code> declarations when they are inside lowered
<code>async</code> generator functions:</p>
<pre lang="js"><code>// Original code
async function* foo() {
  await using x = await y
}
<p>// Old output (with --supported:async-generator=false)
function foo() {
return __asyncGenerator(this, null, function* () {
await using x = yield new __await(y);
});
}</p>
<p>// New output (with --supported:async-generator=false)
function foo() {
return __asyncGenerator(this, null, function* () {
var _stack = [];
try {
const x = __using(<em>stack, yield new __await(y), true);
} catch (</em>) {
var _error = _, _hasError = true;
} finally {
var _promise = __callDispose(_stack, _error, _hasError);
_promise &amp;&amp; (yield new __await(_promise));
}
});
}
</code></pre></p>
</li>
<li>
<p>Insert some prefixed CSS properties when appropriate (<a
href="https://redirect.github.com/evanw/esbuild/issues/3122">#3122</a>)</p>
<p>With this release, esbuild will now insert prefixed CSS properties in
certain cases when the <code>target</code> setting includes browsers
that require a certain prefix. This is currently done for the following
properties:</p>
<ul>
<li><code>appearance: *;</code> =&gt; <code>-webkit-appearance: *;
-moz-appearance: *;</code></li>
<li><code>backdrop-filter: *;</code> =&gt;
<code>-webkit-backdrop-filter: *;</code></li>
<li><code>background-clip: text</code> =&gt;
<code>-webkit-background-clip: text;</code></li>
<li><code>box-decoration-break: *;</code> =&gt;
<code>-webkit-box-decoration-break: *;</code></li>
<li><code>clip-path: *;</code> =&gt; <code>-webkit-clip-path:
*;</code></li>
<li><code>font-kerning: *;</code> =&gt; <code>-webkit-font-kerning:
*;</code></li>
<li><code>hyphens: *;</code> =&gt; <code>-webkit-hyphens: *;</code></li>
<li><code>initial-letter: *;</code> =&gt; <code>-webkit-initial-letter:
*;</code></li>
<li><code>mask-image: *;</code> =&gt; <code>-webkit-mask-image:
*;</code></li>
<li><code>mask-origin: *;</code> =&gt; <code>-webkit-mask-origin:
*;</code></li>
<li><code>mask-position: *;</code> =&gt; <code>-webkit-mask-position:
*;</code></li>
</ul>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/evanw/esbuild/commit/d568ff038d012a7894a9d4334b75f8559bf2532e"><code>d568ff0</code></a>
publish 0.18.9 to npm</li>
<li><a
href="https://github.com/evanw/esbuild/commit/7e10dd60f9ff830c26aae12ecc2d2c2bc4ab45aa"><code>7e10dd6</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/2041">#2041</a>:
add text loader data to source maps</li>
<li><a
href="https://github.com/evanw/esbuild/commit/9ed47f51d29917f410c1e3ec632aa68361c43d31"><code>9ed47f5</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/3122">#3122</a>:
prefix some more css properties</li>
<li><a
href="https://github.com/evanw/esbuild/commit/9d8a7e5115e9dd95fe2e67ececd8aef595857791"><code>9d8a7e5</code></a>
prefix some css properties (<a
href="https://redirect.github.com/evanw/esbuild/issues/3122">#3122</a>)</li>
<li><a
href="https://github.com/evanw/esbuild/commit/33322d2e4a84c075055ab5caf7c0726e6d5c1c0d"><code>33322d2</code></a>
switch css minify from in-place to a new array</li>
<li><a
href="https://github.com/evanw/esbuild/commit/a4e2a1e50dc3813b51a12bef79d8dc646e917c56"><code>a4e2a1e</code></a>
minify: shorter printing of ts enum property keys</li>
<li><a
href="https://github.com/evanw/esbuild/commit/dc913df9ff26e5aa7c3dd71db9787f488dd26c17"><code>dc913df</code></a>
printer: extract enum inlining into a helper</li>
<li><a
href="https://github.com/evanw/esbuild/commit/dd659951f4d1224a4fd5abb2c15cc993e8e00944"><code>dd65995</code></a>
move release notes to the right place</li>
<li><a
href="https://github.com/evanw/esbuild/commit/50f78c1c368dd084e9dfe19892087c6afa792406"><code>50f78c1</code></a>
fix(compat-table): refine Destructuring support status (<a
href="https://redirect.github.com/evanw/esbuild/issues/3179">#3179</a>)</li>
<li><a
href="https://github.com/evanw/esbuild/commit/a7236e4d36f60f367c0583fba8204454a9cc6754"><code>a7236e4</code></a>
fix <a
href="https://redirect.github.com/evanw/esbuild/issues/2809">#2809</a>:
an obscure identifier minification bug</li>
<li>Additional commits viewable in <a
href="https://github.com/evanw/esbuild/compare/v0.17.19...v0.18.9">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.19&new-version=0.18.9)](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
DaevMithran authored Jun 28, 2023
2 parents c92be40 + acbe181 commit 7126605
Show file tree
Hide file tree
Showing 2 changed files with 93 additions and 93 deletions.
184 changes: 92 additions & 92 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"conventional-changelog-conventionalcommits": "^5.0.0",
"esbuild": "^0.17.19",
"esbuild": "^0.18.9",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-typescript": "^3.0.0",
Expand Down

0 comments on commit 7126605

Please sign in to comment.