@hyperjump/json-schema 1.17.1 → 1.17.2

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +2 -2
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -54,8 +54,8 @@ export const setMetaSchemaOutputFormat: (format: OutputFormat) => void;
54
54
  export const getMetaSchemaOutputFormat: () => OutputFormat;
55
55
  export const setShouldValidateSchema: (isEnabled: boolean) => void;
56
56
  export const getShouldValidateSchema: () => boolean;
57
- export const setShouldValidateFormat: (isEnabled: boolean) => void;
58
- export const getShouldValidateFormat: () => boolean;
57
+ export const setShouldValidateFormat: (isEnabled: boolean | undefined) => void;
58
+ export const getShouldValidateFormat: () => boolean | undefined;
59
59
 
60
60
  export class InvalidSchemaError extends Error {
61
61
  public output: Output & { valid: false };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperjump/json-schema",
3
- "version": "1.17.1",
3
+ "version": "1.17.2",
4
4
  "description": "A JSON Schema validator with support for custom keywords, vocabularies, and dialects",
5
5
  "type": "module",
6
6
  "main": "./v1/index.js",