Comparing version 2.14.1 to 2.14.2
@@ -1008,3 +1008,4 @@ const { EventEmitter } = require('events') | ||
function getStreamError (stream) { | ||
return (stream._readableState && stream._readableState.error) || (stream._writableState && stream._writableState.error) | ||
const err = (stream._readableState && stream._readableState.error) || (stream._writableState && stream._writableState.error) | ||
return err === STREAM_DESTROYED ? null : err // only explicit errors | ||
} | ||
@@ -1011,0 +1012,0 @@ |
{ | ||
"name": "streamx", | ||
"version": "2.14.1", | ||
"version": "2.14.2", | ||
"description": "An iteration of the Node.js core streams with a series of improvements", | ||
@@ -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
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
46306
846