Update deps

This commit is contained in:
Anton Medvedev 2023-03-28 17:15:22 +02:00
commit 363bb1be96
126 changed files with 5743 additions and 2737 deletions

View file

@ -1,7 +1,7 @@
{
"name": "graceful-fs",
"description": "A drop-in replacement for fs, making various improvements.",
"version": "4.2.10",
"version": "4.2.11",
"repository": {
"type": "git",
"url": "https://github.com/isaacs/node-graceful-fs"
@ -38,7 +38,7 @@
"import-fresh": "^2.0.0",
"mkdirp": "^0.5.0",
"rimraf": "^2.2.8",
"tap": "^12.7.0"
"tap": "^16.3.4"
},
"files": [
"fs.js",
@ -46,5 +46,8 @@
"legacy-streams.js",
"polyfills.js",
"clone.js"
]
],
"tap": {
"reporter": "classic"
}
}

View file

@ -101,7 +101,7 @@ function patch (fs) {
var backoff = 0;
fs$rename(from, to, function CB (er) {
if (er
&& (er.code === "EACCES" || er.code === "EPERM")
&& (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY")
&& Date.now() - start < 60000) {
setTimeout(function() {
fs.stat(to, function (stater, st) {