@clerc/utils
Advanced tools
Comparing version 0.24.0 to 0.25.0
import * as _clerc_core from '@clerc/core'; | ||
import { Command } from '@clerc/core'; | ||
/** | ||
* Copied from type-fest | ||
*/ | ||
type Primitive = null | undefined | string | number | boolean | symbol | bigint; | ||
/** | ||
* Copied from type-fest | ||
*/ | ||
type LiteralUnion<LiteralType, BaseType extends Primitive> = LiteralType | (BaseType & Record<never, never>); | ||
type Equals<X, Y> = (<T>() => T extends X ? 1 : 2) extends (<T>() => T extends Y ? 1 : 2) ? true : false; | ||
@@ -34,2 +26,2 @@ type Dict<T> = Record<string, T>; | ||
export { CamelCase, Dict, Enhance, Equals, GetLength, GetTail, KebabCase, LiteralUnion, MaybeArray, Primitive, ToArray, arrayEquals, arrayStartsWith, camelCase, generateCommandRecordFromCommandArray, gracefulFlagName, gracefulVersion, kebabCase, semanticArray, toArray }; | ||
export { CamelCase, Dict, Enhance, Equals, GetLength, GetTail, KebabCase, MaybeArray, ToArray, arrayEquals, arrayStartsWith, camelCase, generateCommandRecordFromCommandArray, gracefulFlagName, gracefulVersion, kebabCase, semanticArray, toArray }; |
{ | ||
"name": "@clerc/utils", | ||
"version": "0.24.0", | ||
"version": "0.25.0", | ||
"author": "Ray <nn_201312@163.com> (https://github.com/so1ve)", | ||
@@ -47,2 +47,5 @@ "description": "Clerc utils", | ||
}, | ||
"dependencies": { | ||
"type-fest": "^3.5.1" | ||
}, | ||
"scripts": { | ||
@@ -49,0 +52,0 @@ "build": "puild", |
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
6488
2
86
+ Addedtype-fest@^3.5.1
+ Addedtype-fest@3.13.1(transitive)