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

pg-promise

Package Overview
Dependencies
Maintainers
1
Versions
630
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pg-promise - npm Package Compare versions

Comparing version 10.9.0 to 10.9.1

2

lib/database-pool.js

@@ -29,3 +29,3 @@ /*

static get instance() {
const s = Symbol.for(`pgPromise`);
const s = Symbol.for(`pgPromiseDatabasePool`);
let scope = global[s];

@@ -32,0 +32,0 @@ if (!scope) {

@@ -121,2 +121,4 @@ /*

const {usedPath} = QueryFile.instance;
// istanbul ignore next:

@@ -148,2 +150,19 @@ if (!options.noWarnings) {

/**
* Global instance of the file-path repository.
*
* @return {{usedPath: {}}}
*/
static get instance() {
const s = Symbol.for(`pgPromiseQueryFile`);
let scope = global[s];
if (!scope) {
scope = {
usedPath: {} // used-path look-up dictionary
};
global[s] = scope;
}
return scope;
}
/**
* @name QueryFile#Symbol(QueryFile.$query)

@@ -268,4 +287,2 @@ * @type {string}

const usedPath = {};
/**

@@ -272,0 +289,0 @@ * @method QueryFile#toPostgres

{
"name": "pg-promise",
"version": "10.9.0",
"version": "10.9.1",
"description": "PostgreSQL interface for Node.js",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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