instant-local-throwaway
Advanced tools
Comparing version 1.0.9 to 1.1.0
@@ -247,3 +247,3 @@ import zenecaTriples from "./data/zenecaTriples.json"; | ||
$: { where: { id: "47" } }, | ||
foo: { $: { through: "owner", as: "_bookshelves" } }, | ||
foo: { $: { through: "owner", is: "_bookshelves" } }, | ||
}, | ||
@@ -275,3 +275,3 @@ }, | ||
cardinality: "one", | ||
as: "bookshelves", | ||
is: "bookshelves", | ||
}, | ||
@@ -298,3 +298,3 @@ }, | ||
$: { where: { id: "47-0" } }, | ||
owner: { $: { cardinality: "one", as: "_users" } }, | ||
owner: { $: { cardinality: "one", is: "_users" } }, | ||
}, | ||
@@ -301,0 +301,0 @@ }, |
@@ -183,3 +183,3 @@ "use strict"; | ||
const refQuery = query[connection]; | ||
const refRelation = ((_a = refQuery.$) === null || _a === void 0 ? void 0 : _a.as) || connection; | ||
const refRelation = ((_a = refQuery.$) === null || _a === void 0 ? void 0 : _a.is) || connection; | ||
const topRelation = ((_b = refQuery.$) === null || _b === void 0 ? void 0 : _b.through) || namespace; | ||
@@ -215,3 +215,3 @@ const refEids = getRefEids({ | ||
const q = form[top]; | ||
const namespace = ((_a = q.$) === null || _a === void 0 ? void 0 : _a.as) || top; | ||
const namespace = ((_a = q.$) === null || _a === void 0 ? void 0 : _a.is) || top; | ||
const objs = queryPart({ namespace, query: q, db: db }); | ||
@@ -218,0 +218,0 @@ return [top, modifyWithCardinality(objs, q)]; |
@@ -150,3 +150,3 @@ import * as datalog from "./datalog"; | ||
const refQuery = query[connection]; | ||
const refRelation = ((_a = refQuery.$) === null || _a === void 0 ? void 0 : _a.as) || connection; | ||
const refRelation = ((_a = refQuery.$) === null || _a === void 0 ? void 0 : _a.is) || connection; | ||
const topRelation = ((_b = refQuery.$) === null || _b === void 0 ? void 0 : _b.through) || namespace; | ||
@@ -182,3 +182,3 @@ const refEids = getRefEids({ | ||
const q = form[top]; | ||
const namespace = ((_a = q.$) === null || _a === void 0 ? void 0 : _a.as) || top; | ||
const namespace = ((_a = q.$) === null || _a === void 0 ? void 0 : _a.is) || top; | ||
const objs = queryPart({ namespace, query: q, db: db }); | ||
@@ -185,0 +185,0 @@ return [top, modifyWithCardinality(objs, q)]; |
@@ -173,3 +173,3 @@ import * as datalog from "./datalog"; | ||
const refQuery = query[connection]; | ||
const refRelation = refQuery.$?.as || connection; | ||
const refRelation = refQuery.$?.is || connection; | ||
const topRelation = refQuery.$?.through || namespace; | ||
@@ -210,3 +210,3 @@ const refEids = getRefEids({ | ||
const q = form[top]; | ||
const namespace = q.$?.as || top; | ||
const namespace = q.$?.is || top; | ||
const objs = queryPart({ namespace, query: q, db: db }); | ||
@@ -213,0 +213,0 @@ |
{ | ||
"name": "instant-local-throwaway", | ||
"version": "1.0.9", | ||
"version": "1.1.0", | ||
"description": "This is an experiment for instant", | ||
@@ -13,3 +13,4 @@ "main": "dist/index.js", | ||
"build:main": "tsc -p tsconfig.json", | ||
"build:module": "tsc -p tsconfig.module.json" | ||
"build:module": "tsc -p tsconfig.module.json", | ||
"deploy": "npm run build && npm publish" | ||
}, | ||
@@ -26,3 +27,2 @@ "devDependencies": { | ||
"jest": "^28.0.3", | ||
"lodash": "^4.17.21", | ||
"typescript": "^4.6.4" | ||
@@ -34,4 +34,5 @@ }, | ||
"dependencies": { | ||
"uuid": "^8.3.2" | ||
"uuid": "^8.3.2", | ||
"lodash": "^4.17.21" | ||
} | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
866264
10
2
3
+ Addedlodash@^4.17.21
+ Addedlodash@4.17.21(transitive)