@apidevtools/json-schema-ref-parser 14.0.0 → 14.0.1

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.
@@ -28,7 +28,7 @@ export interface HTTPResolverOptions<S extends object = JSONSchema> extends Part
28
28
  /**
29
29
  * Set this to `false` if you want to allow unsafe URLs (e.g., `127.0.0.1`, localhost, and other internal URLs).
30
30
  */
31
- safeUrlResolver: true;
31
+ safeUrlResolver?: boolean;
32
32
  }
33
33
  /**
34
34
  * JSON Schema `$Ref` Parser comes with built-in resolvers for HTTP and HTTPS URLs, as well as local filesystem paths (when running in Node.js). You can add your own custom resolvers to support additional protocols, or even replace any of the built-in resolvers with your own custom implementation.
@@ -45,7 +45,7 @@ export interface HTTPResolverOptions<S extends object = JSONSchema> extends Part
45
45
  /**
46
46
  * Set this to `false` if you want to allow unsafe URLs (e.g., `127.0.0.1`, localhost, and other internal URLs).
47
47
  */
48
- safeUrlResolver: true;
48
+ safeUrlResolver?: boolean;
49
49
  }
50
50
 
51
51
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apidevtools/json-schema-ref-parser",
3
- "version": "14.0.0",
3
+ "version": "14.0.1",
4
4
  "description": "Parse, Resolve, and Dereference JSON Schema $ref pointers",
5
5
  "scripts": {
6
6
  "prepublishOnly": "yarn build",