New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ng-recaptcha

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng-recaptcha - npm Package Compare versions

Comparing version 9.0.0 to 10.0.0

4

index.d.ts

@@ -1,2 +0,2 @@

export { RecaptchaComponent, RecaptchaErrorParameters, } from "./lib/recaptcha.component";
export { RecaptchaComponent, RecaptchaErrorParameters } from "./lib/recaptcha.component";
export { RecaptchaLoaderService } from "./lib/recaptcha-loader.service";

@@ -6,5 +6,5 @@ export { RecaptchaModule } from "./lib/recaptcha.module";

export { RecaptchaV3Module } from "./lib/recaptcha-v3.module";
export { OnExecuteData, OnExecuteErrorData, ReCaptchaV3Service, } from "./lib/recaptcha-v3.service";
export { OnExecuteData, OnExecuteErrorData, ReCaptchaV3Service } from "./lib/recaptcha-v3.service";
export { RecaptchaFormsModule } from "./lib/recaptcha-forms.module";
export { RecaptchaValueAccessorDirective } from "./lib/recaptcha-value-accessor.directive";
export { RECAPTCHA_LANGUAGE, RECAPTCHA_BASE_URL, RECAPTCHA_NONCE, RECAPTCHA_SETTINGS, RECAPTCHA_V3_SITE_KEY, } from "./lib/tokens";

@@ -17,3 +17,3 @@ import { ControlValueAccessor } from "@angular/forms";

static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaValueAccessorDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<RecaptchaValueAccessorDirective, "re-captcha[formControlName],re-captcha[formControl],re-captcha[ngModel]", never, {}, {}, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<RecaptchaValueAccessorDirective, "re-captcha[formControlName],re-captcha[formControl],re-captcha[ngModel]", never, {}, {}, never, never, false>;
}

@@ -59,3 +59,3 @@ /// <reference types="grecaptcha" />

static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaComponent, [null, null, null, { optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "re-captcha", ["reCaptcha"], { "id": "id"; "siteKey": "siteKey"; "theme": "theme"; "type": "type"; "size": "size"; "tabIndex": "tabIndex"; "badge": "badge"; "errorMode": "errorMode"; }, { "resolved": "resolved"; "error": "error"; }, never, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<RecaptchaComponent, "re-captcha", ["reCaptcha"], { "id": "id"; "siteKey": "siteKey"; "theme": "theme"; "type": "type"; "size": "size"; "tabIndex": "tabIndex"; "badge": "badge"; "errorMode": "errorMode"; }, { "resolved": "resolved"; "error": "error"; }, never, never, false>;
}
{
"name": "ng-recaptcha",
"description": "Angular component for Google reCAPTCHA",
"version": "9.0.0",
"version": "10.0.0",
"author": "Ruslan Arkhipau <dethariel@gmail.com>",

@@ -19,3 +19,3 @@ "license": "MIT",

"peerDependencies": {
"@angular/core": "^13.0.0"
"@angular/core": "^14.0.0"
},

@@ -31,3 +31,3 @@ "dependencies": {

"fesm2015": "fesm2015/ng-recaptcha.mjs",
"typings": "ng-recaptcha.d.ts",
"typings": "index.d.ts",
"exports": {

@@ -38,3 +38,3 @@ "./package.json": {

".": {
"types": "./ng-recaptcha.d.ts",
"types": "./index.d.ts",
"esm2020": "./esm2020/ng-recaptcha.mjs",

@@ -41,0 +41,0 @@ "es2020": "./fesm2020/ng-recaptcha.mjs",

@@ -6,3 +6,3 @@ # Angular component for Google reCAPTCHA

[![MIT licensed](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/dethariel/ng-recaptcha/master/LICENSE)
[![Build Status](https://travis-ci.com/DethAriel/ng-recaptcha.svg?branch=master)](https://travis-ci.com/DethAriel/ng-recaptcha)
[![Build Status](https://app.travis-ci.com/DethAriel/ng-recaptcha.svg?branch=master)](https://app.travis-ci.com/DethAriel/ng-recaptcha)
[![Coverage Status](https://coveralls.io/repos/github/DethAriel/ng-recaptcha/badge.svg?branch=master)](https://coveralls.io/github/DethAriel/ng-recaptcha?branch=master)

@@ -81,6 +81,3 @@ [![NPM downloads](https://img.shields.io/npm/dm/ng-recaptcha)](https://www.npmjs.com/package/ng-recaptcha)

selector: "my-app",
template: `<re-captcha
(resolved)="resolved($event)"
siteKey="YOUR_SITE_KEY"
></re-captcha>`,
template: `<re-captcha (resolved)="resolved($event)" siteKey="YOUR_SITE_KEY"></re-captcha>`,
})

@@ -278,7 +275,3 @@ export class MyApp {

selector: "my-app",
template: `<re-captcha
(resolved)="resolved($event)"
(error)="errored($event)"
errorMode="handled"
></re-captcha>`,
template: `<re-captcha (resolved)="resolved($event)" (error)="errored($event)" errorMode="handled"></re-captcha>`,
})

@@ -359,8 +352,3 @@ export class MyApp {

template: ` <form>
<re-captcha
[(ngModel)]="formModel.captcha"
name="captcha"
required
siteKey="YOUR_SITE_KEY"
></re-captcha>
<re-captcha [(ngModel)]="formModel.captcha" name="captcha" required siteKey="YOUR_SITE_KEY"></re-captcha>
</form>`,

@@ -535,7 +523,5 @@ })

public ngOnInit() {
this.subscription = this.recaptchaV3Service.onExecute.subscribe(
(data: OnExecuteData) => {
this.handleRecaptchaExecute(data.action, data.token);
}
);
this.subscription = this.recaptchaV3Service.onExecute.subscribe((data: OnExecuteData) => {
this.handleRecaptchaExecute(data.action, data.token);
});
}

@@ -542,0 +528,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc