marko 6.0.68 → 6.0.69

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.
@@ -10120,13 +10120,11 @@ var style_default = {
10120
10120
  )
10121
10121
  );
10122
10122
  } else {
10123
+ const varDecl = import_compiler50.types.variableDeclaration("const", [
10124
+ import_compiler50.types.variableDeclarator(node.var, (0, import_babel_utils44.importStar)(file, importPath, "style"))
10125
+ ]);
10123
10126
  (0, import_babel_utils44.getProgram)().node.body.push(
10124
- import_compiler50.types.variableDeclaration("const", [
10125
- import_compiler50.types.variableDeclarator(
10126
- node.var,
10127
- (0, import_babel_utils44.importStar)(file, importPath, "style")
10128
- )
10129
- ])
10127
+ isOutputDOM() ? varDecl : import_compiler50.types.markoScriptlet([varDecl], true)
10130
10128
  );
10131
10129
  }
10132
10130
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.68",
3
+ "version": "6.0.69",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",