Permalink
Browse files

Merge pull request #121 from chesles/use-extend

use extend module instead of util._extend
  • Loading branch information...
2 parents b93e4ae + 8ddb217 commit ce5cf11e71db8fea5b3db3835d72276943a612e5 @dscape committed Jan 6, 2013
Showing with 4 additions and 3 deletions.
  1. +2 −2 nano.js
  2. +2 −1 package.json
View
@@ -18,7 +18,7 @@ var request = require('request').defaults({ jar: false })
, fs = require('fs')
, qs = require('querystring')
, u = require('url')
- , util = require('util')
+ , extend = require('extend')
, errs = require('errs')
, follow
, nano
@@ -106,7 +106,7 @@ module.exports = exports = nano = function database_module(cfg) {
}
var log = logging()
- , params = util._extend({}, opts.params)
+ , params = extend({}, opts.params)
, headers = { "content-type": "application/json"
, "accept" : "application/json"
}
View
@@ -37,6 +37,7 @@
{ "request" : "2.12.x"
, "follow" : "0.8.x"
, "errs" : "0.2.x"
+ , "extend" : "1.1.x"
}
, "devDependencies" :
{ "async" : "0.1.x"
@@ -51,4 +52,4 @@
}
, "main" : "./nano.js"
, "engines" : { "node": ">=0.3.6" }
-}
+}

0 comments on commit ce5cf11

Please sign in to comment.