@remoteoss/json-schema-form 0.1.1-dev.20230614173637 → 0.1.1-dev.20230616080231

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.
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /*!
3
3
  Copyright (c) 2023 Remote Technology, Inc.
4
- NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230614173637
5
- Generated: Wed, 14 Jun 2023 17:37:05 GMT
4
+ NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230616080231
5
+ Generated: Fri, 16 Jun 2023 08:02:42 GMT
6
6
 
7
7
  MIT License
8
8
 
@@ -591,7 +591,7 @@ function getField(fieldName, fields) {
591
591
  }
592
592
  function validateFieldSchema(field, value) {
593
593
  const validator = buildYupSchema(field);
594
- return validator().isValidSync(value, { strict: true });
594
+ return validator().isValidSync(value);
595
595
  }
596
596
  function compareFormValueWithSchemaValue(formValue, schemaValue) {
597
597
  const currentPropertyValue = typeof schemaValue === "number" ? schemaValue : schemaValue || void 0;
@@ -899,8 +899,7 @@ var handleValuesChange = (fields, jsonSchema, config) => (values) => {
899
899
  let errors;
900
900
  try {
901
901
  lazySchema.validateSync(values, {
902
- abortEarly: false,
903
- strict: true
902
+ abortEarly: false
904
903
  });
905
904
  } catch (err) {
906
905
  if (err.name === "ValidationError") {
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
 
2
2
  /*!
3
3
  Copyright (c) 2023 Remote Technology, Inc.
4
- NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230614173637
5
- Generated: Wed, 14 Jun 2023 17:37:05 GMT
4
+ NPM Package: @remoteoss/json-schema-form@0.1.1-dev.20230616080231
5
+ Generated: Fri, 16 Jun 2023 08:02:42 GMT
6
6
 
7
7
  MIT License
8
8
 
@@ -555,7 +555,7 @@ function getField(fieldName, fields) {
555
555
  }
556
556
  function validateFieldSchema(field, value) {
557
557
  const validator = buildYupSchema(field);
558
- return validator().isValidSync(value, { strict: true });
558
+ return validator().isValidSync(value);
559
559
  }
560
560
  function compareFormValueWithSchemaValue(formValue, schemaValue) {
561
561
  const currentPropertyValue = typeof schemaValue === "number" ? schemaValue : schemaValue || void 0;
@@ -863,8 +863,7 @@ var handleValuesChange = (fields, jsonSchema, config) => (values) => {
863
863
  let errors;
864
864
  try {
865
865
  lazySchema.validateSync(values, {
866
- abortEarly: false,
867
- strict: true
866
+ abortEarly: false
868
867
  });
869
868
  } catch (err) {
870
869
  if (err.name === "ValidationError") {