@ronin/compiler 0.18.1 → 0.18.2
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.js +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1052,10 +1052,12 @@ var handleUsing = (model, instructions) => {
|
|
1052
1052
|
if (currentValue) {
|
1053
1053
|
let newValue;
|
1054
1054
|
if (Array.isArray(currentValue)) {
|
1055
|
-
newValue =
|
1056
|
-
|
1057
|
-
|
1058
|
-
|
1055
|
+
newValue = Array.from(
|
1056
|
+
/* @__PURE__ */ new Set([
|
1057
|
+
...replacedUsingFilter[instructionName],
|
1058
|
+
...currentValue
|
1059
|
+
])
|
1060
|
+
);
|
1059
1061
|
} else if (isObject(currentValue)) {
|
1060
1062
|
newValue = {
|
1061
1063
|
...replacedUsingFilter[instructionName],
|