@pandacss/parser 0.0.0-dev-20230909231256 → 0.0.0-dev-20230911132038

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
@@ -265,7 +265,7 @@ function createParser(options) {
265
265
  pattern.jsx?.forEach((jsx2) => {
266
266
  if (typeof jsx2 === "string") {
267
267
  acc.string.add(jsx2);
268
- } else {
268
+ } else if (jsx2) {
269
269
  acc.regex.push(jsx2);
270
270
  }
271
271
  });
package/dist/index.mjs CHANGED
@@ -227,7 +227,7 @@ function createParser(options) {
227
227
  pattern.jsx?.forEach((jsx2) => {
228
228
  if (typeof jsx2 === "string") {
229
229
  acc.string.add(jsx2);
230
- } else {
230
+ } else if (jsx2) {
231
231
  acc.regex.push(jsx2);
232
232
  }
233
233
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/parser",
3
- "version": "0.0.0-dev-20230909231256",
3
+ "version": "0.0.0-dev-20230911132038",
4
4
  "description": "The static parser for panda css",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,17 +16,17 @@
16
16
  "magic-string": "^0.30.2",
17
17
  "ts-morph": "19.0.0",
18
18
  "ts-pattern": "5.0.4",
19
- "@pandacss/config": "^0.0.0-dev-20230909231256",
20
- "@pandacss/extractor": "0.0.0-dev-20230909231256",
21
- "@pandacss/is-valid-prop": "0.0.0-dev-20230909231256",
22
- "@pandacss/logger": "0.0.0-dev-20230909231256",
23
- "@pandacss/shared": "0.0.0-dev-20230909231256",
24
- "@pandacss/types": "0.0.0-dev-20230909231256"
19
+ "@pandacss/config": "^0.0.0-dev-20230911132038",
20
+ "@pandacss/extractor": "0.0.0-dev-20230911132038",
21
+ "@pandacss/is-valid-prop": "0.0.0-dev-20230911132038",
22
+ "@pandacss/logger": "0.0.0-dev-20230911132038",
23
+ "@pandacss/shared": "0.0.0-dev-20230911132038",
24
+ "@pandacss/types": "0.0.0-dev-20230911132038"
25
25
  },
26
26
  "devDependencies": {
27
27
  "hookable": "5.5.3",
28
- "@pandacss/fixture": "0.0.0-dev-20230909231256",
29
- "@pandacss/generator": "0.0.0-dev-20230909231256"
28
+ "@pandacss/fixture": "0.0.0-dev-20230911132038",
29
+ "@pandacss/generator": "0.0.0-dev-20230911132038"
30
30
  },
31
31
  "files": [
32
32
  "dist"