@gmana/utils
Advanced tools
Comparing version 1.0.3 to 1.0.4
import { ClassValue } from 'clsx'; | ||
declare function bytesToSize(bytes: number, decimals?: number): string; | ||
declare const cn: (...inputs: ClassValue[]) => string; | ||
@@ -29,3 +31,3 @@ | ||
declare function formatDate(input: string | number | Date): string; | ||
declare function formatDate(input: string | number | Date, options?: Intl.DateTimeFormatOptions | undefined): string; | ||
@@ -52,2 +54,4 @@ declare function fetcher<JSON = never>(input: RequestInfo, init?: RequestInit): Promise<JSON>; | ||
declare function isEmpty(text: any): boolean; | ||
declare const isBrowser: boolean; | ||
@@ -76,2 +80,2 @@ | ||
export { cn, colorLuminance, compactOject, darken, fetcher, flatten, formatDate, getColor, getImageInContent, getRandomInitials, getRandomInt, hexToHsl, hexToRgb, htmlToText, isBrowser, isNavigator, lighten, shuffle, slugify, toPixel, v1, v2, v3 }; | ||
export { bytesToSize, cn, colorLuminance, compactOject, darken, fetcher, flatten, formatDate, getColor, getImageInContent, getRandomInitials, getRandomInt, hexToHsl, hexToRgb, htmlToText, isBrowser, isEmpty, isNavigator, lighten, shuffle, slugify, toPixel, v1, v2, v3 }; |
{ | ||
"name": "@gmana/utils", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"license": "MIT", | ||
@@ -25,2 +25,3 @@ "main": "dist/index.js", | ||
"eslint": "^8.45.0", | ||
"esm-env": "^1.0.0", | ||
"react": "^18.2.0", | ||
@@ -27,0 +28,0 @@ "tailwind-merge": "^1.14.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
167391
5745
2
11