Socket
Socket
Sign inDemoInstall

graceful-fs

Package Overview
Dependencies
0
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.10 to 4.1.11

2

package.json
{
"name": "graceful-fs",
"description": "A drop-in replacement for fs, making various improvements.",
"version": "4.1.10",
"version": "4.1.11",
"repository": {

@@ -6,0 +6,0 @@ "type": "git",

@@ -6,2 +6,5 @@ var fs = require('./fs.js')

var cwd = null
var platform = process.env.GRACEFUL_FS_PLATFORM || process.platform
process.cwd = function() {

@@ -91,3 +94,3 @@ if (!cwd)

// contention to be starved of CPU by node, so the contention doesn't resolve.
if (process.platform === "win32") {
if (platform === "win32") {
fs.rename = (function (fs$rename) { return function (from, to, cb) {

@@ -101,3 +104,8 @@ var start = Date.now()

setTimeout(function() {
fs$rename(from, to, CB);
fs.stat(to, function (stater, st) {
if (stater && stater.code === "ENOENT")
fs$rename(from, to, CB);
else
cb(er)
})
}, backoff)

@@ -104,0 +112,0 @@ if (backoff < 100)

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc