Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@yarnpkg/libzip

Package Overview
Dependencies
Maintainers
6
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/libzip - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

6

lib/ZipFS.js

@@ -219,4 +219,6 @@ "use strict";

throw new Error(`Overread`);
const memory = this.libzip.HEAPU8.subarray(buffer, buffer + size);
return Buffer.from(memory);
let result = Buffer.from(this.libzip.HEAPU8.subarray(buffer, buffer + size));
if (process.env.YARN_IS_TEST_ENV && process.env.YARN_ZIP_DATA_EPILOGUE)
result = Buffer.concat([result, Buffer.from(process.env.YARN_ZIP_DATA_EPILOGUE)]);
return result;
}

@@ -223,0 +225,0 @@ finally {

{
"name": "@yarnpkg/libzip",
"version": "3.0.0",
"version": "3.0.1",
"license": "BSD-2-Clause",

@@ -45,7 +45,7 @@ "main": "./lib/sync.js",

"@types/emscripten": "^1.39.6",
"@yarnpkg/fslib": "^3.0.0",
"@yarnpkg/fslib": "^3.0.2",
"tslib": "^2.4.0"
},
"peerDependencies": {
"@yarnpkg/fslib": "^3.0.0"
"@yarnpkg/fslib": "^3.0.2"
},

@@ -52,0 +52,0 @@ "engines": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc