Update dependency esbuild to v0.12.20 #654

Merged
konrad merged 1 commits from renovate/esbuild-0.x into main 2021-08-13 19:11:43 +00:00
Member

This PR contains the following updates:

Package Type Update Change
esbuild devDependencies patch 0.12.19 -> 0.12.20

Release Notes

evanw/esbuild

v0.12.20

Compare Source

  • Avoid the sequence </style in CSS output (#​1509)

    The CSS code generator now avoids generating the character sequence </style in case you want to embed the CSS output in a <style>...</style> tag inside HTML:

    /* Original code */
    a:after {
      content: "</style>";
    }
    
    /* Old output */
    a:after {
      content: "</style>";
    }
    
    /* New output */
    a:after {
      content: "<\/style>";
    }
    

    This mirrors how the JS code generator similarly avoids the character sequence </script.

    In addition, the check that escapes </style and </script is now case-insensitive to match how the browser's HTML parser behaves. So </STYLE and </SCRIPT are now escaped as well.

  • Fix a TypeScript parsing edge case with ASI (Automatic Semicolon Insertion) (#​1512)

    This fixes a parsing bug where TypeScript types consisting of multiple identifiers joined together with a . could incorrectly extend onto the next line if the next line started with <. This problem was due to ASI; esbuild should be automatically inserting a semicolon at the end of the line:

    let x: {
      <A extends B>(): c.d /* A semicolon should be automatically inserted here */
      <E extends F>(): g.h
    }
    

    Previously the above code was incorrectly considered a syntax error since esbuild attempted to parse the parameterized type c.d<E extends F ? ...>. With this release, this code is now parsed correctly.


Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [esbuild](https://github.com/evanw/esbuild) | devDependencies | patch | [`0.12.19` -> `0.12.20`](https://renovatebot.com/diffs/npm/esbuild/0.12.19/0.12.20) | --- ### Release Notes <details> <summary>evanw/esbuild</summary> ### [`v0.12.20`](https://github.com/evanw/esbuild/blob/master/CHANGELOG.md#&#8203;01220) [Compare Source](https://github.com/evanw/esbuild/compare/v0.12.19...v0.12.20) - Avoid the sequence `</style` in CSS output ([#&#8203;1509](https://github.com/evanw/esbuild/issues/1509)) The CSS code generator now avoids generating the character sequence `</style` in case you want to embed the CSS output in a `<style>...</style>` tag inside HTML: ```css /* Original code */ a:after { content: "</style>"; } /* Old output */ a:after { content: "</style>"; } /* New output */ a:after { content: "<\/style>"; } ``` This mirrors how the JS code generator similarly avoids the character sequence `</script`. In addition, the check that escapes `</style` and `</script` is now case-insensitive to match how the browser's HTML parser behaves. So `</STYLE` and `</SCRIPT` are now escaped as well. - Fix a TypeScript parsing edge case with ASI (Automatic Semicolon Insertion) ([#&#8203;1512](https://github.com/evanw/esbuild/issues/1512)) This fixes a parsing bug where TypeScript types consisting of multiple identifiers joined together with a `.` could incorrectly extend onto the next line if the next line started with `<`. This problem was due to ASI; esbuild should be automatically inserting a semicolon at the end of the line: ```ts let x: { <A extends B>(): c.d /* A semicolon should be automatically inserted here */ <E extends F>(): g.h } ``` Previously the above code was incorrectly considered a syntax error since esbuild attempted to parse the parameterized type `c.d<E extends F ? ...>`. With this release, this code is now parsed correctly. </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
renovate added the
dependencies
label 2021-08-13 00:01:29 +00:00
renovate added 1 commit 2021-08-13 00:01:30 +00:00
continuous-integration/drone/pr Build is passing Details
6c7d1d031f
Update dependency esbuild to v0.12.20
konrad merged commit 3e9a1e0166 into main 2021-08-13 19:11:43 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.