Skip to content

Commit 2014f51

Browse files
author
James Halliday
committed
Merge branch 'master' into streams3
2 parents 6769486 + 9112e32 commit 2014f51

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

index.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -181,11 +181,9 @@ Deps.prototype.resolve = function (id, parent, cb) {
181181

182182
Deps.prototype.readFile = function (file, id, pkg) {
183183
var self = this;
184-
var tr = through();
185-
186-
var inputSource = this.fileCache && this.fileCache[file];
187-
if (inputSource) {
188-
tr.push(inputSource);
184+
if (xhas(this.fileCache, file)) {
185+
var tr = through();
186+
tr.push(this.fileCache[file]);
189187
tr.push(null);
190188
return tr;
191189
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "module-deps",
3-
"version": "3.9.0",
3+
"version": "3.9.1",
44
"description": "walk the dependency graph to generate json output that can be fed into browser-pack",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)