@pandacss/parser 0.24.0 → 0.24.2

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
@@ -723,7 +723,7 @@ var Project = class {
723
723
  parseJson = (filePath) => {
724
724
  const { readFile, parserOptions } = this.options;
725
725
  const content = readFile(filePath);
726
- parserOptions.encoder.fromJSON(content);
726
+ parserOptions.encoder.fromJSON(JSON.parse(content));
727
727
  const result = new ParserResult(parserOptions);
728
728
  return result.setFilePath(filePath);
729
729
  };
package/dist/index.mjs CHANGED
@@ -689,7 +689,7 @@ var Project = class {
689
689
  parseJson = (filePath) => {
690
690
  const { readFile, parserOptions } = this.options;
691
691
  const content = readFile(filePath);
692
- parserOptions.encoder.fromJSON(content);
692
+ parserOptions.encoder.fromJSON(JSON.parse(content));
693
693
  const result = new ParserResult(parserOptions);
694
694
  return result.setFilePath(filePath);
695
695
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/parser",
3
- "version": "0.24.0",
3
+ "version": "0.24.2",
4
4
  "description": "The static parser for panda css",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -32,16 +32,16 @@
32
32
  "magic-string": "0.30.2",
33
33
  "ts-morph": "19.0.0",
34
34
  "ts-pattern": "5.0.5",
35
- "@pandacss/config": "^0.24.0",
36
- "@pandacss/extractor": "0.24.0",
37
- "@pandacss/logger": "0.24.0",
38
- "@pandacss/shared": "0.24.0",
39
- "@pandacss/types": "0.24.0"
35
+ "@pandacss/config": "^0.24.2",
36
+ "@pandacss/extractor": "0.24.2",
37
+ "@pandacss/logger": "0.24.2",
38
+ "@pandacss/shared": "0.24.2",
39
+ "@pandacss/types": "0.24.2"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@vue/compiler-core": "3.3.4",
43
43
  "hookable": "5.5.3",
44
- "@pandacss/generator": "0.24.0"
44
+ "@pandacss/generator": "0.24.2"
45
45
  },
46
46
  "files": [
47
47
  "dist"