Comparing version 4.8.0 to 4.8.1
@@ -41,7 +41,7 @@ "use strict"; | ||
const name = dirent.name + ''; | ||
const newPath = path + ctx.separator + name; | ||
const newPath = path + name; | ||
if (dirent.isDirectory()) | ||
yield yield tslib_1.__await([name, new NodeFileSystemDirectoryHandle(fs, newPath, ctx)]); | ||
else if (dirent.isFile()) | ||
yield yield tslib_1.__await([name, new NodeFileSystemFileHandle_1.NodeFileSystemFileHandle(fs, name, ctx)]); | ||
yield yield tslib_1.__await([name, new NodeFileSystemFileHandle_1.NodeFileSystemFileHandle(fs, newPath, ctx)]); | ||
} | ||
@@ -48,0 +48,0 @@ }); |
{ | ||
"name": "memfs", | ||
"version": "4.8.0", | ||
"version": "4.8.1", | ||
"description": "In-memory file-system with Node's fs API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
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
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
877588