react-google-autocomplete
Advanced tools
Comparing version 1.0.12 to 1.0.13
@@ -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": "*" |
@@ -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 { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12879
237
2
+ Addedprop-types@^15.5.0
+ Addedobject-assign@4.1.1(transitive)
+ Addedprop-types@15.8.1(transitive)
+ Addedreact-is@16.13.1(transitive)