[Pkg-javascript-commits] [node-module-deps] 435/444: use nextTick to get back 0.8 support

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:21 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-module-deps.

commit 8fce20573ffcb8a87ae7272b2704a0cf61410ae1
Author: substack <substack at 9nTgtYmvW4HID6ayt6Icwc8WZxdifx5SlSKKIX/X/1g=.ed25519>
Date:   Mon Feb 13 21:25:05 2017 -1000

    use nextTick to get back 0.8 support
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index c4d5a4b..45cbeac 100644
--- a/index.js
+++ b/index.js
@@ -28,7 +28,7 @@ function Deps (opts) {
     
     this.basedir = opts.basedir || process.cwd();
     this.persistentCache = opts.persistentCache || function (file, id, pkg, fallback, cb) {
-        setImmediate(function () {
+        process.nextTick(function () {
             fallback(null, cb);
         });
     };

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-module-deps.git



More information about the Pkg-javascript-commits mailing list