Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graceful-fs

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graceful-fs - npm Package Compare versions

Comparing version 3.0.7 to 3.0.8

2

graceful-fs.js

@@ -131,3 +131,3 @@ // Monkey-patching the fs module.

var code = er.code
var tryAgain = code === "EMFILE"
var tryAgain = code === "EMFILE" || code === "ENFILE"
if (process.platform === "win32")

@@ -134,0 +134,0 @@ tryAgain = tryAgain || code === "OK"

@@ -5,3 +5,3 @@ {

"description": "A drop-in replacement for fs, making various improvements.",
"version": "3.0.7",
"version": "3.0.8",
"repository": {

@@ -41,4 +41,4 @@ "type": "git",

"rimraf": "^2.2.8",
"tap": "^0.4.13"
"tap": "^1.2.0"
}
}

@@ -43,3 +43,3 @@ var test = require('tap').test

if (fds.length === 0) {
//console.error('done called %d times', doneCalled)
console.error('done called %d times', doneCalled)
// First because of the timeout

@@ -50,3 +50,3 @@ // Then to close the fd's opened afterwards

// and ulimit, but at least 3 in every case.
t.ok(doneCalled >= 3)
t.ok(doneCalled >= 2)
return t.end()

@@ -53,0 +53,0 @@ }

@@ -7,2 +7,4 @@ var fs = require('../');

process.chdir(__dirname)
// Make sure to reserve the stderr fd

@@ -9,0 +11,0 @@ process.stderr.write('');

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc