Comparing version 1.0.1 to 1.0.2
declare function Omit<T, K extends keyof T>( | ||
obj: T, | ||
keys: K[] | ||
): Record<Exclude<keyof T, K>, {}>; | ||
keys: Array<K> | ||
): Pick<T, Exclude<keyof T, K>>; | ||
export default Omit; |
{ | ||
"name": "omit.js", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Utility function to create a shallow copy of an object which had dropped some fields.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4098
0