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

@dbpath/postgres

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dbpath/postgres - npm Package Compare versions

Comparing version 0.2.4 to 0.2.6

2

dist/src/pgMeta.js

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

pks.rows.forEach(r => {
table2Pks[r.table_name] = r.column_name;
table2Pks[r.table_name] = [{ name: r.column_name, type: r.data_type }];
});

@@ -71,0 +71,0 @@ let tableNamesAndMetaData = tableNames.map(t => {

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

const pgDal_1 = require("./pgDal");
const dal_1 = require("@dbpath/dal");
const fixtures_1 = require("@dbpath/fixtures");
const inCi = process.env['CI'] === 'true';

@@ -31,3 +31,3 @@ const env = { type: 'postgres', host: 'localhost', port: 5432, 'database': 'postgres', username: 'phil', password: 'phil' };

yield dal.update("create table if not exists mission_aud (id int, who text, what text)");
yield dal.update(`alter table driverTable
yield dal.update(`alter table drivertable
add constraint pk_driver primary key (driverId);`);

@@ -72,4 +72,4 @@ yield dal.update(`alter table mission

const res = yield dal.metaData();
expect(res).toEqual(dal_1.sampleMeta);
expect(res).toEqual(fixtures_1.sampleMeta);
}));
});
{
"name": "@dbpath/postgres",
"description": "",
"version": "0.2.4",
"version": "0.2.6",
"main": "dist/index",

@@ -21,4 +21,4 @@ "types": "dist/index",

"pg": "^8.10.0",
"@dbpath/utils": "0.2.4",
"@dbpath/dal": "0.2.4"
"@dbpath/utils": "0.2.6",
"@dbpath/dal": "0.2.6"
},

@@ -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