Skip to content

Bump esbuild, @angular-builders/custom-webpack and @angular-devkit/build-angular #4510

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 28, 2025

Bumps esbuild to 0.25.5 and updates ancestor dependencies esbuild, @angular-builders/custom-webpack and @angular-devkit/build-angular. These dependencies need to be updated together.

Updates esbuild from 0.21.5 to 0.25.5

Release notes

Sourced from esbuild's releases.

v0.25.5

  • Fix a regression with browser in package.json (#4187)

    The fix to #4144 in version 0.25.3 introduced a regression that caused browser overrides specified in package.json to fail to override relative path names that end in a trailing slash. That behavior change affected the [email protected] package. This regression has been fixed, and now has test coverage.

  • Add support for certain keywords as TypeScript tuple labels (#4192)

    Previously esbuild could incorrectly fail to parse certain keywords as TypeScript tuple labels that are parsed by the official TypeScript compiler if they were followed by a ? modifier. These labels included function, import, infer, new, readonly, and typeof. With this release, these keywords will now be parsed correctly. Here's an example of some affected code:

    type Foo = [
      value: any,
      readonly?: boolean, // This is now parsed correctly
    ]
  • Add CSS prefixes for the stretch sizing value (#4184)

    This release adds support for prefixing CSS declarations such as div { width: stretch }. That CSS is now transformed into this depending on what the --target= setting includes:

    div {
      width: -webkit-fill-available;
      width: -moz-available;
      width: stretch;
    }

v0.25.4

  • Add simple support for CORS to esbuild's development server (#4125)

    Starting with version 0.25.0, esbuild's development server is no longer configured to serve cross-origin requests. This was a deliberate change to prevent any website you visit from accessing your running esbuild development server. However, this change prevented (by design) certain use cases such as "debugging in production" by having your production website load code from localhost where the esbuild development server is running.

    To enable this use case, esbuild is adding a feature to allow Cross-Origin Resource Sharing (a.k.a. CORS) for simple requests. Specifically, passing your origin to the new cors option will now set the Access-Control-Allow-Origin response header when the request has a matching Origin header. Note that this currently only works for requests that don't send a preflight OPTIONS request, as esbuild's development server doesn't currently support OPTIONS requests.

    Some examples:

    • CLI:

      esbuild --servedir=. --cors-origin=https://example.com
      
    • JS:

      const ctx = await esbuild.context({})
      await ctx.serve({
        servedir: '.',
        cors: {

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

Updates @angular-builders/custom-webpack from 18.0.0 to 20.0.0

Changelog

Sourced from @​angular-builders/custom-webpack's changelog.

20.0.0 (2025-06-25)

Note: Version bump only for package @​angular-builders/custom-webpack

20.0.0-beta.0 (2025-06-19)

⚠ BREAKING CHANGES

  • deps: upgrade to Angular 20

Features

  • migrate to @​angular/build (db2fc68)

Miscellaneous Chores

  • deps: upgrade to Angular 20 (4f673a8)

19.0.1 (2025-04-07)

Note: Version bump only for package @​angular-builders/custom-webpack

19.0.1-beta.1 (2025-04-06)

Note: Version bump only for package @​angular-builders/custom-webpack

19.0.1-beta.0 (2025-04-03)

Note: Version bump only for package @​angular-builders/custom-webpack

19.0.0 (2025-01-05)

Note: Version bump only for package @​angular-builders/custom-webpack

19.0.0-beta.0 (2024-12-05)

⚠ BREAKING CHANGES

  • deps: update to Angular 19 (#1871)

Miscellaneous Chores

18.0.1-beta.0 (2024-07-24)

Note: Version bump only for package @​angular-builders/custom-webpack

Commits
  • a4c82a4 ci(release): publish
  • 24bf96d ci(release): publish
  • db2fc68 feat: migrate to @​angular/build
  • 4f673a8 chore(deps)!: upgrade to Angular 20
  • dbc033f ci(release): publish
  • 9e0f777 ci(release): publish
  • 484a807 chore(deps): update dependency typescript to v5.8.3 (#1814)
  • fa42409 ci(release): publish
  • f8aec9a deps: change schemes.ts to trigger schema regeneration
  • 8bb2a95 ci(release): publish
  • Additional commits viewable in compare view

Updates @angular-devkit/build-angular from 18.2.19 to 20.0.4

Release notes

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

20.0.4

@​schematics/angular

Commit Description
fix - 2316fe29d add missing prettier config

@​angular/ssr

Commit Description
fix - 309742289 avoid preloading unnecessary dynamic bundles
fix - 82691b98f ensure correct referer header handling in web request conversion

20.0.3

@​schematics/angular

Commit Description
fix - e90a808c0 include main.server.ts in tsconfig.files when present
fix - 5c48b8e0a reset module typeSeparator when generating applications

@​angular/build

Commit Description
fix - 56f426e25 include custom bundle name scripts with karma
fix - dfe3a8b73 increase worker idle timeout
fix - e6d27bd5e set scripts option output as classic script for karma

20.0.2

@​schematics/angular

Commit Description
fix - bf64a0f2d add less as a devDependency when selected as the style preprocessor
fix - cb258a3e1 correctly detect modules using new file extension format

@​angular/build

Commit Description
fix - 424f1cbbf do not consider internal Angular files as external imports

20.0.1

@​schematics/angular

Commit Description
fix - 525ddcbd2 only overwrite JSON file if actually changed
fix - 83c820e5a remove karma config devkit package usages during application migration
fix - 87266b38a skip zone.js dependency for zoneless applications

@​angular/cli

Commit Description
fix - 0883248cb improve Node.js version check and error messages

@​angular/build

Commit Description
fix - e5efdc577 also disable outputMode in vitest unit-tests

... (truncated)

Changelog

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

20.0.4 (2025-06-25)

@​schematics/angular

Commit Type Description
2316fe29d fix add missing prettier config

@​angular/ssr

Commit Type Description
309742289 fix avoid preloading unnecessary dynamic bundles
82691b98f fix ensure correct referer header handling in web request conversion

20.1.0-next.2 (2025-06-18)

@​schematics/angular

Commit Type Description
c43711177 fix include main.server.ts in tsconfig.files when present
4be58ee8c fix reset module typeSeparator when generating applications

@​angular/build

Commit Type Description
c19cd2985 fix coverage reporter option
049e6886f fix include custom bundle name scripts with karma
1d76d0ee5 fix increase worker idle timeout
2672f6ec1 fix json and json-summary as vitest coverage reporters
60a16a82a fix set scripts option output as classic script for karma
130c65014 fix use an empty array as default value for vitest exclude

20.0.3 (2025-06-18)

@​schematics/angular

Commit Type Description
e90a808c0 fix include main.server.ts in tsconfig.files when present

... (truncated)

Commits
  • 68fb062 release: cut the v20.0.4 release
  • 7e73abb build: update dependency node to v22.17.0
  • 2316fe2 fix(@​schematics/angular): add missing prettier config
  • 82691b9 fix(@​angular/ssr): ensure correct referer header handling in web request conv...
  • 3097422 fix(@​angular/ssr): avoid preloading unnecessary dynamic bundles
  • 03aff1e docs: update component schematic option descriptions
  • 732639d refactor(@​angular/build): increase piscina idleTimeout to 4s.
  • 91ec24d test(@​angular/build): reset project metadata before each run
  • 1cc7014 Revert "fix(@​angular/build): increase worker idle timeout"
  • b8b4f28 build: update piscina to 5.1.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.

…ild-angular

Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.5 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@angular-builders/custom-webpack](https://github.com/just-jeb/angular-builders/tree/HEAD/packages/custom-webpack) and [@angular-devkit/build-angular](https://github.com/angular/angular-cli). These dependencies need to be updated together.


Updates `esbuild` from 0.21.5 to 0.25.5
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](evanw/esbuild@v0.21.5...v0.25.5)

Updates `@angular-builders/custom-webpack` from 18.0.0 to 20.0.0
- [Release notes](https://github.com/just-jeb/angular-builders/releases)
- [Changelog](https://github.com/just-jeb/angular-builders/blob/master/packages/custom-webpack/CHANGELOG.md)
- [Commits](https://github.com/just-jeb/angular-builders/commits/@angular-builders/[email protected]/packages/custom-webpack)

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

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.5
  dependency-type: indirect
- dependency-name: "@angular-builders/custom-webpack"
  dependency-version: 20.0.0
  dependency-type: direct:development
- dependency-name: "@angular-devkit/build-angular"
  dependency-version: 20.0.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 28, 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.

0 participants