elegance-js 1.11.7 → 1.11.8

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.
@@ -431,7 +431,7 @@ var processPageElements = (element, objectAttributes, recursionLevel, stack = []
431
431
  element.options = {};
432
432
  for (let i = 0; i < children.length + 1; i++) {
433
433
  const child = element.children[i];
434
- const processedChild = processPageElements(child, objectAttributes, recursionLevel + 1);
434
+ const processedChild = processPageElements(child, objectAttributes, recursionLevel + 1, stack);
435
435
  element.children[i] = processedChild;
436
436
  }
437
437
  return {
@@ -508,7 +508,8 @@ var generateSuitablePageElements = async (pageLocation, pageElements, metadata,
508
508
  return [];
509
509
  }
510
510
  const objectAttributes = [];
511
- const processedPageElements = processPageElements(pageElements, objectAttributes, 0);
511
+ const stack = [];
512
+ const processedPageElements = processPageElements(pageElements, objectAttributes, 0, stack);
512
513
  elementKey = 0;
513
514
  const renderedPage = await serverSideRenderPage(
514
515
  processedPageElements,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elegance-js",
3
- "version": "1.11.7",
3
+ "version": "1.11.8",
4
4
  "description": "Web-Framework",
5
5
  "type": "module",
6
6
  "bin": {