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

react-google-maps

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-google-maps - npm Package Compare versions

Comparing version 4.6.1 to 4.6.2

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="4.6.2"></a>
## [4.6.2](https://github.com/tomchentw/react-google-maps/compare/v4.6.1...v4.6.2) (2015-12-07)
### Features
* **SearchBox:** add placeholder props to the underlying input element ([e6a6a02](https://github.com/tomchentw/react-google-maps/commit/e6a6a02)), closes [#115](https://github.com/tomchentw/react-google-maps/issues/115) [#136](https://github.com/tomchentw/react-google-maps/issues/136)
<a name="4.6.1"></a>

@@ -2,0 +12,0 @@ ## [4.6.1](https://github.com/tomchentw/react-google-maps/compare/v4.6.0...v4.6.1) (2015-12-03)

4

lib/SearchBox.js

@@ -80,4 +80,5 @@ "use strict";

var style = _props.style;
var placeholder = _props.placeholder;
var searchBoxProps = _objectWithoutProperties(_props, ["mapHolderRef", "classes", "style"]);
var searchBoxProps = _objectWithoutProperties(_props, ["mapHolderRef", "classes", "style", "placeholder"]);

@@ -89,2 +90,3 @@ // Cannot create input via component - Google Maps will mess with React's internal state by detaching/attaching.

domEl.type = "text";
domEl.placeholder = placeholder;

@@ -91,0 +93,0 @@ for (var propKey in style) {

{
"__template__gist__": "https://gist.github.com/tomchentw/368a93bb748ad9d576f1#file-package-json",
"name": "react-google-maps",
"version": "4.6.1",
"version": "4.6.2",
"description": "React.js Google Maps integration component",

@@ -6,0 +6,0 @@ "main": "lib/index.js",

@@ -49,3 +49,3 @@ import {

}
const {mapHolderRef, classes, style, ...searchBoxProps} = this.props;
const {mapHolderRef, classes, style, placeholder, ...searchBoxProps} = this.props;

@@ -57,3 +57,4 @@ // Cannot create input via component - Google Maps will mess with React's internal state by detaching/attaching.

domEl.type = "text";
domEl.placeholder = placeholder;
for (var propKey in style) {

@@ -60,0 +61,0 @@ if (style.hasOwnProperty(propKey)) {

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