es-toolkit
Advanced tools
Comparing version 1.4.0-dev.82 to 1.4.0-dev.84
@@ -8,3 +8,3 @@ /** | ||
* @param {T} obj - The object to omit properties from. | ||
* @param {(value: T[string], key: string) => boolean} shouldOmit - A predicate function that determines | ||
* @param {(value: T[string], key: keyof T) => boolean} shouldOmit - A predicate function that determines | ||
* whether a property should be omitted. It takes the property's key and value as arguments and returns `true` | ||
@@ -20,4 +20,4 @@ * if the property should be omitted, and `false` otherwise. | ||
*/ | ||
declare function omitBy<T extends Record<string, any>>(obj: T, shouldOmit: (value: T[keyof T], key: string) => boolean): Partial<T>; | ||
declare function omitBy<T extends Record<string, any>>(obj: T, shouldOmit: (value: T[keyof T], key: keyof T) => boolean): Partial<T>; | ||
export { omitBy }; |
@@ -8,3 +8,3 @@ /** | ||
* @param {T} obj - The object to pick properties from. | ||
* @param {(value: T[keyof T], key: string) => boolean} shouldPick - A predicate function that determines | ||
* @param {(value: T[keyof T], key: keyof T) => boolean} shouldPick - A predicate function that determines | ||
* whether a property should be picked. It takes the property's key and value as arguments and returns `true` | ||
@@ -20,4 +20,4 @@ * if the property should be picked, and `false` otherwise. | ||
*/ | ||
declare function pickBy<T extends Record<string, any>>(obj: T, shouldPick: (value: T[keyof T], key: string) => boolean): Partial<T>; | ||
declare function pickBy<T extends Record<string, any>>(obj: T, shouldPick: (value: T[keyof T], key: keyof T) => boolean): Partial<T>; | ||
export { pickBy }; |
{ | ||
"name": "es-toolkit", | ||
"description": "A state-of-the-art, high-performance JavaScript utility library with a small bundle size and strong type annotations.", | ||
"version": "1.4.0-dev.82+8f1ffc75", | ||
"version": "1.4.0-dev.84+b66eab0a", | ||
"workspaces": [ | ||
@@ -6,0 +6,0 @@ "docs" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
521618