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 2.1.0 to 2.1.1

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="2.1.1"></a>
## [2.1.1](https://github.com/DethAriel/ng-recaptcha/compare/v2.1.0...v2.1.1) (2017-05-02)
### Bug Fixes
* **component:** unblock protractor tests after `<re-captcha>` destruction ([a5f2fe9](https://github.com/DethAriel/ng-recaptcha/commit/a5f2fe9))
<a name="2.1.0"></a>

@@ -2,0 +12,0 @@ # [2.1.0](https://github.com/DethAriel/ng-recaptcha/compare/v2.0.2...v2.1.0) (2017-05-01)

12

package.json
{
"name": "ng-recaptcha",
"version": "2.1.0",
"version": "2.1.1",
"description": "Angular component for Google reCAPTCHA",

@@ -12,3 +12,3 @@ "scripts": {

"transpile": "ngc -p ./tsconfig.json",
"clean": "del-cli './{recaptcha/,index,forms}*.{js,d.ts,js.map,metadata.json}' factories",
"clean": "del-cli './{recaptcha/,index,forms}*.{js,d.ts,js.map,metadata.json}'",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",

@@ -36,3 +36,3 @@ "lint:prod": "tslint --project ./tsconfig.json --type-check",

"optionalDependencies": {
"@types/grecaptcha": "^2.0.31"
"@types/grecaptcha": "^2.0.33"
},

@@ -50,5 +50,5 @@ "peerDependencies": {

"@types/core-js": "^0.9.39",
"@types/grecaptcha": "^2.0.31",
"@types/grecaptcha": "^2.0.33",
"angular-precommit": "^1.0.3",
"codelyzer": "^3.0.0-beta.4",
"codelyzer": "^3.0.1",
"conventional-changelog-cli": "^1.3.1",

@@ -59,3 +59,3 @@ "del-cli": "^0.2.1",

"rxjs": "^5.2.0",
"tslint": "^4.5.1",
"tslint": "^5.1.0",
"typescript": "^2.2.1",

@@ -62,0 +62,0 @@ "zone.js": "^0.8.5"

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

type: ReCaptchaV2.Type;
size: ReCaptchaV2.Size | 'invisible';
size: ReCaptchaV2.Size;
tabIndex: number;
badge: 'bottomright' | 'bottomleft' | 'inline';
badge: ReCaptchaV2.Badge;
resolved: EventEmitter<string>;

@@ -16,0 +16,0 @@ constructor(loader: RecaptchaLoaderService, zone: NgZone);

@@ -11,3 +11,2 @@ "use strict";

this.id = "ngrecaptcha-" + nextId++;
this.badge = 'bottomright';
this.resolved = new core_1.EventEmitter();

@@ -27,5 +26,3 @@ }

// after the component is no longer needed
if (this.widget != null) {
this.grecaptcha.reset(this.widget);
}
this.grecaptchaReset();
this.subscription.unsubscribe();

@@ -42,3 +39,2 @@ };

if (this.widget != null) {
// tslint:disable-next-line:no-any
this.grecaptcha.execute(this.widget);

@@ -55,3 +51,3 @@ }

}
this.grecaptcha.reset(this.widget);
this.grecaptchaReset();
}

@@ -68,2 +64,9 @@ };

/** @internal */
RecaptchaComponent.prototype.grecaptchaReset = function () {
var _this = this;
if (this.widget != null) {
this.zone.runOutsideAngular(function () { return _this.grecaptcha.reset(_this.widget); });
}
};
/** @internal */
RecaptchaComponent.prototype.renderRecaptcha = function () {

@@ -80,3 +83,2 @@ var _this = this;

sitekey: this.siteKey,
// tslint:disable-next-line:no-any
size: this.size,

@@ -83,0 +85,0 @@ tabindex: this.tabIndex,

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

[{"__symbolic":"module","version":3,"metadata":{"RecaptchaComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"exportAs":"reCaptcha","selector":"re-captcha","template":""}]}],"members":{"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["attr.id"]}]}],"siteKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"badge":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"resolved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./recaptcha-loader.service","name":"RecaptchaLoaderService"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"execute":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"expired":[{"__symbolic":"method"}],"captchaReponseCallback":[{"__symbolic":"method"}],"renderRecaptcha":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"RecaptchaComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"exportAs":"reCaptcha","selector":"re-captcha","template":""}]}],"members":{"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["attr.id"]}]}],"siteKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"badge":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"resolved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./recaptcha-loader.service","name":"RecaptchaLoaderService"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"execute":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"expired":[{"__symbolic":"method"}],"captchaReponseCallback":[{"__symbolic":"method"}],"renderRecaptcha":[{"__symbolic":"method"}]}}}}]
[{"__symbolic":"module","version":3,"metadata":{"RecaptchaComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"exportAs":"reCaptcha","selector":"re-captcha","template":""}]}],"members":{"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["attr.id"]}]}],"siteKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"badge":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"resolved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./recaptcha-loader.service","name":"RecaptchaLoaderService"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"execute":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"expired":[{"__symbolic":"method"}],"captchaReponseCallback":[{"__symbolic":"method"}],"grecaptchaReset":[{"__symbolic":"method"}],"renderRecaptcha":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"RecaptchaComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"exportAs":"reCaptcha","selector":"re-captcha","template":""}]}],"members":{"id":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostBinding"},"arguments":["attr.id"]}]}],"siteKey":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"theme":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"size":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"tabIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"badge":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"resolved":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./recaptcha-loader.service","name":"RecaptchaLoaderService"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"execute":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"expired":[{"__symbolic":"method"}],"captchaReponseCallback":[{"__symbolic":"method"}],"grecaptchaReset":[{"__symbolic":"method"}],"renderRecaptcha":[{"__symbolic":"method"}]}}}}]

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