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.1 to 4.5.2

5

cjs/client/sqb-client.js

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

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

@@ -58,0 +61,0 @@ };

1

esm/client/sqb-client.d.ts

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

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

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

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

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

@@ -54,0 +57,0 @@ };

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

@@ -33,3 +33,3 @@ "contributors": [

"debug": "^4.3.4",
"lightning-pool": "^3.1.4",
"lightning-pool": "^4.0.0",
"lodash": "^4.17.21",

@@ -90,2 +90,2 @@ "putil-isplainobject": "^1.1.4",

]
}
}
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