@augment-vir/common
Advanced tools
Comparing version 31.1.1 to 31.2.0
@@ -1,2 +0,2 @@ | ||
import { type Values } from '@augment-vir/core'; | ||
import { type CompleteValues } from '@augment-vir/core'; | ||
/** | ||
@@ -22,2 +22,2 @@ * Filters an object. Like | ||
*/ | ||
export declare function filterObject<ObjectGeneric>(inputObject: ObjectGeneric, callback: (key: keyof ObjectGeneric, value: Values<ObjectGeneric>, fullObject: ObjectGeneric) => boolean): Partial<ObjectGeneric>; | ||
export declare function filterObject<ObjectGeneric>(inputObject: ObjectGeneric, callback: (key: keyof ObjectGeneric, value: CompleteValues<ObjectGeneric>, fullObject: ObjectGeneric) => boolean): Partial<ObjectGeneric>; |
{ | ||
"name": "@augment-vir/common", | ||
"version": "31.1.1", | ||
"version": "31.2.0", | ||
"description": "A collection of augments, helpers types, functions, and classes for any JavaScript environment.", | ||
@@ -42,4 +42,4 @@ "keywords": [ | ||
"dependencies": { | ||
"@augment-vir/assert": "^31.1.1", | ||
"@augment-vir/core": "^31.1.1", | ||
"@augment-vir/assert": "^31.2.0", | ||
"@augment-vir/core": "^31.2.0", | ||
"@date-vir/duration": "^7.0.1", | ||
@@ -46,0 +46,0 @@ "ansi-styles": "^6.2.1", |
@@ -5,8 +5,8 @@ # @augment-vir/common | ||
- 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) | ||
- Includes a colored logger implementation: [`log`](https://electrovir.github.io/augment-vir/variables/log.html) | ||
- Includes a SQL-select-like runtime implementation of TypeScript's `Pick`: [`selectFrom`](https://electrovir.github.io/augment-vir/functions/selectFrom-1.html) | ||
- Includes Prisma type helpers. | ||
- and much more... | ||
- 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) | ||
- Includes a colored logger implementation: [`log`](https://electrovir.github.io/augment-vir/variables/log.html) | ||
- Includes a SQL-select-like runtime implementation of TypeScript's `Pick`: [`selectFrom`](https://electrovir.github.io/augment-vir/functions/selectFrom-1.html) | ||
- Includes Prisma type helpers. | ||
- and much more... | ||
See all `@augment-vir` docs here: https://electrovir.github.io/augment-vir |
235412
+ Addedtype-fest@4.33.0(transitive)
- Removedtype-fest@4.32.0(transitive)
Updated@augment-vir/assert@^31.2.0
Updated@augment-vir/core@^31.2.0