Skip to content

Commit 015b6cb

Browse files
authored
Merge pull request #2048 from pavankjadda/v19
feat(core): adds angular 19 support
2 parents 3799a12 + 4d65d4c commit 015b6cb

File tree

69 files changed

+5508
-4611
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+5508
-4611
lines changed

package-lock.json

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

package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"bugs": {
99
"url": "https://github.com/damienbod/angular-auth-oidc-client/issues"
1010
},
11-
"version": "18.0.2",
11+
"version": "19.0.0",
1212
"scripts": {
1313
"ng": "ng",
1414
"build": "npm run build-lib",
@@ -53,34 +53,34 @@
5353
},
5454
"private": true,
5555
"dependencies": {
56-
"@angular/animations": "^18.0.1",
57-
"@angular/common": "^18.0.1",
58-
"@angular/compiler": "^18.0.1",
59-
"@angular/core": "^18.0.1",
60-
"@angular/forms": "^18.0.1",
61-
"@angular/platform-browser": "^18.0.1",
62-
"@angular/platform-browser-dynamic": "^18.0.1",
63-
"@angular/router": "^18.0.1",
64-
"@schematics/angular": "^18.0.2",
56+
"@angular/animations": "^19.0.1",
57+
"@angular/common": "^19.0.1",
58+
"@angular/compiler": "^19.0.1",
59+
"@angular/core": "^19.0.1",
60+
"@angular/forms": "^19.0.1",
61+
"@angular/platform-browser": "^19.0.1",
62+
"@angular/platform-browser-dynamic": "^19.0.1",
63+
"@angular/router": "^19.0.1",
64+
"@schematics/angular": "^19.0.2",
6565
"rxjs": "^7.4.0",
6666
"shelljs": "^0.8.5",
6767
"tslib": "^2.1.0",
68-
"zone.js": "~0.14.2"
68+
"zone.js": "~0.15.0"
6969
},
7070
"devDependencies": {
71-
"@angular-devkit/build-angular": "^18.0.2",
72-
"@angular-devkit/core": "^18.0.2",
73-
"@angular-devkit/schematics": "^18.0.2",
74-
"@angular-eslint/builder": "^18.0.0",
75-
"@angular-eslint/eslint-plugin": "^18.0.0",
76-
"@angular-eslint/eslint-plugin-template": "^18.0.0",
77-
"@angular-eslint/schematics": "^18.0.0",
78-
"@angular-eslint/template-parser": "^18.0.0",
79-
"@angular/cli": "^18.0.2",
80-
"@angular/compiler-cli": "^18.0.1",
71+
"@angular-devkit/build-angular": "^19.0.2",
72+
"@angular-devkit/core": "^19.0.2",
73+
"@angular-devkit/schematics": "^19.0.2",
74+
"@angular-eslint/builder": "^19.0.0",
75+
"@angular-eslint/eslint-plugin": "^19.0.0",
76+
"@angular-eslint/eslint-plugin-template": "^19.0.0",
77+
"@angular-eslint/schematics": "^19.0.0",
78+
"@angular-eslint/template-parser": "^19.0.0",
79+
"@angular/cli": "^19.0.2",
80+
"@angular/compiler-cli": "^19.0.1",
8181
"@evilmartians/lefthook": "^1.0.3",
8282
"@types/jasmine": "^4.0.0",
83-
"@types/node": "^16.11.7",
83+
"@types/node": "^22.10.1",
8484
"@typescript-eslint/eslint-plugin": "^7.2.0",
8585
"@typescript-eslint/parser": "^7.2.0",
8686
"copyfiles": "^2.4.1",
@@ -97,10 +97,10 @@
9797
"karma-coverage": "~2.2.0",
9898
"karma-jasmine": "~5.1.0",
9999
"karma-jasmine-html-reporter": "^2.0.0",
100-
"ng-packagr": "^18.0.0",
100+
"ng-packagr": "^19.0.1",
101101
"prettier": "^2.2.1",
102102
"rfc4648": "^1.5.0",
103103
"ts-node": "^10.9.1",
104-
"typescript": "~5.4.5"
104+
"typescript": "~5.6.3"
105105
}
106106
}

