diff options
author | Kat Marchán <kzm@sykosomatic.org> | 2015-06-03 01:51:31 +0300 |
---|---|---|
committer | Kat Marchán <kzm@sykosomatic.org> | 2015-06-03 01:51:31 +0300 |
commit | 60aef3cf5d84d757752db3eb8ede2cb385469e7b (patch) | |
tree | 50ef5bd82979aacf793c3680fbe3bc8c1f4bd78f /node_modules | |
parent | 242cb225820b0e2704af4c3edcadd7a7cf92dc50 (diff) |
graceful-fs@3.0.8
io.js fixes
Diffstat (limited to 'node_modules')
-rw-r--r-- | node_modules/graceful-fs/graceful-fs.js | 2 | ||||
-rw-r--r-- | node_modules/graceful-fs/package.json | 21 | ||||
-rw-r--r-- | node_modules/graceful-fs/test/max-open.js | 4 | ||||
-rw-r--r-- | node_modules/graceful-fs/test/write-then-read.js | 2 |
4 files changed, 15 insertions, 14 deletions
diff --git a/node_modules/graceful-fs/graceful-fs.js b/node_modules/graceful-fs/graceful-fs.js index 77fc702d8..fb206b838 100644 --- a/node_modules/graceful-fs/graceful-fs.js +++ b/node_modules/graceful-fs/graceful-fs.js @@ -128,7 +128,7 @@ Req.prototype.done = function (er, result) { var tryAgain = false if (er) { var code = er.code - var tryAgain = code === "EMFILE" + var tryAgain = code === "EMFILE" || code === "ENFILE" if (process.platform === "win32") tryAgain = tryAgain || code === "OK" } diff --git a/node_modules/graceful-fs/package.json b/node_modules/graceful-fs/package.json index b55ea29e5..c4a98d326 100644 --- a/node_modules/graceful-fs/package.json +++ b/node_modules/graceful-fs/package.json @@ -6,7 +6,7 @@ }, "name": "graceful-fs", "description": "A drop-in replacement for fs, making various improvements.", - "version": "3.0.7", + "version": "3.0.8", "repository": { "type": "git", "url": "git://github.com/isaacs/node-graceful-fs.git" @@ -41,25 +41,25 @@ "devDependencies": { "mkdirp": "^0.5.0", "rimraf": "^2.2.8", - "tap": "^0.4.13" + "tap": "^1.2.0" }, - "gitHead": "4aa1ba4a0a1ae59948dc3b14decb7c4a8ab62bce", + "gitHead": "45c57aa5e323c35a985a525de6f0c9a6ef59e1f8", "bugs": { "url": "https://github.com/isaacs/node-graceful-fs/issues" }, "homepage": "https://github.com/isaacs/node-graceful-fs#readme", - "_id": "graceful-fs@3.0.7", - "_shasum": "e935be4b3e57892d289dc3bef7be8c02779d2b54", - "_from": "graceful-fs@>=3.0.7 <3.1.0", - "_npmVersion": "2.10.0", + "_id": "graceful-fs@3.0.8", + "_shasum": "ce813e725fa82f7e6147d51c9a5ca68270551c22", + "_from": "graceful-fs@>=3.0.8 <3.1.0", + "_npmVersion": "2.10.1", "_nodeVersion": "2.0.1", "_npmUser": { "name": "isaacs", "email": "isaacs@npmjs.com" }, "dist": { - "shasum": "e935be4b3e57892d289dc3bef7be8c02779d2b54", - "tarball": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.7.tgz" + "shasum": "ce813e725fa82f7e6147d51c9a5ca68270551c22", + "tarball": "http://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.8.tgz" }, "maintainers": [ { @@ -67,6 +67,5 @@ "email": "i@izs.me" } ], - "_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.7.tgz", - "readme": "ERROR: No README data found!" + "_resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.8.tgz" } diff --git a/node_modules/graceful-fs/test/max-open.js b/node_modules/graceful-fs/test/max-open.js index 44d52679b..a6b9ba43d 100644 --- a/node_modules/graceful-fs/test/max-open.js +++ b/node_modules/graceful-fs/test/max-open.js @@ -40,13 +40,13 @@ test('open lots of stuff', function (t) { doneCalled++ if (fds.length === 0) { - //console.error('done called %d times', doneCalled) + console.error('done called %d times', doneCalled) // First because of the timeout // Then to close the fd's opened afterwards // Then this time, to complete. // Might take multiple passes, depending on CPU speed // and ulimit, but at least 3 in every case. - t.ok(doneCalled >= 3) + t.ok(doneCalled >= 2) return t.end() } diff --git a/node_modules/graceful-fs/test/write-then-read.js b/node_modules/graceful-fs/test/write-then-read.js index 3a3db54b0..21e4c26bf 100644 --- a/node_modules/graceful-fs/test/write-then-read.js +++ b/node_modules/graceful-fs/test/write-then-read.js @@ -4,6 +4,8 @@ var mkdirp = require('mkdirp'); var test = require('tap').test; var p = require('path').resolve(__dirname, 'files'); +process.chdir(__dirname) + // Make sure to reserve the stderr fd process.stderr.write(''); |