New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dbpath/pathparser

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbpath/pathparser - npm Package Compare versions

Comparing version 0.2.9 to 0.2.10

7

dist/src/parser.js

@@ -5,2 +5,3 @@ "use strict";

const tokeniser_1 = require("./tokeniser");
const utils_1 = require("@dbpath/utils");
const identifier = (type) => (context) => {

@@ -96,4 +97,6 @@ var pos = context.pos;

const realIdEquals = c.validator.useIdsOrSingleFkLinkOrError(previousLink === null || previousLink === void 0 ? void 0 : previousLink.table, table.table, idEquals);
let thisLink = Object.assign(Object.assign({}, table), { idEquals: realIdEquals, previousLink });
const errors = c.validator.validateLink(previousLink === null || previousLink === void 0 ? void 0 : previousLink.table, table.table, realIdEquals);
if ((0, utils_1.hasErrors)(realIdEquals))
return liftError(context, realIdEquals);
let thisLink = Object.assign(Object.assign({}, table), { idEquals: realIdEquals.twoIds, previousLink });
const errors = c.validator.validateLink(previousLink === null || previousLink === void 0 ? void 0 : previousLink.table, table.table, realIdEquals.twoIds);
if (errors.length > 0)

@@ -100,0 +103,0 @@ return liftError(context, errors);

@@ -193,3 +193,3 @@ "use strict";

remembered.push(`useIdsOrSingleFkLinkOrError(${fromTableName},${toTableName}) ${JSON.stringify(idEquals)}`);
return idEquals;
return { twoIds: idEquals };
},

@@ -196,0 +196,0 @@ actualTableName(tableName) {

{
"name": "@dbpath/pathparser",
"description": "",
"version": "0.2.9",
"version": "0.2.10",
"main": "dist/index",

@@ -20,5 +20,5 @@ "types": "dist/index",

"dependencies": {
"@dbpath/types": "0.2.9",
"@dbpath/utils": "0.2.9",
"@dbpath/fixtures": "0.2.9"
"@dbpath/types": "0.2.10",
"@dbpath/utils": "0.2.10",
"@dbpath/fixtures": "0.2.10"
},

@@ -25,0 +25,0 @@ "devDependencies": {

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