Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More

ng-recaptcha-2

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-recaptcha-2 - npm Package Versions

lucky-js
published 15.0.3-rc2 •

lucky-js
published 15.0.3-rc1 •

lucky-js
published 15.0.2 •

Changelog

Source

15.0.2 (2024-12-07)

<a name="15.0.2-rc1"></a>

lucky-js
published 15.0.2-rc1 •

Changelog

Source

15.0.2-rc1 (2024-12-02)

<a name="15.0.1"></a>

lucky-js
published 15.0.1 •

Changelog

Source

15.0.1 (2024-11-22)

<a name="14.0.0"></a>

Bug Fixes

  • build: fix AoT builds (921be50), closes #57 #65
  • component-v3: fix a potential metadata error in v3 service (ed885b5)
  • component: catch and propagate grecaptcha errors, closes #175 (075edd0)
  • component: correct type when using strict mode (a687d13), closes #211
  • component: correctly emit resolved event (25d4246)
  • component: correctly reset captcha during ngOnDestroy (b31d57f), closes #12
  • component: delay invisible recaptcha execution until it's rendered (99292b7), closes #127
  • component: emit resolved(null) event when recaptcha expires (491d99a), closes #11
  • component: ensure that component is destroyed safely (1e51d56), closes #46
  • component: fix a potential error during recaptcha rendering (1c395b5)
  • component: fix custom languages for reCAPTCHA v3 (a2b145d), closes #174
  • component: fix server-side rendering (7a5bc6c), closes #34 /github.com/angular/angular/blob/master/CHANGELOG.md#features-20
  • component: fix the injection error when using slandalone RecaptchaV3Module (c93b99c)
  • component: handle id input parameter correctly (b578fe5)
  • component: handle top-level execute errors for reCAPTCHA v3 (c7d02ce), closes #194
  • component: improve reCAPTCHA v2 and v3 interoperability (79fc85b), closes #152
  • component: mark forRoot() method as deprecated (dea31e5)
  • component: Replace OpaqueToken with InjectionToken (2b7db9b)
  • component: reset form-bound captcha value after component destruction (9e5c5e7), closes #201
  • component: reset form-bound captcha value after component destruction (0e550c4), closes #201
  • component: reset the captcha when the component is destroyed (e1441c8), closes #10
  • component: set CSP nonce as attribute (abcb9a6)
  • component: unblock protractor tests after <re-captcha> destruction (a5f2fe9)
  • component: use ElementRef to access component's native element (d3a8409), closes #48 #68
  • demo: re-add a missing systemjs config file (b51694a)
  • module: Adding the value accessor directive to the forms barrel, which was missing. (ad73e2e)
  • package: convert the README.md file back to a proper symlink (e0c5c99)
  • package: fix publishing empty package (e4685fe)
  • package: make [@types](https://github.com/types)/grecaptcha a non-optional dependency (bc5ad51), closes #205
  • rxjs: change import of of operator (3e0bda6), closes #95

Features

  • component: deprecate error output in favor of errored (6b002bb)
  • component: add exportAs annotation (3e2e217)
  • component: add a new RECAPTCHA_LOADER_OPTIONS injection token as a way of manipulating script load parameters (such as base URL, language, trusted types, WAF, etc) (b3c7213)
  • component: Add Angular 11 support (918fe90)
  • component: add support for badge property (5a16430), closes #30
  • component: add support for invisible reCAPTCHA (c19489d), closes #18
  • component: add support for reCAPTCHA v3 (4a083c6), closes #129
  • component: add the ability to handle reCAPTCHA errors (80c9e6e), closes #199
  • component: add the ability to provide nonce to the script tag (8f55b19), closes #100
  • component: add the ability to specify component props globally (d9c5f55), closes #45
  • component: adjust dependencies for Angular 6 support (736c7ae)
  • component: allow to specify a base url for loading recaptcha (df505fd), closes #101
  • component: change component and directive selectors (58a01b4)
  • component: load recaptcha script using code compatible with trusted types (88d257b), closes #304
  • component: make Angular 10.0.0 a supported peer dependency (3d7756b), closes #177
  • component: make Angular 8.0.0 a supported peer dependency (f003ff2)
  • component: make Angular 9.0.0 a supported peer dependency (98edce6), closes #168
  • component: remove deprecated forRoot method (514beaf)
  • misc: Annotating a static field with nocollapse so that we doesn't have issues closure compiler in advanced mode. (55e5932)
  • module: change the way recaptcha modules work (6e13389)
  • module: skip forRoot() when importing RecaptchaModule (7fb97fb), closes #113 #116
  • package management: add [@types](https://github.com/types)/grecaptcha as optional dependency (85fbfba)
  • package: add Angular 12 support (a212a21)
  • package: add Angular 14 support (eac6858)
  • package: add Angular 15 support (6c62634), closes #275
  • package: add Angular 16 support (77a7d1f), closes #288
  • package: add Angular 17 support (83714aa), closes #310
  • package: implement Angular Package format (71340c4)
  • package: update "[@types](https://github.com/types)/grecaptcha" optional dependency version to ^3 (e1ee7b9)
  • package: update peer dependencies to include Angular 7 (929ef7a)
  • package: update peer dependencies to include Angular v4 (b2f04e8)
  • package: upgrade to Angular 13 (af08641), closes #245

BREAKING CHANGES

  • package: - Angular v16 is no longer supported with this version. Pin ng-recaptcha to v12.x.x to retain support for a previous Angular version
  • package: - Angular v15 is no longer supported with this version. Pin ng-recaptcha to v11.x.x to retain support for a previous Angular version
  • component: Support for previous versions of Angular has been dropped. Starting from v7 only one version of Angular will be supported.
  • component: The RecaptchaModule.forRoot() method has been obsolete since v4.1.0 (since it has no longer been required). It is now removed. To migrate your code, simply use RecaptchaModule where you previously used RecaptchaModule.forRoot()
  • package: * ng-recaptcha/forms entry point has been removed. RecaptchaFormsModule and RecaptchaValueAccessorDirective should now be imported directly from ng-recaptcha
  • tslib is now a package dependency to ensure minimum possible bundle size. If your project doesn't yet have a dependency on tslib, run npm install -D tslib@^1.9.0 (or yarn add -D tslib@^1.9.0 if you use yarn)
  • component: The peer dependency for @angular/core has been bumped to ^6.0.0
  • component:
  • component: component selector changed from recaptcha to re-captcha
  • module: module handling has changed. Users of RecaptchaNoFormsModule should instead use import { RecaptchaModule } from 'ng-recaptcha'. Users of v1 RecaptchaModule should also import { RecaptchaFormsModule } from 'ng-recaptcha/forms'. SystemJS users must also re-setup module "main" file to index.js

<a name="13.2.1"></a>

lucky-js
published 15.0.0 •

Changelog

Source

15.0.1 (2024-11-22)

<a name="14.0.0"></a>

Bug Fixes

  • build: fix AoT builds (921be50), closes #57 #65
  • component-v3: fix a potential metadata error in v3 service (ed885b5)
  • component: catch and propagate grecaptcha errors, closes #175 (075edd0)
  • component: correct type when using strict mode (a687d13), closes #211
  • component: correctly emit resolved event (25d4246)
  • component: correctly reset captcha during ngOnDestroy (b31d57f), closes #12
  • component: delay invisible recaptcha execution until it's rendered (99292b7), closes #127
  • component: emit resolved(null) event when recaptcha expires (491d99a), closes #11
  • component: ensure that component is destroyed safely (1e51d56), closes #46
  • component: fix a potential error during recaptcha rendering (1c395b5)
  • component: fix custom languages for reCAPTCHA v3 (a2b145d), closes #174
  • component: fix server-side rendering (7a5bc6c), closes #34 /github.com/angular/angular/blob/master/CHANGELOG.md#features-20
  • component: fix the injection error when using slandalone RecaptchaV3Module (c93b99c)
  • component: handle id input parameter correctly (b578fe5)
  • component: handle top-level execute errors for reCAPTCHA v3 (c7d02ce), closes #194
  • component: improve reCAPTCHA v2 and v3 interoperability (79fc85b), closes #152
  • component: mark forRoot() method as deprecated (dea31e5)
  • component: Replace OpaqueToken with InjectionToken (2b7db9b)
  • component: reset form-bound captcha value after component destruction (9e5c5e7), closes #201
  • component: reset form-bound captcha value after component destruction (0e550c4), closes #201
  • component: reset the captcha when the component is destroyed (e1441c8), closes #10
  • component: set CSP nonce as attribute (abcb9a6)
  • component: unblock protractor tests after <re-captcha> destruction (a5f2fe9)
  • component: use ElementRef to access component's native element (d3a8409), closes #48 #68
  • demo: re-add a missing systemjs config file (b51694a)
  • module: Adding the value accessor directive to the forms barrel, which was missing. (ad73e2e)
  • package: convert the README.md file back to a proper symlink (e0c5c99)
  • package: fix publishing empty package (e4685fe)
  • package: make [@types](https://github.com/types)/grecaptcha a non-optional dependency (bc5ad51), closes #205
  • rxjs: change import of of operator (3e0bda6), closes #95

Features

  • component: deprecate error output in favor of errored (6b002bb)
  • component: add exportAs annotation (3e2e217)
  • component: add a new RECAPTCHA_LOADER_OPTIONS injection token as a way of manipulating script load parameters (such as base URL, language, trusted types, WAF, etc) (b3c7213)
  • component: Add Angular 11 support (918fe90)
  • component: add support for badge property (5a16430), closes #30
  • component: add support for invisible reCAPTCHA (c19489d), closes #18
  • component: add support for reCAPTCHA v3 (4a083c6), closes #129
  • component: add the ability to handle reCAPTCHA errors (80c9e6e), closes #199
  • component: add the ability to provide nonce to the script tag (8f55b19), closes #100
  • component: add the ability to specify component props globally (d9c5f55), closes #45
  • component: adjust dependencies for Angular 6 support (736c7ae)
  • component: allow to specify a base url for loading recaptcha (df505fd), closes #101
  • component: change component and directive selectors (58a01b4)
  • component: load recaptcha script using code compatible with trusted types (88d257b), closes #304
  • component: make Angular 10.0.0 a supported peer dependency (3d7756b), closes #177
  • component: make Angular 8.0.0 a supported peer dependency (f003ff2)
  • component: make Angular 9.0.0 a supported peer dependency (98edce6), closes #168
  • component: remove deprecated forRoot method (514beaf)
  • misc: Annotating a static field with nocollapse so that we doesn't have issues closure compiler in advanced mode. (55e5932)
  • module: change the way recaptcha modules work (6e13389)
  • module: skip forRoot() when importing RecaptchaModule (7fb97fb), closes #113 #116
  • package management: add [@types](https://github.com/types)/grecaptcha as optional dependency (85fbfba)
  • package: add Angular 12 support (a212a21)
  • package: add Angular 14 support (eac6858)
  • package: add Angular 15 support (6c62634), closes #275
  • package: add Angular 16 support (77a7d1f), closes #288
  • package: add Angular 17 support (83714aa), closes #310
  • package: implement Angular Package format (71340c4)
  • package: update "[@types](https://github.com/types)/grecaptcha" optional dependency version to ^3 (e1ee7b9)
  • package: update peer dependencies to include Angular 7 (929ef7a)
  • package: update peer dependencies to include Angular v4 (b2f04e8)
  • package: upgrade to Angular 13 (af08641), closes #245

BREAKING CHANGES

  • package: - Angular v16 is no longer supported with this version. Pin ng-recaptcha to v12.x.x to retain support for a previous Angular version
  • package: - Angular v15 is no longer supported with this version. Pin ng-recaptcha to v11.x.x to retain support for a previous Angular version
  • component: Support for previous versions of Angular has been dropped. Starting from v7 only one version of Angular will be supported.
  • component: The RecaptchaModule.forRoot() method has been obsolete since v4.1.0 (since it has no longer been required). It is now removed. To migrate your code, simply use RecaptchaModule where you previously used RecaptchaModule.forRoot()
  • package: * ng-recaptcha/forms entry point has been removed. RecaptchaFormsModule and RecaptchaValueAccessorDirective should now be imported directly from ng-recaptcha
  • tslib is now a package dependency to ensure minimum possible bundle size. If your project doesn't yet have a dependency on tslib, run npm install -D tslib@^1.9.0 (or yarn add -D tslib@^1.9.0 if you use yarn)
  • component: The peer dependency for @angular/core has been bumped to ^6.0.0
  • component:
  • component: component selector changed from recaptcha to re-captcha
  • module: module handling has changed. Users of RecaptchaNoFormsModule should instead use import { RecaptchaModule } from 'ng-recaptcha'. Users of v1 RecaptchaModule should also import { RecaptchaFormsModule } from 'ng-recaptcha/forms'. SystemJS users must also re-setup module "main" file to index.js

<a name="13.2.1"></a>

lucky-js
published 14.0.0 •