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

@db-auto/postgres

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@db-auto/postgres - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

2

dist/src/pgDal.js

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

var res = yield client.query(sql, params);
return ({ meta: { columns: [] }, rows: res.rows });
return ({ meta: { columns: res.fields.map(md => ({ name: md.name })) }, rows: res.rows });
}

@@ -37,0 +37,0 @@ finally {

@@ -47,2 +47,8 @@ "use strict";

]);
expect(res.meta).toEqual({
"columns": [
{ "name": "driverid" },
{ "name": "name" }
]
});
}

@@ -49,0 +55,0 @@ finally {

{
"name": "@db-auto/postgres",
"description": "",
"version": "0.0.21",
"version": "0.0.22",
"main": "dist/index",

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

"pg": "^8.10.0",
"@db-auto/utils": "0.0.21",
"@db-auto/dal": "0.0.21"
"@db-auto/utils": "0.0.22",
"@db-auto/dal": "0.0.22"
},

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