react-geosuggest-plus
Advanced tools
Comparing version 1.13.4 to 1.13.5
@@ -69,2 +69,3 @@ /* global google */ | ||
this.geocoder = new googleMaps.Geocoder(); | ||
this._isMounted = true; | ||
} | ||
@@ -83,2 +84,7 @@ | ||
} | ||
}, { | ||
key: 'componentWillUnmount', | ||
value: function componentWillUnmount() { | ||
this._isMounted = false; | ||
} | ||
@@ -261,3 +267,5 @@ /** | ||
setTimeout(function () { | ||
_this5.setState({ isSuggestsHidden: true }); | ||
if (_this5._isMounted) { | ||
_this5.setState({ isSuggestsHidden: true }); | ||
} | ||
}, 100); | ||
@@ -264,0 +272,0 @@ } |
{ | ||
"name": "react-geosuggest-plus", | ||
"version": "1.13.4", | ||
"version": "1.13.5", | ||
"description": "A React autosuggest for the Google Maps Places API.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/Geosuggest", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
40452
604
0