Angular 9 - Ivy compatibility
See original GitHub issueSummary
I’m submitting a:
- bug report
- feature request
- question
- other
Description
Right now, we have when using ng-recaptcha with Angular 9, you get a warning warning " > ng-recaptcha@5.0.0" has incorrect peer dependency "@angular/core@^6.0.0 || ^7.0.0 || ^8.0.0".
.
There are no errors and everything work expected (for us), when using ng-recaptcha with ReCAPTCHA v2 on our Angular 9 codebase but only this warning.
I don’t know if the module needs more work for Angular 9 full compatibility, or if only the dependency version should be bumped if everything works as expected.
Does anybody has more information regarding Angular 9/Ivy and ng-recaptcha? Thanks in advance!
- ng-recaptcha: 5.0.0
- Angular: 9.0.22
- Typescript (
tsc --version
): 3.7.5
Issue Analytics
- State:
- Created 4 years ago
- Reactions:36
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Angular Ivy
Ivy applications can be built with libraries that were created with the View Engine compiler. This compatibility is provided by a tool known...
Read more >All About Angular Engine Ivy in 5 mins
The Angular compatibility compiler will upgrade View Engine-compatible libraries to Ivy when installed in an Angular Ivy application project.
Read more >The Angular Ivy guide for library authors - DEV Community
Angular version 9 includes the Angular compatibility compiler ( ngcc ) which upgrades View Engine-based Angular package dependencies to Ivy, ...
Read more >Version 9 of Angular Now Available — Project Ivy has arrived!
The Ivy compiler has been designed to remove parts of Angular that aren't being used via tree-shaking and to generate less code for...
Read more >All Perks, No Hassle: An Angular 9 Tutorial - Toptal
Angular Ivy allows us to have errors presented in a clearer way and helps enforce TypeScript typing in our code. In the following...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey folks!
ng-recaptcha
has been updated. v6.0.0 contains changes to make declared package dependency versions compatible with Angular 9 and Angular 10. I’m sorry it took so long to do this, but I hope this comes as good news to you 😀 Please do submit bug reports if you find any (hopefully not, though).Cheers!
When I drop “forRoot” on RecaptchaModule import, it’s working with Ivy ! https://github.com/DethAriel/ng-recaptcha/commit/7fb97fb04049dd058a2394ecef297dac7c6104d1