@xaendar/compiler 0.6.5 → 0.6.6

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.
@@ -2523,7 +2523,7 @@ function generateRenderFunction(ast, cssVariableName) {
2523
2523
  nodeToProcess.clear();
2524
2524
  const context = new Context();
2525
2525
  const renderFunctions = ["_render() {"];
2526
- if (cssVariableName) renderFunctions.push(...indent(`this._root.adoptedStyleSheets = [${cssVariableName}];`));
2526
+ if (cssVariableName) renderFunctions.push(indent(`this._root.adoptedStyleSheets = [${cssVariableName}];`));
2527
2527
  renderFunctions.push(...indent([
2528
2528
  "let unwatchFns = [];",
2529
2529
  ...ast.map((node, i) => [...processNode(node, i.toString(), ROOT_NODE, context)]).flat(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xaendar/compiler",
3
- "version": "0.6.5",
3
+ "version": "0.6.6",
4
4
  "description": "A library for transpiling Xaendar Templates into JavaScript code",
5
5
  "sideEffects": false,
6
6
  "type": "module",
@@ -16,8 +16,8 @@
16
16
  }
17
17
  },
18
18
  "dependencies": {
19
- "@xaendar/common": "0.6.5",
20
- "@xaendar/types": "0.6.5",
19
+ "@xaendar/common": "0.6.6",
20
+ "@xaendar/types": "0.6.6",
21
21
  "typescript": "^6.0.3"
22
22
  }
23
23
  }