Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use extend module instead of util._extend

  • Loading branch information...
commit 8ddb2178dae80823deacc509e9d697e8a8a44c1d 1 parent b93e4ae
@chesles chesles authored
Showing with 4 additions and 3 deletions.
  1. +2 −2 nano.js
  2. +2 −1  package.json
View
4 nano.js
@@ -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
3  package.json
@@ -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" }
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.