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

@yarnpkg/fslib

Package Overview
Dependencies
Maintainers
6
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/fslib - npm Package Compare versions

Comparing version 2.6.1-rc.11 to 2.6.1

8

lib/ZipFS.js

@@ -295,7 +295,5 @@ "use strict";

throw errors.EBADF(`read`);
let realPosition;
if (position === -1 || position === null)
realPosition = entry.cursor;
else
realPosition = position;
const realPosition = position === -1 || position === null
? entry.cursor
: position;
const source = this.readFileSync(entry.p);

@@ -302,0 +300,0 @@ source.copy(buffer, offset, realPosition, realPosition + length);

{
"name": "@yarnpkg/fslib",
"version": "2.6.1-rc.11",
"version": "2.6.1",
"license": "BSD-2-Clause",

@@ -8,3 +8,3 @@ "main": "./lib/index.js",

"dependencies": {
"@yarnpkg/libzip": "^2.2.3-rc.11",
"@yarnpkg/libzip": "^2.2.3",
"tslib": "^1.13.0"

@@ -34,4 +34,3 @@ },

},
"stableVersion": "2.6.0",
"typings": "./lib/index.d.ts"
}
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