Comparing version 2.8.3 to 2.8.4
11
index.js
@@ -124,2 +124,13 @@ 'use strict' | ||
// this ensures at this point that the chunk is a buffer or string | ||
// don't buffer it up or send it to the decoder | ||
if (!this.objectMode && !chunk.length) { | ||
const ret = this.flowing | ||
if (this[BUFFERLENGTH] !== 0) | ||
this.emit('readable') | ||
if (cb) | ||
cb() | ||
return ret | ||
} | ||
// fast-path writing strings of same encoding to a stream with | ||
@@ -126,0 +137,0 @@ // an empty buffer, skipping the buffer/decoder dance |
{ | ||
"name": "minipass", | ||
"version": "2.8.3", | ||
"version": "2.8.4", | ||
"description": "minimal implementation of a PassThrough stream", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30831
462
1