camelcase-keys
Advanced tools
Comparing version 9.1.0 to 9.1.1
@@ -14,3 +14,3 @@ import type {CamelCase, PascalCase} from 'type-fest'; | ||
*/ | ||
type WithDefault<T, U extends T> = T extends undefined | void | null ? U : T; // eslint-disable-line @typescript-eslint/ban-types | ||
type WithDefault<T, U> = T extends undefined | void | null ? U : T; // eslint-disable-line @typescript-eslint/ban-types | ||
@@ -241,7 +241,7 @@ // TODO: Replace this with https://github.com/sindresorhus/type-fest/blob/main/source/includes.d.ts | ||
T, | ||
WithDefault<OptionsType['deep'], false>, | ||
WithDefault<OptionsType['pascalCase'], false>, | ||
WithDefault<OptionsType['preserveConsecutiveUppercase'], false>, | ||
WithDefault<OptionsType['exclude'], EmptyTuple>, | ||
WithDefault<OptionsType['stopPaths'], EmptyTuple> | ||
WithDefault<'deep' extends keyof OptionsType ? OptionsType['deep'] : undefined, false>, | ||
WithDefault<'pascalCase' extends keyof OptionsType ? OptionsType['pascalCase'] : undefined, false>, | ||
WithDefault<'preserveConsecutiveUppercase' extends keyof OptionsType ? OptionsType['preserveConsecutiveUppercase'] : undefined, false>, | ||
WithDefault<'exclude' extends keyof OptionsType ? OptionsType['exclude'] : undefined, EmptyTuple>, | ||
WithDefault<'stopPaths' extends keyof OptionsType ? OptionsType['stopPaths'] : undefined, EmptyTuple> | ||
>; |
{ | ||
"name": "camelcase-keys", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"description": "Convert object keys to camel case", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
12625