@apidevtools/json-schema-ref-parser 10.0.0 → 10.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.
Files changed (2) hide show
  1. package/lib/index.d.ts +1 -1
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -246,7 +246,7 @@ declare namespace $RefParser {
246
246
  * @argument {string} path The path being dereferenced (ie. the `$ref` string).
247
247
  * @argument {JSONSchemaObject} object The JSON-Schema that the `$ref` resolved to.
248
248
  */
249
- onDereference(path: string, value: JSONSchemaObject): void;
249
+ onDereference?(path: string, value: JSONSchemaObject): void;
250
250
  };
251
251
  }
252
252
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@apidevtools/json-schema-ref-parser",
3
- "version": "10.0.0",
3
+ "version": "10.0.1",
4
4
  "description": "Parse, Resolve, and Dereference JSON Schema $ref pointers",
5
5
  "keywords": [
6
6
  "json",