@thi.ng/compare 2.2.21 → 2.2.22

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**: 2024-02-22T11:59:16Z
3
+ - **Last updated**: 2024-02-25T14:07:53Z
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/ops.d.ts CHANGED
@@ -12,6 +12,8 @@ export declare const OPERATORS: Record<Operator, Predicate2<string> | Predicate2
12
12
  *
13
13
  * @example
14
14
  * ```ts
15
+ * import { stringOp } from "@thi.ng/compare";
16
+ *
15
17
  * const equalsABC = stringOp("=", "abc");
16
18
  *
17
19
  * ["xyz", "abc", "def"].map(equalsABC)
@@ -43,6 +45,8 @@ export declare const stringOp: (op: Operator | Predicate2<string>, x: string) =>
43
45
  *
44
46
  * @example
45
47
  * ```ts
48
+ * import { numericOp } from "@thi.ng/compare";
49
+ *
46
50
  * const lessThan42 = numericOp("<", 42);
47
51
  *
48
52
  * lessThan42(41)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/compare",
3
- "version": "2.2.21",
3
+ "version": "2.2.22",
4
4
  "description": "Comparators with support for types implementing the @thi.ng/api/ICompare interface",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -35,7 +35,7 @@
35
35
  "test": "bun test"
36
36
  },
37
37
  "dependencies": {
38
- "@thi.ng/api": "^8.9.25"
38
+ "@thi.ng/api": "^8.9.26"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@microsoft/api-extractor": "^7.40.1",
@@ -79,5 +79,5 @@
79
79
  "default": "./reverse.js"
80
80
  }
81
81
  },
82
- "gitHead": "4513a1c703bdbf0f0867f03e547e47692e415fac\n"
82
+ "gitHead": "6e20f80dd9df1c8055ffa3c1e4d6f7598add0c0b\n"
83
83
  }