Socket
Socket
Sign inDemoInstall

fs-minipass

Package Overview
Dependencies
3
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.3 to 1.2.4

5

index.js

@@ -97,2 +97,4 @@ 'use strict'

const buf = this[_makeBuf]()
/* istanbul ignore if */
if (buf.length === 0) return process.nextTick(this[_onread], null, 0, buf)
fs.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) =>

@@ -176,3 +178,4 @@ this[_onread](er, br, buf))

const buf = this[_makeBuf]()
const br = fs.readSync(this[_fd], buf, 0, buf.length, null)
/* istanbul ignore next */
const br = buf.length === 0 ? 0 : fs.readSync(this[_fd], buf, 0, buf.length, null)
if (!this[_handleChunk](br, buf))

@@ -179,0 +182,0 @@ break

2

package.json
{
"name": "fs-minipass",
"version": "1.2.3",
"version": "1.2.4",
"main": "index.js",

@@ -5,0 +5,0 @@ "scripts": {

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc