schemastery
Advanced tools
Comparing version 3.5.4 to 3.6.0
@@ -67,3 +67,3 @@ import { Dict } from 'cosmokit'; | ||
date(): Schema<string | Date, Date>; | ||
bitset<K extends string>(bits: Dict<number, K>): Schema<number | readonly K[], number>; | ||
bitset<K extends string>(bits: Partial<Record<K, number>>): Schema<number | readonly K[], number>; | ||
function(): Schema<Function, (...args: any[]) => any>; | ||
@@ -100,3 +100,4 @@ is<T>(constructor: Constructor<T>): Schema<T>; | ||
push(value: Schema): Schema<S, T>; | ||
simplify(value?: any): any; | ||
} | ||
export = Schema; |
{ | ||
"name": "schemastery", | ||
"description": "Type driven schema validator", | ||
"version": "3.5.4", | ||
"version": "3.6.0", | ||
"main": "lib/index.cjs", | ||
@@ -23,4 +23,4 @@ "module": "lib/index.mjs", | ||
"dependencies": { | ||
"cosmokit": "^1.2.1" | ||
"cosmokit": "^1.3.4" | ||
} | ||
} |
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
Sorry, the diff of this file is not supported yet
100693
950
Updatedcosmokit@^1.3.4