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 5.0.0 to 6.0.0

20

bundles/ng-recaptcha.umd.js

@@ -8,14 +8,14 @@ (function (global, factory) {

/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
Copyright (c) Microsoft Corporation.
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */

@@ -22,0 +22,0 @@

{
"name": "ng-recaptcha",
"version": "5.0.0",
"version": "6.0.0",
"description": "Angular component for Google reCAPTCHA",

@@ -23,6 +23,6 @@ "main": "bundles/ng-recaptcha.umd.js",

"dependencies": {
"tslib": "^1.9.0"
"tslib": "^1.9.0 || ^2.0.0"
},
"peerDependencies": {
"@angular/core": "^6.0.0 || ^7.0.0 || ^8.0.0"
"@angular/core": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0"
},

@@ -29,0 +29,0 @@ "devDependencies": {

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

### <a name="example-preload-api"></a>Loading the reCAPTCHA API by yourself [(see in action)](https://dethariel.github.io/ng-recaptcha/preload-api)
### <a name="example-preload-api"></a>Loading the reCAPTCHA API by yourself [(see in action)](https://dethariel.github.io/ng-recaptcha/v8/preload-api)

@@ -238,0 +238,0 @@ By default, the component assumes that the reCAPTCHA API loading will be handled

@@ -15,4 +15,17 @@ /// <reference types="grecaptcha" />

private readonly platformId;
/**
* @internal
* @nocollapse
*/
private static ready;
ready: Observable<ReCaptchaV2.ReCaptcha>;
/** @internal */
private language;
/** @internal */
private baseUrl;
/** @internal */
private nonce;
constructor(platformId: any, language?: string, baseUrl?: string, nonce?: string);
/** @internal */
private init();
}

@@ -21,2 +21,20 @@ import { InjectionToken, NgZone } from '@angular/core';

export declare class ReCaptchaV3Service {
/** @internal */
private readonly isBrowser;
/** @internal */
private readonly siteKey;
/** @internal */
private readonly zone;
/** @internal */
private actionBacklog;
/** @internal */
private nonce;
/** @internal */
private baseUrl;
/** @internal */
private grecaptcha;
/** @internal */
private onExecuteSubject;
/** @internal */
private onExecuteObservable;
constructor(zone: NgZone, siteKey: string, platformId: any, baseUrl?: string, nonce?: string);

@@ -36,2 +54,8 @@ readonly onExecute: Observable<OnExecuteData>;

execute(action: string): Observable<string>;
/** @internal */
private executeActionWithSubject(action, subject);
/** @internal */
private init();
/** @internal */
private onLoadComplete;
}

@@ -5,2 +5,6 @@ import { ControlValueAccessor } from '@angular/forms';

private host;
/** @internal */
private onChange;
/** @internal */
private onTouched;
constructor(host: RecaptchaComponent);

@@ -7,0 +11,0 @@ writeValue(value: string): void;

@@ -17,2 +17,10 @@ /// <reference types="grecaptcha" />

resolved: EventEmitter<string>;
/** @internal */
private subscription;
/** @internal */
private widget;
/** @internal */
private grecaptcha;
/** @internal */
private executeRequested;
constructor(elementRef: ElementRef, loader: RecaptchaLoaderService, zone: NgZone, settings?: RecaptchaSettings);

@@ -27,2 +35,10 @@ ngAfterViewInit(): void;

reset(): void;
/** @internal */
private expired();
/** @internal */
private captchaResponseCallback(response);
/** @internal */
private grecaptchaReset();
/** @internal */
private renderRecaptcha();
}

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