@thi.ng/compose 2.0.0 → 2.0.4

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 CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@2.0.3...@thi.ng/compose@2.0.4) (2021-10-25)
7
+
8
+ **Note:** Version bump only for package @thi.ng/compose
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@2.0.2...@thi.ng/compose@2.0.3) (2021-10-15)
15
+
16
+ **Note:** Version bump only for package @thi.ng/compose
17
+
18
+
19
+
20
+
21
+
22
+ ## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@2.0.1...@thi.ng/compose@2.0.2) (2021-10-15)
23
+
24
+ **Note:** Version bump only for package @thi.ng/compose
25
+
26
+
27
+
28
+
29
+
30
+ ## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@2.0.0...@thi.ng/compose@2.0.1) (2021-10-13)
31
+
32
+ **Note:** Version bump only for package @thi.ng/compose
33
+
34
+
35
+
36
+
37
+
6
38
  # [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.4.36...@thi.ng/compose@2.0.0) (2021-10-12)
7
39
 
8
40
 
package/README.md CHANGED
@@ -41,15 +41,16 @@ ES module import:
41
41
 
42
42
  [Skypack documentation](https://docs.skypack.dev/)
43
43
 
44
- For NodeJS (v14.6+):
44
+ For Node.js REPL:
45
45
 
46
46
  ```text
47
- node --experimental-specifier-resolution=node --experimental-repl-await
47
+ # with flag only for < v16
48
+ node --experimental-repl-await
48
49
 
49
50
  > const compose = await import("@thi.ng/compose");
50
51
  ```
51
52
 
52
- Package sizes (gzipped, pre-treeshake): ESM: 836 bytes
53
+ Package sizes (gzipped, pre-treeshake): ESM: 825 bytes
53
54
 
54
55
  ## Dependencies
55
56
 
package/delay.js CHANGED
@@ -1,8 +1,5 @@
1
1
  export const delay = (body) => new Delay(body);
2
2
  export class Delay {
3
- value;
4
- body;
5
- realized;
6
3
  constructor(body) {
7
4
  this.body = body;
8
5
  this.realized = false;
package/index.d.ts CHANGED
@@ -1,14 +1,14 @@
1
- export * from "./comp";
2
- export * from "./complement";
3
- export * from "./constantly";
4
- export * from "./delay";
5
- export * from "./delayed";
6
- export * from "./identity";
7
- export * from "./ifdef";
8
- export * from "./juxt";
9
- export * from "./partial";
10
- export * from "./promisify";
11
- export * from "./thread-first";
12
- export * from "./thread-last";
13
- export * from "./trampoline";
1
+ export * from "./comp.js";
2
+ export * from "./complement.js";
3
+ export * from "./constantly.js";
4
+ export * from "./delay.js";
5
+ export * from "./delayed.js";
6
+ export * from "./identity.js";
7
+ export * from "./ifdef.js";
8
+ export * from "./juxt.js";
9
+ export * from "./partial.js";
10
+ export * from "./promisify.js";
11
+ export * from "./thread-first.js";
12
+ export * from "./thread-last.js";
13
+ export * from "./trampoline.js";
14
14
  //# sourceMappingURL=index.d.ts.map
package/index.js CHANGED
@@ -1,13 +1,13 @@
1
- export * from "./comp";
2
- export * from "./complement";
3
- export * from "./constantly";
4
- export * from "./delay";
5
- export * from "./delayed";
6
- export * from "./identity";
7
- export * from "./ifdef";
8
- export * from "./juxt";
9
- export * from "./partial";
10
- export * from "./promisify";
11
- export * from "./thread-first";
12
- export * from "./thread-last";
13
- export * from "./trampoline";
1
+ export * from "./comp.js";
2
+ export * from "./complement.js";
3
+ export * from "./constantly.js";
4
+ export * from "./delay.js";
5
+ export * from "./delayed.js";
6
+ export * from "./identity.js";
7
+ export * from "./ifdef.js";
8
+ export * from "./juxt.js";
9
+ export * from "./partial.js";
10
+ export * from "./promisify.js";
11
+ export * from "./thread-first.js";
12
+ export * from "./thread-last.js";
13
+ export * from "./trampoline.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/compose",
3
- "version": "2.0.0",
3
+ "version": "2.0.4",
4
4
  "description": "Optimized functional composition helpers",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,11 +34,11 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.0.0",
38
- "@thi.ng/errors": "^2.0.0"
37
+ "@thi.ng/api": "^8.0.4",
38
+ "@thi.ng/errors": "^2.0.4"
39
39
  },
40
40
  "devDependencies": {
41
- "@thi.ng/testament": "^0.1.0"
41
+ "@thi.ng/testament": "^0.1.4"
42
42
  },
43
43
  "keywords": [
44
44
  "async",
@@ -49,6 +49,9 @@
49
49
  "publishConfig": {
50
50
  "access": "public"
51
51
  },
52
+ "engines": {
53
+ "node": ">=12.7"
54
+ },
52
55
  "files": [
53
56
  "*.js",
54
57
  "*.d.ts"
@@ -97,5 +100,5 @@
97
100
  "import": "./trampoline.js"
98
101
  }
99
102
  },
100
- "gitHead": "9ac1344b38b565eb894306fbf72233b6c0b2d115"
103
+ "gitHead": "9ff00a103f76cc4917ef3f244132e218f2300a05"
101
104
  }