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

react-google-recaptcha

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-recaptcha - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

3

HISTORY.md
# History
## 0.3.2
- Bump deps
## 0.3.1

@@ -4,0 +7,0 @@ - Added babel runtime to deps

16

lib/recaptcha-wrapper.js
"use strict";
var _interopRequireWildcard = require("babel-runtime/helpers/interop-require-wildcard")["default"];
var _Object$defineProperty = require("babel-runtime/core-js/object/define-property")["default"];
Object.defineProperty(exports, "__esModule", {
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
_Object$defineProperty(exports, "__esModule", {
value: true
});
var _ReCAPTCHA = require("./recaptcha");
var _recaptcha = require("./recaptcha");
var _ReCAPTCHA2 = _interopRequireWildcard(_ReCAPTCHA);
var _recaptcha2 = _interopRequireDefault(_recaptcha);
var _makeAsyncScriptLoader = require("react-async-script");
var _reactAsyncScript = require("react-async-script");
var _makeAsyncScriptLoader2 = _interopRequireWildcard(_makeAsyncScriptLoader);
var _reactAsyncScript2 = _interopRequireDefault(_reactAsyncScript);

@@ -21,3 +23,3 @@ var callbackName = "onloadcallback";

exports["default"] = _makeAsyncScriptLoader2["default"](_ReCAPTCHA2["default"], URL, {
exports["default"] = (0, _reactAsyncScript2["default"])(_recaptcha2["default"], URL, {
callbackName: callbackName,

@@ -24,0 +26,0 @@ globalName: globalName,

"use strict";
var _objectWithoutProperties = require("babel-runtime/helpers/object-without-properties")["default"];
var _extends = require("babel-runtime/helpers/extends")["default"];
var _objectWithoutProperties = require("babel-runtime/helpers/object-without-properties")["default"];
var _Object$defineProperty = require("babel-runtime/core-js/object/define-property")["default"];
var _interopRequireWildcard = require("babel-runtime/helpers/interop-require-wildcard")["default"];
var _interopRequireDefault = require("babel-runtime/helpers/interop-require-default")["default"];
Object.defineProperty(exports, "__esModule", {
_Object$defineProperty(exports, "__esModule", {
value: true
});
var _React$PropTypes = require("react");
var _react = require("react");
var _React$PropTypes2 = _interopRequireWildcard(_React$PropTypes);
var _react2 = _interopRequireDefault(_react);
var ReCAPTCHA = _React$PropTypes2["default"].createClass({
var ReCAPTCHA = _react2["default"].createClass({
displayName: "reCAPTCHA",
propTypes: {
sitekey: _React$PropTypes.PropTypes.string.isRequired,
onChange: _React$PropTypes.PropTypes.func.isRequired,
grecaptcha: _React$PropTypes.PropTypes.object,
theme: _React$PropTypes.PropTypes.oneOf(["dark", "light"]),
type: _React$PropTypes.PropTypes.oneOf(["image", "audio"]),
tabindex: _React$PropTypes.PropTypes.number,
onExpired: _React$PropTypes.PropTypes.func },
sitekey: _react.PropTypes.string.isRequired,
onChange: _react.PropTypes.func.isRequired,
grecaptcha: _react.PropTypes.object,
theme: _react.PropTypes.oneOf(["dark", "light"]),
type: _react.PropTypes.oneOf(["image", "audio"]),
tabindex: _react.PropTypes.number,
onExpired: _react.PropTypes.func },

@@ -97,3 +99,3 @@ getInitialState: function getInitialState() {

/* eslint-enable no-unused-vars */
return _React$PropTypes2["default"].createElement("div", _extends({}, childProps, { ref: "captcha" }));
return _react2["default"].createElement("div", _extends({}, childProps, { ref: "captcha" }));
}

@@ -100,0 +102,0 @@ });

{
"name": "react-google-recaptcha",
"version": "0.3.1",
"version": "0.3.2",
"description": "React Component Wrapper for Google reCAPTCHA",

@@ -36,16 +36,16 @@ "main": "lib/recaptcha-wrapper.js",

"devDependencies": {
"babel": "~5.1.11",
"babel-core": "~5.1.11",
"babel-eslint": "~3.0.1",
"babel-loader": "~5.0.0",
"babel": "~5.4.7",
"babel-core": "~5.4.7",
"babel-eslint": "~3.1.9",
"babel-loader": "~5.1.3",
"chai": "~2.2.0",
"child-process-promise": "~1.0.2",
"colors": "~1.0.3",
"es5-shim": "~4.1.1",
"child-process-promise": "~1.1.0",
"colors": "~1.1.0",
"es5-shim": "~4.1.3",
"eslint": "~0.19.0",
"eslint-plugin-react": "~2.2.0",
"fs-promise": "~0.3.1",
"karma": "~0.12.31",
"karma": "~0.12.33",
"karma-chai": "~0.1.0",
"karma-chrome-launcher": "~0.1.8",
"karma-chrome-launcher": "~0.1.12",
"karma-cli": "~0.0.4",

@@ -56,13 +56,13 @@ "karma-mocha": "~0.1.10",

"karma-sourcemap-loader": "~0.3.4",
"karma-webpack": "~1.5.0",
"karma-webpack": "~1.5.1",
"lodash": "~3.7.0",
"mocha": "~2.2.4",
"react": "~0.13.2",
"webpack": "~1.8.9",
"yargs": "~3.7.2"
"mocha": "~2.2.5",
"react": "~0.13.3",
"webpack": "~1.9.10",
"yargs": "~3.9.1"
},
"dependencies": {
"babel-runtime": "~5.1.11",
"react-async-script": "~0.3.1"
"babel-runtime": "~5.4.7",
"react-async-script": "~0.3.2"
}
}
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