@kontur.candy/generator 4.262.0-readonly-candy.2 → 4.263.0-readonly-candy.0
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 +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -122232,7 +122232,8 @@ class EvaluateTemplateVisitor {
|
|
|
122232
122232
|
}
|
|
122233
122233
|
|
|
122234
122234
|
node.attributes[attributeName] = updatedValue;
|
|
122235
|
-
} else if (typeof attribute === "object") {
|
|
122235
|
+
} else if (typeof attribute === "object" && !Array.isArray(attribute) && attribute !== null) {
|
|
122236
|
+
const newValue = {};
|
|
122236
122237
|
Object.keys(attribute).forEach(key => {
|
|
122237
122238
|
const value = attribute[key];
|
|
122238
122239
|
|
|
@@ -122243,9 +122244,10 @@ class EvaluateTemplateVisitor {
|
|
|
122243
122244
|
updatedValue = this.applyStringParameter(parameter, updatedValue);
|
|
122244
122245
|
}
|
|
122245
122246
|
|
|
122246
|
-
|
|
122247
|
+
newValue[key] = updatedValue;
|
|
122247
122248
|
}
|
|
122248
122249
|
});
|
|
122250
|
+
node.attributes[attributeName] = newValue;
|
|
122249
122251
|
}
|
|
122250
122252
|
}
|
|
122251
122253
|
|