Socket
Socket
Sign inDemoInstall

googlemaps

Package Overview
Dependencies
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

googlemaps - npm Package Compare versions

Comparing version 0.1.15 to 0.1.16

4

lib/googlemaps.js

@@ -153,3 +153,4 @@ var qs = require('querystring'),

// departureTime and arrivalTime must be passed as UNIX timestamp => Math.floor((new Date()).getTime()/1000)
exports.directions = function(origin, destination, callback, sensor, mode, waypoints, alternatives, avoid, units, language, departureTime, arrivalTime) {
exports.directions = function(origin, destination, callback, sensor, mode, waypoints, alternatives, avoid, units, language, departureTime, arrivalTime, region) {
var args = {

@@ -189,2 +190,3 @@ 'origin': origin,

if (language) args.language = language;
if (region) args.region = region;
args.sensor = sensor || 'false';

@@ -191,0 +193,0 @@

{
"name": "googlemaps",
"version": "0.1.15",
"version": "0.1.16",
"main": "./lib/googlemaps",

@@ -5,0 +5,0 @@ "description": "A simple way to query the Google Maps API from Node.js",

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