pouchdb-mapreduce-utils
Advanced tools
Comparing version
@@ -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
0.7%135
1.5%2
100%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added