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

@types/mapbox-gl

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/mapbox-gl - npm Package Compare versions

Comparing version 0.43.0 to 0.43.1

15

mapbox-gl/index.d.ts

@@ -164,3 +164,3 @@ // Type definitions for Mapbox GL JS v0.43.0

fitBounds(bounds: LngLatBoundsLike, options?: { linear?: boolean, easing?: Function, padding?: number | mapboxgl.PaddingOptions, offset?: PointLike, maxZoom?: number }, eventData?: mapboxgl.EventData): this;
fitBounds(bounds: LngLatBoundsLike, options?: mapboxgl.FitBoundsOptions, eventData?: mapboxgl.EventData): this;

@@ -408,6 +408,2 @@ jumpTo(options: mapboxgl.CameraOptions, eventData?: mapboxgl.EventData): this;

export class FitBoundsOptions {
maxZoom?: number;
}
/**

@@ -877,2 +873,11 @@ * Geolocate

export interface FitBoundsOptions extends mapboxgl.FlyToOptions {
linear?: boolean;
easing?: Function;
padding?: number | mapboxgl.PaddingOptions;
offset?: mapboxgl.PointLike;
maxZoom?: number;
maxDuration?: number;
}
/**

@@ -879,0 +884,0 @@ * MapEvent

{
"name": "@types/mapbox-gl",
"version": "0.43.0",
"version": "0.43.1",
"description": "TypeScript definitions for Mapbox GL JS",

@@ -27,4 +27,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "e3b8ee1da26c24996ff78f3ee175c1b4950d37ed06a047463211213b30b1bd1f",
"typesPublisherContentHash": "982d7c354115e542c871a5b87538e4a2d8b3e9f8a54aee3993d4dec0f10ad8f6",
"typeScriptVersion": "2.3"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Fri, 12 Jan 2018 18:52:17 GMT
* Last updated: Tue, 23 Jan 2018 20:05:42 GMT
* Dependencies: geojson

@@ -14,0 +14,0 @@ * Global values: mapboxgl

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