@graffy/link 0.16.14 → 0.16.15-alpha.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.
Files changed (3) hide show
  1. package/index.cjs +4 -0
  2. package/index.mjs +4 -0
  3. package/package.json +2 -2
package/index.cjs CHANGED
@@ -152,6 +152,10 @@ function prepQueryLinks(rootQuery, defs) {
152
152
  );
153
153
  }
154
154
  return {
155
+ // Range queries that don't specify prefix:true are those
156
+ // without filters; we expect that the result will contain
157
+ // a prefix node with MIN_KEY to indicate this, so we add
158
+ // MIN_KEY here to match that.
155
159
  path: path.concat(node.prefix ? common.decodeArgs(node) : common.MIN_KEY),
156
160
  def: prepareDef(
157
161
  def.slice(0, -1).concat({
package/index.mjs CHANGED
@@ -151,6 +151,10 @@ function prepQueryLinks(rootQuery, defs) {
151
151
  );
152
152
  }
153
153
  return {
154
+ // Range queries that don't specify prefix:true are those
155
+ // without filters; we expect that the result will contain
156
+ // a prefix node with MIN_KEY to indicate this, so we add
157
+ // MIN_KEY here to match that.
154
158
  path: path.concat(node.prefix ? decodeArgs(node) : MIN_KEY),
155
159
  def: prepareDef(
156
160
  def.slice(0, -1).concat({
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graffy/link",
3
3
  "description": "Graffy module for constructing links using an intuitive, declarative notation.",
4
4
  "author": "aravind (https://github.com/aravindet)",
5
- "version": "0.16.14",
5
+ "version": "0.16.15-alpha.2",
6
6
  "main": "./index.cjs",
7
7
  "exports": {
8
8
  "import": "./index.mjs",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "@graffy/common": "0.16.14",
19
+ "@graffy/common": "0.16.15-alpha.2",
20
20
  "debug": "^4.3.3"
21
21
  }
22
22
  }