@yarnpkg/fslib
Advanced tools
Comparing version 2.10.0 to 2.10.1
@@ -216,3 +216,3 @@ "use strict"; | ||
} | ||
NoFS.instance = new NoFS(); | ||
exports.NoFS = NoFS; | ||
NoFS.instance = new NoFS(); |
@@ -178,2 +178,7 @@ "use strict"; | ||
throw new Error(`ZipFS was not created from a Buffer`); | ||
// zip_source_open on an unlink-after-write empty archive fails with "Entry has been deleted" | ||
if (this.entries.size === 0) { | ||
this.discardAndClose(); | ||
return makeEmptyArchive(); | ||
} | ||
try { | ||
@@ -180,0 +185,0 @@ // Prevent close from cleaning up the source |
{ | ||
"name": "@yarnpkg/fslib", | ||
"version": "2.10.0", | ||
"version": "2.10.1", | ||
"license": "BSD-2-Clause", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
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
277169
7074