chore: Angular 20 -> 21 migration + Dependency Audits#578
Conversation
Defer detectChanges() in specs to avoid CD timing issues, add null guard in usage component, remove redundant root-level form imports.
…ps/overrides (33→1)
| toggleTagFilters(event: MatChipListboxChange) { | ||
| const selectedValues: string[] = event.value || []; | ||
| console.log(`${perfNow()}: Matrix: Tag filter changed: [${selectedValues.join(', ')}]`); | ||
| if (!environment.production) { |
There was a problem hiding this comment.
Usage of "production" is not good. Better is to use feature toggles. E.g. LOG_LEVEL=DEBUG .
See also https://dsomm.owasp.org/activity-description?uuid=a511799b-045e-4b96-9843-7d63d8c1e2ad
There was a problem hiding this comment.
added in Backlog section in the doc for now.
|
@vbakke please merge after review |
vbakke
left a comment
There was a problem hiding this comment.
A minor comment for the backlog:
The Circular Heatmap moves up and down when I scroll for certain widths. It does that also at https://dsomm.owasp.org, but not in a previous version at https://dsomm.pages.dev. So looks like a minor bug that we introduces this spring.
| "@angular-eslint/schematics": "20.7.0", | ||
| "@angular-eslint/template-parser": "20.7.0", | ||
| "@angular/compiler-cli": "20.3.25", | ||
| "@angular-devkit/build-angular": "21.2.19", |
There was a problem hiding this comment.
From https://www.npmjs.com/package/@angular-devkit/build-angular:
Angular's Webpack support is deprecated. Use the esbuild and Vite-based "@angular/build" package instead.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
There was a problem hiding this comment.
Yes! As of commit a7e3cf6:
- We now use the leaner
@angular/buildpackage (esbuild/Vite) forbuild,serve, andextract-i18n. - We are keeping
@angular-devkit/build-angularinstalled solely because Karma requires its legacy Webpack builder.
Once we migrate away from Karma to a modern runner like Vitest, we can drop the devkit package entirely.
- Remove @angular/platform-browser-dynamic (runtime + types) after completing the bootstrapApplication migration in main.ts - Drop unused packages: js-yaml, @types/js-yaml, @types/node, @angular-eslint/schematics, @typescript-eslint/eslint-plugin, prettier-eslint, qs - Bumped @typescript-eslint/parser to 8.64.0 - Migrate test.ts from BrowserDynamicTestingModule to BrowserTestingModule (static platform)
…endencies + add uuid overides to pnpm-workspace.yaml Suppresses npm/pnpm allow-scripts warnings.
…ocument newer commits
Addresses an unmet peer dependency issue caused by Yarn v1 not auto-installing peer dependencies in the GitHub Actions environment, which caused the @angular-eslint plugin to crash. Pinned to v8.64.0 to match the existing parser version.
Noted and Added in the Backlog section. as of now (this PR), the Backlog looks like this: Backlog
|
description in doc