Socket
Socket
Sign inDemoInstall

pull-stream

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pull-stream - npm Package Compare versions

Comparing version 2.7.0 to 2.8.0

20

index.js

@@ -20,3 +20,5 @@

export.addPipe = addPipe
exports.addPipe = addPipe
exports.addReaderPipe
= addReaderPipe

@@ -43,2 +45,18 @@ function addPipe(read) {

function addReaderPipe(reader) {
var piped = []
function _reader (read) {
read = reader(read)
while(piped.length)
read = piped.shift()(read)
return read
//pipeing to from this reader should compose...
}
_reader.pipe = function (read) {
piped.push(read)
return reader
}
return _reader
}
function Through (createRead) {

@@ -45,0 +63,0 @@ return function () {

2

package.json
{
"name": "pull-stream",
"description": "minimal pull stream",
"version": "2.7.0",
"version": "2.8.0",
"homepage": "https://github.com/dominictarr/pull-stream",

@@ -6,0 +6,0 @@ "repository": {

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