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.1.3 to 1.1.4

6

lib/index.js

@@ -80,3 +80,3 @@ 'use strict';

if (_this2.refs && _this2.refs.input) {
_this2.refs.input.autocomplete = 'off';
_this2.refs.input.autocomplete = _this2.props.inputAutocompleteValue || 'new-password';
}

@@ -124,3 +124,4 @@ });

bounds: _propTypes2.default.object,
fields: _propTypes2.default.array
fields: _propTypes2.default.array,
inputAutocompleteValue: _propTypes2.default.string
};

@@ -154,3 +155,2 @@ exports.default = ReactGoogleAutocomplete;

_this4.props.onOpen(predictions);
console.log(predictions);
} else {

@@ -157,0 +157,0 @@ _this4.props.onClose();

{
"name": "react-google-autocomplete",
"version": "1.1.3",
"version": "1.1.4",
"description": "React component for google autocomplete.",

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

@@ -10,3 +10,4 @@ import React from 'react';

bounds: PropTypes.object,
fields: PropTypes.array
fields: PropTypes.array,
inputAutocompleteValue: PropTypes.string,
};

@@ -61,3 +62,3 @@

if (this.refs && this.refs.input) {
this.refs.input.autocomplete = 'off';
this.refs.input.autocomplete = this.props.inputAutocompleteValue || 'new-password';
}

@@ -116,3 +117,2 @@ });

this.props.onOpen(predictions);
console.log(predictions);
} else {

@@ -119,0 +119,0 @@ this.props.onClose();

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