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

minipass

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minipass - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

.nyc_output/132b8820e470851a4e109fb0c9e94025.json

10

index.js

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

const READ = Symbol('read')
const FLUSH = Symbol('flush')
const FLUSHCHUNK = Symbol('flushChunk')
const SD = require('string_decoder').StringDecoder

@@ -91,3 +93,3 @@

if (this.buffer.length)
this.flush()
this[FLUSH]()
else

@@ -101,4 +103,4 @@ this[MAYBE_EMIT_END]()

flush () {
do {} while (this.flushChunk(this.buffer.shift()))
[FLUSH] () {
do {} while (this[FLUSHCHUNK](this.buffer.shift()))

@@ -109,3 +111,3 @@ if (!this.buffer.length)

flushChunk (chunk) {
[FLUSHCHUNK] (chunk) {
return chunk ? (this.emit('data', chunk), this.flowing) : false

@@ -112,0 +114,0 @@ }

2

package.json
{
"name": "minipass",
"version": "1.1.1",
"version": "1.1.2",
"description": "minimal implementation of a PassThrough stream",

@@ -5,0 +5,0 @@ "main": "index.js",

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