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

@mapbox/mapbox-sdk

Package Overview
Dependencies
Maintainers
28
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mapbox/mapbox-sdk - npm Package Versions

124

0.12.0

Diff

Changelog

Source

0.12.0

  • Add: add bounding box parameter as a position option for Static#getStaticImage.
  • Add: add padding optional parameter for Static#getStaticImage.
mapbox-npm
published 0.11.0 •

Changelog

Source

0.11.0

  • Add: add fresh parameter to Styles#getStyle to bypass the cached version of the style.
  • Add: add routing parameter to Geocoding#forwardGeocode and Geocoding#reverseGeocoding.
  • Add: add driving-traffic profile to Optimization#getOptimization.
  • Add: add sortby parameter to Datasets#listDatasets.
  • Add: add Tilesets#updateTileset.
  • Add: add fallback, mapboxGLVersion and mapboxGLGeocoderVersion to Styles#getEmbeddableHtml.
  • Add: add pagination support to Tilesets#listTilesetJobs and Tilesets#listTilesetSources.
  • Breaking change: Uploads#createUpload's mapId parameter is now tileset, and tilesetName is now name to be consistent across the API. mapId and tilesetName are deprecated, but will still work and may be removed in a future release.
  • Add: add private option to Uploads#createUpload.
  • Fix: fixed an issue where array parameters containing falsy values (e.g. for the proximity parameter in forwardGeocode, where longitude or latitude coordinates are 0) were not being applied correctly.
mapbox-npm-07
published 0.10.0 •

Changelog

Source

0.10.0

  • Add: add new parameters to Tilesets#listTilesets: type, limit, sortBy, start and visibility.
  • Add: add Tilesets#tileJSONMetadata method to retrieve a Tileset TileJSON metadata.
  • Add: add new metadata parameter to Styles#getStyle to preserve mapbox: specific metadata from the style.
  • Add: add new Tilesets methods deleteTileset, createTilesetSource, getTilesetSource, listTilesetSources, deleteTilesetSource, createTileset, publishTileset, tilesetStatus, tilesetJob, listTilesetJobs, getTilesetsQueue, validateRecipe, getRecipe, updateRecipe.
  • Add: add new draft parameter to Styles#getStyle, Styles#deleteStyleIcon and Styles#getStyleSprite, Styles#getEmbeddableHtml to work with draft styles.
  • Fix: Fix responses containing binary data when using Static#getStaticImage, Styles#getStyleSprite and Styles#getFontGlyphRange.
  • Fix: Fix requests for highres sprites in Styles#getStyleSprite.
  • Fix: set position.bearing to 0 if position.pitch is defined and position.bearing is not in the Static API.
  • Fix: use tilesets.getRecipe in tilesets API example.
mapbox-npm-05
published 0.9.0 •

Changelog

Source

0.9.0

  • Add: add Isochrone API service.
mapbox-npm-08
published 0.8.0 •

Changelog

Source

0.8.0

  • Add: add new style parameters to the Static Images API service: addlayer, setfilter, and layer_id.
  • Breaking change: insertOverlayBeforeLayer is now before_layer in the Static Images API service. This change uses the API's name for the field and to support that the field can be used with the new style parameter addlayer.
mapbox-npm-09
published 0.7.1 •

Changelog

Source

0.7.1

  • Fix: add missing geometry key to Tilequery service.
mapbox-npm-03
published 0.7.0 •

Changelog

Source

0.7.0

  • Fix: filter empty waypoints from map matching requests.
  • Fix: fix url token placement for service with clients.
mapbox-npm-01
published 0.6.0 •

Changelog

Source

0.6.0

  • Fix: Tokens#updateToken can now set null value to referrers property to delete the property.
  • Fix: Tokens#updateToken can now set null value to resources property to delete the property.
  • Breaking change: change all references to referrer{s} to allowedUrl{s}.
mapbox-npm-01
published 0.5.0 •

Changelog

Source

0.5.0

  • Add: Config for Tokens#createToken and Tokens#updateToken can now include the referrers property.
mapbox-npm-05
published 0.4.1 •

Changelog

Source

0.4.1

  • Fix: Fix a CORS-related bug that caused Firefox to send preflight OPTIONS requests that were rejected by the server. This bug surfaced in Firefox with the Tilequery API, but may possibly have affected some other endpoints and some other browsers.
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