@thi.ng/compare 2.4.9 → 2.4.10
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 +3 -100
- package/package.json +4 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2025-01-
|
|
3
|
+
- **Last updated**: 2025-01-23T13:39:11Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
7
|
+
Only versions published since **2022-01-01** are listed here.
|
|
8
|
+
Please consult the Git history for older version information.
|
|
7
9
|
See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
|
8
10
|
|
|
9
11
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
@@ -26,102 +28,3 @@ and/or version bumps of transitive dependencies.
|
|
|
26
28
|
#### 🚀 Features
|
|
27
29
|
|
|
28
30
|
- add comparison operators/predicates ([5a627b1](https://github.com/thi-ng/umbrella/commit/5a627b1))
|
|
29
|
-
|
|
30
|
-
## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@2.1.0) (2021-11-17)
|
|
31
|
-
|
|
32
|
-
#### 🚀 Features
|
|
33
|
-
|
|
34
|
-
- Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
|
35
|
-
Improving the overall build ergonomics
|
|
36
|
-
- introduced a tools workspaces
|
|
37
|
-
- imported it in all needed packages/examples
|
|
38
|
-
- inclusive project root
|
|
39
|
-
|
|
40
|
-
#### ♻️ Refactoring
|
|
41
|
-
|
|
42
|
-
- testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
|
43
|
-
this commit reverts (partly) changes made in:
|
|
44
|
-
ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
|
45
|
-
overall purpose is better testament ergonomics:
|
|
46
|
-
instead of having to pass NODE_OPTIONS with every invocation
|
|
47
|
-
having a binary to handle this for us.
|
|
48
|
-
|
|
49
|
-
### [2.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@2.0.1) (2021-10-13)
|
|
50
|
-
|
|
51
|
-
#### ♻️ Refactoring
|
|
52
|
-
|
|
53
|
-
- update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
|
54
|
-
- add .js suffix for all relative imports
|
|
55
|
-
- update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
|
56
|
-
|
|
57
|
-
# [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@2.0.0) (2021-10-12)
|
|
58
|
-
|
|
59
|
-
#### 🛑 Breaking changes
|
|
60
|
-
|
|
61
|
-
- major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
|
62
|
-
- BREAKING CHANGE: discontinue CommonJS & UMD versions
|
|
63
|
-
- only ESM modules will be published from now on
|
|
64
|
-
- CJS obsolete due to ESM support in recent versions of node:
|
|
65
|
-
- i.e. launch NodeJS via:
|
|
66
|
-
- `node --experimental-specifier-resolution=node --experimental-repl-await`
|
|
67
|
-
- in the node REPL use `await import(...)` instead of `require()`
|
|
68
|
-
- UMD obsolete due to widespread browser support for ESM
|
|
69
|
-
Also:
|
|
70
|
-
- normalize/restructure/reorg all package.json files
|
|
71
|
-
- cleanup all build scripts, remove obsolete
|
|
72
|
-
- switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
|
73
|
-
|
|
74
|
-
#### ♻️ Refactoring
|
|
75
|
-
|
|
76
|
-
- update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
|
77
|
-
- update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
|
78
|
-
|
|
79
|
-
### [1.3.16](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.3.16) (2020-09-13)
|
|
80
|
-
|
|
81
|
-
#### ♻️ Refactoring
|
|
82
|
-
|
|
83
|
-
- update deps, use new Fn types ([c3a4b97](https://github.com/thi-ng/umbrella/commit/c3a4b97))
|
|
84
|
-
|
|
85
|
-
## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.3.0) (2020-04-05)
|
|
86
|
-
|
|
87
|
-
#### 🚀 Features
|
|
88
|
-
|
|
89
|
-
- fix [#215](https://github.com/thi-ng/umbrella/issues/215), add sort key getter support for compareByKeysX() ([f364b4e](https://github.com/thi-ng/umbrella/commit/f364b4e))
|
|
90
|
-
|
|
91
|
-
## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.2.0) (2020-03-01)
|
|
92
|
-
|
|
93
|
-
#### 🚀 Features
|
|
94
|
-
|
|
95
|
-
- add HOFs, restructure, update deps & docs ([ed2c41c](https://github.com/thi-ng/umbrella/commit/ed2c41c))
|
|
96
|
-
- add compareByKey(), compareByKeys2/3/4() HOF
|
|
97
|
-
- add reverse() HOF
|
|
98
|
-
- split into separate source files
|
|
99
|
-
- update readme
|
|
100
|
-
|
|
101
|
-
## [1.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.1.0) (2019-11-30)
|
|
102
|
-
|
|
103
|
-
#### 🚀 Features
|
|
104
|
-
|
|
105
|
-
- add compareNumAsc/Desc numeric comparators ([2b8fafc](https://github.com/thi-ng/umbrella/commit/2b8fafc))
|
|
106
|
-
|
|
107
|
-
# [1.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@1.0.0) (2019-01-21)
|
|
108
|
-
|
|
109
|
-
#### 🛑 Breaking changes
|
|
110
|
-
|
|
111
|
-
- update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
|
112
|
-
- BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
|
|
113
|
-
- build scripts now first build ES6 modules in package root, then call
|
|
114
|
-
`scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
|
115
|
-
- all imports MUST be updated to only refer to package level
|
|
116
|
-
(not individual files anymore). tree shaking in user land will get rid of
|
|
117
|
-
all unused imported symbols.
|
|
118
|
-
|
|
119
|
-
#### ♻️ Refactoring
|
|
120
|
-
|
|
121
|
-
- use arrow fns ([025412a](https://github.com/thi-ng/umbrella/commit/025412a))
|
|
122
|
-
|
|
123
|
-
## [0.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/compare@0.1.0) (2018-05-10)
|
|
124
|
-
|
|
125
|
-
#### 🚀 Features
|
|
126
|
-
|
|
127
|
-
- add new package [@thi.ng/compare](https://github.com/thi-ng/umbrella/tree/main/packages/compare) ([e4a87c4](https://github.com/thi-ng/umbrella/commit/e4a87c4))
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/compare",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.10",
|
|
4
4
|
"description": "Comparators with support for types implementing the @thi.ng/api/ICompare interface",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -40,13 +40,12 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.11.
|
|
43
|
+
"@thi.ng/api": "^8.11.18"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@microsoft/api-extractor": "^7.48.1",
|
|
47
46
|
"esbuild": "^0.24.2",
|
|
48
47
|
"typedoc": "^0.27.6",
|
|
49
|
-
"typescript": "^5.7.
|
|
48
|
+
"typescript": "^5.7.3"
|
|
50
49
|
},
|
|
51
50
|
"keywords": [
|
|
52
51
|
"comparator",
|
|
@@ -92,5 +91,5 @@
|
|
|
92
91
|
"thi.ng": {
|
|
93
92
|
"alias": "cmp"
|
|
94
93
|
},
|
|
95
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "b92b48abda9941d608be8a2e1c83447e679a6f79\n"
|
|
96
95
|
}
|