Skip to content

Commit c483f38

Browse files
committed
update to ng14
1 parent e60b8fe commit c483f38

File tree

8 files changed

+23393
-4872
lines changed

8 files changed

+23393
-4872
lines changed

package-lock.json

Lines changed: 23366 additions & 4845 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@
2626
},
2727
"private": true,
2828
"dependencies": {
29-
"@angular/animations": "13.0.1",
30-
"@angular/common": "13.0.1",
31-
"@angular/compiler": "13.0.1",
32-
"@angular/core": "13.0.1",
33-
"@angular/elements": "13.0.1",
34-
"@angular/forms": "13.0.1",
35-
"@angular/platform-browser": "13.0.1",
36-
"@angular/platform-browser-dynamic": "13.0.1",
37-
"@angular/router": "13.0.1",
29+
"@angular/animations": "14.2.11",
30+
"@angular/common": "14.2.11",
31+
"@angular/compiler": "14.2.11",
32+
"@angular/core": "14.2.11",
33+
"@angular/elements": "14.2.11",
34+
"@angular/forms": "14.2.11",
35+
"@angular/platform-browser": "14.2.11",
36+
"@angular/platform-browser-dynamic": "14.2.11",
37+
"@angular/router": "14.2.11",
3838
"@popperjs/core": "^2.9.2",
3939
"@webcomponents/custom-elements": "^1.4.3",
4040
"angular-oauth2-oidc": "^10.0.3",
@@ -52,10 +52,10 @@
5252
"zone.js": "~0.11.4"
5353
},
5454
"devDependencies": {
55-
"@angular-devkit/build-angular": "~13.0.2",
56-
"@angular/cli": "^13.0.2",
57-
"@angular/compiler-cli": "13.0.1",
58-
"@angular/language-service": "13.0.1",
55+
"@angular-devkit/build-angular": "^14.2.10",
56+
"@angular/cli": "^14.2.10",
57+
"@angular/compiler-cli": "14.2.11",
58+
"@angular/language-service": "14.2.11",
5959
"@commitlint/cli": "^12.1.4",
6060
"@commitlint/config-conventional": "^12.1.4",
6161
"@compodoc/compodoc": "^1.1.14",
@@ -79,13 +79,13 @@
7979
"karma-jasmine-html-reporter": "^1.7.0",
8080
"markdown-magic": "^2.3.2",
8181
"markdown-magic-github-contributors": "0.0.3",
82-
"ng-packagr": "^13.0.3",
82+
"ng-packagr": "^14.2.2",
8383
"prettier": "^2.3.2",
8484
"protractor": "~7.0.0",
8585
"standard-version": "^9.3.1",
8686
"ts-node": "~10.1.0",
8787
"tslint": "~6.1.0",
88-
"typescript": "^4.4.4"
88+
"typescript": "^4.8.4"
8989
},
9090
"husky": {
9191
"hooks": {
@@ -97,4 +97,4 @@
9797
"path": "./node_modules/cz-conventional-changelog"
9898
}
9999
}
100-
}
100+
}

projects/angular-oauth2-oidc-jwks/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
5-
"target": "es2015",
5+
"target": "es2020",
66
"declaration": true,
77
"inlineSources": true,
88
"types": [],

projects/lib/tsconfig.lib.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"compilerOptions": {
44
"outDir": "../../out-tsc/lib",
55
"declarationMap": true,
6-
"target": "es2015",
6+
"target": "es2020",
77
"module": "es2015",
88
"moduleResolution": "node",
99
"declaration": true,

projects/sample/src/app/flight-booking/flight-search-reactive/flight-search-reactive.component.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Component } from '@angular/core';
22
import { Flight } from '../../entities/flight';
33
import { FlightService } from '../services/flight.service';
44
import {
5-
FormGroup,
6-
FormBuilder,
5+
UntypedFormGroup,
6+
UntypedFormBuilder,
77
Validators,
88
AbstractControl,
99
} from '@angular/forms';
@@ -19,11 +19,11 @@ export class FlightSearchReactiveComponent {
1919
public flights: Array<Flight> = [];
2020
public selectedFlight: Flight;
2121

22-
public filter: FormGroup;
22+
public filter: UntypedFormGroup;
2323

2424
public formDesc = [];
2525

26-
constructor(private flightService: FlightService, private fb: FormBuilder) {
26+
constructor(private flightService: FlightService, private fb: UntypedFormBuilder) {
2727
this.formDesc.push({
2828
label: 'Von',
2929
name: 'from',

projects/sample/src/app/shared/validation/city.validator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
NG_VALIDATORS,
44
Validator,
55
AbstractControl,
6-
FormGroup,
6+
UntypedFormGroup,
77
} from '@angular/forms';
88

99
@Directive({
@@ -22,7 +22,7 @@ export class CityValidatorDirective implements Validator {
2222
constructor(@Attribute('city') private city: string) {}
2323

2424
validate(c: AbstractControl): any {
25-
let formGroup = <FormGroup>c.root;
25+
let formGroup = <UntypedFormGroup>c.root;
2626
let otherValueCtrl = formGroup.controls['to'];
2727

2828
if (!otherValueCtrl) return {};

projects/sample/src/app/shared/validation/roundtrip.validator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Directive } from '@angular/core';
22
import {
3-
FormGroup,
3+
UntypedFormGroup,
44
Validator,
55
AbstractControl,
66
NG_VALIDATORS,
@@ -13,7 +13,7 @@ import {
1313
})
1414
export class RoundTrip implements Validator {
1515
validate(control: AbstractControl): any {
16-
let formGroup = <FormGroup>control;
16+
let formGroup = <UntypedFormGroup>control;
1717
let fromCtrl = formGroup.controls['from'];
1818
let toCtrl = formGroup.controls['to'];
1919

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"experimentalDecorators": true,
1111
"downlevelIteration": true,
1212
"module": "esnext",
13-
"target": "es2017",
13+
"target": "es2020",
1414
"typeRoots": ["node_modules/@types"],
1515
"lib": ["es2017", "dom"],
1616
"paths": {

0 commit comments

Comments
 (0)