camelcase-keys
Advanced tools
Comparing version 8.0.1 to 8.0.2
@@ -48,12 +48,14 @@ import {CamelCase, PascalCase} from 'type-fest'; | ||
? { | ||
[P in keyof T]: T[P] extends Record<string, any> | readonly any[] | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
[P in keyof T]: {} extends CamelCaseKeys<T[P]> | ||
? T[P] | ||
: CamelCaseKeys< | ||
T[P], | ||
Deep, | ||
IsPascalCase, | ||
Exclude, | ||
StopPaths | ||
>; | ||
? {} extends CamelCaseKeys<T[P]> | ||
? T[P] | ||
: CamelCaseKeys< | ||
T[P], | ||
Deep, | ||
IsPascalCase, | ||
Exclude, | ||
StopPaths | ||
> | ||
: T[P]; | ||
} | ||
@@ -60,0 +62,0 @@ : T extends Record<string, any> |
{ | ||
"name": "camelcase-keys", | ||
"version": "8.0.1", | ||
"version": "8.0.2", | ||
"description": "Convert object keys to camel case", | ||
@@ -64,3 +64,3 @@ "license": "MIT", | ||
"matcha": "^0.7.0", | ||
"tsd": "^0.20.0", | ||
"tsd": "^0.23.0", | ||
"xo": "^0.49.0" | ||
@@ -67,0 +67,0 @@ }, |
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
11622
233