@augment-vir/common 31.2.0 → 31.2.1

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.
@@ -1,4 +1,3 @@
1
- import type { AnyObject } from '@augment-vir/core';
2
1
  /**
3
2
  * Counts the number of unique keys in an object type. Note that a key of just `string` will count
4
3
  * as 1.
@@ -7,7 +6,7 @@ import type { AnyObject } from '@augment-vir/core';
7
6
  * @category Package : @augment-vir/common
8
7
  * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
9
8
  */
10
- export type KeyCount<T extends AnyObject> = UnionToTuple<keyof T>['length'];
9
+ export type KeyCount<T> = UnionToTuple<keyof T>['length'];
11
10
  /**
12
11
  * This is not exported because its order is not stable but it's okay for our simple use case where
13
12
  * we simply want to count the size of the union.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/common",
3
- "version": "31.2.0",
3
+ "version": "31.2.1",
4
4
  "description": "A collection of augments, helpers types, functions, and classes for any JavaScript environment.",
5
5
  "keywords": [
6
6
  "augment",
@@ -39,8 +39,8 @@
39
39
  "test:web": "virmator --no-deps test web"
40
40
  },
41
41
  "dependencies": {
42
- "@augment-vir/assert": "^31.2.0",
43
- "@augment-vir/core": "^31.2.0",
42
+ "@augment-vir/assert": "^31.2.1",
43
+ "@augment-vir/core": "^31.2.1",
44
44
  "@date-vir/duration": "^7.0.1",
45
45
  "ansi-styles": "^6.2.1",
46
46
  "json5": "^2.2.3",