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

react-geosuggest

Package Overview
Dependencies
Maintainers
3
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-geosuggest - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

8

CHANGELOG.md

@@ -0,1 +1,9 @@

### 1.4.3 (2015-07-29)
#### Bug Fixes
* **example:** remove drop_console option from uglify ([e8e16112](https://github.com/ubilabs/react-geosuggest/commit/e8e16112d2d0f47f7ddc005dd485a25f7d55e4e7))
### 1.4.2 (2015-07-29)

@@ -2,0 +10,0 @@

50

module/Geosuggest.js

@@ -237,21 +237,22 @@ /* global google */

render: function render() {
return // eslint-disable-line no-extra-parens
React.createElement(
'div',
{ className: 'geosuggest ' + this.props.className,
onClick: this.onClick },
React.createElement('input', {
className: "geosuggest__input",
ref: "geosuggestInput",
type: "text",
value: this.state.userInput,
placeholder: this.props.placeholder,
onKeyDown: this.onInputKeyDown,
onChange: this.onInputChange,
onFocus: this.showSuggests,
onBlur: this.hideSuggests }),
return ( // eslint-disable-line no-extra-parens
React.createElement(
'ul',
{ className: this.getSuggestsClasses() },
this.getSuggestItems()
'div',
{ className: 'geosuggest ' + this.props.className,
onClick: this.onClick },
React.createElement('input', {
className: 'geosuggest__input',
ref: 'geosuggestInput',
type: 'text',
value: this.state.userInput,
placeholder: this.props.placeholder,
onKeyDown: this.onInputKeyDown,
onChange: this.onInputChange,
onFocus: this.showSuggests,
onBlur: this.hideSuggests }),
React.createElement(
'ul',
{ className: this.getSuggestsClasses() },
this.getSuggestItems()
)
)

@@ -269,8 +270,9 @@ );

return // eslint-disable-line no-extra-parens
React.createElement(GeosuggestItem, {
key: suggest.placeId,
suggest: suggest,
isActive: isActive,
onSuggestSelect: this.selectSuggest });
return ( // eslint-disable-line no-extra-parens
React.createElement(GeosuggestItem, {
key: suggest.placeId,
suggest: suggest,
isActive: isActive,
onSuggestSelect: this.selectSuggest })
);
}).bind(this));

@@ -277,0 +279,0 @@ },

@@ -36,8 +36,9 @@ 'use strict';

render: function render() {
return // eslint-disable-line no-extra-parens
React.createElement(
'li',
{ className: this.getSuggestClasses(),
onClick: this.onClick },
this.props.suggest.label
return ( // eslint-disable-line no-extra-parens
React.createElement(
'li',
{ className: this.getSuggestClasses(),
onClick: this.onClick },
this.props.suggest.label
)
);

@@ -44,0 +45,0 @@ },

{
"name": "react-geosuggest",
"version": "1.4.2",
"version": "1.4.3",
"description": "A React autosuggest for the Google Maps Places API.",

@@ -40,3 +40,3 @@ "main": "module/Geosuggest.js",

"js:example": "browserify example/src/app.js -t babelify --extension=.jsx> example/dist/app.js",
"js:example:uglify": "uglifyjs example/dist/app.js -o example/dist/app.js -c warnings=false,drop_console=true --mangle",
"js:example:uglify": "uglifyjs example/dist/app.js -o example/dist/app.js -c warnings=false --mangle",
"js:browser": "browserify src/Geosuggest.jsx --standalone Geosuggest --exclude react -t babelify --extension=.jsx > dist/react-geosuggest.js",

@@ -43,0 +43,0 @@ "js:browser:uglify": "uglifyjs dist/react-geosuggest.js -o dist/react-geosuggest.min.js -c warnings=false,drop_console=true --mangle",

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