Bump esbuild from 0.16.14 to 0.17.9 #355

Closed
dependabot[bot] wants to merge 1 commit from dependabot/npm_and_yarn/esbuild-0.17.9 into master
dependabot[bot] commented 2023-02-20 12:00:31 +01:00 (Migrated from github.com)

Bumps esbuild from 0.16.14 to 0.17.9.

Release notes

Sourced from esbuild's releases.

v0.17.9

  • Parse rest bindings in TypeScript types (#2937)

    Previously esbuild was unable to parse the following valid TypeScript code:

    let tuple: (...[e1, e2, ...es]: any) => any
    

    This release includes support for parsing code like this.

  • Fix TypeScript code translation for certain computed declare class fields (#2914)

    In TypeScript, the key of a computed declare class field should only be preserved if there are no decorators for that field. Previously esbuild always preserved the key, but esbuild will now remove the key to match the output of the TypeScript compiler:

    // Original code
    declare function dec(a: any, b: any): any
    declare const removeMe: unique symbol
    declare const keepMe: unique symbol
    class X {
        declare [removeMe]: any
        @dec declare [keepMe]: any
    }
    

    // Old output var _a; class X { } removeMe, _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2);

    // New output var _a; class X { } _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2);

  • Fix a crash with path resolution error generation (#2913)

    In certain situations, a module containing an invalid import path could previously cause esbuild to crash when it attempts to generate a more helpful error message. This crash has been fixed.

v0.17.8

  • Fix a minification bug with non-ASCII identifiers (#2910)

... (truncated)

Changelog

Sourced from esbuild's changelog.

0.17.9

  • Parse rest bindings in TypeScript types (#2937)

    Previously esbuild was unable to parse the following valid TypeScript code:

    let tuple: (...[e1, e2, ...es]: any) => any
    

    This release includes support for parsing code like this.

  • Fix TypeScript code translation for certain computed declare class fields (#2914)

    In TypeScript, the key of a computed declare class field should only be preserved if there are no decorators for that field. Previously esbuild always preserved the key, but esbuild will now remove the key to match the output of the TypeScript compiler:

    // Original code
    declare function dec(a: any, b: any): any
    declare const removeMe: unique symbol
    declare const keepMe: unique symbol
    class X {
        declare [removeMe]: any
        @dec declare [keepMe]: any
    }
    

    // Old output var _a; class X { } removeMe, _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2);

    // New output var _a; class X { } _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2);

  • Fix a crash with path resolution error generation (#2913)

    In certain situations, a module containing an invalid import path could previously cause esbuild to crash when it attempts to generate a more helpful error message. This crash has been fixed.

0.17.8

... (truncated)

Commits

Dependabot compatibility score

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 commands and options

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)
Bumps [esbuild](https://github.com/evanw/esbuild) from 0.16.14 to 0.17.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.17.9</h2> <ul> <li> <p>Parse rest bindings in TypeScript types (<a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2937">#2937</a>)</p> <p>Previously esbuild was unable to parse the following valid TypeScript code:</p> <pre lang="ts"><code>let tuple: (...[e1, e2, ...es]: any) =&gt; any </code></pre> <p>This release includes support for parsing code like this.</p> </li> <li> <p>Fix TypeScript code translation for certain computed <code>declare</code> class fields (<a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2914">#2914</a>)</p> <p>In TypeScript, the key of a computed <code>declare</code> class field should only be preserved if there are no decorators for that field. Previously esbuild always preserved the key, but esbuild will now remove the key to match the output of the TypeScript compiler:</p> <pre lang="ts"><code>// Original code declare function dec(a: any, b: any): any declare const removeMe: unique symbol declare const keepMe: unique symbol class X { declare [removeMe]: any @dec declare [keepMe]: any } <p>// Old output var _a; class X { } removeMe, _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2);</p> <p>// New output var _a; class X { } _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2); </code></pre></p> </li> <li> <p>Fix a crash with path resolution error generation (<a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2913">#2913</a>)</p> <p>In certain situations, a module containing an invalid import path could previously cause esbuild to crash when it attempts to generate a more helpful error message. This crash has been fixed.</p> </li> </ul> <h2>v0.17.8</h2> <ul> <li>Fix a minification bug with non-ASCII identifiers (<a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2910">#2910</a>)</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.9</h2> <ul> <li> <p>Parse rest bindings in TypeScript types (<a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2937">#2937</a>)</p> <p>Previously esbuild was unable to parse the following valid TypeScript code:</p> <pre lang="ts"><code>let tuple: (...[e1, e2, ...es]: any) =&gt; any </code></pre> <p>This release includes support for parsing code like this.</p> </li> <li> <p>Fix TypeScript code translation for certain computed <code>declare</code> class fields (<a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2914">#2914</a>)</p> <p>In TypeScript, the key of a computed <code>declare</code> class field should only be preserved if there are no decorators for that field. Previously esbuild always preserved the key, but esbuild will now remove the key to match the output of the TypeScript compiler:</p> <pre lang="ts"><code>// Original code declare function dec(a: any, b: any): any declare const removeMe: unique symbol declare const keepMe: unique symbol class X { declare [removeMe]: any @dec declare [keepMe]: any } <p>// Old output var _a; class X { } removeMe, _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2);</p> <p>// New output var _a; class X { } _a = keepMe; __decorateClass([ dec ], X.prototype, _a, 2); </code></pre></p> </li> <li> <p>Fix a crash with path resolution error generation (<a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2913">#2913</a>)</p> <p>In certain situations, a module containing an invalid import path could previously cause esbuild to crash when it attempts to generate a more helpful error message. This crash has been fixed.</p> </li> </ul> <h2>0.17.8</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/evanw/esbuild/commit/3765e880ed0a55b8e62bfa17b7e004e656eaf914"><code>3765e88</code></a> publish 0.17.9 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/42d3b2fdfa1ea0afbea2932fb853e6aa31944279"><code>42d3b2f</code></a> fix <a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2937">#2937</a>: parse rest bindings in TypeScript types</li> <li><a href="https://github.com/evanw/esbuild/commit/d8b028fc62bb6a4115a841b9ba9d0c747a0d54d1"><code>d8b028f</code></a> adjust test output for <a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2914">#2914</a></li> <li><a href="https://github.com/evanw/esbuild/commit/631a5639f68624d2fefd6c9c1ac128320f0b6f90"><code>631a563</code></a> fix <a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2909">#2909</a>: preserve comments for omitted AST nodes</li> <li><a href="https://github.com/evanw/esbuild/commit/429d0735d1d10acdb7d3cde8fdc99caaf8080256"><code>429d073</code></a> fix <a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2914">#2914</a>: do not emit computed <code>declare</code> fields</li> <li><a href="https://github.com/evanw/esbuild/commit/29d5a9b1d7c52ee93071cbe1c29906680ee70f90"><code>29d5a9b</code></a> fix <a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2913">#2913</a>: crash in ProbeResolvePackageAsRelative</li> <li><a href="https://github.com/evanw/esbuild/commit/5e0b1cd2ce6297cf31b132e413134ffe2576c668"><code>5e0b1cd</code></a> publish 0.17.8 to npm</li> <li><a href="https://github.com/evanw/esbuild/commit/93a54976f9d326418cd427c25cb0778e0ce690d6"><code>93a5497</code></a> also use iteration to print binary ops (<a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2911">#2911</a>)</li> <li><a href="https://github.com/evanw/esbuild/commit/5d4f511bc05d1834442b75f45de5be4a5aafc47b"><code>5d4f511</code></a> move binary expr visiting into <code>visitBinaryExpr</code></li> <li><a href="https://github.com/evanw/esbuild/commit/33daf46fa47a118ef45a36a1873d7c3f5a70966e"><code>33daf46</code></a> fix <a href="https://github-redirect.dependabot.com/evanw/esbuild/issues/2911">#2911</a>: use iteration to visit binary op nodes</li> <li>Additional commits viewable in <a href="https://github.com/evanw/esbuild/compare/v0.16.14...v0.17.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.16.14&new-version=0.17.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>
dependabot[bot] commented 2023-02-21 01:54:22 +01:00 (Migrated from github.com)

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
Commenting is not possible because the repository is archived.
No description provided.