Socket
Socket
Sign inDemoInstall

mapbox

Package Overview
Dependencies
Maintainers
3
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mapbox - npm Package Compare versions

Comparing version 0.8.1 to 0.8.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## 0.8.2
- Fixes geocodeReverse method
## 0.8.1

@@ -2,0 +6,0 @@

2

lib/constants.js

@@ -6,3 +6,3 @@ // We keep all of the constants that declare endpoints in one

module.exports.API_GEOCODER_FORWARD = '/v4/geocode/{dataset}/{query}.json';
module.exports.API_GEOCODER_REVERSE = '/v4/geocode/{dataset}/{location.longitude},{location.latitude}.json';
module.exports.API_GEOCODER_REVERSE = '/v4/geocode/{dataset}/{longitude},{latitude}.json';
module.exports.API_DIRECTIONS = '/v4/directions/{profile}/{encodedWaypoints}.json';

@@ -9,0 +9,0 @@ module.exports.API_DISTANCE = '/distances/v1/mapbox/{profile}';

@@ -125,3 +125,4 @@ 'use strict';

params: {
location: location,
longitude: location.longitude,
latitude: location.latitude,
dataset: dataset

@@ -128,0 +129,0 @@ },

{
"name": "mapbox",
"version": "0.8.1",
"version": "0.8.2",
"description": "interface to mapbox services",

@@ -42,2 +42,4 @@ "main": "lib/mapbox.js",

"tap": "^1.3.1",
"browser-process-hrtime": "^0.1.2",
"browser-stdout": "1.3.0",
"tap-status": "^1.0.1",

@@ -47,5 +49,2 @@ "uglifyjs": "^2.4.10"

"dependencies": {
"browser-process-hrtime": "^0.1.2",
"browser-stdout": "1.3.0",
"es6-template-strings": "^1.0.0",
"geojsonhint": "^1.1.0",

@@ -52,0 +51,0 @@ "hat": "0.0.3",

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