Comparing version 1.3.3 to 1.3.4
@@ -17,3 +17,3 @@ export type Dict<T = any, K extends string = string> = { | ||
export function deepEqual(a: any, b: any): boolean; | ||
export function pick<T, K extends keyof T>(source: T, keys?: Iterable<K>, forced?: boolean): Pick<T, K>; | ||
export function pick<T extends object, K extends keyof T>(source: T, keys?: Iterable<K>, forced?: boolean): Pick<T, K>; | ||
export function omit<T, K extends keyof T>(source: T, keys?: Iterable<K>): Omit<T, K>; | ||
@@ -28,3 +28,3 @@ export function defineProperty<T, K extends keyof T>(object: T, key: K, value: T[K]): T; | ||
export function remove<T>(list: T[], item: T): boolean; | ||
export function makeArray<T>(source: T | T[]): T[]; | ||
export function makeArray<T>(source: null | undefined | T | T[]): T[]; | ||
export function capitalize(source: string): string; | ||
@@ -31,0 +31,0 @@ export function uncapitalize(source: string): string; |
{ | ||
"name": "cosmokit", | ||
"description": "A collection of common utilities", | ||
"version": "1.3.3", | ||
"version": "1.3.4", | ||
"sideEffects": false, | ||
@@ -33,15 +33,15 @@ "main": "lib/index.cjs", | ||
"@sinonjs/fake-timers": "^6.0.1", | ||
"@types/chai": "^4.3.1", | ||
"@types/chai": "^4.3.4", | ||
"@types/mocha": "^9.1.1", | ||
"@types/node": "^18.6.4", | ||
"@types/node": "^18.11.9", | ||
"@types/sinonjs__fake-timers": "^6.0.4", | ||
"c8": "^7.12.0", | ||
"chai": "^4.3.6", | ||
"dtsc": "^2.2.3", | ||
"esbuild": "^0.14.51", | ||
"esbuild-register": "^3.3.3", | ||
"chai": "^4.3.7", | ||
"dtsc": "^2.3.0", | ||
"esbuild": "^0.14.54", | ||
"esbuild-register": "^3.4.1", | ||
"mocha": "^9.2.2", | ||
"shx": "^0.3.4", | ||
"typescript": "4.8.2" | ||
"typescript": "^4.9.3" | ||
} | ||
} |
@@ -23,3 +23,3 @@ # cosmokit | ||
```ts | ||
import cosmokit from 'https://cdn.skypack.dev/cosmokit' | ||
``` | ||
import cosmokit from 'npm:cosmokit@latest' | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
63470
25