Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency esbuild to v0.18.12 #8899

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 13, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild 0.18.11 -> 0.18.12 age adoption passing confidence

Release Notes

evanw/esbuild (esbuild)

v0.18.12

Compare Source

  • Fix a panic with const enum inside parentheses (#​3205)

    This release fixes an edge case where esbuild could potentially panic if a TypeScript const enum statement was used inside of a parenthesized expression and was followed by certain other scope-related statements. Here's a minimal example that triggers this edge case:

    (() => {
      const enum E { a };
      () => E.a
    })
  • Allow a newline in the middle of TypeScript export type statement (#​3225)

    Previously esbuild incorrectly rejected the following valid TypeScript code:

    export type
    { T };
    
    export type
    * as foo from 'bar';

    Code that uses a newline after export type is now allowed starting with this release.

  • Fix cross-module inlining of string enums (#​3210)

    A refactoring typo in version 0.18.9 accidentally introduced a regression with cross-module inlining of string enums when combined with computed property accesses. This regression has been fixed.

  • Rewrite .js to .ts inside packages with exports (#​3201)

    Packages with the exports field are supposed to disable node's path resolution behavior that allows you to import a file with a different extension than the one in the source code (for example, importing foo/bar to get foo/bar.js). And TypeScript has behavior where you can import a non-existent .js file and you will get the .ts file instead. Previously the presence of the exports field caused esbuild to disable all extension manipulation stuff which included both node's implicit file extension searching and TypeScript's file extension swapping. However, TypeScript appears to always apply file extension swapping even in this case. So with this release, esbuild will now rewrite .js to .ts even inside packages with exports.

  • Fix a redirect edge case in esbuild's development server (#​3208)

    The development server canonicalizes directory URLs by adding a trailing slash. For example, visiting /about redirects to /about/ if /about/index.html would be served. However, if the requested path begins with two slashes, then the redirect incorrectly turned into a protocol-relative URL. For example, visiting //about redirected to //about/ which the browser turns into http://about/. This release fixes the bug by canonicalizing the URL path when doing this redirect.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

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

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


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

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot enabled auto-merge (squash) July 13, 2023 19:11
@jtoar jtoar added the release:chore This PR is a chore (means nothing for users) label Jul 13, 2023
@jtoar jtoar added this to the next-release milestone Jul 13, 2023
@renovate renovate bot merged commit 9c967cc into main Jul 13, 2023
29 of 31 checks passed
@renovate renovate bot deleted the renovate/esbuild-0.x branch July 13, 2023 20:13
@jtoar jtoar modified the milestones: next-release, v6.0.0 Jul 17, 2023
jtoar pushed a commit that referenced this pull request Jul 17, 2023
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [esbuild](https://togithub.com/evanw/esbuild) | [`0.18.11` ->
`0.18.12`](https://renovatebot.com/diffs/npm/esbuild/0.18.11/0.18.12) |
[![age](https://badges.renovateapi.com/packages/npm/esbuild/0.18.12/age-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://badges.renovateapi.com/packages/npm/esbuild/0.18.12/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://badges.renovateapi.com/packages/npm/esbuild/0.18.12/compatibility-slim/0.18.11)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://badges.renovateapi.com/packages/npm/esbuild/0.18.12/confidence-slim/0.18.11)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>evanw/esbuild (esbuild)</summary>

###
[`v0.18.12`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#01812)

[Compare
Source](https://togithub.com/evanw/esbuild/compare/v0.18.11...v0.18.12)

- Fix a panic with `const enum` inside parentheses
([#&#8203;3205](https://togithub.com/evanw/esbuild/issues/3205))

This release fixes an edge case where esbuild could potentially panic if
a TypeScript `const enum` statement was used inside of a parenthesized
expression and was followed by certain other scope-related statements.
Here's a minimal example that triggers this edge case:

    ```ts
    (() => {
      const enum E { a };
      () => E.a
    })
    ```

- Allow a newline in the middle of TypeScript `export type` statement
([#&#8203;3225](https://togithub.com/evanw/esbuild/issues/3225))

Previously esbuild incorrectly rejected the following valid TypeScript
code:

    ```ts
    export type
    { T };

    export type
    * as foo from 'bar';
    ```

Code that uses a newline after `export type` is now allowed starting
with this release.

- Fix cross-module inlining of string enums
([#&#8203;3210](https://togithub.com/evanw/esbuild/issues/3210))

A refactoring typo in version 0.18.9 accidentally introduced a
regression with cross-module inlining of string enums when combined with
computed property accesses. This regression has been fixed.

- Rewrite `.js` to `.ts` inside packages with `exports`
([#&#8203;3201](https://togithub.com/evanw/esbuild/issues/3201))

Packages with the `exports` field are supposed to disable node's path
resolution behavior that allows you to import a file with a different
extension than the one in the source code (for example, importing
`foo/bar` to get `foo/bar.js`). And TypeScript has behavior where you
can import a non-existent `.js` file and you will get the `.ts` file
instead. Previously the presence of the `exports` field caused esbuild
to disable all extension manipulation stuff which included both node's
implicit file extension searching and TypeScript's file extension
swapping. However, TypeScript appears to always apply file extension
swapping even in this case. So with this release, esbuild will now
rewrite `.js` to `.ts` even inside packages with `exports`.

- Fix a redirect edge case in esbuild's development server
([#&#8203;3208](https://togithub.com/evanw/esbuild/issues/3208))

The development server canonicalizes directory URLs by adding a trailing
slash. For example, visiting `/about` redirects to `/about/` if
`/about/index.html` would be served. However, if the requested path
begins with two slashes, then the redirect incorrectly turned into a
protocol-relative URL. For example, visiting `//about` redirected to
`//about/` which the browser turns into `http://about/`. This release
fixes the bug by canonicalizing the URL path when doing this redirect.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi41LjMiLCJ1cGRhdGVkSW5WZXIiOiIzNi41LjMiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant