Socket
Socket
Sign inDemoInstall

is-stream

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 1.0.1

4

index.js

@@ -8,7 +8,7 @@ 'use strict';

isStream.writable = function (stream) {
return isStream(stream) && typeof stream._write == 'function' && typeof stream._writableState == 'object';
return isStream(stream) && stream.writable !== false && typeof stream._write == 'function' && typeof stream._writableState == 'object';
};
isStream.readable = function (stream) {
return isStream(stream) && typeof stream._read == 'function' && typeof stream._readableState == 'object';
return isStream(stream) && stream.readable !== false && typeof stream._read == 'function' && typeof stream._readableState == 'object';
};

@@ -15,0 +15,0 @@

{
"name": "is-stream",
"version": "1.0.0",
"version": "1.0.1",
"description": "Check if something is a Node.js stream",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc