[Pkg-javascript-commits] [node-module-deps] 26/444: take out the row.source check since this breaks multi-bundle in browserify downstream

Bastien Roucariès rouca at moszumanska.debian.org
Fri Dec 15 09:47:40 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 e64a030bf61cc8984e42f5abaea4f09d2680ccd9
Author: James Halliday <mail at substack.net>
Date:   Sat Feb 23 14:39:46 2013 -0800

    take out the row.source check since this breaks multi-bundle in browserify downstream
---
 index.js     | 2 +-
 package.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index 3d700d1..a846001 100644
--- a/index.js
+++ b/index.js
@@ -63,7 +63,7 @@ module.exports = function (mains, opts) {
     
     function walk (rows) {
         rows.forEach(function (row) {
-            if (row.source === undefined || files[row.filename]) return;
+            if (files[row.filename]) return;
             var r = files[row.filename] = {
                 id: row.filename,
                 source: row.source,
diff --git a/package.json b/package.json
index 683448a..03b2997 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "module-deps",
-    "version": "0.2.5",
+    "version": "0.2.6",
     "description": "walk the dependency graph to generate json output that can be fed into browser-pack",
     "main": "index.js",
     "bin": {

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