@blocksuite/global
Advanced tools
Comparing version 0.4.0-20230117022540-0a09287 to 0.4.0-20230117135824-d571db4
@@ -12,3 +12,4 @@ export declare const SYS_KEYS: Set<string>; | ||
export declare function assertEquals<T extends Allowed, U extends T>(val: T, expected: U): asserts val is U; | ||
export declare function sleep(ms: number): Promise<void>; | ||
export {}; | ||
//# sourceMappingURL=utils.d.ts.map |
@@ -47,2 +47,5 @@ export const SYS_KEYS = new Set(['id', 'flavour', 'children']); | ||
} | ||
export async function sleep(ms) { | ||
return new Promise(resolve => setTimeout(resolve, ms)); | ||
} | ||
//# sourceMappingURL=utils.js.map |
{ | ||
"name": "@blocksuite/global", | ||
"version": "0.4.0-20230117022540-0a09287", | ||
"version": "0.4.0-20230117135824-d571db4", | ||
"types": "./index.d.ts", | ||
@@ -8,3 +8,4 @@ "type": "module", | ||
".": "./index.d.ts", | ||
"./utils": "./dist/utils.js" | ||
"./utils": "./dist/utils.js", | ||
"./debug": "./dist/debug.js" | ||
}, | ||
@@ -20,2 +21,5 @@ "author": "toeverything", | ||
}, | ||
"dependencies": { | ||
"ansi-colors": "^4.1.3" | ||
}, | ||
"scripts": { | ||
@@ -22,0 +26,0 @@ "build": "tsc" |
@@ -68,1 +68,5 @@ export const SYS_KEYS = new Set(['id', 'flavour', 'children']); | ||
} | ||
export async function sleep(ms: number): Promise<void> { | ||
return new Promise(resolve => setTimeout(resolve, ms)); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
64911
19
465
1
+ Addedansi-colors@^4.1.3
+ Addedansi-colors@4.1.3(transitive)