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

react-google-autocomplete

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-autocomplete - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

20

lib/index.js

@@ -16,2 +16,6 @@ 'use strict';

var _propTypes = require('prop-types');
var _propTypes2 = _interopRequireDefault(_propTypes);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -92,6 +96,6 @@

ReactGoogleAutocomplete.propTypes = {
onPlaceSelected: _react.PropTypes.func,
types: _react.PropTypes.array,
componentRestrictions: _react.PropTypes.object,
bounds: _react.PropTypes.object
onPlaceSelected: _propTypes2.default.func,
types: _propTypes2.default.array,
componentRestrictions: _propTypes2.default.object,
bounds: _propTypes2.default.object
};

@@ -171,5 +175,5 @@ exports.default = ReactGoogleAutocomplete;

ReactCustomGoogleAutocomplete.propTypes = {
input: _react.PropTypes.node.isRequired,
onOpen: _react.PropTypes.func.isRequired,
onClose: _react.PropTypes.func.isRequired
};
input: _propTypes2.default.node.isRequired,
onOpen: _propTypes2.default.func.isRequired,
onClose: _propTypes2.default.func.isRequired
};
{
"name": "react-google-autocomplete",
"version": "1.0.12",
"version": "1.0.13",
"description": "React component for google autocomplete.",

@@ -28,2 +28,5 @@ "main": "index.js",

"homepage": "https://github.com/ErrorPro/react-google-autocomplete#readme",
"dependencies": {
"prop-types": "^15.5.0"
},
"peerDependencies": {

@@ -30,0 +33,0 @@ "react": "*"

3

src/index.js

@@ -1,2 +0,3 @@

import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';

@@ -3,0 +4,0 @@ export default class ReactGoogleAutocomplete extends React.Component {

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