@thi.ng/compose 2.1.21 → 2.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/comp.d.ts +2 -2
- package/comp.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/comp.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare function comp<A, B, C, D, E, F, G, H, I>(a: Fn<B, A>, b: Fn<C, B>
|
|
|
18
18
|
export declare function comp<A, B, C, D, E, F, G, H, I, J>(a: Fn<B, A>, b: Fn<C, B>, c: Fn<D, C>, d: Fn<E, D>, e: Fn<F, E>, f: Fn<G, F>, g: Fn<H, G>, h: Fn<I, H>, i: Fn<J, I>, j: FnAny<J>): FnAny<A>;
|
|
19
19
|
export declare function comp<A, B, C, D, E, F, G, H, I, J>(a: Fn<B, A>, b: Fn<C, B>, c: Fn<D, C>, d: Fn<E, D>, e: Fn<F, E>, f: Fn<G, F>, g: Fn<H, G>, h: Fn<I, H>, i: Fn<J, I>, j: Fn<any, J>, ...fns: FnAny<any>[]): FnAny<A>;
|
|
20
20
|
/**
|
|
21
|
-
* Similar to {@link
|
|
21
|
+
* Similar to {@link comp}, but composes given functions in left-to-right order.
|
|
22
22
|
*/
|
|
23
23
|
export declare function compL<A>(a: FnAny<A>): FnAny<A>;
|
|
24
24
|
export declare function compL<A, B>(a: FnAny<A>, b: Fn<A, B>): FnAny<B>;
|
|
@@ -32,7 +32,7 @@ export declare function compL<A, B, C, D, E, F, G, H, I>(a: FnAny<A>, b: Fn<A, B
|
|
|
32
32
|
export declare function compL<A, B, C, D, E, F, G, H, I, J>(a: FnAny<A>, b: Fn<A, B>, c: Fn<B, C>, d: Fn<C, D>, e: Fn<D, E>, f: Fn<E, F>, g: Fn<F, G>, h: Fn<G, H>, i: Fn<H, I>, j: Fn<I, J>): FnAny<J>;
|
|
33
33
|
export declare function compL<A, B, C, D, E, F, G, H, I, J>(a: FnAny<A>, b: Fn<A, B>, c: Fn<B, C>, d: Fn<C, D>, e: Fn<D, E>, f: Fn<E, F>, g: Fn<F, G>, h: Fn<G, H>, i: Fn<H, I>, j: Fn<I, J>, ...xs: Fn<any, any>[]): FnAny<any>;
|
|
34
34
|
/**
|
|
35
|
-
* @deprecated renamed to {@link
|
|
35
|
+
* @deprecated renamed to {@link compL}
|
|
36
36
|
*/
|
|
37
37
|
export declare const compI: typeof compL;
|
|
38
38
|
//# sourceMappingURL=comp.d.ts.map
|
package/comp.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/compose",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.22",
|
|
4
4
|
"description": "Optimized functional composition helpers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.6.
|
|
37
|
+
"@thi.ng/api": "^8.6.1",
|
|
38
38
|
"@thi.ng/errors": "^2.2.6"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
@@ -105,5 +105,5 @@
|
|
|
105
105
|
"default": "./trampoline.js"
|
|
106
106
|
}
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "7b2af448da8a63fb21704a79cc4cdf1f3d7d7a64\n"
|
|
109
109
|
}
|