+8
-2
@@ -104,3 +104,6 @@ 'use strict' | ||
| } catch (err) { | ||
| if (err.code === 'ENOENT') return | ||
| // The destination parent does not exist yet, but a deeper ancestor might | ||
| // (e.g. when it is a symlink into the source tree). Keep walking up so the | ||
| // self-subdirectory check is not bypassed. | ||
| if (err.code === 'ENOENT') return checkParentPaths(src, srcStat, destParent, funcName) | ||
| throw err | ||
@@ -124,3 +127,6 @@ } | ||
| } catch (err) { | ||
| if (err.code === 'ENOENT') return | ||
| // The destination parent does not exist yet, but a deeper ancestor might | ||
| // (e.g. when it is a symlink into the source tree). Keep walking up so the | ||
| // self-subdirectory check is not bypassed. | ||
| if (err.code === 'ENOENT') return checkParentPathsSync(src, srcStat, destParent, funcName) | ||
| throw err | ||
@@ -127,0 +133,0 @@ } |
+1
-1
| { | ||
| "name": "fs-extra", | ||
| "version": "11.3.5", | ||
| "version": "11.3.6", | ||
| "description": "fs-extra contains methods that aren't included in the vanilla Node.js fs package. Such as recursive mkdir, copy, and remove.", | ||
@@ -5,0 +5,0 @@ "engines": { |
+1
-1
@@ -64,3 +64,3 @@ Node.js: fs-extra | ||
| There is also an `fs-extra/esm` import, that supports both default and named exports. However, note that `fs` methods are not included in `fs-extra/esm`; you still need to import `fs` and/or `fs/promises` seperately: | ||
| There is also an `fs-extra/esm` import, that supports both default and named exports. However, note that `fs` methods are not included in `fs-extra/esm`; you still need to import `fs` and/or `fs/promises` separately: | ||
@@ -67,0 +67,0 @@ ```js |
58641
0.9%1330
0.45%