@augment-vir/common 31.1.1 → 31.2.0

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/README.md CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  A collection of augments, helpers types, functions, and classes for any JavaScript environment.
4
4
 
5
- - Examples: [`filterObject`](https://electrovir.github.io/augment-vir/functions/filterObject.html), [`wait`](https://electrovir.github.io/augment-vir/functions/wait.html), [`getEnumValues`](https://electrovir.github.io/augment-vir/functions/getEnumValues.html)
6
- - Includes a colored logger implementation: [`log`](https://electrovir.github.io/augment-vir/variables/log.html)
7
- - Includes a SQL-select-like runtime implementation of TypeScript's `Pick`: [`selectFrom`](https://electrovir.github.io/augment-vir/functions/selectFrom-1.html)
8
- - Includes Prisma type helpers.
9
- - and much more...
5
+ - Examples: [`filterObject`](https://electrovir.github.io/augment-vir/functions/filterObject.html), [`wait`](https://electrovir.github.io/augment-vir/functions/wait.html), [`getEnumValues`](https://electrovir.github.io/augment-vir/functions/getEnumValues.html)
6
+ - Includes a colored logger implementation: [`log`](https://electrovir.github.io/augment-vir/variables/log.html)
7
+ - Includes a SQL-select-like runtime implementation of TypeScript's `Pick`: [`selectFrom`](https://electrovir.github.io/augment-vir/functions/selectFrom-1.html)
8
+ - Includes Prisma type helpers.
9
+ - and much more...
10
10
 
11
11
  See all `@augment-vir` docs here: https://electrovir.github.io/augment-vir
@@ -1,4 +1,4 @@
1
- import { type Values } from '@augment-vir/core';
1
+ import { type CompleteValues } from '@augment-vir/core';
2
2
  /**
3
3
  * Filters an object. Like
4
4
  * [`[].filter`](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/fromEntries)
@@ -19,4 +19,4 @@ import { type Values } from '@augment-vir/core';
19
19
  *
20
20
  * @package [`@augment-vir/common`](https://www.npmjs.com/package/@augment-vir/common)
21
21
  */
22
- export declare function filterObject<ObjectGeneric>(inputObject: ObjectGeneric, callback: (key: keyof ObjectGeneric, value: Values<ObjectGeneric>, fullObject: ObjectGeneric) => boolean): Partial<ObjectGeneric>;
22
+ export declare function filterObject<ObjectGeneric>(inputObject: ObjectGeneric, callback: (key: keyof ObjectGeneric, value: CompleteValues<ObjectGeneric>, fullObject: ObjectGeneric) => boolean): Partial<ObjectGeneric>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@augment-vir/common",
3
- "version": "31.1.1",
3
+ "version": "31.2.0",
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.1.1",
43
- "@augment-vir/core": "^31.1.1",
42
+ "@augment-vir/assert": "^31.2.0",
43
+ "@augment-vir/core": "^31.2.0",
44
44
  "@date-vir/duration": "^7.0.1",
45
45
  "ansi-styles": "^6.2.1",
46
46
  "json5": "^2.2.3",