convention_builder 1.1.0 → 1.1.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.
- package/dist/module/index.js +1 -1
- package/dist/node/index.js +1 -1
- package/package.json +1 -1
package/dist/module/index.js
CHANGED
|
@@ -8884,7 +8884,7 @@ var require_convention_builder = __commonJS({
|
|
|
8884
8884
|
this.schema.properties.attributes.properties[attr] = this.overlay.properties.attributes.properties[attr];
|
|
8885
8885
|
});
|
|
8886
8886
|
let originalRequiredFields = this.schema.properties.attributes.required ? this.schema.properties.attributes.required : [];
|
|
8887
|
-
let allRequiredSet = [...originalRequiredFields, ...Array.from(this.requiredFields)];
|
|
8887
|
+
let allRequiredSet = Array.from(/* @__PURE__ */ new Set([...originalRequiredFields, ...Array.from(this.requiredFields)]));
|
|
8888
8888
|
this.schema.properties.attributes.required = allRequiredSet;
|
|
8889
8889
|
this.schema.description = this.overlay.description;
|
|
8890
8890
|
let validatorObj = buildValidator();
|
package/dist/node/index.js
CHANGED
|
@@ -8877,7 +8877,7 @@ var require_convention_builder = __commonJS({
|
|
|
8877
8877
|
this.schema.properties.attributes.properties[attr] = this.overlay.properties.attributes.properties[attr];
|
|
8878
8878
|
});
|
|
8879
8879
|
let originalRequiredFields = this.schema.properties.attributes.required ? this.schema.properties.attributes.required : [];
|
|
8880
|
-
let allRequiredSet = [...originalRequiredFields, ...Array.from(this.requiredFields)];
|
|
8880
|
+
let allRequiredSet = Array.from(/* @__PURE__ */ new Set([...originalRequiredFields, ...Array.from(this.requiredFields)]));
|
|
8881
8881
|
this.schema.properties.attributes.required = allRequiredSet;
|
|
8882
8882
|
this.schema.description = this.overlay.description;
|
|
8883
8883
|
let validatorObj = buildValidator();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "convention_builder",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Helper tools that offer a high level interface that transforms a convention description into it's json schema.",
|
|
5
5
|
"main": "./dist/node/index.js",
|
|
6
6
|
"browser": "./dist/browser/index.js",
|