DethAriel / ng-recaptcha

Angular component for Google reCAPTCHA
https://dethariel.github.io/ng-recaptcha/
MIT License
463 stars 122 forks source link

Angular 18 Support #324

Open ant-ia opened 1 month ago

ant-ia commented 1 month ago

Hi @DethAriel ,

when will angular 18 support be available?

Thank you for your work.

LakhveerChahal commented 1 month ago

Waiting for ng-recaptcha's Angular 18 support as it is causing difficulties in upgrading the project. Thank you.

LakhveerChahal commented 1 month ago

Raised a pull request to upgrade the library to Angular v18 https://github.com/DethAriel/ng-recaptcha/pull/325

ant-ia commented 4 weeks ago

Hi @DethAriel is there any update? thanks

vaibhavkumar-sf commented 3 weeks ago

Waiting for it,

pinpins commented 2 weeks ago

Raised a pull request to upgrade the library to Angular v18 #325

perhaps you could take over and publish your fork on https://www.npmjs.com/

Seems dev is not around anymore

LakhveerChahal commented 2 weeks ago

@pinpins Did the same. Published it as a new library under the name ng-recaptcha-2

ReaperTech commented 6 days ago

Using npm i ng-recaptcha-2 for the new library at https://www.npmjs.com/package/ng-recaptcha-2?activeTab=readme still gives dependency error:

Conflicting peer dependency: @angular/core@17.3.11 npm ERR! node_modules/@angular/core npm ERR! peer @angular/core@"^17.0.0" from ng-recaptcha@13.2.1

How can we install this new library for Angular 18 without errors? EDIT: npm i ng-recaptcha-2 works with the new library at https://www.npmjs.com/package/ng-recaptcha-2?activeTab=readme if you first uninstall the old library npm uninstall ng-recaptcha

LakhveerChahal commented 2 days ago

@ReaperTech Uninstalling the old library & then installing ng-recaptcha-2 is the right way to do it. You shouldn't keep both.