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

google-location-autocomplete-react

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-location-autocomplete-react - npm Package Compare versions

Comparing version 1.0.13 to 1.0.14

13

dist/GoogleLocationAutocomplete.js

@@ -37,5 +37,5 @@ var __assign = (this && this.__assign) || function () {

});
if (defaultValue) {
autocomplete_1.setValue(defaultValue);
}
// if (defaultValue) {
// autocomplete.setValue(defaultValue);
// }
}

@@ -56,2 +56,9 @@ };

loadScript();
return function () {
var url = "https://maps.googleapis.com/maps/api/js?key=".concat(apiKey, "&libraries=places&callback=initAutocomplete");
var script = document.querySelector("script[src=\"".concat(url, "\"]"));
if (script) {
script.remove();
}
};
}, [apiKey]);

@@ -58,0 +65,0 @@ return (_jsx("input", __assign({ ref: inputRef, type: "text" }, props)));

{
"name": "google-location-autocomplete-react",
"version": "1.0.13",
"version": "1.0.14",
"main": "dist/GoogleLocationAutocomplete.js",

@@ -5,0 +5,0 @@ "types": "dist/GoogleLocationAutocomplete.d.ts",

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