@ultimat3/schema 6.0.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ultimat3/schema",
3
- "version": "6.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "Ultimate's validation seam: Standard Schema interface, the t namespace, JSON Schema output",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -51,7 +51,7 @@ export interface JsonSchema {
51
51
 
52
52
  export type JsonSchemaDialect = '2020-12' | 'draft-07';
53
53
 
54
- const DIALECTS: Readonly<Record<JsonSchemaDialect, string>> = Object.freeze({
54
+ const DIALECTS = Object.freeze<Record<JsonSchemaDialect, string>>({
55
55
  '2020-12': 'https://json-schema.org/draft/2020-12/schema',
56
56
  'draft-07': 'http://json-schema.org/draft-07/schema#',
57
57
  });