Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

instant-local-throwaway

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

instant-local-throwaway - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

6

__tests__/instant-local/instaql.test.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc