Skip to content

build(deps): bump esbuild, @angular-devkit/build-angular and @nx/angular - #693

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-2778a387e6
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/multi-2778a387e6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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

Updates esbuild from 0.19.12 to 0.28.2

Release notes

Sourced from esbuild's releases.

v0.28.2

  • Fix tree shaking bug due to TypeScript import alias (#4507)

    This release fixes a bug that could cause esbuild to incorrectly tree-shake imports that are used in a TypeScript type alias under certain circumstances. Affected code uses a TypeScript-specific import assignment and looks something like this:

    import Base from './dep.js';
    import Alias = Base.SomeType;
  • Fix CSS minification bug involving & (#4497)

    This release fixes a bug where esbuild's CSS minifier incorrectly removed a & when it was unsafe to do so. Here is an example:

    /* Original code */
    .a .b {
      & .b:not(& .c) {
        color: red;
      }
    }
    /* Old output (with --minify) */
    .a .b{.b:not(& .c){color:red}}
    /* New output (with --minify) */
    .a .b{& .b:not(& .c){color:red}}

    This should match <span class="a"><span class="b"><span class="b">yes</span></span></span> but not <span class="a"><span class="b">no</span></span>. The old output incorrectly matched both.

  • Avoid overwriting input files without --allow-overwrite (#4484)

    For example: esbuild input.js --outfile=input.js tells esbuild to overwrite input.js with the output of running esbuild on it. This was supposed to already be prevented by default, but it accidentally regressed in version 0.17.0 and apparently didn't have any test coverage. The error message was being printed but the input file was still being overwritten. Oops.

    This release puts the original behavior back. With this release, esbuild should now actually avoid overwriting input files unless --allow-overwrite is explicitly present. This is done by not writing out any files when a build error is encountered.

  • Fix incorrect code generated when using top-level await (#4498)

    Previously esbuild could generate code containing a syntax error in complex scenarios involving top-level await used in a dependency cycle. The problem was a missing async on one or more module wrapper closures. With this release, esbuild now uses a fixed-point iteration algorithm to correctly annotate all dependencies in the cycle as needing an async module wrapper.

  • Fix a minification bug with lowered logical assignment operators (#4508)

    This release fixes a bug that could cause esbuild to generate incorrect code for logical assignment operators when lowering them to an older target environment. Specifically the lowering process requires duplicating the left-hand side, but esbuild incorrectly failed to count the duplicate as a new usage when the left-hand side is an identifier. That then caused the minifier to believe that the left-hand side was only used once and could attempt to incorrectly inline an initializer into the first usage. This bug has now been fixed:

    // Original code
    function foo() {
      let x
      bar(x ||= {})

... (truncated)

Changelog

Sourced from esbuild's changelog.

Changelog: 2024

This changelog documents all esbuild versions published in the year 2024 (versions 0.19.12 through 0.24.2).

0.24.2

  • Fix regression with --define and import.meta (#4010, #4012, #4013)

    The previous change in version 0.24.1 to use a more expression-like parser for define values to allow quoted property names introduced a regression that removed the ability to use --define:import.meta=.... Even though import is normally a keyword that can't be used as an identifier, ES modules special-case the import.meta expression to behave like an identifier anyway. This change fixes the regression.

    This fix was contributed by @​sapphi-red.

0.24.1

  • Allow es2024 as a target in tsconfig.json (#4004)

    TypeScript recently added es2024 as a compilation target, so esbuild now supports this in the target field of tsconfig.json files, such as in the following configuration file:

    {
      "compilerOptions": {
        "target": "ES2024"
      }
    }

    As a reminder, the only thing that esbuild uses this field for is determining whether or not to use legacy TypeScript behavior for class fields. You can read more in the documentation.

    This fix was contributed by @​billyjanitsch.

  • Allow automatic semicolon insertion after get/set

    This change fixes a grammar bug in the parser that incorrectly treated the following code as a syntax error:

    class Foo {
      get
      *x() {}
      set
      *y() {}
    }

    The above code will be considered valid starting with this release. This change to esbuild follows a similar change to TypeScript which will allow this syntax starting with TypeScript 5.7.

  • Allow quoted property names in --define and --pure (#4008)

    The define and pure API options now accept identifier expressions containing quoted property names. Previously all identifiers in the identifier expression had to be bare identifiers. This change now makes --define and --pure consistent with --global-name, which already supported quoted property names. For example, the following is now possible:

... (truncated)

Commits
  • 609683d publish 0.28.2 to npm
  • 11b1fe4 add to release notes
  • ab50d91 css: fix green/blue channel swap in oklch gamut mapping (#4488)
  • 04627b6 fix #4498: async TLA checks need a worklist
  • 5c15177 disable gopls in the go folder
  • fc2ee9b css: adjust parser to allow --foo: {...}
  • 209db54 release notes for css nesting bugfix
  • c625d31 fix #4497: preserve nested ampersands during minification (#4500)
  • 34474e2 better isolation of current part in js parser
  • 07f6e8c fix #4507: import assignment tree-shaking bug
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for esbuild since your current version.


Updates @angular-devkit/build-angular from 16.2.16 to 22.3.0

Release notes

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

22.3.0

@​angular/cli

Commit Description
feat - 7d6550ef25 support Oxfmt for automatic file formatting
fix - f52fb536a1 decouple official Node.js support check from execution gate
fix - 5d50f59564 include builder options for build and test in json-help
fix - 7ee5f905a8 support array options defined in oneOf schemas

@​schematics/angular

Commit Description
feat - 639d31f11b add use-library-builder migration to migrate from ng-packagr
feat - 263130530c use library builder and add entry-point schematic
fix - c5d6f9f04d align sourceRoot and tsconfig includes in use-library-builder
fix - 512bb90615 keep the default ng-packagr output path in use-library-builder
fix - 9732721b0e migrate ng-packagr glob string assets in use-library-builder
fix - c32a690f1e migrate secondary entry point style options in use-library-builder
fix - c4028e8028 reject ng-packagr builders in entry-point schematic
refactor - 5bfcd660a6 deprecate testRunner option

@​angular/build

Commit Description
feat - 5f65028b19 add prerender.format option to prerender routes as &lt;route&gt;.html
feat - c5b8bf0369 add library builder
feat - feb41cc934 add polyfills option to unit-test builder
fix - a38958c289 align library watch asset matching with initial build and deduplicate outputs
fix - 4244eb7ba1 allow library outputPath within project root
fix - 65f302c5df avoid expanding directory patterns in asset globs
fix - d09f98ee70 avoid top-level await for Zone.js injection in Vitest runner
fix - f61de66202 capture and report Rolldown warnings and errors in library builder
fix - 23d42fc806 conditionally declare tslib in built library package
fix - 97efdcf913 consolidate initial shared chunks into main with Rolldown
fix - 566abde886 enforce library compilerOptions and skip unused .tsbuildinfo emit
fix - 2c518a6dbe enhance build logs and output location for library builder
fix - a0a6b422cd ensure asset followSymlinks defaults to false
fix - 432aea0161 filter Rolldown warnings and disable .d.ts annotation comments in library builder
fix - d609a21333 improve library bundler resolution and watch shared chunk consistency
fix - be15160ff0 improve library compilation diagnostics and stylesheet reference tracking
fix - f696eaaf8a improve library watch mode state invalidation and lazy asset matchers
fix - 69acf5b822 include dataurl option in global stylesheet config hash
fix - 70c2143c33 key the Vitest fsModuleCache on the served build output
fix - 193abc0c15 preserve asset precedence and expand glob-prefixed ignores in watch mode
fix - faca2b0f03 preserve entry-point displayName casing and flatten bundle names
fix - 137351b7de preserve incremental .d.ts signatures and emit state in watch mode
fix - 76dd17d522 re-analyze exports on package.json change in library builder
fix - f556fb41e3 rebase Vitest incremental paths when workspace root is aliased
fix - 93f238c978 rebuild library when transitive stylesheet dependencies change in watch mode
fix - c3881e9eba report TypeScript declaration emit diagnostics
fix - 3d00c76eb9 resolve library bundle sourcemap sources relative to output directory
fix - 7714a85375 resolve unimported NgModule scopes when filtering unit-test files

... (truncated)

Commits
  • bdda8bb release: cut the v22.3.0 release
  • 17d2809 refactor: update dependencies to 22.3.0 for release
  • d347e4e build: update cross-repo angular dependencies
  • 1c4ca6b build: lock file maintenance
  • 2bfe32d build: lock file maintenance
  • 1cd7499 build: update cross-repo angular dependencies
  • e50f182 fix(@​schematics/angular): handle done callbacks in focused and skipped tests
  • a2d8a25 fix(@​schematics/angular): preserve stub-by-default semantics for createSpy wi...
  • 3df747b fix(@​schematics/angular): handle pending() in focused and skipped tests in re...
  • 4649875 fix(@​schematics/angular): add a TODO for negated arrayWithExactContents in re...
  • Additional commits viewable in compare view

Updates @nx/angular from 19.3.2 to 19.8.14

Commits
  • 7a1220c fix(angular): ensure @​typescript-eslint/utils is used with eslint flat config...
  • b7c97a5 fix(angular): ensure async webpack configs are awaited #28200 (#28213)
  • 7b3f45b fix(angular): license-webpack-plugin should not scan root package.json #27989...
  • e0b3e73 feat(angular): add plugin for inferring nodes from angular.json files (#27804)
  • 0a8202a fix(angular): migrations should use correct namedInputs #27899 (#27929)
  • d682bae fix(angular): dynamic module federation should not reset remoteUrlDefinitions...
  • d723326 fix(angular): add serve static target more intentionally #27854 (#27924)
  • 68eeb2e feat(linter): create new workspaces with ESLint v9 and typescript-eslint v8 (...
  • f17e5ef fix(module-federation): ssr uses async-node with runtime plugin (#27492)
  • 320d9f2 fix(testing): application generators should accurately configure e2e projects...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Nov 24, 2026
Bumps [esbuild](https://github.com/evanw/esbuild) to 0.28.2 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@angular-devkit/build-angular](https://github.com/angular/angular-cli) and [@nx/angular](https://github.com/nrwl/nx/tree/HEAD/packages/angular). These dependencies need to be updated together.


Updates `esbuild` from 0.19.12 to 0.28.2
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](evanw/esbuild@v0.19.12...v0.28.2)

Updates `@angular-devkit/build-angular` from 16.2.16 to 22.3.0
- [Release notes](https://github.com/angular/angular-cli/releases)
- [Commits](angular/angular-cli@16.2.16...v22.3.0)

Updates `@nx/angular` from 19.3.2 to 19.8.14
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/19.8.14/packages/angular)

---
updated-dependencies:
- dependency-name: "@angular-devkit/build-angular"
  dependency-version: 22.3.0
  dependency-type: direct:development
- dependency-name: "@nx/angular"
  dependency-version: 19.8.14
  dependency-type: direct:development
- dependency-name: esbuild
  dependency-version: 0.28.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/multi-2778a387e6 branch from fb5e7c2 to 05237f8 Compare November 24, 2026 10:55

This branch has not been deployed

No deployments
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.

0 participants