@pandacss/parser 0.31.0 → 0.32.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 CHANGED
@@ -485,7 +485,7 @@ var vueToTsx = (code) => {
485
485
  fileStr.replace(prop.loc.source, `${prop.arg.content}={${prop.exp.content}}`);
486
486
  }
487
487
  };
488
- const stack = [...parsed.descriptor.template.ast.children];
488
+ const stack = Array.from(parsed.descriptor.template?.ast?.children ?? []);
489
489
  while (stack.length) {
490
490
  const node = stack.pop();
491
491
  if (!node)
package/dist/index.mjs CHANGED
@@ -451,7 +451,7 @@ var vueToTsx = (code) => {
451
451
  fileStr.replace(prop.loc.source, `${prop.arg.content}={${prop.exp.content}}`);
452
452
  }
453
453
  };
454
- const stack = [...parsed.descriptor.template.ast.children];
454
+ const stack = Array.from(parsed.descriptor.template?.ast?.children ?? []);
455
455
  while (stack.length) {
456
456
  const node = stack.pop();
457
457
  if (!node)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/parser",
3
- "version": "0.31.0",
3
+ "version": "0.32.0",
4
4
  "description": "The static parser for panda css",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -28,20 +28,20 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@vue/compiler-sfc": "3.3.4",
31
+ "@vue/compiler-sfc": "3.4.19",
32
32
  "magic-string": "0.30.7",
33
- "ts-morph": "19.0.0",
34
- "ts-pattern": "5.0.5",
35
- "@pandacss/config": "^0.31.0",
36
- "@pandacss/core": "^0.31.0",
37
- "@pandacss/extractor": "0.31.0",
38
- "@pandacss/logger": "0.31.0",
39
- "@pandacss/shared": "0.31.0",
40
- "@pandacss/types": "0.31.0"
33
+ "ts-morph": "21.0.1",
34
+ "ts-pattern": "5.0.8",
35
+ "@pandacss/config": "^0.32.0",
36
+ "@pandacss/core": "^0.32.0",
37
+ "@pandacss/extractor": "0.32.0",
38
+ "@pandacss/logger": "0.32.0",
39
+ "@pandacss/shared": "0.32.0",
40
+ "@pandacss/types": "0.32.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@vue/compiler-core": "3.3.4",
44
- "@pandacss/generator": "0.31.0"
43
+ "@vue/compiler-core": "3.4.19",
44
+ "@pandacss/generator": "0.32.0"
45
45
  },
46
46
  "files": [
47
47
  "dist"