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

pg-db

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-db - npm Package Compare versions

Comparing version 0.5.0 to 0.6.0

9

lib/index.js

@@ -356,3 +356,3 @@ // Generated by CoffeeScript 1.8.0

DB.prototype.execute = function(sql, params, cb) {
var executeInternal, parseError, parsedSql, stack, startedAt;
var executeInternal, originalSql, parseError, parsedSql, stack, startedAt;
if (!cb) {

@@ -373,2 +373,3 @@ cb = params;

stack = new Error().stack;
originalSql = sql;
if (params && !Array.isArray(params)) {

@@ -391,3 +392,4 @@ try {

id: executeId,
sql: sql,
sql: originalSql,
parsedSql: sql,
params: params,

@@ -409,3 +411,4 @@ tx: _this.tx.active,

elapsed: completedAt.getTime() - startedAt.getTime(),
sql: sql,
sql: originalSql,
parsedSql: sql,
params: params,

@@ -412,0 +415,0 @@ tx: _this.tx.active,

{
"name": "pg-db",
"version": "0.5.0",
"version": "0.6.0",
"description": "Transactions, named parameters, and more for node-postgres",

@@ -5,0 +5,0 @@ "license": "MIT",

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