sinwan-compiler 0.2.6 → 0.2.7

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.
@@ -611,6 +611,9 @@ function createBindingDescriptor(expr, exprPath, options) {
611
611
  wrapExpression(expr)
612
612
  ]);
613
613
  }
614
+ if (t.isIdentifier(expr, { name: "children" })) {
615
+ return wrapExpression(expr);
616
+ }
614
617
  return t.callExpression(t.identifier("_$bindText"), [wrapExpression(expr)]);
615
618
  }
616
619
  function collectComponentFunctions2(ast, ccNames) {
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@
3
3
  import {
4
4
  runAnalyzeCli2,
5
5
  runCliIfMain2
6
- } from "./chunk-m4rk009c.js";
6
+ } from "./chunk-edjqytm9.js";
7
7
  export {
8
8
  runAnalyzeCli2 as runAnalyzeCli,
9
9
  runCliIfMain2 as runCliIfMain
package/dist/index.js CHANGED
@@ -17,7 +17,7 @@ import {
17
17
  propagateReactiveProps2,
18
18
  wrapReactiveExpressions2,
19
19
  runAnalyzeCli2
20
- } from "./chunk-m4rk009c.js";
20
+ } from "./chunk-edjqytm9.js";
21
21
 
22
22
  // src/transform.ts
23
23
  import { parse } from "@babel/parser";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sinwan-compiler",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "Shared compiler core for Sinwan plugins",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",