🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

fs-extra

Package Overview
Dependencies
Maintainers
3
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fs-extra - npm Package Compare versions

Comparing version
11.3.5
to
11.3.6
+8
-2
lib/util/stat.js

@@ -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": {

@@ -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