Huge News!Announcing our $40M Series B led by Abstract Ventures.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 8.0.1 to 9.0.0

esm2020/index.mjs

24

CHANGELOG.md

@@ -0,1 +1,17 @@

<a name="9.0.0"></a>
# [9.0.0](https://github.com/DethAriel/ng-recaptcha/compare/v7.0.2...v9.0.0) (2021-11-16)
### Features
- **package:** upgrade to Angular 13 ([af08641](https://github.com/DethAriel/ng-recaptcha/commit/af08641)), closes [#245](https://github.com/DethAriel/ng-recaptcha/issues/245)
<a name="8.0.1"></a>
## [8.0.1](https://github.com/DethAriel/ng-recaptcha/compare/v8.0.0...v8.0.1) (2021-07-22)
### Bug Fixes
- **component:** reset form-bound captcha value after component destruction ([0e550c4](https://github.com/DethAriel/ng-recaptcha/commit/0e550c4)), closes [#201](https://github.com/DethAriel/ng-recaptcha/issues/201)
<a name="8.0.0"></a>

@@ -9,2 +25,10 @@

<a name="7.0.2"></a>
## [7.0.2](https://github.com/DethAriel/ng-recaptcha/compare/v7.0.1...v7.0.2) (2021-07-22)
### Bug Fixes
- **component:** reset form-bound captcha value after component destruction ([9e5c5e7](https://github.com/DethAriel/ng-recaptcha/commit/9e5c5e7)), closes [#201](https://github.com/DethAriel/ng-recaptcha/issues/201)
<a name="7.0.1"></a>

@@ -11,0 +35,0 @@

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

import * as i0 from "@angular/core";
import * as i1 from "./recaptcha.component";
export declare class RecaptchaCommonModule {
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaCommonModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaCommonModule, [typeof i1.RecaptchaComponent], never, [typeof i1.RecaptchaComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<RecaptchaCommonModule>;
}

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

import * as i0 from "@angular/core";
import * as i1 from "./recaptcha-value-accessor.directive";
import * as i2 from "@angular/forms";
import * as i3 from "./recaptcha-common.module";
export declare class RecaptchaFormsModule {
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaFormsModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaFormsModule, [typeof i1.RecaptchaValueAccessorDirective], [typeof i2.FormsModule, typeof i3.RecaptchaCommonModule], [typeof i1.RecaptchaValueAccessorDirective]>;
static ɵinj: i0.ɵɵInjectorDeclaration<RecaptchaFormsModule>;
}

3

lib/recaptcha-loader.service.d.ts
/// <reference types="grecaptcha" />
import { Observable } from "rxjs";
import * as i0 from "@angular/core";
export declare class RecaptchaLoaderService {

@@ -22,2 +23,4 @@ private readonly platformId;

private init;
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaLoaderService, [null, { optional: true; }, { optional: true; }, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<RecaptchaLoaderService>;
}

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

import * as i0 from "@angular/core";
export declare class RecaptchaV3Module {
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaV3Module, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaV3Module, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<RecaptchaV3Module>;
}
import { NgZone } from "@angular/core";
import { Observable } from "rxjs";
import * as i0 from "@angular/core";
export interface OnExecuteData {

@@ -75,2 +76,4 @@ /**

private onLoadComplete;
static ɵfac: i0.ɵɵFactoryDeclaration<ReCaptchaV3Service, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<ReCaptchaV3Service>;
}
import { ControlValueAccessor } from "@angular/forms";
import { RecaptchaComponent } from "./recaptcha.component";
import * as i0 from "@angular/core";
export declare class RecaptchaValueAccessorDirective implements ControlValueAccessor {

@@ -15,2 +16,4 @@ private host;

onResolve($event: string): void;
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaValueAccessorDirective, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<RecaptchaValueAccessorDirective, "re-captcha[formControlName],re-captcha[formControl],re-captcha[ngModel]", never, {}, {}, never>;
}

5

lib/recaptcha.component.d.ts

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

import { RecaptchaSettings } from "./recaptcha-settings";
import * as i0 from "@angular/core";
export declare type NeverUndefined<T> = T extends undefined ? never : T;

@@ -30,3 +31,3 @@ export declare type RecaptchaErrorParameters = Parameters<NeverUndefined<ReCaptchaV2.Parameters["error-callback"]>>;

private executeRequested;
constructor(elementRef: ElementRef, loader: RecaptchaLoaderService, zone: NgZone, settings?: RecaptchaSettings);
constructor(elementRef: ElementRef<HTMLElement>, loader: RecaptchaLoaderService, zone: NgZone, settings?: RecaptchaSettings);
ngAfterViewInit(): void;

@@ -59,2 +60,4 @@ ngOnDestroy(): void;

private renderRecaptcha;
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>;
}

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

import * as i0 from "@angular/core";
import * as i1 from "./recaptcha-common.module";
import * as i2 from "./recaptcha.component";
export declare class RecaptchaModule {
static ɵfac: i0.ɵɵFactoryDeclaration<RecaptchaModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<RecaptchaModule, never, [typeof i1.RecaptchaCommonModule], [typeof i2.RecaptchaComponent]>;
static ɵinj: i0.ɵɵInjectorDeclaration<RecaptchaModule>;
}
/**
* Generated bundle index. Do not edit.
*/
/// <amd-module name="ng-recaptcha" />
export * from './index';
export { RecaptchaCommonModule as ɵa } from './lib/recaptcha-common.module';
{
"name": "ng-recaptcha",
"description": "Angular component for Google reCAPTCHA",
"version": "8.0.1",
"version": "9.0.0",
"author": "Ruslan Arkhipau <dethariel@gmail.com>",

@@ -19,16 +19,28 @@ "license": "MIT",

"peerDependencies": {
"@angular/core": "^12.0.0"
"@angular/core": "^13.0.0"
},
"dependencies": {
"@types/grecaptcha": "^3.0.1",
"tslib": "^2.0.0"
"@types/grecaptcha": "^3.0.3",
"tslib": "^2.2.0"
},
"main": "bundles/ng-recaptcha.umd.js",
"module": "fesm2015/ng-recaptcha.js",
"es2015": "fesm2015/ng-recaptcha.js",
"esm2015": "esm2015/ng-recaptcha.js",
"fesm2015": "fesm2015/ng-recaptcha.js",
"module": "fesm2015/ng-recaptcha.mjs",
"es2020": "fesm2020/ng-recaptcha.mjs",
"esm2020": "esm2020/ng-recaptcha.mjs",
"fesm2020": "fesm2020/ng-recaptcha.mjs",
"fesm2015": "fesm2015/ng-recaptcha.mjs",
"typings": "ng-recaptcha.d.ts",
"metadata": "ng-recaptcha.metadata.json",
"exports": {
"./package.json": {
"default": "./package.json"
},
".": {
"types": "./ng-recaptcha.d.ts",
"esm2020": "./esm2020/ng-recaptcha.mjs",
"es2020": "./fesm2020/ng-recaptcha.mjs",
"es2015": "./fesm2015/ng-recaptcha.mjs",
"node": "./fesm2015/ng-recaptcha.mjs",
"default": "./fesm2020/ng-recaptcha.mjs"
}
},
"sideEffects": false
}
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