[Pkg-javascript-commits] [node-module-deps] 290/444: emit package events

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:48:06 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 707634bebad048c17c951d133f7b2247d7768f4f
Author: James Halliday <mail at substack.net>
Date:   Thu Jul 24 21:12:17 2014 -0700

    emit package events
---
 index.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/index.js b/index.js
index 7be8118..259fd48 100644
--- a/index.js
+++ b/index.js
@@ -246,6 +246,7 @@ Deps.prototype.walk = function (id, parent, cb) {
         if (rec.expose) {
             self.options.modules[rec.expose] = file;
         }
+        if (pkg) self.emit('package', pkg);
         
         if (opts.postFilter && !opts.postFilter(id, file, pkg)) {
             if (--self.pending === 0) self.push(null);

-- 
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