callbag-pipe
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "callbag-pipe", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Utility function for plugging callbags together in chain", | ||
@@ -9,3 +9,3 @@ "repository": { | ||
}, | ||
"main": "index.js", | ||
"main": "readme.js", | ||
"scripts": { | ||
@@ -24,4 +24,4 @@ "test": "tape test.js" | ||
"callbag-filter": "1.0.x", | ||
"callbag-iterate": "1.0.x" | ||
"callbag-for-each": "1.0.x" | ||
} | ||
} |
@@ -5,4 +5,4 @@ const test = require('tape'); | ||
const filter = require('callbag-filter'); | ||
const iterate = require('callbag-iterate'); | ||
const pipe = require('./index'); | ||
const forEach = require('callbag-for-each'); | ||
const pipe = require('./readme'); | ||
@@ -72,3 +72,3 @@ test('it calls first-order functions in sequence LTR', (t) => { | ||
filter(x => x % 2), | ||
iterate(x => { | ||
forEach(x => { | ||
t.equals(x, expected.shift()); | ||
@@ -91,3 +91,3 @@ if (expected.length === 0) { | ||
), | ||
iterate(x => { | ||
forEach(x => { | ||
t.equals(x, expected.shift()); | ||
@@ -94,0 +94,0 @@ if (expected.length === 0) { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6923
198
111
4