Comparing version 2.0.4 to 2.0.5
@@ -25,7 +25,9 @@ "use strict"; | ||
var method = fsSyncMethods_1[_i]; | ||
fs[method] = vol[method].bind(vol); | ||
if (typeof vol[method] === 'function') | ||
fs[method] = vol[method].bind(vol); | ||
} | ||
for (var _a = 0, fsAsyncMethods_1 = fsAsyncMethods; _a < fsAsyncMethods_1.length; _a++) { | ||
var method = fsAsyncMethods_1[_a]; | ||
fs[method] = vol[method].bind(vol); | ||
if (typeof vol[method] === 'function') | ||
fs[method] = vol[method].bind(vol); | ||
} | ||
@@ -32,0 +34,0 @@ fs.StatWatcher = volume_1.StatWatcher.bind(null, vol); |
{ | ||
"name": "memfs", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "In-memory file-system with Node's fs API.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
297812
4027