@thi.ng/compare 2.1.1 → 2.1.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
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2021-11-19T07:59:50Z
3
+ - **Last updated**: 2022-03-11T12:13:49Z
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.
package/README.md CHANGED
@@ -60,7 +60,7 @@ node --experimental-repl-await
60
60
  > const compare = await import("@thi.ng/compare");
61
61
  ```
62
62
 
63
- Package sizes (gzipped, pre-treeshake): ESM: 429 bytes
63
+ Package sizes (gzipped, pre-treeshake): ESM: 431 bytes
64
64
 
65
65
  ## Dependencies
66
66
 
@@ -176,4 +176,4 @@ If this project contributes to an academic publication, please cite it as:
176
176
 
177
177
  ## License
178
178
 
179
- © 2016 - 2021 Karsten Schmidt // Apache Software License 2.0
179
+ © 2016 - 2022 Karsten Schmidt // Apache Software License 2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/compare",
3
- "version": "2.1.1",
3
+ "version": "2.1.4",
4
4
  "description": "Comparators with support for types implementing the @thi.ng/api/ICompare interface",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,15 +34,15 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.3.1"
37
+ "@thi.ng/api": "^8.3.4"
38
38
  },
39
39
  "devDependencies": {
40
- "@microsoft/api-extractor": "^7.18.19",
41
- "@thi.ng/testament": "^0.2.1",
40
+ "@microsoft/api-extractor": "^7.19.4",
41
+ "@thi.ng/testament": "^0.2.4",
42
42
  "rimraf": "^3.0.2",
43
43
  "tools": "^0.0.1",
44
- "typedoc": "^0.22.9",
45
- "typescript": "^4.5.2"
44
+ "typedoc": "^0.22.13",
45
+ "typescript": "^4.6.2"
46
46
  },
47
47
  "keywords": [
48
48
  "comparator",
@@ -76,5 +76,5 @@
76
76
  "import": "./reverse.js"
77
77
  }
78
78
  },
79
- "gitHead": "8bd27c8bde0b770e7c001943f11c951cd345d668\n"
79
+ "gitHead": "0fc692a3225c068aacafdc4cb6140cf603c67ad8\n"
80
80
  }
package/reverse.d.ts CHANGED
@@ -3,7 +3,7 @@ import type { Comparator } from "@thi.ng/api";
3
3
  * HOF comparator. Returns new comparator with reversed order of given
4
4
  * comparator.
5
5
  *
6
- * @param cmp
6
+ * @param cmp -
7
7
  */
8
8
  export declare const reverse: <T>(cmp: Comparator<T>) => Comparator<T>;
9
9
  //# sourceMappingURL=reverse.d.ts.map
package/reverse.js CHANGED
@@ -2,6 +2,6 @@
2
2
  * HOF comparator. Returns new comparator with reversed order of given
3
3
  * comparator.
4
4
  *
5
- * @param cmp
5
+ * @param cmp -
6
6
  */
7
7
  export const reverse = (cmp) => (a, b) => -cmp(a, b);