@graffy/common 0.15.11 → 0.15.13-alpha.1

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 (3) hide show
  1. package/index.cjs +1 -0
  2. package/index.mjs +1 -0
  3. package/package.json +4 -4
package/index.cjs CHANGED
@@ -1335,6 +1335,7 @@ function encode(value, { version, isGraph } = {}) {
1335
1335
  node.end = node.key;
1336
1336
  } else if (isDef($key) && isDef(key) && key !== $key) {
1337
1337
  node.children = [makeNode(object, void 0, ver)].filter(Boolean);
1338
+ return node;
1338
1339
  } else if ($ref) {
1339
1340
  pushLink($ref, node.version, props, $val, $chi);
1340
1341
  if (!isGraph)
package/index.mjs CHANGED
@@ -1327,6 +1327,7 @@ function encode(value, { version, isGraph } = {}) {
1327
1327
  node.end = node.key;
1328
1328
  } else if (isDef($key) && isDef(key) && key !== $key) {
1329
1329
  node.children = [makeNode(object, void 0, ver)].filter(Boolean);
1330
+ return node;
1330
1331
  } else if ($ref) {
1331
1332
  pushLink($ref, node.version, props, $val, $chi);
1332
1333
  if (!isGraph)
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graffy/common",
3
3
  "description": "Common libraries that used by various Graffy modules.",
4
4
  "author": "aravind (https://github.com/aravindet)",
5
- "version": "0.15.11",
5
+ "version": "0.15.13-alpha.1",
6
6
  "main": "./index.cjs",
7
7
  "exports": {
8
8
  "import": "./index.mjs",
@@ -17,8 +17,8 @@
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
19
  "lodash": "^4.17.19",
20
- "nanoid": "^3.1.25",
21
- "@graffy/stream": "0.15.11",
22
- "merge-async-iterators": "^0.2.1"
20
+ "merge-async-iterators": "^0.2.1",
21
+ "@graffy/stream": "0.15.13-alpha.1",
22
+ "nanoid": "^3.1.25"
23
23
  }
24
24
  }