graceful-fs
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -154,10 +154,2 @@ // this keeps a queue of opened file descriptors, and will make | ||
// lstat on windows, missing from early 0.5 versions | ||
// replacing with stat isn't quite perfect, but good enough to get by. | ||
if (process.platform === "win32" && !process.binding("fs").lstat) { | ||
fs.lstat = fs.stat | ||
fs.lstatSync = fs.statSync | ||
} | ||
// lutimes implementation, or no-op | ||
@@ -259,3 +251,19 @@ if (!fs.lutimes) { | ||
// if lchmod/lchown do not exist, then make them no-ops | ||
if (!fs.lchmod) { | ||
fs.lchmod = function (path, mode, cb) { | ||
process.nextTick(cb) | ||
} | ||
fs.lchmodSync = function () {} | ||
} | ||
if (!fs.lchown) { | ||
fs.lchown = function (path, uid, gid, cb) { | ||
process.nextTick(cb) | ||
} | ||
fs.lchownSync = function () {} | ||
} | ||
// on Windows, A/V software can lock the directory, causing this | ||
@@ -262,0 +270,0 @@ // to fail with an EACCES or EPERM if the directory contains newly |
@@ -5,3 +5,3 @@ { | ||
"description": "fs monkey-patching to avoid EMFILE and other problems", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8591
236
1