Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Nov 12, 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.14 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 13.2.3 to 20.3.10

Release notes

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

20.3.10

@​schematics/angular

Commit Description
fix - c854a719b correct tsconfig.spec.json include for spec files

@​angular/build

Commit Description
fix - b3908f68e do not remove @angular/localize when having external packages (#31721)

20.3.9

@​angular/ssr

Commit Description
fix - 08e07e338 improve locale handling in app-engine
fix - 683697ebc improve route matching for wildcard routes

20.3.8

@​angular-devkit/build-angular

Commit Description
fix - 813cba9b9 expand jest and jest-environment-jsdom to allow version 30

@​angular/build

Commit Description
fix - 542973ab0 add adapters to new reporter
fix - f0885691d ensure locale data plugin runs before other plugins
fix - 45e498f95 handle redirects from guards during prerendering

20.3.7

@​angular-devkit/schematics

Commit Description
fix - a31533cf4 respect --force option when schematic contains host.create

@​angular/build

Commit Description
fix - 8cdda111c resolve Angular locale data namespace in esbuild
fix - 5847ccc54 update vite to 7.11.1

@​angular/ssr

Commit Description
fix - 3a28fb6a1 correctly handle routes with matrix parameters
fix - 5db6d6487 ensure server-side navigation triggers a redirect

20.3.6

@​angular/ssr

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

... (truncated)

Changelog

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

20.3.10 (2025-11-12)

@​schematics/angular

Commit Type Description
c854a719b fix correct tsconfig.spec.json include for spec files

@​angular/build

Commit Type Description
b3908f68e fix do not remove @angular/localize when having external packages (#31721)

21.0.0-rc.1 (2025-11-05)

@​angular/cli

Commit Type Description
dfb4242b3 fix add vitest to version command output

@​schematics/angular

Commit Type Description
f89750b27 fix add addImports option to jasmine-vitest schematic
515b09c4f fix add Vitest config generation and runner checks
0e83fe1a8 fix add warnings and improve Karma config generation
b91fa31f2 fix align Karma project generation with unified unit-test builder

@​angular/build

Commit Type Description
62938e799 fix update vitest to 4.0.6 and remove coverage workaround

@​angular/ssr

Commit Type Description
5d76d84e6 fix improve locale handling in app-engine
4a3cfdfce fix improve route matching for wildcard routes

... (truncated)

Commits
  • 904ef7a release: cut the v20.3.10 release
  • c854a71 fix(@​schematics/angular): correct tsconfig.spec.json include for spec files
  • b3908f6 fix(@​angular/build): do not remove @angular/localize when having external p...
  • 6fbd106 build: migrate license file handling to write_source_file
  • 7c11e07 refactor: fix several typos (#31716)
  • 2c0cafa release: cut the v20.3.9 release
  • bddf211 docs: clarify outputMode description in application schema
  • 683697e fix(@​angular/ssr): improve route matching for wildcard routes
  • 08e07e3 fix(@​angular/ssr): improve locale handling in app-engine
  • 4ac89c5 release: cut the v20.3.8 release
  • Additional commits viewable in compare view

Updates ng-packagr from 13.2.1 to 20.3.1

Release notes

Sourced from ng-packagr's releases.

20.3.1

Performance

  • reduce memory usage for multiple entry-points (non-watch) (e063368), closes #3168

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)

... (truncated)

Changelog

Sourced from ng-packagr's changelog.

20.3.1 (2025-11-12)

Performance

  • reduce memory usage for multiple entry-points (non-watch) (e063368), closes #3168

21.0.0-rc.0 (2025-10-29)

21.0.0-next.4 (2025-10-01)

⚠ BREAKING CHANGES

  • The javascriptEnabled option for Less is no longer supported. Projects relying on inline JavaScript within Less files will need to refactor their stylesheets to remove this dependency.

Features

  • write the types in types directory (7a5e8fb)

Bug Fixes

  • remove deprecated javascriptEnabled option for Less (d57278d)

21.0.0-next.3 (2025-09-22)

21.0.0-next.2 (2025-09-22)

21.0.0-next.1 (2025-09-22)

⚠ BREAKING CHANGES

  • TypeScript versions older than 5.9 are no longer supported.

Bug Fixes

  • drop support for TypeScript 5.8 (7b48224)

21.0.0-next.0 (2025-08-20)

Features

  • add support for Angular version 21 (ed70e23)

20.2.0 (2025-08-20)

Features

... (truncated)

Commits
Maintainer changes

This version was pushed to npm by [GitHub Actions](https://www.npmjs.com/~GitHub Actions), a new releaser for ng-packagr since your current version.


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.14 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.14...v0.25.9)

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

Updates `ng-packagr` from 13.2.1 to 20.3.1
- [Release notes](https://github.com/ng-packagr/ng-packagr/releases)
- [Changelog](https://github.com/ng-packagr/ng-packagr/blob/main/CHANGELOG.md)
- [Commits](ng-packagr/ng-packagr@v13.2.1...20.3.1)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.9
  dependency-type: indirect
- dependency-name: "@angular-devkit/build-angular"
  dependency-version: 20.3.10
  dependency-type: direct:development
- dependency-name: ng-packagr
  dependency-version: 20.3.1
  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 Nov 12, 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