json-schema-library
Advanced tools
Comparing version 4.1.2 to 4.1.3
@@ -25,3 +25,3 @@ /* eslint max-len: 0 */ | ||
MinPropertiesError: "Too few properties in `{{pointer}}`, should be at least `{{minimum}}`, but got `{{length}}`", | ||
MissingOneOfPropertyError: "Value at `{{pointer}}aroperty `{{property}}`", | ||
MissingOneOfPropertyError: "Value at `{{pointer}}` property: `{{property}}`", | ||
MissingDependencyError: "The required propery '{{missingProperty}}' in `{{pointer}}` is missing", | ||
@@ -28,0 +28,0 @@ MultipleOfError: "Expected `{{value}}` in `{{pointer}}` to be multiple of `{{multipleOf}}`", |
@@ -74,3 +74,3 @@ const filter = require("./utils/filter"); | ||
} else { | ||
return schema.oneOf[i]; | ||
return one; // return resolved schema | ||
} | ||
@@ -77,0 +77,0 @@ } |
{ | ||
"name": "json-schema-library", | ||
"version": "4.1.2", | ||
"version": "4.1.3", | ||
"description": "Customizable and hackable json-validator and json-schema utilities for traversal, data generation and validation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -10,3 +10,3 @@ <h1 align="center"><img src="./docs/json-schema-library.png" width="256" alt="json-schema-library"></h1> | ||
`npm i json-schema-library -S` or `yarn add json-schema-library -S` | ||
`npm i json-schema-library -S` or `yarn add json-schema-library` | ||
@@ -13,0 +13,0 @@ |
119515
58
2278