@thi.ng/compare 2.4.9 → 2.4.11

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +3 -100
  2. package/README.md +1 -1
  3. package/package.json +4 -6
package/CHANGELOG.md CHANGED
@@ -1,9 +1,11 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2025-01-21T15:46:52Z
3
+ - **Last updated**: 2025-01-29T16:25:48Z
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/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 200 standalone projects, maintained as part
10
+ > This is one of 201 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/compare",
3
- "version": "2.4.9",
3
+ "version": "2.4.11",
4
4
  "description": "Comparators with support for types implementing the @thi.ng/api/ICompare interface",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -33,20 +33,18 @@
33
33
  "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts",
34
34
  "clean": "bun ../../tools/src/clean-package.ts",
35
35
  "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts",
36
- "doc:ae": "mkdir -p .ae/doc .ae/temp && api-extractor run --local --verbose",
37
36
  "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts",
38
37
  "pub": "yarn npm publish --access public",
39
38
  "test": "bun test",
40
39
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
40
  },
42
41
  "dependencies": {
43
- "@thi.ng/api": "^8.11.17"
42
+ "@thi.ng/api": "^8.11.19"
44
43
  },
45
44
  "devDependencies": {
46
- "@microsoft/api-extractor": "^7.48.1",
47
45
  "esbuild": "^0.24.2",
48
46
  "typedoc": "^0.27.6",
49
- "typescript": "^5.7.2"
47
+ "typescript": "^5.7.3"
50
48
  },
51
49
  "keywords": [
52
50
  "comparator",
@@ -92,5 +90,5 @@
92
90
  "thi.ng": {
93
91
  "alias": "cmp"
94
92
  },
95
- "gitHead": "22f6d518aed5951bb37b406c8ae85a6c3e6be517\n"
93
+ "gitHead": "fc1d498e8d4b690db873c30cc594352a804e7a65\n"
96
94
  }