Skip to content

chore(deps): update dependency esbuild to ^0.24.0#2268

Merged
Brooooooklyn merged 1 commit into
mainfrom
renovate/esbuild-0.x
Sep 22, 2024
Merged

chore(deps): update dependency esbuild to ^0.24.0#2268
Brooooooklyn merged 1 commit into
mainfrom
renovate/esbuild-0.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Sep 22, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
esbuild ^0.23.0 -> ^0.24.0 age adoption passing confidence

Release Notes

evanw/esbuild (esbuild)

v0.24.0

Compare Source

This release deliberately contains backwards-incompatible changes. To avoid automatically picking up releases like this, you should either be pinning the exact version of esbuild in your package.json file (recommended) or be using a version range syntax that only accepts patch upgrades such as ^0.23.0 or ~0.23.0. See npm's documentation about semver for more information.

  • Drop support for older platforms (#​3902)

    This release drops support for the following operating system:

    • macOS 10.15 Catalina

    This is because the Go programming language dropped support for this operating system version in Go 1.23, and this release updates esbuild from Go 1.22 to Go 1.23. Go 1.23 now requires macOS 11 Big Sur or later.

    Note that this only affects the binary esbuild executables that are published to the esbuild npm package. It's still possible to compile esbuild's source code for these older operating systems. If you need to, you can compile esbuild for yourself using an older version of the Go compiler (before Go version 1.23). That might look something like this:

    git clone https://github.com/evanw/esbuild.git
    cd esbuild
    go build ./cmd/esbuild
    ./esbuild --version
    
  • Fix class field decorators in TypeScript if useDefineForClassFields is false (#​3913)

    Setting the useDefineForClassFields flag to false in tsconfig.json means class fields use the legacy TypeScript behavior instead of the standard JavaScript behavior. Specifically they use assign semantics instead of define semantics (e.g. setters are triggered) and fields without an initializer are not initialized at all. However, when this legacy behavior is combined with standard JavaScript decorators, TypeScript switches to always initializing all fields, even those without initializers. Previously esbuild incorrectly continued to omit field initializers for this edge case. These field initializers in this case should now be emitted starting with this release.

  • Avoid incorrect cycle warning with tsconfig.json multiple inheritance (#​3898)

    TypeScript 5.0 introduced multiple inheritance for tsconfig.json files where extends can be an array of file paths. Previously esbuild would incorrectly treat files encountered more than once when processing separate subtrees of the multiple inheritance hierarchy as an inheritance cycle. With this release, tsconfig.json files containing this edge case should work correctly without generating a warning.

  • Handle Yarn Plug'n'Play stack overflow with tsconfig.json (#​3915)

    Previously a tsconfig.json file that extends another file in a package with an exports map could cause a stack overflow when Yarn's Plug'n'Play resolution was active. This edge case should work now starting with this release.

  • Work around more issues with Deno 1.31+ (#​3917)

    This version of Deno broke the stdin and stdout properties on command objects for inherited streams, which matters when you run esbuild's Deno module as the entry point (i.e. when import.meta.main is true). Previously esbuild would crash in Deno 1.31+ if you ran esbuild like that. This should be fixed starting with this release.

    This fix was contributed by @​Joshix-1.


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 this update again.


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

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot enabled auto-merge (rebase) September 22, 2024 03:23
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benchmark

Details
Benchmark suite Current: 8156fa3 Previous: daf4a80 Ratio
noop#napi-rs 86425114 ops/sec (±0.19%) 85013475 ops/sec (±0.82%) 0.98
noop#JavaScript 818467683 ops/sec (±0.09%) 812131877 ops/sec (±0.15%) 0.99
Plus number#napi-rs 23019307 ops/sec (±0.24%) 22222651 ops/sec (±0.72%) 0.97
Plus number#JavaScript 817091175 ops/sec (±0.19%) 809049740 ops/sec (±0.3%) 0.99
Create buffer#napi-rs 657271 ops/sec (±12.11%) 636134 ops/sec (±12.99%) 0.97
Create buffer#JavaScript 3413352 ops/sec (±2.48%) 2909253 ops/sec (±2.43%) 0.85
createArray#createArrayJson 55095 ops/sec (±0.12%) 52513 ops/sec (±0.69%) 0.95
createArray#create array for loop 9952 ops/sec (±0.32%) 9830 ops/sec (±0.52%) 0.99
createArray#create array with serde trait 9953 ops/sec (±0.2%) 9810 ops/sec (±0.51%) 0.99
getArrayFromJs#get array from json string 24609 ops/sec (±0.38%) 23651 ops/sec (±0.81%) 0.96
getArrayFromJs#get array from serde 13013 ops/sec (±0.51%) 12727 ops/sec (±0.26%) 0.98
getArrayFromJs#get array with for loop 16707 ops/sec (±0.34%) 16569 ops/sec (±0.42%) 0.99
Get Set property#Get Set from native#u32 586392 ops/sec (±11.98%) 580697 ops/sec (±12.48%) 0.99
Get Set property#Get Set from JavaScript#u32 555490 ops/sec (±2.19%) 538206 ops/sec (±2.42%) 0.97
Get Set property#Get Set from native#string 568346 ops/sec (±11.01%) 561576 ops/sec (±11.53%) 0.99
Get Set property#Get Set from JavaScript#string 524434 ops/sec (±1.72%) 509318 ops/sec (±2.22%) 0.97
Async task#spawn task 26568 ops/sec (±0.65%) 26178 ops/sec (±0.28%) 0.99
Async task#ThreadSafeFunction 9810 ops/sec (±0.43%) 9010 ops/sec (±0.72%) 0.92
Async task#Tokio future to Promise 31988 ops/sec (±1.14%) 31131 ops/sec (±1.18%) 0.97
Query#query * 100 3572 ops/sec (±1.96%) 3500 ops/sec (±1.12%) 0.98
Query#query * 1 27614 ops/sec (±0.81%) 25203 ops/sec (±1.01%) 0.91

This comment was automatically generated by workflow using github-action-benchmark.

@Brooooooklyn Brooooooklyn merged commit f995c8e into main Sep 22, 2024
@Brooooooklyn Brooooooklyn deleted the renovate/esbuild-0.x branch September 22, 2024 04:12
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.

1 participant