Skip to content

Commit

Permalink
Bump version to 2.13.2 and update dist files
Browse files Browse the repository at this point in the history
  • Loading branch information
bhch committed Dec 2, 2023
1 parent 2bad1e5 commit 074398b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/react-json-form.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ function findMatchingSubschemaIndex(data, schema, getRef, schemaName) {
if (index === null) {
// still no match found
if (data === null) // for null data, return the first subschema and hope for the best
index = 1;else // for anything else, throw error
index = 0;else // for anything else, throw error
throw new Error("No matching subschema found in '" + schemaName + "' for data '" + data + "' (type: " + dataType + ")");
}

Expand Down
2 changes: 1 addition & 1 deletion dist/react-json-form.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/react-json-form.modern.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ function findMatchingSubschemaIndex(data, schema, getRef, schemaName) {
if (index === null) {
// still no match found
if (data === null) // for null data, return the first subschema and hope for the best
index = 1;else // for anything else, throw error
index = 0;else // for anything else, throw error
throw new Error("No matching subschema found in '" + schemaName + "' for data '" + data + "' (type: " + dataType + ")");
}

Expand Down
2 changes: 1 addition & 1 deletion dist/react-json-form.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ function findMatchingSubschemaIndex(data, schema, getRef, schemaName) {
if (index === null) {
// still no match found
if (data === null) // for null data, return the first subschema and hope for the best
index = 1;else // for anything else, throw error
index = 0;else // for anything else, throw error
throw new Error("No matching subschema found in '" + schemaName + "' for data '" + data + "' (type: " + dataType + ")");
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bhch/react-json-form",
"version": "2.13.1",
"version": "2.13.2",
"description": "Create forms using JSON Schema",
"publishConfig": {
"access": "public"
Expand Down

0 comments on commit 074398b

Please sign in to comment.