google-react-maps
Advanced tools
Comparing version 1.2.26 to 1.2.27
@@ -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; |
@@ -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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 2 instances in 1 package
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
4632556
2
15
2
- Removedmarkerwithlabel@2.0.2(transitive)