Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-google-invisible-recaptcha

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-invisible-recaptcha - npm Package Compare versions

Comparing version 0.2.3 to 0.2.5

9

dist/index.js

@@ -7,4 +7,2 @@ 'use strict';

var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();

@@ -118,3 +116,4 @@

var style = _extends({ display: 'none' }, this.props.style);
var style = this.props.style;
return _react2.default.createElement('div', { ref: function ref(_ref) {

@@ -132,2 +131,3 @@ return _this3.container = _ref;

locale: _propTypes2.default.string,
badge: _propTypes2.default.oneOf(['bottomright', 'bottomleft', 'inline']),
onResolved: _propTypes2.default.func.isRequired,

@@ -138,5 +138,6 @@ style: _propTypes2.default.object

GoogleRecaptcha.defaultProps = {
locale: 'en'
locale: 'en',
badge: 'bottomright'
};
exports.default = GoogleRecaptcha;
{
"name": "react-google-invisible-recaptcha",
"author": "szchenghuang <szchenghuang@gmail.com>",
"version": "0.2.3",
"version": "0.2.5",
"description": "A React component which is simply interested in Google invisible reCaptcha.",

@@ -6,0 +6,0 @@ "main": "index.js",

@@ -82,2 +82,3 @@ # react-google-invisible-recaptcha #

* locale: in which language it speaks. **Default: en.**
* badge: `bottomright`, `bottomleft`, or `inline`. **Default: bottomright.**
* style: custom CSS applied to the root node. **Default: undefined.**

@@ -84,0 +85,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