Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

it-pipe

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

it-pipe - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

6

dist/src/index.js

@@ -29,3 +29,7 @@ import { pushable } from 'it-pushable';

});
return merge(stream, duplex.source);
const sourceWrap = async function* () {
yield* duplex.source;
stream.end();
};
return merge(stream, sourceWrap());
}

@@ -32,0 +36,0 @@ return duplex.source;

3

package.json
{
"name": "it-pipe",
"version": "2.0.2",
"version": "2.0.3",
"description": "Utility to \"pipe\" async iterables together",

@@ -126,2 +126,3 @@ "type": "module",

"it-drain": "^1.0.5",
"p-defer": "^4.0.0",
"streaming-iterables": "^6.0.0"

@@ -128,0 +129,0 @@ },

@@ -25,3 +25,3 @@ import { pushable } from 'it-pushable'

const duplexPipelineFn = <TSource> (duplex: any) => {
const duplexPipelineFn = <TSource> (duplex: it.Duplex<TSource>) => {
return (source: any): it.Source<TSource> => {

@@ -38,3 +38,8 @@ const p = duplex.sink(source)

return merge(stream, duplex.source)
const sourceWrap = async function * () {
yield * duplex.source
stream.end()
}
return merge(stream, sourceWrap())
}

@@ -41,0 +46,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc