chore(deps): pin Angular to 22.0.5 and gate audit at high
CI / changes (push) Successful in 7s
CI / lint (push) Successful in 1m57s
CI / frontend (push) Successful in 2m45s
CI / backend (push) Successful in 1m57s
CI / e2e (push) Failing after 4m10s
CI / semgrep (push) Successful in 1m18s
CI / api-client-drift (push) Successful in 2m9s
CI / storybook-a11y (push) Successful in 11m5s

Angular 22.1.x emits `var(--%NS%name)` for every CSS custom property in a
component `styles:` block. No `@angular/core` release substitutes the
placeholder, so all `--rhc-*` tokens resolve to nothing and the UI breaks.
`npm run ci` does not catch it; only the Storybook axe job does.

Pin every `@angular*` entry to the exact version 22.0.5, so a plain
`npm install` cannot pull 22.1.x back in.

Holding at 22.0.5 leaves three moderate advisories open, which made the audit
step fail: GHSA-p297-fm68-3q8c and GHSA-hh8m-fm6v-7cvg. Neither is reachable.
The app calls no `withRequestsMadeViaParent` and no `provideClientHydration`,
and binds no untrusted value into a directive host binding. The audit gate
therefore runs at `--audit-level=high`. A high advisory still fails the build.

Restore the default audit level together with the upgrade, after an Angular
release substitutes the placeholder.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
eho
2026-09-21 13:53:05 +02:00
co-authored by Claude Opus 5
parent 6330773fd5
commit 1866947438
5 changed files with 42 additions and 32 deletions
+14 -14
View File
@@ -42,24 +42,24 @@
"private": true,
"packageManager": "npm@11.12.1",
"dependencies": {
"@angular/common": "^22.0.0",
"@angular/compiler": "^22.0.0",
"@angular/core": "^22.0.0",
"@angular/forms": "^22.0.0",
"@angular/platform-browser": "^22.0.0",
"@angular/router": "^22.0.0",
"@angular/common": "22.0.5",
"@angular/compiler": "22.0.5",
"@angular/core": "22.0.5",
"@angular/forms": "22.0.5",
"@angular/platform-browser": "22.0.5",
"@angular/router": "22.0.5",
"rxjs": "~7.8.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@angular-devkit/architect": "^0.2200.0",
"@angular-devkit/build-angular": "^22.0.0",
"@angular-devkit/core": "^22.0.0",
"@angular/build": "^22.0.4",
"@angular/cli": "^22.0.4",
"@angular/compiler-cli": "^22.0.0",
"@angular/localize": "^22.0.4",
"@angular/platform-browser-dynamic": "^22.0.0",
"@angular-devkit/architect": "0.2200.5",
"@angular-devkit/build-angular": "22.0.5",
"@angular-devkit/core": "22.0.5",
"@angular/build": "22.0.5",
"@angular/cli": "22.0.5",
"@angular/compiler-cli": "22.0.5",
"@angular/localize": "22.0.5",
"@angular/platform-browser-dynamic": "22.0.5",
"@compodoc/compodoc": "^1.2.1",
"@playwright/test": "^1.61.1",
"@storybook/addon-a11y": "^10.4.6",