@yarnpkg/libzip
Advanced tools
Comparing version 3.0.0-rc.34 to 3.0.0-rc.35
@@ -185,2 +185,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 { | ||
@@ -187,0 +192,0 @@ // Prevent close from cleaning up the source |
{ | ||
"name": "@yarnpkg/libzip", | ||
"version": "3.0.0-rc.34", | ||
"version": "3.0.0-rc.35", | ||
"license": "BSD-2-Clause", | ||
@@ -45,7 +45,7 @@ "main": "./lib/sync.js", | ||
"@types/emscripten": "^1.39.6", | ||
"@yarnpkg/fslib": "^3.0.0-rc.34", | ||
"@yarnpkg/fslib": "^3.0.0-rc.35", | ||
"tslib": "^2.4.0" | ||
}, | ||
"peerDependencies": { | ||
"@yarnpkg/fslib": "^3.0.0-rc.34" | ||
"@yarnpkg/fslib": "^3.0.0-rc.35" | ||
}, | ||
@@ -52,0 +52,0 @@ "engines": { |
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
778567
13077
Updated@yarnpkg/fslib@^3.0.0-rc.35