New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@placekit/autocomplete-js

Package Overview
Dependencies
Maintainers
2
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@placekit/autocomplete-js - npm Package Compare versions

Comparing version 2.1.8 to 2.2.0

2

dist/placekit-autocomplete.d.ts

@@ -1,2 +0,2 @@

/*! @placekit/autocomplete-js v2.1.8 | © placekit.io | MIT license | https://github.com/placekit/autocomplete-js#readme */
/*! @placekit/autocomplete-js v2.2.0 | © placekit.io | MIT license | https://github.com/placekit/autocomplete-js#readme */
import type { PKOptions, PKResult } from '@placekit/client-js';

@@ -3,0 +3,0 @@

{
"name": "@placekit/autocomplete-js",
"version": "2.1.8",
"version": "2.2.0",
"author": "PlaceKit <support@placekit.io>",
"description": "PlaceKit Autocomplete JavaScript library",
"keywords": [
"addresses",
"autocomplete",
"geocoder",
"geocoding",
"locations",
"search"
],
"license": "MIT",

@@ -45,12 +53,12 @@ "homepage": "https://github.com/placekit/autocomplete-js#readme",

"@rollup/plugin-node-resolve": "^15.2.3",
"autoprefixer": "^10.4.16",
"eslint": "^8.55.0",
"autoprefixer": "^10.4.17",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-prettier": "^5.1.3",
"npm-watch": "^0.11.0",
"postcss": "^8.4.32",
"postcss": "^8.4.35",
"postcss-banner": "^4.0.1",
"prettier": "^3.1.1",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.8.0",
"rollup": "^4.12.0",
"rollup-plugin-cleanup": "^3.2.1",

@@ -61,5 +69,5 @@ "rollup-plugin-copy": "^3.5.0",

"dependencies": {
"@placekit/client-js": "^2.2.0",
"@placekit/client-js": "^2.3.0",
"@popperjs/core": "^2.11.8"
}
}

@@ -54,5 +54,5 @@ <h1 align="center">

rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@placekit/autocomplete-js@2.1.6/dist/placekit-autocomplete.min.css"
href="https://cdn.jsdelivr.net/npm/@placekit/autocomplete-js@latest/dist/placekit-autocomplete.min.css"
/>
<script src="https://cdn.jsdelivr.net/npm/@placekit/autocomplete-js@2.1.6"></script>
<script src="https://cdn.jsdelivr.net/npm/@placekit/autocomplete-js@latest"></script>
```

@@ -76,3 +76,3 @@

<script type="module">
import placekitAutocomplete from 'https://cdn.jsdelivr.net/npm/@placekit/autocomplete-js@2.1.6/dist/placekit-autocomplete.esm.js';
import placekitAutocomplete from 'https://cdn.jsdelivr.net/npm/@placekit/autocomplete-js@latest/dist/placekit-autocomplete.esm.mjs';
const pka = placekitAutocomplete(/* ... */);

@@ -173,3 +173,3 @@ // ...

| `language` | JS client | `string?` | `undefined` | Preferred language for the results<sup>[(3)](#ft3)</sup>, [two-letter ISO](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language code. Supported languages are `en` and `fr`. By default the results are displayed in their country's language. |
| `types` | JS client | `string[]?` | `undefined` | Type of results to show. Array of accepted values: `street`, `city`, `country`, `airport`, `bus`, `train`, `townhall`, `tourism`. Prepend `-` to omit a type like `['-bus']`. Unset to return all. |
| `types` | JS client | `string[]?` | `undefined` | Type of results to show. Array of accepted values: `street`, `city`, `country`, `administrative`, `county`, `airport`, `bus`, `train`, `townhall`, `tourism`. Prepend `-` to omit a type like `['-bus']`. Unset to return all. |
| `countries` | JS client | `string[]?` | `undefined` | Restrict search in specific countries. Array of [two-letter ISO](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes<sup>[(3)](#ft3)</sup>. |

@@ -499,2 +499,4 @@ | `coordinates` | JS client | `string?` | `undefined` | Coordinates to search around. Automatically set when calling [`pka.requestGeolocation()`](#pkarequestgeolocation). |

--pka-icon-street: var(--pka-icon-pin);
--pka-icon-administrative: var(--pka-icon-pin);
--pka-icon-county: var(--pka-icon-pin);
--pka-icon-city: url('...');

@@ -526,3 +528,3 @@ --pka-icon-airport: url('...');

For advanced customization, refer to our [stylesheet](./src/placekit.css) to learn about the available classes if you need to either override some or start a theme from scratch.
For advanced customization, refer to our [stylesheet](./src/placekit-autocomplete.css) to learn about the available classes if you need to either override some or start a theme from scratch.

@@ -529,0 +531,0 @@ ## ⚠️ Additional notes

Sorry, the diff of this file is too big to display

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 too big to display

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