@pandacss/language-server 0.0.0-dev-20230703142716 → 0.0.0-dev-20230703201107

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -1
  2. package/package.json +9 -9
package/dist/index.js CHANGED
@@ -21691,6 +21691,7 @@ function mergeProps(...sources) {
21691
21691
  }
21692
21692
 
21693
21693
  // src/walk-object.ts
21694
+ var isNotNullish = (element) => element != null;
21694
21695
  function walkObject(target, predicate, options = {}) {
21695
21696
  const { stop, getKey } = options;
21696
21697
  function inner(value, path = []) {
@@ -21702,7 +21703,10 @@ function walkObject(target, predicate, options = {}) {
21702
21703
  if (stop?.(value, childPath)) {
21703
21704
  return predicate(value, path);
21704
21705
  }
21705
- result[key] = inner(child, childPath);
21706
+ const next = inner(child, childPath);
21707
+ if (isNotNullish(next)) {
21708
+ result[key] = next;
21709
+ }
21706
21710
  }
21707
21711
  return result;
21708
21712
  }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@pandacss/language-server",
3
3
  "displayName": "Panda CSS",
4
4
  "description": "🐼 The official Panda language server",
5
- "version": "0.0.0-dev-20230703142716",
5
+ "version": "0.0.0-dev-20230703201107",
6
6
  "main": "dist/index.js",
7
7
  "repository": {
8
8
  "url": "https://github.com/chakra-ui/panda",
@@ -32,14 +32,14 @@
32
32
  "vscode-languageserver": "^8.1.0",
33
33
  "vscode-languageserver-textdocument": "^1.0.8",
34
34
  "vscode-uri": "^3.0.7",
35
- "@pandacss/core": "0.0.0-dev-20230703142716",
36
- "@pandacss/extension-shared": "0.0.0-dev-20230703142716",
37
- "@pandacss/extractor": "0.0.0-dev-20230703142716",
38
- "@pandacss/node": "0.0.0-dev-20230703142716",
39
- "@pandacss/parser": "0.0.0-dev-20230703142716",
40
- "@pandacss/shared": "0.0.0-dev-20230703142716",
41
- "@pandacss/token-dictionary": "0.0.0-dev-20230703142716",
42
- "@pandacss/types": "0.0.0-dev-20230703142716"
35
+ "@pandacss/core": "0.0.0-dev-20230703201107",
36
+ "@pandacss/extension-shared": "0.0.0-dev-20230703201107",
37
+ "@pandacss/extractor": "0.0.0-dev-20230703201107",
38
+ "@pandacss/node": "0.0.0-dev-20230703201107",
39
+ "@pandacss/parser": "0.0.0-dev-20230703201107",
40
+ "@pandacss/shared": "0.0.0-dev-20230703201107",
41
+ "@pandacss/token-dictionary": "0.0.0-dev-20230703201107",
42
+ "@pandacss/types": "0.0.0-dev-20230703201107"
43
43
  },
44
44
  "dependencies": {
45
45
  "fast-glob": "^3.2.12"