@thi.ng/compose 2.1.68 → 2.1.70
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/package.json +8 -8
- package/promisify.d.ts +1 -1
- package/thread-first.d.ts +1 -1
- package/thread-last.d.ts +1 -1
- package/trampoline.d.ts +1 -1
package/CHANGELOG.md
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.70",
|
|
4
4
|
"description": "Optimized functional composition helpers",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -36,15 +36,15 @@
|
|
|
36
36
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@thi.ng/api": "^8.9.
|
|
40
|
-
"@thi.ng/errors": "^2.
|
|
39
|
+
"@thi.ng/api": "^8.9.30",
|
|
40
|
+
"@thi.ng/errors": "^2.5.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@microsoft/api-extractor": "^7.
|
|
44
|
-
"esbuild": "^0.20.
|
|
43
|
+
"@microsoft/api-extractor": "^7.42.3",
|
|
44
|
+
"esbuild": "^0.20.1",
|
|
45
45
|
"rimraf": "^5.0.5",
|
|
46
|
-
"typedoc": "^0.25.
|
|
47
|
-
"typescript": "^5.
|
|
46
|
+
"typedoc": "^0.25.12",
|
|
47
|
+
"typescript": "^5.4.2"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
50
50
|
"async",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
"default": "./trampoline.js"
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "bc0f3cb07d6f1cab6dbdc5ff57428f5484e711bb\n"
|
|
110
110
|
}
|
package/promisify.d.ts
CHANGED
package/thread-first.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import type { FnAny } from "@thi.ng/api";
|
|
|
12
12
|
* execution (same as the `->` operator/macro in Clojure).
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
* ```ts
|
|
15
|
+
* ```ts tangle:../export/thread-first.ts
|
|
16
16
|
* import { threadFirst } from "@thi.ng/compose";
|
|
17
17
|
*
|
|
18
18
|
* const neg = (x) => -x;
|
package/thread-last.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import type { FnAny } from "@thi.ng/api";
|
|
|
12
12
|
* execution (same as the `->>` operator/macro in Clojure).
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
|
-
* ```ts
|
|
15
|
+
* ```ts tangle:../export/thread-last.ts
|
|
16
16
|
* import { threadLast } from "@thi.ng/compose";
|
|
17
17
|
*
|
|
18
18
|
* const neg = (x) => -x;
|
package/trampoline.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import type { Fn0 } from "@thi.ng/api";
|
|
|
14
14
|
* consumes max. 2 extra stack frames, independent from recursion depth.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
|
-
* ```ts
|
|
17
|
+
* ```ts tangle:../export/trampoline.ts
|
|
18
18
|
* import { trampoline } from "@thi.ng/compose";
|
|
19
19
|
*
|
|
20
20
|
* const countdown = (acc, x) =>
|