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 4.1.0 to 4.1.1

10

CHANGELOG.md

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

<a name="4.1.1"></a>
## [4.1.1](https://github.com/DethAriel/ng-recaptcha/compare/v4.1.0...v4.1.1) (2018-10-24)
### Bug Fixes
* **component:** delay invisible recaptcha execution until it's rendered ([99292b7](https://github.com/DethAriel/ng-recaptcha/commit/99292b7)), closes [#127](https://github.com/DethAriel/ng-recaptcha/issues/127)
<a name="4.1.0"></a>

@@ -2,0 +12,0 @@ # [4.1.0](https://github.com/DethAriel/ng-recaptcha/compare/v4.0.0...v4.1.0) (2018-10-24)

9

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

@@ -16,6 +16,4 @@ "scripts": {

"github-release": "conventional-github-releaser --preset angular",
"prepare-release": "npm whoami && npm version $1",
"push-release": "git push && git push --tags && run-s github-release pub",
"release": "NPM_TAG=latest yarn push-release",
"release-beta": "NPM_TAG=beta yarn push-release",
"prepare-release": "npm whoami && yarn build && npm version $1",
"push-release": "git push && git push --tags",
"version": "yarn changelog && git add CHANGELOG.md && yarn demo:build && git add demo/yarn.lock",

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

"build": "run-s clean lint:prod transpile",
"pub": "yarn build && npm publish --tag $NPM_TAG && yarn demo:publish",
"prepush": "yarn lint:prod"

@@ -28,0 +25,0 @@ },

@@ -25,2 +25,3 @@ # Angular component for Google reCAPTCHA

* [Working with invisible reCAPTCHA](#example-invisible)
* [Resizing](#example-resizing)
* [SystemJS configuration](#example-systemjs)

@@ -312,2 +313,12 @@

### <a name="example-resizing"></a>Resizing
Making reCAPTCHA responsive is sometimes necessary, especially when working with mobile devices. You can use css-transforms to achieve that as in [this StackOverflow answer](https://stackoverflow.com/a/29521983/2645305), which is also ell-described in [this blog post](https://geekgoddess.com/how-to-resize-the-google-nocaptcha-recaptcha/). You can also take a look at a [live example](https://stackblitz.com/edit/ng-recaptcha-example-uncvxq?file=src/app/app.component.html) of how this might be implemented. This boils down to
```html
<div style="transform:scale(0.7);transform-origin:0;">
<re-captcha></re-captcha>
</div>
```
### <a name="example-systemjs"></a>SystemJS configuration

@@ -314,0 +325,0 @@

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