Comparing version 1.4.1 to 1.4.2
@@ -1226,2 +1226,19 @@ function pipe(source) { | ||
var tapAll$1 = function tapAll(onStart, onPush, onEnd) { | ||
return function(source) { | ||
return function(sink) { | ||
return _1(source, function(signal) { | ||
if ("number" == typeof signal) { | ||
onEnd(); | ||
} else if (signal.tag) { | ||
onPush(signal[0]); | ||
} else { | ||
onStart(); | ||
} | ||
return sink(signal); | ||
}); | ||
}; | ||
}; | ||
}; | ||
var publish$1 = function publish(source) { | ||
@@ -1591,2 +1608,3 @@ var state = [talkbackPlaceholder, !1]; | ||
tap$1 as tap, | ||
tapAll$1 as tapAll, | ||
publish$1 as publish, | ||
@@ -1593,0 +1611,0 @@ subscribe$1 as subscribe, |
@@ -1214,2 +1214,19 @@ function __(tag, block) { | ||
var tapAll$1 = function tapAll(onStart, onPush, onEnd) { | ||
return function(source) { | ||
return function(sink) { | ||
return _1(source, function(signal) { | ||
if ("number" == typeof signal) { | ||
onEnd(); | ||
} else if (signal.tag) { | ||
onPush(signal[0]); | ||
} else { | ||
onStart(); | ||
} | ||
return sink(signal); | ||
}); | ||
}; | ||
}; | ||
}; | ||
var publish$1 = function publish(source) { | ||
@@ -1616,2 +1633,4 @@ var state = [talkbackPlaceholder, !1]; | ||
exports.tapAll = tapAll$1; | ||
exports.publish = publish$1; | ||
@@ -1618,0 +1637,0 @@ |
@@ -14,2 +14,3 @@ 'use strict'; | ||
var Wonka_operator_filter = require("./operators/wonka_operator_filter.js"); | ||
var Wonka_operator_tapAll = require("./operators/wonka_operator_tapAll.js"); | ||
var Wonka_source_fromList = require("./sources/wonka_source_fromList.js"); | ||
@@ -88,2 +89,4 @@ var Wonka_operator_combine = require("./operators/wonka_operator_combine.js"); | ||
var tapAll = Wonka_operator_tapAll.tapAll; | ||
var publish = Wonka_sink_publish.publish; | ||
@@ -142,2 +145,3 @@ | ||
exports.tap = tap; | ||
exports.tapAll = tapAll; | ||
exports.publish = publish; | ||
@@ -144,0 +148,0 @@ exports.subscribe = subscribe; |
{ | ||
"name": "wonka", | ||
"version": "1.4.1", | ||
"version": "1.4.2", | ||
"author": "Phil Pluckthun <phil@kitten.sh>", | ||
@@ -5,0 +5,0 @@ "source": "./src/index.js", |
@@ -26,2 +26,3 @@ /* sources */ | ||
export * from './operators/wonka_operator_tap'; | ||
export * from './operators/wonka_operator_tapAll'; | ||
@@ -28,0 +29,0 @@ /* sinks */ |
@@ -14,2 +14,3 @@ | ||
import * as Wonka_operator_filter from "./operators/wonka_operator_filter.js"; | ||
import * as Wonka_operator_tapAll from "./operators/wonka_operator_tapAll.js"; | ||
import * as Wonka_source_fromList from "./sources/wonka_source_fromList.js"; | ||
@@ -88,2 +89,4 @@ import * as Wonka_operator_combine from "./operators/wonka_operator_combine.js"; | ||
var tapAll = Wonka_operator_tapAll.tapAll; | ||
var publish = Wonka_sink_publish.publish; | ||
@@ -143,2 +146,3 @@ | ||
tap , | ||
tapAll , | ||
publish , | ||
@@ -145,0 +149,0 @@ subscribe , |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
375257
197
8599
0