Socket
Socket
Sign inDemoInstall

googlemaps

Package Overview
Dependencies
2
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.19 to 0.1.20

10

lib/googlemaps.js

@@ -519,4 +519,12 @@ var qs = require('querystring'),

var maxlen = 2048;
var consoleKey = config('console-key');
var path = buildUrl(path, args);
if (consoleKey){
// google requires https when including an apiKey
secure = true;
args.key = consoleKey;
}
path = buildUrl(path, args);
if (path.length > maxlen) {

@@ -523,0 +531,0 @@ error = new Error("Request too long for google to handle (" + maxlen + " characters).");

2

package.json
{
"name": "googlemaps",
"version": "0.1.19",
"version": "0.1.20",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc