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.10.1 to 2.10.2

8

lib/ZipFS.js

@@ -21,3 +21,3 @@ "use strict";

return +time;
if (Number.isFinite(time)) {
if (typeof time === `number` && Number.isFinite(time)) {
if (time < 0) {

@@ -633,3 +633,3 @@ return Date.now() / 1000;

break;
const index = this.libzip.name.locate(this.zip, resolvedP.slice(1));
const index = this.libzip.name.locate(this.zip, resolvedP.slice(1), 0);
if (index === -1)

@@ -661,3 +661,3 @@ break;

const { buffer, byteLength } = this.allocateBuffer(content);
const source = this.libzip.source.fromUnattachedBuffer(buffer, byteLength, 0, true, error);
const source = this.libzip.source.fromUnattachedBuffer(buffer, byteLength, 0, 1, error);
if (source === 0) {

@@ -671,3 +671,3 @@ this.libzip.free(error);

const { buffer, byteLength } = this.allocateBuffer(content);
const source = this.libzip.source.fromBuffer(this.zip, buffer, byteLength, 0, true);
const source = this.libzip.source.fromBuffer(this.zip, buffer, byteLength, 0, 1);
if (source === 0) {

@@ -674,0 +674,0 @@ this.libzip.free(buffer);

{
"name": "@yarnpkg/fslib",
"version": "2.10.1",
"version": "2.10.2",
"license": "BSD-2-Clause",

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

"dependencies": {
"@yarnpkg/libzip": "^2.2.4",
"@yarnpkg/libzip": "^2.3.0",
"tslib": "^1.13.0"

@@ -11,0 +11,0 @@ },

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