Comparing version 2.20.2 to 2.21.0
@@ -115,2 +115,4 @@ const { EventEmitter } = require('events') | ||
const DISTURBED_STATUS = OPEN_STATUS | READ_RESUMED_READ_AHEAD | WRITE_QUEUED | ||
const asyncIterator = Symbol.asyncIterator || Symbol('asyncIterator') | ||
@@ -1138,2 +1140,6 @@ | ||
function isDisturbed (stream) { | ||
return (stream._duplexState & DISTURBED_STATUS) !== OPENING | ||
} | ||
function isTypedArray (data) { | ||
@@ -1162,2 +1168,3 @@ return typeof data === 'object' && data !== null && typeof data.byteLength === 'number' | ||
isStreamx, | ||
isDisturbed, | ||
isEnded, | ||
@@ -1164,0 +1171,0 @@ isFinished, |
{ | ||
"name": "streamx", | ||
"version": "2.20.2", | ||
"version": "2.21.0", | ||
"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
51112
956