build(deps): bump esbuild and @angular-devkit/build-angular in /samples/client/petstore/typescript-angular-v16-provided-in-root
Bumps esbuild to 0.28.1 and updates ancestor dependency @angular-devkit/build-angular. These dependencies need to be updated together.
Updates esbuild from 0.17.19 to 0.28.1
Release notes
Sourced from esbuild's releases.
v0.28.1
Disallow
\in local development server HTTP requests (GHSA-g7r4-m6w7-qqqr)This release fixes a security issue where HTTP requests to esbuild's local development server could traverse outside of the serve directory on Windows using a
\backslash character. It happened due to the use of Go'spath.Clean()function, which only handles Unix-style/characters. HTTP requests with paths containing\are no longer allowed.Thanks to
@dellaliberafor reporting this issue.Add integrity checks to the Deno API (GHSA-gv7w-rqvm-qjhr)
The previous release of esbuild added integrity checks to esbuild's npm install script. This release also adds integrity checks to esbuild's Deno install script. Now esbuild's Deno API will also fail with an error if the downloaded esbuild binary contains something other than the expected content.
Note that esbuild's Deno API installs from
registry.npmjs.orgby default, but allows theNPM_CONFIG_REGISTRYenvironment variable to override this with a custom package registry. This change means that the esbuild executable served byNPM_CONFIG_REGISTRYmust now match the expected content.Thanks to
@sondt99for reporting this issue.Avoid inlining
usingandawait usingdeclarations (#4482)Previously esbuild's minifier sometimes incorrectly inlined
usingandawait usingdeclarations into subsequent uses of that declaration, which then fails to dispose of the resource correctly. This bug happened because inlining was done forletandconstdeclarations by avoiding doing it forvardeclarations, which no longer worked when more declaration types were added. Here's an example:// Original code { using x = new Resource() x.activate() }// Old output (with --minify)
new Resource().activate();
// New output (with --minify)
{using e=new Resource;e.activate()}
Fix module evaluation when an error is thrown (#4461, #4467)
If an error is thrown during module evaluation, esbuild previously didn't preserve the state of the module for subsequent module references. This was observable if
import()orrequire()is used to import a module multiple times. The thrown error is supposed to be thrown by every call toimport()orrequire(), not just the first. With this release, esbuild will now throw the same error every time you callimport()orrequire()on a module that throws during its evaluation.Fix some edge cases around the
newoperator (#4477)Previously esbuild incorrectly printed certain edge cases involving complex expressions inside the target of a
newexpression (specifically an optional chain and/or a tagged template literal). The generated code for thenewtarget was not correctly wrapped with parentheses, and either contained a syntax error or had different semantics. These edge cases have been fixed so that they now correctly wrap thenewtarget in parentheses. Here is an example of some affected code:// Original code new (foo()`bar`)() new (foo()?.bar)()// Old output
new foo()bar();
new (foo())?.bar();
... (truncated)
Changelog
Sourced from esbuild's changelog.
Changelog: 2023
This changelog documents all esbuild versions published in the year 2023 (versions 0.16.13 through 0.19.11).
0.19.11
Fix TypeScript-specific class transform edge case (#3559)
The previous release introduced an optimization that avoided transforming
super()in the class constructor for TypeScript code compiled withuseDefineForClassFieldsset tofalseif all class instance fields have no initializers. The rationale was that in this case, all class instance fields are omitted in the output so no changes to the constructor are needed. However, if all of this is the case and there are#privateinstance fields with initializers, those private instance field initializers were still being moved into the constructor. This was problematic because they were being inserted before the call tosuper()(sincesuper()is now no longer transformed in that case). This release introduces an additional optimization that avoids moving the private instance field initializers into the constructor in this edge case, which generates smaller code, matches the TypeScript compiler's output more closely, and avoids this bug:// Original code class Foo extends Bar { #private = 1; public: any; constructor() { super(); } }// Old output (with esbuild v0.19.9)
class Foo extends Bar {
constructor() {
super();
this.#private = 1;
}
#private;
}// Old output (with esbuild v0.19.10)
class Foo extends Bar {
constructor() {
this.#private = 1;
super();
}
#private;
}
// New output
class Foo extends Bar {
#private = 1;
constructor() {
super();
}
}
Minifier: allow reording a primitive past a side-effect (#3568)
The minifier previously allowed reordering a side-effect past a primitive, but didn't handle the case of reordering a primitive past a side-effect. This additional case is now handled:
... (truncated)
Commits
bb9db84publish 0.28.1 to npm9ff053esecurity: add integrity checks to the Deno API0a9bf21enforce non-negative size in gzip parsere2a1a71security: forbid\\in local dev server requests83a2cbffix #4482: don't inlineusingdeclarations308ad74fix #4471: renaming of nestedvardeclarationsf013f5ffix some typosaafd6e4chore: fix some minor issues in comments (#4462)15300c3follow up: cjs evaluation fixes1bda0c3fix #4461, fix #4467: esm evaluation fixes- 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.1.1 to 21.2.19
Release notes
Sourced from @angular-devkit/build-angular's releases.
21.2.19
@angular-devkit/build-angular
Commit Description update http-proxy-middleware to 3.0.7 21.2.18
@angular/cli
Commit Description respect release age policy in update bootstrapping logic
@angular/build
Commit Description bump undici to 7.28.0 bump vite to 7.3.6 21.2.17
@angular/build
Commit Description bump @babel/coreto 7.29.7bump esbuild to 0.28.1 bump piscina to 5.2.0 bump vite to 7.3.5 21.2.16
@angular/cli
Commit Description update pacote to 21.5.1
@angular/ssr
Commit Description prioritize options over environment variables in AngularNodeAppEngine 21.2.15
@angular/cli
Commit Description remove forceAuth and unscoped credential parsing support registry metadata fetching under bun package manager 21.2.14
@angular/cli
Commit Description expand package groups for newly added peer dependencies in update schematic
@angular/build| Commit | Description |
... (truncated)
Changelog
Sourced from @angular-devkit/build-angular's changelog.
21.2.19 (2026-07-09)
@angular-devkit/build-angular
Commit Type Description df5429871 fix update http-proxy-middleware to 3.0.7 20.3.32 (2026-07-09)
@angular-devkit/build-angular
Commit Type Description d4e07cb3e fix update http-proxy-middleware to 3.0.7 22.1.0-next.3 (2026-07-09)
@angular/build
Commit Type Description 34d558c3c feat add built-in SQLite cache store fallback 52ae7f862 feat share persistent build cache across git worktrees 41bd100dd fix fallback to build target preserveSymlinks option in karma runner 6d9b360e5 fix prevent esbuild service hang on internal component stylesheet builds 85c53d990 fix prevent externalizing builder-injected i18n locale data 004cc4104 fix strip all vite id prefixes from minified code with external dependencies 09d0a11a8 perf enable fast-path AST printing with sourcemaps in AotCompilation
@angular/ssr
Commit Type Description 0bd22dae0 fix replace all route parameters when resolving relative redirects 22.0.6 (2026-07-08)
... (truncated)
Commits
1a72825release: cut the v21.2.19 releasedf54298fix(@angular-devkit/build-angular): update http-proxy-middleware to 3.0.7fe3a606release: cut the v21.2.18 release2510ee3fix(@angular/build): bump vite to 7.3.661a810afix(@angular/cli): respect release age policy in update bootstrapping logica2b6116fix(@angular/build): bump undici to 7.28.09c1edbcrelease: cut the v21.2.17 release637b848fix(@angular/build): bump piscina to 5.2.09c366e8fix(@angular/build): bump@babel/coreto 7.29.76a06ce9fix(@angular/build): bump esbuild to 0.28.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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.
Summary by cubic
Upgrade build tooling in the Angular v16 ProvidedInRoot sample: @angular-devkit/build-angular to 21.2.19 and esbuild to 0.28.1. Keeps DevKit and esbuild in sync and pulls in recent security and stability fixes.