@thi.ng/compare 2.3.4 → 2.3.5

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 +1 -1
  2. package/ops.js +2 -4
  3. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2024-04-23T07:02:17Z
3
+ - **Last updated**: 2024-05-08T18:24:31Z
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.js CHANGED
@@ -8,10 +8,8 @@ const OPERATORS = {
8
8
  };
9
9
  const __ensure = (op) => {
10
10
  if (typeof op === "string") {
11
- if (op in OPERATORS)
12
- return OPERATORS[op];
13
- else
14
- throw new Error(`invalid operator: ${op}`);
11
+ if (op in OPERATORS) return OPERATORS[op];
12
+ else throw new Error(`invalid operator: ${op}`);
15
13
  }
16
14
  return op;
17
15
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/compare",
3
- "version": "2.3.4",
3
+ "version": "2.3.5",
4
4
  "description": "Comparators with support for types implementing the @thi.ng/api/ICompare interface",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -36,13 +36,13 @@
36
36
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
37
37
  },
38
38
  "dependencies": {
39
- "@thi.ng/api": "^8.11.1"
39
+ "@thi.ng/api": "^8.11.2"
40
40
  },
41
41
  "devDependencies": {
42
- "@microsoft/api-extractor": "^7.43.0",
43
- "esbuild": "^0.20.2",
44
- "typedoc": "^0.25.12",
45
- "typescript": "^5.4.3"
42
+ "@microsoft/api-extractor": "^7.43.2",
43
+ "esbuild": "^0.21.1",
44
+ "typedoc": "^0.25.13",
45
+ "typescript": "^5.4.5"
46
46
  },
47
47
  "keywords": [
48
48
  "comparator",
@@ -85,5 +85,5 @@
85
85
  "thi.ng": {
86
86
  "alias": "cmp"
87
87
  },
88
- "gitHead": "5dd66c18a3862a3af69a5b2f49563f7cbdd960c2\n"
88
+ "gitHead": "df34b4a9e650cc7323575356de207d78933bdcf3\n"
89
89
  }