Socket
Socket
Sign inDemoInstall

slonik

Package Overview
Dependencies
Maintainers
1
Versions
395
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slonik - npm Package Compare versions

Comparing version 8.0.3 to 8.0.4

9

dist/binders/bindPool.js

@@ -29,4 +29,9 @@ "use strict";

const connection = await pool.connect();
await handler((0, _bindIsolatedPoolConnection.default)(parentLog, pool, connection, clientConfiguration));
connection.release();
try {
await handler((0, _bindIsolatedPoolConnection.default)(parentLog, pool, connection, clientConfiguration));
} catch (error) {
connection.release();
throw error;
}
} else {

@@ -33,0 +38,0 @@ const connection = await pool.connect();

@@ -93,3 +93,3 @@ {

},
"version": "8.0.3"
"version": "8.0.4"
}

@@ -43,5 +43,9 @@ // @flow

await handler(bindIsolatedPoolConnection(parentLog, pool, connection, clientConfiguration));
try {
await handler(bindIsolatedPoolConnection(parentLog, pool, connection, clientConfiguration));
} catch (error) {
connection.release();
connection.release();
throw error;
}
} else {

@@ -48,0 +52,0 @@ const connection: InternalDatabaseConnectionType = await pool.connect();

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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