Skip to content

Commit

Permalink
Merge pull request #20 from Trolleymusic/master
Browse files Browse the repository at this point in the history
Update depencency version number for request
  • Loading branch information
wyattdanger committed Mar 23, 2017
2 parents 7245958 + 2a322d1 commit 9af4c80
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions index.js
Expand Up @@ -10,11 +10,11 @@
* Version
*/

var version = '0.2.1';
var version = '0.2.3';


/**
* Geocoder
* Geocoder
*/

function Geocoder () {
Expand All @@ -30,7 +30,7 @@ Geocoder.prototype = {

/**
* Selects a webservice provider
*
*
* @param {String} name, required
* @param {Object} opts, optional
* @api public
Expand All @@ -50,7 +50,7 @@ Geocoder.prototype = {

/**
* Request geocoordinates of given `loc` from Google
*
*
* @param {String} loc, required
* @param {Function} cbk, required
* @param {Object} opts, optional
Expand All @@ -62,7 +62,7 @@ Geocoder.prototype = {
if ( ! loc ) {
return cbk( new Error( "Geocoder.geocode requires a location.") );
}

return this.providerObj.geocode(this.providerOpts, loc, cbk, opts);

},
Expand All @@ -78,7 +78,7 @@ Geocoder.prototype = {

/**
* Return Geocoder version
*
*
* @api public
*/

Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,7 +1,7 @@
{
"name": "geocoder",
"description": "Geocoding through Google's Developer API",
"version": "0.2.2",
"version": "0.2.3",
"main": "./index.js",
"description": "node wrapper around google's geocoder api",
"author": "Stephen Wyatt Bush <stephen.wyatt@gmail.com>",
Expand All @@ -14,7 +14,7 @@
},
"dependencies" : {
"underscore" : "1.3.3",
"request":"2.11.1"
"request":"^2.75.0"
},
"optionalDependencies": {
"xml2js": "0.2.0"
Expand Down

0 comments on commit 9af4c80

Please sign in to comment.