Socket
Socket
Sign inDemoInstall

google-react-maps

Package Overview
Dependencies
7
Maintainers
2
Versions
133
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.26 to 1.2.27

1

dist/components/customOverlay.js

@@ -56,3 +56,2 @@ 'use strict';

GMCustomOverlay.prototype.onRemove = function () {
console.log("Remove");
this.div_.parentNode.removeChild(this.div_);

@@ -59,0 +58,0 @@ this.div_ = null;

6

dist/components/map.js

@@ -163,3 +163,5 @@ 'use strict';

}
return bounds ? !this.state.map.getBounds().equals(bounds) : false;
var mapBounds = this.state.map.getBounds();
return bounds && mapBounds ? !mapBounds.equals(bounds) : false;
}

@@ -302,3 +304,3 @@ }, {

// if(!window.maps)
mapsapi(this.props["api-key"], 3.31, ['drawing', 'geometry', 'places'])().then(initMapComponentWithLibrary);
mapsapi(this.props["api-key"], 3.32, ['drawing', 'geometry', 'places'])().then(initMapComponentWithLibrary);
// else

@@ -305,0 +307,0 @@ // initMapComponentWithLibrary(window.maps);

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

SearchBox.PropTypes = {
SearchBox.propTypes = {
placeholder: _propTypes2.default.string,

@@ -182,0 +182,0 @@ position: _propTypes2.default.string.isRequired,

{
"name": "google-react-maps",
"version": "1.2.26",
"version": "1.2.27",
"description": "A more powerfully custom version of the Google Maps Javascript API built for React. Multiple Datalayer support. GEOJSON Enabled.",
"main": "dist/components/index.js",
"scripts": {
"prepublish": "babel ./src --out-dir ./dist --source-maps --presets react,es2015 --plugins add-module-exports",
"prepublish": "./node_modules/.bin/babel ./src --out-dir ./dist --source-maps --presets react,es2015 --plugins add-module-exports",
"test": "jest",

@@ -46,12 +46,13 @@ "start-dev": "node_modules/.bin/webpack-dev-server",

"classnames": "^2.2.5",
"google-maps-api": "DavidDionise/google-maps-api",
"google-maps-api": "github:DavidDionise/google-maps-api",
"marker-clusterer-plus": "^2.1.4",
"markerwithlabel": "^2.0.0",
"markerwithlabel": "github:egdbear/node-MarkerWithLabel",
"prop-types": "^15.6.0"
},
"peerDependancies": {
"react": "^15.6.2",
"react-dom": "^15.6.2"
"react": "^16.4.2",
"react-dom": "^16.4.2"
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-core": "^6.13.2",

@@ -58,0 +59,0 @@ "babel-loader": "^6.2.4",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc