react-leaflet-heatmap-layer
Advanced tools
+3
-0
@@ -0,1 +1,4 @@ | ||
| # 0.2.2 Release | ||
| - Change `getHeatmapProps` signature to take a `props` argument to support passing `nextProps` from `componentWillReceiveProps` and `this.props` from `componentDidMount` | ||
| # 0.2.1 Release | ||
@@ -2,0 +5,0 @@ |
+1
-1
| { | ||
| "name": "react-leaflet-heatmap-layer", | ||
| "version": "0.2.1", | ||
| "version": "0.2.2", | ||
| "description": "A custom layer for heatmaps in react-leaflet", | ||
@@ -5,0 +5,0 @@ "main": "lib/HeatmapLayer.js", |
@@ -100,3 +100,3 @@ import React from 'react'; | ||
| this.attachEvents(); | ||
| this.updateHeatmapProps(this.getHeatmapProps()); | ||
| this.updateHeatmapProps(this.getHeatmapProps(this.props)); | ||
| this.reset(); | ||
@@ -125,10 +125,10 @@ } | ||
| getHeatmapProps() { | ||
| getHeatmapProps(props) { | ||
| return { | ||
| minOpacity: this.getMinOpacity(this.props), | ||
| maxZoom: this.getMaxZoom(this.props), | ||
| radius: this.getRadius(this.props), | ||
| blur: this.getBlur(this.props), | ||
| max: this.getMax(this.props), | ||
| gradient: this.props.gradient | ||
| minOpacity: this.getMinOpacity(props), | ||
| maxZoom: this.getMaxZoom(props), | ||
| radius: this.getRadius(props), | ||
| blur: this.getBlur(props), | ||
| max: this.getMax(props), | ||
| gradient: props.gradient | ||
| }; | ||
@@ -135,0 +135,0 @@ } |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
428479
0.04%