Comparing version 6.2.2 to 6.2.3
# wonka | ||
## 6.2.3 | ||
### Patch Changes | ||
- ⚠️ Fix overload of `pipe` type not being applied in bundled `d.ts` file, by [@kitten](https://github.com/kitten) (See [#144](https://github.com/0no-co/wonka/pull/144)) | ||
## 6.2.2 | ||
@@ -4,0 +10,0 @@ |
@@ -1431,4 +1431,4 @@ /** | ||
} | ||
declare function pipe(...args: Function[]): any; | ||
declare const pipe: pipe; | ||
export { Observer, Operator, Signal, Sink, Source, Subject, Subscription, TeardownFn, TypeOfSource, buffer, combine, concat, concatAll, concatMap, debounce, delay, empty, filter, mergeAll as flatten, forEach, fromArray, fromAsyncIterable, fromCallbag, fromDomEvent, fromIterable, fromObservable, fromPromise, fromValue, interval, lazy, make, makeSubject, map, merge, mergeAll, mergeMap, never, onEnd, onPush, onStart, pipe, publish, sample, scan, share, skip, skipUntil, skipWhile, subscribe, switchAll, switchMap, take, takeLast, takeUntil, takeWhile, onPush as tap, throttle, toArray, toAsyncIterable, toCallbag, toObservable, toPromise, zip }; |
@@ -896,3 +896,3 @@ Object.defineProperty(exports, "__esModule", { | ||
exports.pipe = function pipe(...e) { | ||
exports.pipe = (...e) => { | ||
var r = e[0]; | ||
@@ -899,0 +899,0 @@ for (var t = 1, l = e.length; t < l; t++) { |
{ | ||
"name": "wonka", | ||
"description": "A tiny but capable push & pull stream library for TypeScript and Flow", | ||
"version": "6.2.2", | ||
"version": "6.2.3", | ||
"author": "0no.co <hi@0no.co>", | ||
@@ -6,0 +6,0 @@ "source": "./src/index.ts", |
@@ -179,8 +179,8 @@ import { Source, Sink, Operator } from './types'; | ||
function pipe(...args: Function[]): any { | ||
const pipe: pipe = (...args: Function[]): any => { | ||
let x = args[0]; | ||
for (let i = 1, l = args.length; i < l; i++) x = args[i](x); | ||
return x; | ||
} | ||
}; | ||
export { pipe }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
337700