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.1.1 to 1.1.2

7

History.md
1.1.2 / 2018-12-15
==================
* replace strategy with run-waterfall-until
* optimize checking for valid polyline before decoding
* pass decode factor property to google polyline
1.1.1 / 2018-12-07

@@ -3,0 +10,0 @@ ==================

2

lib/directions.js

@@ -1,2 +0,2 @@

var strategy = require('./strategy');
var strategy = require('run-waterfall-until');
var travelMode = require('./model').travelMode;

@@ -3,0 +3,0 @@ var util = require('./service/util');

@@ -33,3 +33,3 @@ var pathType = require("../../model").pathType;

var directions = result.directions, route;
result.path = path.points && util.decode(path.points);
result.path = util.decode(path.points);
route = {

@@ -36,0 +36,0 @@ duration: Math.round((path.time || 0) / 1000),

@@ -112,3 +112,3 @@ var pathType = require("../../model").pathType;

directions: directions,
path: geometry && util.decode(geometry),
path: util.decode(geometry),
waypoints: response.routes[0].way_points

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

@@ -42,3 +42,3 @@ // https://github.com/valhalla/valhalla-docs

var directions = result.directions, route;
result.path = leg.shape && util.decode(leg.shape, 1e6);
result.path = util.decode(leg.shape, { factor: 1e6 });
route = {

@@ -45,0 +45,0 @@ duration: (leg.summary && leg.summary.time) || 0,

{
"name": "furkot-directions",
"version": "1.1.1",
"version": "1.1.2",
"description": "Directions service for Furkot",

@@ -24,3 +24,3 @@ "author": {

"run-series": "^1.1.4",
"run-waterfall": "^1.1.3",
"run-waterfall-until": "~1",
"vis-why": "^1.2.2"

@@ -27,0 +27,0 @@ },

Sorry, the diff of this file is not supported yet

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