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.21.3 #4131

Merged
merged 1 commit into from
May 21, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 12, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild 0.21.2 -> 0.21.3 age adoption passing confidence

Release Notes

evanw/esbuild (esbuild)

v0.21.3

Compare Source

  • Implement the decorator metadata proposal (#​3760)

    This release implements the decorator metadata proposal, which is a sub-proposal of the decorators proposal. Microsoft shipped the decorators proposal in TypeScript 5.0 and the decorator metadata proposal in TypeScript 5.2, so it's important that esbuild also supports both of these features. Here's a quick example:

    // Shim the "Symbol.metadata" symbol
    Symbol.metadata ??= Symbol('Symbol.metadata')
    
    const track = (_, context) => {
      (context.metadata.names ||= []).push(context.name)
    }
    
    class Foo {
      @​track foo = 1
      @​track bar = 2
    }
    
    // Prints ["foo", "bar"]
    console.log(Foo[Symbol.metadata].names)

    ⚠️ WARNING ⚠️

    This proposal has been marked as "stage 3" which means "recommended for implementation". However, it's still a work in progress and isn't a part of JavaScript yet, so keep in mind that any code that uses JavaScript decorator metadata may need to be updated as the feature continues to evolve. If/when that happens, I will update esbuild's implementation to match the specification. I will not be supporting old versions of the specification.

  • Fix bundled decorators in derived classes (#​3768)

    In certain cases, bundling code that uses decorators in a derived class with a class body that references its own class name could previously generate code that crashes at run-time due to an incorrect variable name. This problem has been fixed. Here is an example of code that was compiled incorrectly before this fix:

    class Foo extends Object {
      @​(x => x) foo() {
        return Foo
      }
    }
    console.log(new Foo().foo())
  • Fix tsconfig.json files inside symlinked directories (#​3767)

    This release fixes an issue with a scenario involving a tsconfig.json file that extends another file from within a symlinked directory that uses the paths feature. In that case, the implicit baseURL value should be based on the real path (i.e. after expanding all symbolic links) instead of the original path. This was already done for other files that esbuild resolves but was not yet done for tsconfig.json because it's special-cased (the regular path resolver can't be used because the information inside tsconfig.json is involved in path resolution). Note that this fix no longer applies if the --preserve-symlinks setting is enabled.


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - 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 Mend Renovate. View repository job log here.

@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.21.2 chore(deps): update dependency esbuild to v0.21.2 - autoclosed May 13, 2024
@renovate renovate bot closed this May 13, 2024
@renovate renovate bot deleted the renovate/esbuild-0.x branch May 13, 2024 06:05
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.21.2 - autoclosed chore(deps): update dependency esbuild to v0.21.2 May 15, 2024
@renovate renovate bot restored the renovate/esbuild-0.x branch May 15, 2024 22:44
@renovate renovate bot reopened this May 15, 2024
@renovate renovate bot changed the title chore(deps): update dependency esbuild to v0.21.2 chore(deps): update dependency esbuild to v0.21.3 May 16, 2024
@renovate renovate bot force-pushed the renovate/esbuild-0.x branch 2 times, most recently from 9298e19 to 6cea5f6 Compare May 16, 2024 17:10
@Mister-Hope Mister-Hope merged commit c22169b into main May 21, 2024
35 checks passed
@Mister-Hope Mister-Hope deleted the renovate/esbuild-0.x branch May 21, 2024 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant