Socket
Socket
Sign inDemoInstall

camelcase-keys

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camelcase-keys - npm Package Compare versions

Comparing version 9.1.1 to 9.1.2

7

index.d.ts

@@ -6,3 +6,4 @@ import type {CamelCase, PascalCase} from 'type-fest';

type ObjectOptional = Record<string, unknown> | undefined;
// Allow union with, for example, `undefined` and `null`.
type ObjectUnion = Record<string, unknown> | unknown;

@@ -42,3 +43,3 @@ /**

export type CamelCaseKeys<
T extends ObjectOptional | readonly any[],
T extends ObjectUnion | readonly any[],
Deep extends boolean = false,

@@ -76,3 +77,3 @@ IsPascalCase extends boolean = false,

: [Deep] extends [true]
? T[P] extends ObjectOptional | readonly any[]
? T[P] extends ObjectUnion | readonly any[]
? CamelCaseKeys<

@@ -79,0 +80,0 @@ T[P],

{
"name": "camelcase-keys",
"version": "9.1.1",
"version": "9.1.2",
"description": "Convert object keys to camel case",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc