Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@clerc/utils

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clerc/utils - npm Package Compare versions

Comparing version 0.32.1 to 0.32.3

8

dist/index.d.ts

@@ -8,8 +8,2 @@ import * as _clerc_core from '@clerc/core';

type MaybeArray<T> = T | T[];
type GetLength<T extends any[]> = T extends {
length: infer L extends number;
} ? L : never;
type GetTail<T extends any[]> = T extends [infer _Head, ...infer Tail] ? Tail : never;
type EnhanceSingle<T, E extends Dict<any>> = T & E;
type Enhance<T, E extends Dict<any> | Dict<any>[]> = GetLength<ToArray<E>> extends 0 ? T : Enhance<EnhanceSingle<T, ToArray<E>[0]>, GetTail<ToArray<E>>>;
declare const toArray: <T>(a: MaybeArray<T>) => T[];

@@ -30,2 +24,2 @@ type AlphabetLowercase = "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";

export { CamelCase, Dict, Enhance, Equals, GetLength, GetTail, KebabCase, MaybeArray, ToArray, arrayEquals, arrayStartsWith, camelCase, generateCommandsFromCommandArray, gracefulFlagName, gracefulVersion, kebabCase, semanticArray, toArray };
export { CamelCase, Dict, Equals, KebabCase, MaybeArray, ToArray, arrayEquals, arrayStartsWith, camelCase, generateCommandsFromCommandArray, gracefulFlagName, gracefulVersion, kebabCase, semanticArray, toArray };

4

package.json
{
"name": "@clerc/utils",
"version": "0.32.1",
"version": "0.32.3",
"author": "Ray <i@mk1.io> (https://github.com/so1ve)",

@@ -48,3 +48,3 @@ "description": "Clerc utils",

"devDependencies": {
"type-fest": "^3.5.3"
"type-fest": "^3.6.0"
},

@@ -51,0 +51,0 @@ "scripts": {

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