@augment-vir/common 31.57.1 → 31.57.2

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.
@@ -29,7 +29,7 @@ export declare function filterObject<ObjectGeneric>(inputObject: Readonly<Object
29
29
  * @category Package : @augment-vir/common
30
30
  * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
31
31
  */
32
- export type RemoveUndefinedValues<ObjectGeneric> = {
32
+ export type RemoveUndefinedValues<ObjectGeneric> = string extends keyof ObjectGeneric ? Record<string, Exclude<ObjectGeneric[keyof ObjectGeneric], undefined>> : {
33
33
  [Key in ExcludeKeysWithMatchingValues<ObjectGeneric, undefined>]: ObjectGeneric[Key];
34
34
  } & {
35
35
  [Key in ExtractKeysWithMatchingValues<ObjectGeneric, undefined>]?: Exclude<ObjectGeneric[Key], undefined>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/common",
3
- "version": "31.57.1",
3
+ "version": "31.57.2",
4
4
  "description": "A collection of augments, helpers types, functions, and classes for any JavaScript environment.",
5
5
  "keywords": [
6
6
  "augment",
@@ -40,8 +40,8 @@
40
40
  "test:web": "virmator --no-deps test web"
41
41
  },
42
42
  "dependencies": {
43
- "@augment-vir/assert": "^31.57.1",
44
- "@augment-vir/core": "^31.57.1",
43
+ "@augment-vir/assert": "^31.57.2",
44
+ "@augment-vir/core": "^31.57.2",
45
45
  "@date-vir/duration": "^8.1.0",
46
46
  "ansi-styles": "^6.2.3",
47
47
  "deepcopy-esm": "^2.1.1",