Socket
Socket
Sign inDemoInstall

google-map-js

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

google-map-js - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

2

package.json
{
"name": "google-map-js",
"version": "1.0.8",
"version": "1.0.9",
"description": "Pass form latitude longititude and to latitude longitude to get the route for the two points with google api.",

@@ -5,0 +5,0 @@ "main": "server.js",

#!/usr/bin/env node
const { Client } = require('@googlemaps/google-maps-services-js');
// Create a new client instance
const client = new Client({});

@@ -41,3 +43,3 @@

mode: travelMode.trim().toLowerCase(),
optimize: optimize.trim().toLowerCase(),
optimize: typeof optimize === 'boolean' ? optimize : Boolean(optimize.trim().toLowerCase()),
key: googleMapApiKey

@@ -124,4 +126,2 @@ },

try {
// Create a new client instance
const client = new Client({});

@@ -128,0 +128,0 @@ // Define the address you want to geocode

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