Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 21, 2025

Bumps esbuild to 0.25.9 and updates ancestor dependencies esbuild, @angular-devkit/build-angular and ng-packagr. These dependencies need to be updated together.

Updates esbuild from 0.14.49 to 0.25.9

Release notes

Sourced from esbuild's releases.

v0.25.9

  • 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.

v0.25.8

  • Fix another TypeScript parsing edge case (#4248)

    This fixes a regression with a change in the previous release that tries to more accurately parse TypeScript arrow functions inside the ?: operator. The regression specifically involves parsing an arrow function containing a #private identifier inside the middle of a ?: ternary operator inside a class body. This was fixed by propagating private identifier state into the parser clone used to speculatively parse the arrow function body. Here is an example of some affected code:

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2022

This changelog documents all esbuild versions published in the year 2022 (versions 0.14.11 through 0.16.12).

0.16.12

  • Loader defaults to js for extensionless files (#2776)

    Certain packages contain files without an extension. For example, the yargs package contains the file yargs/yargs which has no extension. Node, Webpack, and Parcel can all understand code that imports yargs/yargs because they assume that the file is JavaScript. However, esbuild was previously unable to understand this code because it relies on the file extension to tell it how to interpret the file. With this release, esbuild will now assume files without an extension are JavaScript files. This can be customized by setting the loader for "" (the empty string, representing files without an extension) to another loader. For example, if you want files without an extension to be treated as CSS instead, you can do that like this:

    • CLI:

      esbuild --bundle --loader:=css
      
    • JS:

      esbuild.build({
        bundle: true,
        loader: { '': 'css' },
      })
    • Go:

      api.Build(api.BuildOptions{
        Bundle: true,
        Loader: map[string]api.Loader{"": api.LoaderCSS},
      })

    In addition, the "type" field in package.json files now only applies to files with an explicit .js, .jsx, .ts, or .tsx extension. Previously it was incorrectly applied by esbuild to all files that had an extension other than .mjs, .mts, .cjs, or .cts including extensionless files. So for example an extensionless file in a "type": "module" package is now treated as CommonJS instead of ESM.

0.16.11

  • Avoid a syntax error in the presence of direct eval (#2761)

    The behavior of nested function declarations in JavaScript depends on whether the code is run in strict mode or not. It would be problematic if esbuild preserved nested function declarations in its output because then the behavior would depend on whether the output was run in strict mode or not instead of respecting the strict mode behavior of the original source code. To avoid this, esbuild transforms nested function declarations to preserve the intended behavior of the original source code regardless of whether the output is run in strict mode or not:

    // Original code
    if (true) {
      function foo() {}
      console.log(!!foo)
      foo = null
      console.log(!!foo)
    }

... (truncated)

Commits

Updates @angular-devkit/build-angular from 14.1.1 to 20.3.6

Release notes

Sourced from @​angular-devkit/build-angular's releases.

20.3.6

@​angular/ssr

Commit Description
fix - 5271547c8 prevent malicious URL from overriding host

20.3.5

@​angular/build

Commit Description
fix - 7f7140680 cleanup karma temporary directory after process exit

20.3.4

@​schematics/angular

Commit Description
fix - c94bf7ff0 Out of the box support for PM2
fix - 465436c9f use bracket notation for process.env['pm_id']

@​angular-devkit/build-angular

Commit Description
fix - bc6b63114 mark InjectionToken as pure for improved tree-shaking

@​angular/build

Commit Description
fix - e510ff828 mark InjectionToken as pure for improved tree-shaking

20.3.3

@​schematics/angular

Commit Description
fix - b7f92da78 add __screenshots__/ to .gitignore

@​angular/ssr

Commit Description
fix - a4c9a2007 avoid retaining rendered HTML in memory post-request

20.3.2

No release notes provided.

20.3.1

@​angular/build

Commit Description
fix - be60be499 add timestamp to bundle generation log
fix - d60f4e53d update vite to version 7.1.5

20.3.0

@​angular/cli

| Commit | Description |

... (truncated)

Changelog

Sourced from @​angular-devkit/build-angular's changelog.

20.3.6 (2025-10-15)

@​angular/ssr

Commit Type Description
5271547c8 fix prevent malicious URL from overriding host

19.2.18 (2025-10-15)

@​angular/ssr

Commit Type Description
9136a5d13 fix prevent malicious URL from overriding host

21.0.0-next.7 (2025-10-08)

@​angular/cli

Commit Type Description
1c06b16a9 feat add builder info to list_projects MCP tool
104c90768 feat enhance ng version output with more details

@​schematics/angular

Commit Type Description
afb4d3e37 fix remove extra space before async in spec templates

@​angular/build

Commit Type Description
1c2d49ec7 fix cleanup karma temporary directory after process exit
50e330d33 fix disable glob directory expansion when finding tests
73621998f fix normalize paths for Vitest runner output files

... (truncated)

Commits
  • f7bd567 release: cut the v20.3.6 release
  • 5271547 fix(@​angular/ssr): prevent malicious URL from overriding host
  • 16656a1 build: update github/codeql-action action to v3.30.8
  • 9e048ee build: update pnpm to v10.18.3
  • 6d365ac build: update cross-repo angular dependencies
  • 108501a docs(@​angular/ssr): update examples for withRoutes configuration
  • 03e3bfc docs(@​angular-devkit/build-angular): add descriptions for browser builder opt...
  • 2f4bc09 docs(@​angular/build): add descriptions for application builder options
  • 82f8900 build: update cross-repo angular dependencies
  • b45f97a build: update cross-repo angular dependencies
  • Additional commits viewable in compare view

Updates ng-packagr from 14.1.0 to 20.3.0

Release notes

Sourced from ng-packagr's releases.

20.3.0

  • No visible changes

20.2.0

Features

  • Add support for TypeScript 5.9

20.2.0-rc.0

No release notes provided.

20.1.0

Bug Fixes

  • prevent 'Unexpected non-whitespace character' error (dfb51b2), closes #3080

20.1.0-rc.0

Bug Fixes

  • prevent 'Unexpected non-whitespace character' error (dfb51b2), closes #3080

20.0.1

Bug Fixes

  • prevent 'Unexpected non-whitespace character' error (d2701fa), closes #3080

20.0.0

⚠ BREAKING CHANGES

  • Node.js versions from 22.0 to 22.10 are no longer supported
  • Node.js v18 is no longer supported
  • TypeScript versions less than 5.8 are no longer supported.

Features

  • expand browser support to widely available Baseline (94f7fbe)
  • add DTS bundles for entry-points (ca9d568), closes #139
  • support Angular version 20 (cebe060)
  • drop support for TypeScript older than 5.8 (a8255ce)
  • support Sass package importers (f767d3c)

Bug Fixes

  • correctly resolve SCSS resources from nested paths (f34a73d), closes #3006
  • correctly update reference to bin (e73db8e), closes #3062

... (truncated)

Changelog

Sourced from ng-packagr's changelog.

20.3.0 (2025-09-10)

  • No visible changes

20.2.0 (2025-08-20)

Features

  • Add support for TypeScript 5.9

20.2.0-next.0 (2025-07-16)

⚠ BREAKING CHANGES

  • Node.js versions from 22.0 to 22.10 are no longer supported
  • Node.js v18 is no longer supported
  • TypeScript versions less than 5.8 are no longer supported.

Features

  • add DTS bundles for entry-points (ca9d568), closes #139
  • drop support for TypeScript older than 5.8 (a8255ce)
  • expand browser support to widely available Baseline (94f7fbe)
  • support Angular version 20 (cebe060)
  • support Sass package importers (f767d3c)

Bug Fixes

  • correctly resolve SCSS resources from nested paths (f34a73d), closes #3006
  • correctly update reference to bin (e73db8e), closes #3062
  • disable emitting empty chunk warning (638c107)
  • disable TypeScript composite option with Angular compiler (5dfbdba)
  • ensure in package .browserslistrc is correctly resolved (14ed50d)
  • prevent 'Unexpected non-whitespace character' error (dfb51b2), closes #3080
  • prevent nested CSS in components (e2d9ef0)
  • remove Node.js v18 support (69d9d9e)
  • update min Node.js support to 20.19, 22.12, and 24.0 (5a7eac4)
  • update minimum supported Node.js 22 version to 22.11.0 (a836a71)

Performance

  • optimize node deletion using Set (a99785c)
  • prevent redundant entry-point builds in watch mode (2f2668b), closes #2936

20.1.0 (2025-07-09)

Bug Fixes

  • prevent 'Unexpected non-whitespace character' error (dfb51b2), closes #3080

... (truncated)

Commits
  • b67fdde docs: update changelog
  • f690572 release: cut 20.3.0
  • ccb56c7 Update CHANGELOG.md
  • eac0105 release: cut 20.2.0
  • e408149 build: update pnpm to v10.15.0
  • 6dbc355 Update package.json
  • 8484b0b build: lock file maintenance
  • 0f5c7d9 build: update cross-repo angular dependencies
  • 1cf4ff2 build: replace file:// with link://
  • 182e320 build: update all non-major dependencies to v8.39.1
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.9 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@angular-devkit/build-angular](https://github.com/angular/angular-cli) and [ng-packagr](https://github.com/ng-packagr/ng-packagr). These dependencies need to be updated together.


Updates `esbuild` from 0.14.49 to 0.25.9
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2022.md)
- [Commits](evanw/esbuild@v0.14.49...v0.25.9)

Updates `@angular-devkit/build-angular` from 14.1.1 to 20.3.6
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Changelog](https://github.com/angular/angular-cli/blob/main/CHANGELOG.md)
- [Commits](angular/angular-cli@14.1.1...20.3.6)

Updates `ng-packagr` from 14.1.0 to 20.3.0
- [Release notes](https://github.com/ng-packagr/ng-packagr/releases)
- [Changelog](https://github.com/ng-packagr/ng-packagr/blob/20.3.0/CHANGELOG.md)
- [Commits](ng-packagr/ng-packagr@14.1.0...20.3.0)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.9
  dependency-type: indirect
- dependency-name: "@angular-devkit/build-angular"
  dependency-version: 20.3.6
  dependency-type: direct:development
- dependency-name: ng-packagr
  dependency-version: 20.3.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 21, 2025
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant