Socket
Socket
Sign inDemoInstall

getaddress-autocomplete

Package Overview
Dependencies
1
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "getaddress-autocomplete",
"version": "1.1.2",
"version": "1.1.3",
"description": "GetAddress.io - Autocomplete plug-in",

@@ -5,0 +5,0 @@ "main": "./dist/getaddress-autocomplete.mjs",

@@ -153,4 +153,12 @@ import AttributeValues from "./AttributeValues";

{
const suggestionIndex = suggestions.indexOf(event.target as HTMLElement);
this.handleSuggestionSelected(event, suggestionIndex);
var element = event.target
while(element instanceof HTMLElement && element.tagName !== "LI")
{
element = element.parentElement;
}
const suggestionIndex = suggestions.indexOf(element as HTMLElement);
this.handleSuggestionSelected(event, suggestionIndex);
}

@@ -157,0 +165,0 @@ }

@@ -32,3 +32,3 @@ import {AutocompleteFilter} from "getaddress-api";

auto_calc_list_height= true;
suggestion_template= undefined;
suggestion_template= "{formatted_address}{postcode,, }{postcode}";
filter:AutocompleteFilter=undefined;

@@ -35,0 +35,0 @@ bind_output_fields=true;

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc