Skip to content

chore(deps): update dependency esbuild to v0.25.9 #2689

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

Merged
merged 1 commit into from
Aug 13, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 12, 2025

This PR contains the following updates:

Package Change Age Confidence
esbuild 0.25.8 -> 0.25.9 age confidence

Release Notes

evanw/esbuild (esbuild)

v0.25.9

Compare Source

  • Better support building projects that use Yarn on Windows (#​3131, #​3663)

    With this release, you can now use esbuild to bundle projects that use Yarn Plug'n'Play on Windows on drives other than the C: drive. The problem was as follows:

    1. Yarn in Plug'n'Play mode on Windows stores its global module cache on the C: drive
    2. Some developers put their projects on the D: drive
    3. Yarn generates relative paths that use ../.. to get from the project directory to the cache directory
    4. Windows-style paths don't support directory traversal between drives via .. (so D:\.. is just D:)
    5. I didn't have access to a Windows machine for testing this edge case

    Yarn works around this edge case by pretending Windows-style paths beginning with C:\ are actually Unix-style paths beginning with /C:/, so the ../.. path segments are able to navigate across drives inside Yarn's implementation. This was broken for a long time in esbuild but I finally got access to a Windows machine and was able to debug and fix this edge case. So you should now be able to bundle these projects with esbuild.

  • Preserve parentheses around function expressions (#​4252)

    The V8 JavaScript VM uses parentheses around function expressions as an optimization hint to immediately compile the function. Otherwise the function would be lazily-compiled, which has additional overhead if that function is always called immediately as lazy compilation involves parsing the function twice. You can read V8's blog post about this for more details.

    Previously esbuild did not represent parentheses around functions in the AST so they were lost during compilation. With this change, esbuild will now preserve parentheses around function expressions when they are present in the original source code. This means these optimization hints will not be lost when bundling with esbuild. In addition, esbuild will now automatically add this optimization hint to immediately-invoked function expressions. Here's an example:

    // Original code
    const fn0 = () => 0
    const fn1 = (() => 1)
    console.log(fn0, function() { return fn1() }())
    
    // Old output
    const fn0 = () => 0;
    const fn1 = () => 1;
    console.log(fn0, function() {
      return fn1();
    }());
    
    // New output
    const fn0 = () => 0;
    const fn1 = (() => 1);
    console.log(fn0, (function() {
      return fn1();
    })());

    Note that you do not want to wrap all function expressions in parentheses. This optimization hint should only be used for functions that are called on initial load. Using this hint for functions that are not called on initial load will unnecessarily delay the initial load. Again, see V8's blog post linked above for details.

  • Update Go from 1.23.10 to 1.23.12 (#​4257, #​4258)

    This should have no effect on existing code as this version change does not change Go's operating system support. It may remove certain false positive reports (specifically CVE-2025-4674 and CVE-2025-47907) from vulnerability scanners that only detect which version of the Go compiler esbuild uses.


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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Aug 12, 2025
Copy link
Contributor

coderabbitai bot commented Aug 12, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

Support

Need help? Join our Discord community for assistance with any issues or questions.

CodeRabbit Commands (Invoked using PR/Issue comments)

Type @coderabbitai help to get the list of available commands.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Status, Documentation and Community

  • Visit our Status Page to check the current availability of CodeRabbit.
  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

github-actions bot commented Aug 13, 2025

@benchmarks/node-fetch results (consumeBody)

   ✓ active_handles.................: avg=139.705255 min=25      med=140     max=191      p(90)=162     p(95)=166    
     data_received..................: 23 MB  779 kB/s
     data_sent......................: 15 MB  499 kB/s
     http_req_blocked...............: avg=3.37µs     min=631ns   med=1.52µs  max=6.03ms   p(90)=2.09µs  p(95)=2.44µs 
     http_req_connecting............: avg=1.37µs     min=0s      med=0s      max=4.85ms   p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=19.56ms    min=3.35ms  med=19.07ms max=876.54ms p(90)=25.18ms p(95)=27.09ms
       { expected_response:true }...: avg=19.56ms    min=3.35ms  med=19.07ms max=876.54ms p(90)=25.18ms p(95)=27.09ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 152776
     http_req_receiving.............: avg=34.88µs    min=9.4µs   med=24.45µs max=21.45ms  p(90)=39.05µs p(95)=46.7µs 
     http_req_sending...............: avg=11.61µs    min=3.27µs  med=7.23µs  max=23.73ms  p(90)=10.16µs p(95)=15.62µs
     http_req_tls_handshaking.......: avg=0s         min=0s      med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=19.52ms    min=3.28ms  med=19.03ms max=876.37ms p(90)=25.13ms p(95)=27.03ms
     http_reqs......................: 152776 5092.026405/s
     iteration_duration.............: avg=39.25ms    min=11.67ms med=37.86ms max=903.3ms  p(90)=43.03ms p(95)=48.84ms
     iterations.....................: 76371  2545.446592/s
     vus............................: 100    min=100       max=100 
     vus_max........................: 100    min=100       max=100 

Copy link
Contributor

github-actions bot commented Aug 13, 2025

@benchmarks/server results (uws)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 254170      ✗ 0     
     data_received..................: 21 MB   707 kB/s
     data_sent......................: 19 MB   631 kB/s
     http_req_blocked...............: avg=1.51µs   min=901ns    med=1.38µs   max=169.07µs p(90)=1.93µs   p(95)=2.09µs  
     http_req_connecting............: avg=0ns      min=0s       med=0s       max=122.64µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=164.27µs min=111.96µs med=155.09µs max=13.53ms  p(90)=176.78µs p(95)=185.19µs
       { expected_response:true }...: avg=164.27µs min=111.96µs med=155.09µs max=13.53ms  p(90)=176.78µs p(95)=185.19µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 127085
     http_req_receiving.............: avg=23.03µs  min=12.21µs  med=21.64µs  max=3.18ms   p(90)=27.03µs  p(95)=29.64µs 
     http_req_sending...............: avg=8.79µs   min=5.43µs   med=8.92µs   max=315.67µs p(90)=10.7µs   p(95)=12.55µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=132.43µs min=82.39µs  med=124.25µs max=13.41ms  p(90)=143.39µs p(95)=150.83µs
     http_reqs......................: 127085  4236.034789/s
     iteration_duration.............: avg=231.74µs min=164.24µs med=221.19µs max=13.75ms  p(90)=247.59µs p(95)=259.43µs
     iterations.....................: 127085  4236.034789/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

Copy link
Contributor

github-actions bot commented Aug 13, 2025

@benchmarks/node-fetch results (noConsumeBody)

   ✓ active_handles.................: avg=140.150781 min=68       med=138     max=188      p(90)=161     p(95)=167    
     data_received..................: 24 MB  789 kB/s
     data_sent......................: 15 MB  511 kB/s
     http_req_blocked...............: avg=4.12µs     min=591ns    med=1.58µs  max=6ms      p(90)=2.14µs  p(95)=2.52µs 
     http_req_connecting............: avg=2.03µs     min=0s       med=0s      max=5.61ms   p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=19.3ms     min=690.54µs med=18.87ms max=639.51ms p(90)=25.15ms p(95)=26.87ms
       { expected_response:true }...: avg=19.3ms     min=690.54µs med=18.87ms max=639.51ms p(90)=25.15ms p(95)=26.87ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 154802
     http_req_receiving.............: avg=36.01µs    min=8.87µs   med=25.39µs max=20.71ms  p(90)=39.92µs p(95)=48.19µs
     http_req_sending...............: avg=11.8µs     min=3.11µs   med=7.73µs  max=14.67ms  p(90)=10.85µs p(95)=16.15µs
     http_req_tls_handshaking.......: avg=0s         min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=19.25ms    min=657.03µs med=18.83ms max=639.45ms p(90)=25.1ms  p(95)=26.8ms 
     http_reqs......................: 154802 5159.484075/s
     iteration_duration.............: avg=38.73ms    min=12.77ms  med=37.48ms max=658.27ms p(90)=43.04ms p(95)=48.15ms
     iterations.....................: 77384  2579.175435/s
     vus............................: 100    min=100       max=100 
     vus_max........................: 100    min=100       max=100 

Copy link
Contributor

github-actions bot commented Aug 13, 2025

@benchmarks/server results (undici)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 167512      ✗ 0    
     data_received..................: 17 MB   556 kB/s
     data_sent......................: 13 MB   416 kB/s
     http_req_blocked...............: avg=1.72µs   min=962ns    med=1.68µs   max=183.31µs p(90)=2.09µs   p(95)=2.31µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=130.54µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=280.69µs min=208.21µs med=259.69µs max=15.87ms  p(90)=292.29µs p(95)=309.19µs
       { expected_response:true }...: avg=280.69µs min=208.21µs med=259.69µs max=15.87ms  p(90)=292.29µs p(95)=309.19µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 83756
     http_req_receiving.............: avg=27.65µs  min=14.91µs  med=25.87µs  max=2.91ms   p(90)=32.16µs  p(95)=35.68µs 
     http_req_sending...............: avg=9.81µs   min=5.77µs   med=9.78µs   max=344.69µs p(90)=12.1µs   p(95)=14.09µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=243.23µs min=180.97µs med=223.23µs max=15.8ms   p(90)=253.85µs p(95)=269.14µs
     http_reqs......................: 83756   2791.742678/s
     iteration_duration.............: avg=353.42µs min=274.06µs med=331.18µs max=16.02ms  p(90)=367.3µs  p(95)=388.53µs
     iterations.....................: 83756   2791.742678/s
     vus............................: 1       min=1         max=1  
     vus_max........................: 1       min=1         max=1  

Copy link
Contributor

github-actions bot commented Aug 13, 2025

@benchmarks/server results (ponyfill)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 248232      ✗ 0     
     data_received..................: 25 MB   815 kB/s
     data_sent......................: 19 MB   616 kB/s
     http_req_blocked...............: avg=1.57µs   min=942ns    med=1.52µs   max=272.91µs p(90)=1.97µs   p(95)=2.14µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=128.74µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=166.84µs min=113.09µs med=160.28µs max=5.84ms   p(90)=181.55µs p(95)=189.53µs
       { expected_response:true }...: avg=166.84µs min=113.09µs med=160.28µs max=5.84ms   p(90)=181.55µs p(95)=189.53µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 124116
     http_req_receiving.............: avg=24.51µs  min=12.92µs  med=23.35µs  max=2.78ms   p(90)=28.49µs  p(95)=31.58µs 
     http_req_sending...............: avg=9.1µs    min=5.57µs   med=9.23µs   max=329.87µs p(90)=11.38µs  p(95)=12.94µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=133.22µs min=87.87µs  med=127.01µs max=5.75ms   p(90)=146.31µs p(95)=153.91µs
     http_reqs......................: 124116  4137.044682/s
     iteration_duration.............: avg=237.12µs min=174.21µs med=229.69µs max=6.39ms   p(90)=253.95µs p(95)=264.38µs
     iterations.....................: 124116  4137.044682/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

Copy link
Contributor

github-actions bot commented Aug 13, 2025

@benchmarks/server results (native)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 173108      ✗ 0    
     data_received..................: 17 MB   574 kB/s
     data_sent......................: 13 MB   430 kB/s
     http_req_blocked...............: avg=1.61µs   min=962ns    med=1.6µs    max=206.15µs p(90)=2.01µs   p(95)=2.15µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=116.68µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=272.97µs min=203.41µs med=253.39µs max=14.68ms  p(90)=287.33µs p(95)=305.65µs
       { expected_response:true }...: avg=272.97µs min=203.41µs med=253.39µs max=14.68ms  p(90)=287.33µs p(95)=305.65µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 86554
     http_req_receiving.............: avg=26.31µs  min=13.91µs  med=24.59µs  max=2.93ms   p(90)=30.16µs  p(95)=33.13µs 
     http_req_sending...............: avg=9.44µs   min=5.69µs   med=9.54µs   max=383.14µs p(90)=11.16µs  p(95)=13.13µs 
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=237.21µs min=175.29µs med=218.51µs max=14.41ms  p(90)=250.71µs p(95)=267.31µs
     http_reqs......................: 86554   2885.018321/s
     iteration_duration.............: avg=342.12µs min=265.86µs med=321.44µs max=14.82ms  p(90)=359µs    p(95)=382.75µs
     iterations.....................: 86554   2885.018321/s
     vus............................: 1       min=1         max=1  
     vus_max........................: 1       min=1         max=1  

@renovate renovate bot merged commit ccc661a into master Aug 13, 2025
25 checks passed
@renovate renovate bot deleted the renovate/all-minor-patch branch August 13, 2025 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants