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

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.24.0 to 2.24.1

6

maybe.js

@@ -11,3 +11,3 @@ var u = require('pull-core')

var find =
var find =
exports.find = function (test, cb) {

@@ -35,5 +35,5 @@ return maybeSink(function (cb) {

var reduce = exports.reduce =
var reduce = exports.reduce =
function (reduce, acc, cb) {
return maybeSink(function (cb) {

@@ -40,0 +40,0 @@ return drain(function (data) {

{
"name": "pull-stream",
"description": "minimal pull stream",
"version": "2.24.0",
"version": "2.24.1",
"homepage": "https://github.com/dominictarr/pull-stream",

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

@@ -11,3 +11,5 @@ var drain = exports.drain = function (read, op, done) {

loop = false
done && done(end === true ? null : end)
if(done) done(end === true ? null : end)
else if(end && end !== true)
throw end
}

@@ -14,0 +16,0 @@ else if(op && false === op(data)) {

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