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

furkot-directions

Package Overview
Dependencies
Maintainers
2
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

furkot-directions - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

5

History.md
1.0.2 / 2018-07-07
==================
* fix units for Valhalla
1.0.1 / 2018-06-22

@@ -3,0 +8,0 @@ ==================

8

lib/service/valhalla/index.js

@@ -10,4 +10,4 @@ // https://github.com/valhalla/valhalla-docs

var units = {
km: 'km',
m: 'mi'
km: 'kilometers',
m: 'miles'
};

@@ -89,3 +89,3 @@ var costing = {

directions_options: {
unit: units[query.units] || units.m
units: units[query.units] || units.m
}

@@ -131,3 +131,3 @@ };

directions: directions,
unitMultiplier: query.units === 'km' ? util.metersInKm : util.metersInMile,
unitMultiplier: query.units !== 'km' ? util.metersInMile : util.metersInKm,
fullPath: fullPath

@@ -134,0 +134,0 @@ });

{
"name": "furkot-directions",
"version": "1.0.1",
"version": "1.0.2",
"description": "Directions service for Furkot",

@@ -5,0 +5,0 @@ "author": {

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