diff --git a/package.json b/package.json index c48da5b..6278e95 100644 --- a/package.json +++ b/package.json @@ -14,27 +14,27 @@ }, "private": true, "dependencies": { - "@angular/animations": "^15.2.9", - "@angular/common": "^15.2.9", - "@angular/compiler": "^15.2.9", - "@angular/core": "^15.2.9", - "@angular/forms": "^15.2.9", - "@angular/platform-browser": "^15.2.9", - "@angular/platform-browser-dynamic": "^15.2.9", + "@angular/animations": "^16.1.8", + "@angular/common": "^16.1.8", + "@angular/compiler": "^16.1.8", + "@angular/core": "^16.1.8", + "@angular/forms": "^16.1.8", + "@angular/platform-browser": "^16.1.8", + "@angular/platform-browser-dynamic": "^16.1.8", "@angular/material": "^15.2.9", - "@angular/router": "^15.2.9", + "@angular/router": "^16.1.8", "ng2-ckeditor": "1.3.7", "rxjs": "^6.5.1", "jquery": "^3.4.1", "tslib": "^2.3.0", "uikit": "3.13.10", - "ng-recaptcha": "^11.0.0", + "ng-recaptcha": "^12.0.2", "zone.js": "~0.13.1" }, "devDependencies": { - "@angular-devkit/build-angular": "^15.2.9", - "@angular/cli": "~15.2.9", - "@angular/compiler-cli": "^15.2.9", + "@angular-devkit/build-angular": "^16.1.7", + "@angular/cli": "~16.1.7", + "@angular/compiler-cli": "^16.1.8", "@types/jasmine": "~3.6.0", "@types/node": "^12.11.1", "jasmine-core": "~4.1.0", diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index 3b6822c..e742988 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit 3b6822c71f32512533793e6b57f6ff017f4c874e +Subproject commit e7429881ca7788fb218cc0063a0bc1e3bdb626f4 diff --git a/src/app/services/hasPersonalInfo.guard.ts b/src/app/services/hasPersonalInfo.guard.ts index b23d109..78999a0 100644 --- a/src/app/services/hasPersonalInfo.guard.ts +++ b/src/app/services/hasPersonalInfo.guard.ts @@ -1,4 +1,4 @@ -import {ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree} from "@angular/router"; +import { ActivatedRouteSnapshot, Router, RouterStateSnapshot, UrlTree } from "@angular/router"; import {Injectable} from "@angular/core"; import {Observable, of} from "rxjs"; import {PersonalService} from "./personal.service"; @@ -7,7 +7,7 @@ import {catchError, map, tap} from "rxjs/operators"; @Injectable({ providedIn: 'root' }) -export class HasPersonalInfoGuard implements CanActivate { +export class HasPersonalInfoGuard { constructor(private personalService: PersonalService, private router: Router) {