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.0.2 to 2.1.0

15

CHANGELOG.md

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

<a name="2.1.0"></a>
# [2.1.0](https://github.com/DethAriel/ng-recaptcha/compare/v2.0.2...v2.1.0) (2017-05-01)
### Features
* **component:** add support for `badge` property ([5a16430](https://github.com/DethAriel/ng-recaptcha/commit/5a16430)), closes [#30](https://github.com/DethAriel/ng-recaptcha/issues/30)
### Bug Fixes
* **demo:** re-add a missing systemjs config file ([b51694a](https://github.com/DethAriel/ng-recaptcha/commit/b51694a))
<a name="2.0.2"></a>

@@ -2,0 +17,0 @@ ## [2.0.2](https://github.com/DethAriel/ng-recaptcha/compare/v2.0.1...v2.0.2) (2017-03-26)

10

package.json
{
"name": "ng-recaptcha",
"version": "2.0.2",
"version": "2.1.0",
"description": "Angular component for Google reCAPTCHA",
"scripts": {
"demo": "npm run demo:install && npm run demo:serve",
"demo:serve": "cd demo && bundle exec jekyll serve",
"demo:build": "cd demo && bundle exec jekyll build",
"demo:install": "npm run transpile && cd demo/examples && npm run latest && cd ../.. && npm run clean",
"demo:publish": "npm run demo:build && gh-pages -d demo/_site/",
"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}' factories",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",

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

"del-cli": "^0.2.1",
"gh-pages": "^0.12.0",
"husky": "^0.13.3",

@@ -50,0 +56,0 @@ "rxjs": "^5.2.0",

1

recaptcha/recaptcha.component.d.ts

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

tabIndex: number;
badge: 'bottomright' | 'bottomleft' | 'inline';
resolved: EventEmitter<string>;

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

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

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

@@ -67,2 +68,3 @@ }

this.widget = this.grecaptcha.render(this.id, {
badge: this.badge,
callback: function (response) {

@@ -103,4 +105,5 @@ _this.zone.run(function () { return _this.captchaReponseCallback(response); });

'tabIndex': [{ type: core_1.Input },],
'badge': [{ type: core_1.Input },],
'resolved': [{ type: core_1.Output },],
};
exports.RecaptchaComponent = RecaptchaComponent;

@@ -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"}}]}],"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"}}]}],"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"}],"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"}]}}}}]

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