From d70517747f6ee41e0aea6c9f2365200ddf086ab0 Mon Sep 17 00:00:00 2001 From: Alex Martzios Date: Tue, 24 Sep 2024 11:52:43 +0300 Subject: [PATCH] [angular-18 | DONE | CHANGED] update to recaptcha-2 --- angular.json | 3 +++ package.json | 5 +++-- src/app/contact/contact.module.ts | 3 +-- src/app/get-started/get-started.module.ts | 3 +-- src/app/openaireLibrary | 2 +- 5 files changed, 9 insertions(+), 7 deletions(-) diff --git a/angular.json b/angular.json index aeeb229..6fc3fc7 100644 --- a/angular.json +++ b/angular.json @@ -295,5 +295,8 @@ } } } + }, + "cli": { + "analytics": false } } diff --git a/package.json b/package.json index 31ec900..733490a 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "core-js": "^2.5.4", "express": "^4.15.2", "jquery": "^3.4.1", - "ng-recaptcha": "^13.2.1", + "ng-recaptcha-2": "^14.0.0", "rxjs": "^6.5.1", "ts-md5": "^1.2.0", "tslib": "^2.0.0", @@ -65,7 +65,8 @@ "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.6.0", "protractor": "~7.0.0", + "replace-in-file": "^8.2.0", "ts-node": "~7.0.0", "typescript": "~5.4.0" } -} +} \ No newline at end of file diff --git a/src/app/contact/contact.module.ts b/src/app/contact/contact.module.ts index 243383e..90e5818 100644 --- a/src/app/contact/contact.module.ts +++ b/src/app/contact/contact.module.ts @@ -5,7 +5,6 @@ import {RouterModule} from '@angular/router'; import {ContactComponent} from './contact.component'; import {ContactRoutingModule} from "./contact-routing.module"; import {EmailService} from "../openaireLibrary/utils/email/email.service"; -import {RecaptchaModule} from "ng-recaptcha"; import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module"; import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service"; import {HelperModule} from "../openaireLibrary/utils/helper/helper.module"; @@ -19,7 +18,7 @@ import {BreadcrumbsModule} from "../openaireLibrary/utils/breadcrumbs/breadcrumb @NgModule({ imports: [ ContactRoutingModule, CommonModule, RouterModule, - AlertModalModule, RecaptchaModule, HelperModule, + AlertModalModule, HelperModule, Schema2jsonldModule, SEOServiceModule, ContactUsModule, BreadcrumbsModule ], declarations: [ diff --git a/src/app/get-started/get-started.module.ts b/src/app/get-started/get-started.module.ts index 11c89da..e037ad9 100644 --- a/src/app/get-started/get-started.module.ts +++ b/src/app/get-started/get-started.module.ts @@ -5,7 +5,6 @@ import {RouterModule} from '@angular/router'; import {GetStartedComponent} from './get-started.component'; import {GetStartedRoutingModule} from "./get-started-routing.module"; import {EmailService} from "../openaireLibrary/utils/email/email.service"; -import {RecaptchaModule} from "ng-recaptcha"; import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module"; import {PiwikService} from "../openaireLibrary/utils/piwik/piwik.service"; import {HelperModule} from "../openaireLibrary/utils/helper/helper.module"; @@ -21,7 +20,7 @@ import {IconsModule} from '../openaireLibrary/utils/icons/icons.module'; @NgModule({ imports: [ GetStartedRoutingModule, CommonModule, RouterModule, - AlertModalModule, RecaptchaModule, HelperModule, + AlertModalModule, HelperModule, Schema2jsonldModule, SEOServiceModule, ContactUsModule, BreadcrumbsModule, LoadingModule, IconsModule ], diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index ace2fca..f4b9104 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit ace2fca2e91eacd00cb7e2fcac4efa711d77a246 +Subproject commit f4b9104ae17c8d6df0371c6bf01393528c491299