bare-stream
Advanced tools
Comparing version 2.1.1 to 2.1.2
12
index.js
@@ -92,3 +92,5 @@ const stream = require('streamx') | ||
const result = super.end({ chunk, encoding }) | ||
const result = chunk !== undefined && chunk !== null | ||
? super.end({ chunk, encoding }) | ||
: super.end() | ||
@@ -172,3 +174,5 @@ if (cb) this.once('end', cb) | ||
const result = super.end({ chunk, encoding }) | ||
const result = chunk !== undefined && chunk !== null | ||
? super.end({ chunk, encoding }) | ||
: super.end() | ||
@@ -242,3 +246,5 @@ if (cb) this.once('end', cb) | ||
const result = super.end({ chunk, encoding }) | ||
const result = chunk !== undefined && chunk !== null | ||
? super.end({ chunk, encoding }) | ||
: super.end() | ||
@@ -245,0 +251,0 @@ if (cb) this.once('end', cb) |
{ | ||
"name": "bare-stream", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "Streaming data for JavaScript", | ||
@@ -5,0 +5,0 @@ "exports": { |
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
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
18561
211