Socket
Socket
Sign inDemoInstall

@mapbox/search-js-core

Package Overview
Dependencies
Maintainers
14
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/search-js-core - npm Package Compare versions

Comparing version 1.0.0-beta.7 to 1.0.0-beta.8

41

dist/autofill/types.d.ts
import { LngLatBoundsLike } from '../LngLatBounds';
/**
* @typedef AutofillMatchCodeConfidence
*/
export declare enum AutofillMatchCodeConfidence {
/**
* An exact match.
*/
exact = "exact",
/**
* High confidence of a match.
*/
high = "high",
/**
* Medium confidence of a match.
*/
medium = "medium",
/**
* Low confidence of a match.
*/
low = "low"

@@ -11,11 +26,37 @@ }

* Includes boolean flags denoting matches for each address sub-component.
*
* @typedef AutofillMatchCode
*/
export interface AutofillMatchCode {
/**
* A measure of confidence that the returned feature suggestion matches the intended address, based on the search text provided.
*/
confidence: AutofillMatchCodeConfidence;
/**
* True if the confidence value is "exact".
*/
exact_match: boolean;
/**
* True if the house number component was matched.
*/
house_number: boolean;
/**
* True if the street component was matched.
*/
street: boolean;
/**
* True if the postcode was matched.
*/
postcode: boolean;
/**
* True if the place component was matched.
*/
place: boolean;
/**
* True if the region component was matched.
*/
region?: boolean;
/**
* True if the locality component was matched.
*/
locality?: boolean;

@@ -22,0 +63,0 @@ }

2

package.json
{
"name": "@mapbox/search-js-core",
"version": "1.0.0-beta.7",
"version": "1.0.0-beta.8",
"description": "Platform agnostic wrappers for the Search API and Geocoding API.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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 not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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