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

@sqb/connect

Package Overview
Dependencies
Maintainers
1
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sqb/connect - npm Package Compare versions

Comparing version 4.5.2 to 4.5.3

6

cjs/client/sqb-client.js

@@ -55,6 +55,3 @@ "use strict";

destroy: instance => instance.close(),
reset: async (instance) => {
await this.emitAsyncSerial('connection-return').catch();
return instance.reset();
},
reset: async (instance) => instance.reset(),
validate: instance => instance.test()

@@ -111,2 +108,3 @@ };

connection.on('error', (error) => this.emit('error', error));
connection.on('close', () => this.emitAsyncSerial('connection-return', connection));
return connection;

@@ -113,0 +111,0 @@ }

@@ -15,3 +15,3 @@ import { Pool as LightningPool } from 'lightning-pool';

terminate: () => void;
'connection-return': () => Promise<void>;
'connection-return': (connection: SqbConnection) => Promise<void>;
}

@@ -18,0 +18,0 @@ declare const SqbClient_base: Type<import("strict-typed-events").TypedEventEmitter<any, SqbClientEvents, SqbClientEvents>>;

@@ -51,6 +51,3 @@ import _debug from 'debug';

destroy: instance => instance.close(),
reset: async (instance) => {
await this.emitAsyncSerial('connection-return').catch();
return instance.reset();
},
reset: async (instance) => instance.reset(),
validate: instance => instance.test()

@@ -107,2 +104,3 @@ };

connection.on('error', (error) => this.emit('error', error));
connection.on('close', () => this.emitAsyncSerial('connection-return', connection));
return connection;

@@ -109,0 +107,0 @@ }

{
"name": "@sqb/connect",
"description": "Multi-dialect database connection framework written with TypeScript",
"version": "4.5.2",
"version": "4.5.3",
"author": "Panates",

@@ -6,0 +6,0 @@ "contributors": [

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