@graffy/common
Advanced tools
Comparing version 0.14.6-alpha6 to 0.14.6-alpha7
@@ -24,5 +24,13 @@ "use strict"; | ||
}]; | ||
return (0, _sliceInstanceProperty(_graph))((0, _graph.setVersion)((0, _graph.merge)(empty, graph), version), query).known; | ||
var res = (0, _sliceInstanceProperty(_graph))((0, _graph.setVersion)((0, _graph.merge)(empty, graph), version), query, { | ||
addLinked: function addLinked() { | ||
/* | ||
This is quite a hacky way to prevent slice from trying to expand | ||
links. | ||
*/ | ||
} | ||
}).known; | ||
return res; | ||
} | ||
module.exports = exports.default; |
@@ -85,3 +85,3 @@ "use strict"; | ||
currentQuery = result.linked; | ||
currentQuery = root ? undefined : result.linked; | ||
delete result.linked; | ||
@@ -88,0 +88,0 @@ } |
@@ -5,3 +5,3 @@ { | ||
"author": "aravind (https://github.com/aravindet)", | ||
"version": "0.14.6-alpha6", | ||
"version": "0.14.6-alpha7", | ||
"main": "index.js", | ||
@@ -8,0 +8,0 @@ "source": "src/index.js", |
@@ -5,3 +5,11 @@ import { slice, merge, setVersion } from '../graph'; | ||
const empty = [{ key: '', end: '\uffff', version: 0 }]; | ||
return slice(setVersion(merge(empty, graph), version), query).known; | ||
const res = slice(setVersion(merge(empty, graph), version), query, { | ||
addLinked: () => { | ||
/* | ||
This is quite a hacky way to prevent slice from trying to expand | ||
links. | ||
*/ | ||
}, | ||
}).known; | ||
return res; | ||
} |
@@ -52,3 +52,3 @@ import { | ||
} | ||
currentQuery = result.linked; | ||
currentQuery = root ? undefined : result.linked; | ||
delete result.linked; | ||
@@ -55,0 +55,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106847
3003