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 1.0.0 to 1.0.1

10

lib/index.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.8.0
// Generated by CoffeeScript 1.9.0
var DB, async, asyncIgnorify, cache, domain, event, eventTypes, eventTypesMap, np, parse, parsedSqlCache, pg, uid, _i, _len,

@@ -76,6 +76,6 @@ __bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },

*/
function DB(config, opts) {
function DB(_at_config, _at_opts) {
var execTx, name, _fn, _fn1, _j, _k, _len1, _len2, _ref, _ref1;
this.config = config;
this.opts = opts != null ? opts : {};
this.config = _at_config;
this.opts = _at_opts != null ? _at_opts : {};
this.end = __bind(this.end, this);

@@ -89,3 +89,3 @@ this.update = __bind(this.update, this);

this.on = __bind(this.on, this);
this.poolKey = JSON.stringify(config);
this.poolKey = JSON.stringify(this.config);
this.txKey = '_tx-' + this.poolKey;

@@ -92,0 +92,0 @@ this._listeners = {};

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 1.8.0
// Generated by CoffeeScript 1.9.0
var PARAMETER_SEPARATORS, SKIPS, convertParamValues, isParamSeparator, parse, skipCommentsAndQuotes,

@@ -3,0 +3,0 @@ __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; };

{
"name": "pg-db",
"version": "1.0.0",
"version": "1.0.1",
"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