pouchdb-mapreduce-utils
Advanced tools
Comparing version 6.0.7 to 6.1.0
@@ -8,2 +8,3 @@ 'use strict'; | ||
var argsarray = _interopDefault(require('argsarray')); | ||
var pouchdbUtils = require('pouchdb-utils'); | ||
@@ -13,7 +14,7 @@ var promisedCallback = function (promise, callback) { | ||
promise.then(function (res) { | ||
process.nextTick(function () { | ||
pouchdbUtils.nextTick(function () { | ||
callback(null, res); | ||
}); | ||
}, function (reason) { | ||
process.nextTick(function () { | ||
pouchdbUtils.nextTick(function () { | ||
callback(reason); | ||
@@ -20,0 +21,0 @@ }); |
{ | ||
"name": "pouchdb-mapreduce-utils", | ||
"version": "6.0.7", | ||
"version": "6.1.0", | ||
"description": "PouchDB utilities used by pouchdb-mapreduce.", | ||
@@ -16,4 +16,5 @@ "main": "./lib/index.js", | ||
"dependencies": { | ||
"argsarray": "0.0.1" | ||
"argsarray": "0.0.1", | ||
"pouchdb-utils": "6.1.0" | ||
} | ||
} |
import argsarray from 'argsarray'; | ||
import { nextTick } from 'pouchdb-utils'; | ||
@@ -6,7 +7,7 @@ var promisedCallback = function (promise, callback) { | ||
promise.then(function (res) { | ||
process.nextTick(function () { | ||
nextTick(function () { | ||
callback(null, res); | ||
}); | ||
}, function (reason) { | ||
process.nextTick(function () { | ||
nextTick(function () { | ||
callback(reason); | ||
@@ -13,0 +14,0 @@ }); |
15916
135
2
+ Addedpouchdb-utils@6.1.0
+ Addedclone-buffer@1.0.0(transitive)
+ Addeddebug@2.3.2(transitive)
+ Addedimmediate@3.0.6(transitive)
+ Addedinherits@2.0.3(transitive)
+ Addedlie@3.1.0(transitive)
+ Addedms@0.7.2(transitive)
+ Addedpouchdb-collections@6.1.0(transitive)
+ Addedpouchdb-errors@6.1.0(transitive)
+ Addedpouchdb-promise@6.1.0(transitive)
+ Addedpouchdb-utils@6.1.0(transitive)