@rjsf/utils 5.18.2 → 5.18.4

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/LICENSE.md CHANGED
@@ -186,7 +186,7 @@ APPENDIX: How to apply the Apache License to your work.
186
186
  same "printed page" as the copyright notice for easier
187
187
  identification within third-party archives.
188
188
 
189
- Copyright [yyyy] [name of copyright owner]
189
+ Copyright 2015-2024 rjsf-team
190
190
 
191
191
  Licensed under the Apache License, Version 2.0 (the "License");
192
192
  you may not use this file except in compliance with the License.
package/dist/index.js CHANGED
@@ -50,6 +50,7 @@ __export(src_exports, {
50
50
  PROPERTIES_KEY: () => PROPERTIES_KEY,
51
51
  REF_KEY: () => REF_KEY,
52
52
  REQUIRED_KEY: () => REQUIRED_KEY,
53
+ RJSF_ADDITIONAL_PROPERTIES_FLAG: () => RJSF_ADDITIONAL_PROPERTIES_FLAG,
53
54
  RJSF_ADDITONAL_PROPERTIES_FLAG: () => RJSF_ADDITONAL_PROPERTIES_FLAG,
54
55
  ROOT_SCHEMA_PREFIX: () => ROOT_SCHEMA_PREFIX,
55
56
  SUBMIT_BTN_OPTIONS_KEY: () => SUBMIT_BTN_OPTIONS_KEY,
@@ -196,6 +197,7 @@ var REQUIRED_KEY = "required";
196
197
  var SUBMIT_BTN_OPTIONS_KEY = "submitButtonOptions";
197
198
  var REF_KEY = "$ref";
198
199
  var RJSF_ADDITONAL_PROPERTIES_FLAG = "__rjsf_additionalProperties";
200
+ var RJSF_ADDITIONAL_PROPERTIES_FLAG = "__rjsf_additionalProperties";
199
201
  var ROOT_SCHEMA_PREFIX = "__rjsf_rootSchema";
200
202
  var UI_FIELD_KEY = "ui:field";
201
203
  var UI_WIDGET_KEY = "ui:widget";
@@ -1607,7 +1609,7 @@ function toPathSchemaInternal(validator, schema, name, rootSchema, formData, _re
1607
1609
  };
1608
1610
  }
1609
1611
  if (ADDITIONAL_PROPERTIES_KEY in schema && schema[ADDITIONAL_PROPERTIES_KEY] !== false) {
1610
- (0, import_set2.default)(pathSchema, RJSF_ADDITONAL_PROPERTIES_FLAG, true);
1612
+ (0, import_set2.default)(pathSchema, RJSF_ADDITIONAL_PROPERTIES_FLAG, true);
1611
1613
  }
1612
1614
  if (ITEMS_KEY in schema && Array.isArray(formData)) {
1613
1615
  const { items: schemaItems, additionalItems: schemaAdditionalItems } = schema;