Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

from-node-stream

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

from-node-stream - npm Package Compare versions

Comparing version
0.0.7
to
0.0.8
+5
-6
index.ts

@@ -1,2 +0,1 @@

import DIE from "phpdie";
import { mergeStream } from "sflow"; // TODO: tree shake sflow

@@ -16,4 +15,4 @@ import { Readable, Writable } from "stream";

return {
writable: fromWritable(p.stdin || DIE("Missing stdin")),
readable: fromReadable(p.stdout || DIE("Missing stdout")),
writable: fromWritable(p.stdin!),
readable: fromReadable(p.stdout!),
};

@@ -31,5 +30,5 @@ }

): TransformStream<string | Uint8Array, string | Uint8Array> {
const stdin = fromWritable(p.stdin || DIE("Missing stdin"));
const stdout = fromReadable(p.stdout || DIE("Missing stdout"));
const stderr = fromReadable(p.stderr || DIE("Missing stderr"));
const stdin = fromWritable(p.stdin!);
const stdout = fromReadable(p.stdout!);
const stderr = fromReadable(p.stderr!);
return {

@@ -36,0 +35,0 @@ writable: stdin,

{
"name": "from-node-stream",
"version": "0.0.7",
"version": "0.0.8",
"description": "convert nodejs-stream into webstream",

@@ -5,0 +5,0 @@ "keywords": [

Sorry, the diff of this file is too big to display