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 1.5.0 to 1.5.1

19

mapbox-gl/index.d.ts

@@ -8,2 +8,3 @@ // Type definitions for Mapbox GL JS 1.5

// Liam Clarke <https://github.com/LiamAttClarke>
// Vladimir Dashukevich <https://github.com/life777>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -22,4 +23,22 @@ // TypeScript Version: 3.0

/**
* Number of web workers instantiated on a page with GL JS maps.
* By default, it is set to half the number of CPU cores (capped at 6).
*/
let workerCount: number;
/**
* Maximum number of images (raster tiles, sprites, icons) to load in parallel, which affects performance in raster-heavy maps.
* 16 by default.
*/
let maxParallelImageRequests: number;
export function supported(options?: { failIfMajorPerformanceCaveat?: boolean }): boolean;
/**
* Clears browser storage used by this library. Using this method flushes the Mapbox tile cache that is managed by this library.
* Tiles may still be cached by the browser in some cases.
*/
export function clearStorage(callback?: (err?: Error) => void): void;
export function setRTLTextPlugin(pluginURL: string, callback: (error: Error) => void): void;

@@ -26,0 +45,0 @@ export function getRTLTextPluginStatus(): PluginStatus;

9

mapbox-gl/package.json
{
"name": "@types/mapbox-gl",
"version": "1.5.0",
"version": "1.5.1",
"description": "TypeScript definitions for Mapbox GL JS",

@@ -31,2 +31,7 @@ "license": "MIT",

"githubUsername": "LiamAttClarke"
},
{
"name": "Vladimir Dashukevich",
"url": "https://github.com/life777",
"githubUsername": "life777"
}

@@ -45,4 +50,4 @@ ],

},
"typesPublisherContentHash": "6e0993c0b0e9a600fde04d359aff03a4cbb599c80398f4d11ab9342fe367a83e",
"typesPublisherContentHash": "573c14771f84a0c0b59a4f524cee793093cdff4e53e8be73b42aba18e9b3e763",
"typeScriptVersion": "3.0"
}

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

Additional Details
* Last updated: Fri, 01 Nov 2019 15:13:47 GMT
* Last updated: Tue, 05 Nov 2019 21:50:34 GMT
* Dependencies: @types/geojson

@@ -17,2 +17,2 @@ * Global values: mapboxgl

# Credits
These definitions were written by Dominik Bruderer <https://github.com/dobrud>, Patrick Reames <https://github.com/patrickr>, Karl-Aksel Puulmann <https://github.com/macobo>, Dmytro Gokun <https://github.com/dmytro-gokun>, and Liam Clarke <https://github.com/LiamAttClarke>.
These definitions were written by Dominik Bruderer <https://github.com/dobrud>, Patrick Reames <https://github.com/patrickr>, Karl-Aksel Puulmann <https://github.com/macobo>, Dmytro Gokun <https://github.com/dmytro-gokun>, Liam Clarke <https://github.com/LiamAttClarke>, and Vladimir Dashukevich <https://github.com/life777>.
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