@thi.ng/compose 2.0.3 → 2.0.8

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,7 +3,7 @@
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.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@2.0.2...@thi.ng/compose@2.0.3) (2021-10-15)
6
+ ## [2.0.8](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@2.0.7...@thi.ng/compose@2.0.8) (2021-11-10)
7
7
 
8
8
  **Note:** Version bump only for package @thi.ng/compose
9
9
 
@@ -11,15 +11,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
11
 
12
12
 
13
13
 
14
- ## [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)
15
-
16
- **Note:** Version bump only for package @thi.ng/compose
17
-
18
-
19
-
20
-
21
-
22
- ## [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)
14
+ ## [2.0.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@2.0.6...@thi.ng/compose@2.0.7) (2021-11-03)
23
15
 
24
16
  **Note:** Version bump only for package @thi.ng/compose
25
17
 
@@ -56,67 +48,67 @@ Also:
56
48
 
57
49
 
58
50
 
59
- # [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.3.12...@thi.ng/compose@1.4.0) (2020-03-28)
51
+ # [1.4.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.3.12...@thi.ng/compose@1.4.0) (2020-03-28)
60
52
 
61
- ### Features
53
+ ### Features
62
54
 
63
- - **compose:** add promisify() ([dfcf4ab](https://github.com/thi-ng/umbrella/commit/dfcf4ab7333b25c4332f783d124d86de058feceb))
55
+ - **compose:** add promisify() ([dfcf4ab](https://github.com/thi-ng/umbrella/commit/dfcf4ab7333b25c4332f783d124d86de058feceb))
64
56
 
65
- # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.2.5...@thi.ng/compose@1.3.0) (2019-07-07)
57
+ # [1.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.2.5...@thi.ng/compose@1.3.0) (2019-07-07)
66
58
 
67
- ### Features
59
+ ### Features
68
60
 
69
- - **compose:** add ifDef() ([64aba00](https://github.com/thi-ng/umbrella/commit/64aba00))
70
- - **compose:** address TS strictNullChecks, make Delay.value protected ([1540f37](https://github.com/thi-ng/umbrella/commit/1540f37))
71
- - **compose:** enable TS strict compiler flags (refactor) ([8ea894a](https://github.com/thi-ng/umbrella/commit/8ea894a))
61
+ - **compose:** add ifDef() ([64aba00](https://github.com/thi-ng/umbrella/commit/64aba00))
62
+ - **compose:** address TS strictNullChecks, make Delay.value protected ([1540f37](https://github.com/thi-ng/umbrella/commit/1540f37))
63
+ - **compose:** enable TS strict compiler flags (refactor) ([8ea894a](https://github.com/thi-ng/umbrella/commit/8ea894a))
72
64
 
73
- # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.1.2...@thi.ng/compose@1.2.0) (2019-03-10)
65
+ # [1.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.1.2...@thi.ng/compose@1.2.0) (2019-03-10)
74
66
 
75
- ### Features
67
+ ### Features
76
68
 
77
- - **compose:** add complement() ([5a5a2d1](https://github.com/thi-ng/umbrella/commit/5a5a2d1))
78
- - **compose:** add trampoline() ([9e4c171](https://github.com/thi-ng/umbrella/commit/9e4c171))
69
+ - **compose:** add complement() ([5a5a2d1](https://github.com/thi-ng/umbrella/commit/5a5a2d1))
70
+ - **compose:** add trampoline() ([9e4c171](https://github.com/thi-ng/umbrella/commit/9e4c171))
79
71
 
80
- # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.0.2...@thi.ng/compose@1.1.0) (2019-02-15)
72
+ # [1.1.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@1.0.2...@thi.ng/compose@1.1.0) (2019-02-15)
81
73
 
82
- ### Bug Fixes
74
+ ### Bug Fixes
83
75
 
84
- - **compose:** add varargs override for jux(), add tests ([e9d57fc](https://github.com/thi-ng/umbrella/commit/e9d57fc))
76
+ - **compose:** add varargs override for jux(), add tests ([e9d57fc](https://github.com/thi-ng/umbrella/commit/e9d57fc))
85
77
 
86
- ### Features
78
+ ### Features
87
79
 
88
- - **compose:** add new functions ([dd13fa9](https://github.com/thi-ng/umbrella/commit/dd13fa9))
80
+ - **compose:** add new functions ([dd13fa9](https://github.com/thi-ng/umbrella/commit/dd13fa9))
89
81
 
90
- # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.3.0...@thi.ng/compose@1.0.0) (2019-01-21)
82
+ # [1.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.3.0...@thi.ng/compose@1.0.0) (2019-01-21)
91
83
 
92
- ### Build System
84
+ ### Build System
93
85
 
94
- - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
86
+ - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
95
87
 
96
- ### BREAKING CHANGES
88
+ ### BREAKING CHANGES
97
89
 
98
- - enabled multi-outputs (ES6 modules, CJS, UMD)
99
- - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
100
- - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
90
+ - enabled multi-outputs (ES6 modules, CJS, UMD)
91
+ - build scripts now first build ES6 modules in package root, then call `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
92
+ - all imports MUST be updated to only refer to package level (not individual files anymore). tree shaking in user land will get rid of all unused imported symbols.
101
93
 
102
- # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.2.2...@thi.ng/compose@0.3.0) (2018-12-27)
94
+ # [0.3.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.2.2...@thi.ng/compose@0.3.0) (2018-12-27)
103
95
 
104
- ### Bug Fixes
96
+ ### Bug Fixes
105
97
 
106
- - **compose:** fix comp() for arities >10 ([1ebfea9](https://github.com/thi-ng/umbrella/commit/1ebfea9))
98
+ - **compose:** fix comp() for arities >10 ([1ebfea9](https://github.com/thi-ng/umbrella/commit/1ebfea9))
107
99
 
108
- ### Features
100
+ ### Features
109
101
 
110
- - **compose:** add threadFirst/Last, rename compI => compL ([0061b21](https://github.com/thi-ng/umbrella/commit/0061b21))
102
+ - **compose:** add threadFirst/Last, rename compI => compL ([0061b21](https://github.com/thi-ng/umbrella/commit/0061b21))
111
103
 
112
- # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.1.4...@thi.ng/compose@0.2.0) (2018-10-17)
104
+ # [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/compose@0.1.4...@thi.ng/compose@0.2.0) (2018-10-17)
113
105
 
114
- ### Features
106
+ ### Features
115
107
 
116
- - **compose:** add partial(), update readme ([6851f2c](https://github.com/thi-ng/umbrella/commit/6851f2c))
108
+ - **compose:** add partial(), update readme ([6851f2c](https://github.com/thi-ng/umbrella/commit/6851f2c))
117
109
 
118
- # 0.1.0 (2018-08-24)
110
+ # 0.1.0 (2018-08-24)
119
111
 
120
- ### Features
112
+ ### Features
121
113
 
122
114
  - **compose:** extract comp() & juxt() to new [@thi](https://github.com/thi).ng/compose package ([ca0a04e](https://github.com/thi-ng/umbrella/commit/ca0a04e))
package/README.md CHANGED
@@ -50,7 +50,7 @@ node --experimental-repl-await
50
50
  > const compose = await import("@thi.ng/compose");
51
51
  ```
52
52
 
53
- Package sizes (gzipped, pre-treeshake): ESM: 825 bytes
53
+ Package sizes (gzipped, pre-treeshake): ESM: 871 bytes
54
54
 
55
55
  ## Dependencies
56
56
 
package/juxt.js CHANGED
@@ -20,7 +20,7 @@ export function juxt(...fns) {
20
20
  default:
21
21
  return (x) => {
22
22
  let res = new Array(fns.length);
23
- for (let i = fns.length; --i >= 0;) {
23
+ for (let i = fns.length; i-- > 0;) {
24
24
  res[i] = fns[i](x);
25
25
  }
26
26
  return res;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/compose",
3
- "version": "2.0.3",
3
+ "version": "2.0.8",
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.3",
38
- "@thi.ng/errors": "^2.0.3"
37
+ "@thi.ng/api": "^8.2.0",
38
+ "@thi.ng/errors": "^2.0.6"
39
39
  },
40
40
  "devDependencies": {
41
- "@thi.ng/testament": "^0.1.3"
41
+ "@thi.ng/testament": "^0.1.6"
42
42
  },
43
43
  "keywords": [
44
44
  "async",
@@ -100,5 +100,5 @@
100
100
  "import": "./trampoline.js"
101
101
  }
102
102
  },
103
- "gitHead": "1fb38cac74d6c009d96855c28784a267a81badf1"
103
+ "gitHead": "5fe52419af63984ebe53032201b2a6174b9cb159"
104
104
  }