google-locations
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -34,3 +34,2 @@ var https = require('https'), | ||
radius: 10, | ||
name: 'A', | ||
language: 'en', | ||
@@ -37,0 +36,0 @@ rankby: 'prominence', |
{ | ||
"name": "google-locations", | ||
"description": "Google Places API for Node.js, with convenience methods to search by address or phone number", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"license": "MIT", | ||
"homepage": "http://github.com/eastbayjake/google-locations", | ||
"author": "Jake McGuire <mcguireghs@gmail.com>", | ||
"contributors": [], | ||
"keywords": ["Google Places", "Places API", "Google Geocoding", "Geocoding API", "search by address", "search by phone"], | ||
"license": "MIT", | ||
"scripts":{"test":"vows test/* --spec"}, | ||
"scripts": { | ||
"test": "node ./test/index.test.js" | ||
}, | ||
"repository": { | ||
@@ -15,5 +16,10 @@ "type": "git", | ||
}, | ||
"dependencies": ["underscore"], | ||
"devDependencies": ["vows", "node-fakeweb"], | ||
"dependencies": { | ||
"underscore": "^1.8.3" | ||
}, | ||
"devDependencies": { | ||
"vows": "^0.8.1", | ||
"node-fakeweb": "^0.0.20" | ||
}, | ||
"main": "./lib/google-locations.js" | ||
} |
@@ -43,4 +43,4 @@ [![build status](https://secure.travis-ci.org/eastbayjake/google-locations.png)](http://travis-ci.org/eastbayjake/google-locations) | ||
locations.details({placeid: response.results[0].place_id}, function(err, response) { | ||
console.log("search details: ", response.result.website); | ||
// search details: http://www.vermonster.com/ | ||
console.log("search details: ", response.result.name); | ||
// search details: Google | ||
}); | ||
@@ -47,0 +47,0 @@ }); |
@@ -16,3 +16,3 @@ var GoogleLocations = require('../lib/google-locations'), | ||
fakeweb.registerUri({ | ||
uri: 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=37.4229181%2C-122.0854212&radius=10&name=A&language=en&rankby=prominence&key=fake_key', | ||
uri: 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=37.4229181%2C-122.0854212&radius=10&language=en&rankby=prominence&key=fake_key', | ||
body: '{"results" : [{"name": "Google", "place_id":"ABC123"}], "status" : "OK"}' | ||
@@ -22,3 +22,3 @@ }); | ||
fakeweb.registerUri({ | ||
uri: 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=37.4229181%2C-122.0854212&rankby=prominence&radius=250&name=A&language=en&key=fake_key', | ||
uri: 'https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=37.4229181%2C-122.0854212&rankby=prominence&radius=250&language=en&key=fake_key', | ||
body: '{"results" : [{"name": "Google", "place_id":"ABC123"}, {"name": "Gooey Cookie Factory", "place_id":"DEF456"}], "status" : "OK"}' | ||
@@ -25,0 +25,0 @@ }); |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Bad dependency semver
QualityPackage has dependencies with an invalid semantic version. This could be a sign of beta, low quality, or unmaintained dependencies.
Found 1 instance in 1 package
1
1
33932
435
+ Addedunderscore@^1.8.3
+ Addedunderscore@1.13.6(transitive)
- Removed0@underscore