chore(deps): update angular to 21.2.18

Angular 21 needs typescript >=5.9 <6.1; the pinned ~5.9.3 already satisfies
it, and the node engine range is unchanged from 20.

Verified against the published 9.3.0 artifacts (built with Angular 20.3.18):
the emitted .d.ts files are byte-identical and the only diff in the emitted
JS is the partial-compilation metadata string, version "20.3.18" -> "21.2.18".
minVersion stays "12.0.0", so the Angular linker floor for consumers does not
move — the library only uses @Injectable, whose declaration format has been
stable since Angular 12.

Raises the renovate cap accordingly. Angular 22 stays out: it requires
typescript >=6.0 <6.1, which turns the `module: ES2022` + `moduleResolution:
Node16` pair in scripts/build/ngx.ts into a hard TS5110 error.
This commit is contained in:
Daniel Sogl
2026-07-27 21:52:32 +02:00
parent 8b997cf357
commit 1204bc52e7
3 changed files with 36 additions and 36 deletions
+4 -4
View File
@@ -27,10 +27,10 @@
"tslib": "2.8.1"
},
"devDependencies": {
"@angular/common": "20.3.26",
"@angular/compiler": "20.3.26",
"@angular/compiler-cli": "20.3.26",
"@angular/core": "20.3.26",
"@angular/common": "21.2.18",
"@angular/compiler": "21.2.18",
"@angular/compiler-cli": "21.2.18",
"@angular/core": "21.2.18",
"@eslint/js": "^10.0.0",
"@swc/core": "^1.15.46",
"@swc/jest": "^0.2.39",