update angular to 21

Signed-off-by: kaedwen <kaedwen@heinrich.blue>
This commit is contained in:
kaedwen committed 2026-06-14 18:46:09 +02:00
1 parent 6d104fa917
commit 7e7052d0c0
4 files changed
+2010 -2568

No files matched your search

+1995 -2549
View File
File diff suppressed because it is too large. Load diff
+13 -13
View File
@@ -10,24 +10,24 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^20.3.25", "@angular/animations": "^21.2.17",
"@angular/common": "^20.3.25", "@angular/common": "^21.2.17",
"@angular/compiler": "^20.3.25", "@angular/compiler": "^21.2.17",
"@angular/core": "^20.3.25", "@angular/core": "^21.2.17",
"@angular/forms": "^20.3.25", "@angular/forms": "^21.2.17",
"@angular/platform-browser": "^20.3.25", "@angular/platform-browser": "^21.2.17",
"@angular/platform-browser-dynamic": "^20.3.25", "@angular/platform-browser-dynamic": "^21.2.17",
"@angular/router": "^20.3.25", "@angular/router": "^21.2.17",
"@angular/service-worker": "^20.3.25", "@angular/service-worker": "^21.2.17",
"rxjs": "~7.5.0", "rxjs": "~7.5.0",
"tslib": "^2.3.0", "tslib": "^2.3.0",
"uuid": "^9.0.0", "uuid": "^9.0.0",
"zone.js": "~0.15.1" "zone.js": "~0.15.1"
}, },
"devDependencies": { "devDependencies": {
"@angular/build": "^20.3.28", "@angular/build": "^21.2.15",
"@angular/cli": "~20.3.28", "@angular/cli": "~21.2.15",
"@angular/compiler-cli": "^20.3.25", "@angular/compiler-cli": "^21.2.17",
"@types/jasmine": "~4.0.0", "@types/jasmine": "~4.0.0",
"@types/uuid": "^9.0.1", "@types/uuid": "^9.0.1",
"jasmine-core": "~4.3.0", "jasmine-core": "~4.3.0",
@@ -36,6 +36,6 @@
"karma-coverage": "~2.2.0", "karma-coverage": "~2.2.0",
"karma-jasmine": "~5.1.0", "karma-jasmine": "~5.1.0",
"karma-jasmine-html-reporter": "~2.0.0", "karma-jasmine-html-reporter": "~2.0.0",
"typescript": "~5.8.3" "typescript": "~5.9.3"
} }
} }
+2 -2
View File
@@ -19,8 +19,8 @@ export class AppComponent implements OnInit {
private readonly pc: RTCPeerConnection; private readonly pc: RTCPeerConnection;
@HostListener('document:click', ['$event.target']) @HostListener('document:click')
async onClick(_: KeyboardEvent) { async onClick() {
if (!this.selfAudioRunning) { if (!this.selfAudioRunning) {
await this.startAudio() await this.startAudio()
} }
-4
View File
@@ -18,10 +18,6 @@
"importHelpers": true, "importHelpers": true,
"target": "ES2022", "target": "ES2022",
"module": "es2020", "module": "es2020",
"lib": [
"es2020",
"dom"
],
"useDefineForClassFields": false "useDefineForClassFields": false
}, },
"angularCompilerOptions": { "angularCompilerOptions": {