projects/angular-auth-oidc-client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"authorization"
3737
],
3838
"license": "MIT",
39-
"version": "18.0.2",
39+
"version": "19.0.0",
4040
"description": "Angular Lib for OpenID Connect & OAuth2",
4141
"schematics": "./schematics/collection.json",
4242
"ng-add": {

projects/sample-code-flow-auth0/src/app/app.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { Component, OnInit, inject } from '@angular/core';
22
import { OidcSecurityService } from 'angular-auth-oidc-client';
33

44
@Component({
5-
selector: 'app-root',
6-
templateUrl: 'app.component.html',
5+
selector: 'app-root',
6+
templateUrl: 'app.component.html',
7+
standalone: false
78
})
89
export class AppComponent implements OnInit {
910
private readonly oidcSecurityService = inject(OidcSecurityService);

projects/sample-code-flow-auth0/src/app/home/home.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { Component, OnInit, inject } from '@angular/core';
22
import { OidcSecurityService } from 'angular-auth-oidc-client';
33

44
@Component({
5-
selector: 'app-home',
6-
templateUrl: 'home.component.html',
5+
selector: 'app-home',
6+
templateUrl: 'home.component.html',
7+
standalone: false
78
})
89
export class HomeComponent implements OnInit {
910
private readonly oidcSecurityService = inject(OidcSecurityService);
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4-
selector: 'app-unauthorized',
5-
templateUrl: 'unauthorized.component.html',
4+
selector: 'app-unauthorized',
5+
templateUrl: 'unauthorized.component.html',
6+
standalone: false
67
})
78
export class UnauthorizedComponent {}

projects/sample-code-flow-auto-login-all-routes/src/app/app.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ import { Component, inject } from '@angular/core';
22
import { OidcSecurityService } from 'angular-auth-oidc-client';
33

44
@Component({
5-
selector: 'app-root',
6-
templateUrl: './app.component.html',
7-
styleUrls: ['./app.component.css'],
5+
selector: 'app-root',
6+
templateUrl: './app.component.html',
7+
styleUrls: ['./app.component.css'],
8+
standalone: false
89
})
910
export class AppComponent {
1011
private readonly oidcSecurityService = inject(OidcSecurityService);

projects/sample-code-flow-auto-login-all-routes/src/app/callback/callback.component.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4-
selector: 'app-callback',
5-
templateUrl: './callback.component.html',
6-
styleUrls: ['./callback.component.css'],
4+
selector: 'app-callback',
5+
templateUrl: './callback.component.html',
6+
styleUrls: ['./callback.component.css'],
7+
standalone: false
78
})
89
export class CallbackComponent {
910
ngOnInit(): void {
Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { Component } from '@angular/core';
22

33
@Component({
4-
selector: 'app-customers',
5-
templateUrl: './customers.component.html',
6-
styleUrls: ['./customers.component.css'],
4+
selector: 'app-customers',
5+
templateUrl: './customers.component.html',
6+
styleUrls: ['./customers.component.css'],
7+
standalone: false
78
})
89
export class CustomersComponent {}

projects/sample-code-flow-auto-login-all-routes/src/app/forbidden/forbidden.component.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ import { Component, inject } from '@angular/core';
22
import { OidcSecurityService } from 'angular-auth-oidc-client';
33

44
@Component({
5-
selector: 'app-forbidden',
6-
templateUrl: 'forbidden.component.html',
5+
selector: 'app-forbidden',
6+
templateUrl: 'forbidden.component.html',
7+
standalone: false
78
})
89
export class ForbiddenComponent {
910
public isAuthenticated$ = inject(OidcSecurityService).isAuthenticated$;

0 commit comments

Comments
 (0)