Socket
Socket
Sign inDemoInstall

googlemaps

Package Overview
Dependencies
40
Maintainers
2
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.0 to 1.5.0

1

lib/config/constants.json

@@ -41,2 +41,3 @@ {

"latlng": "string",
"place_id": "string",
"result_type": "string",

@@ -43,0 +44,0 @@ "language": "string",

4

lib/reverseGeocode.js

@@ -31,4 +31,4 @@ /**

if (args.latlng == null) {
return callback(new Error('params.latlng is required'));
if (args.latlng == null && args.place_id == null) {
return callback(new Error('params.latlng/params.place_id is required'));
}

@@ -35,0 +35,0 @@

@@ -16,4 +16,6 @@ /**

var json;
try {
callback(err, JSON.parse(jsonString));
json = JSON.parse(jsonString);
} catch (e) {

@@ -23,4 +25,6 @@ return callback(e);

callback(err, json);
};
};
{
"name": "googlemaps",
"version": "1.4.0",
"version": "1.5.0",
"main": "lib/index",

@@ -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