New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@databases/shared

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@databases/shared - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

10

lib/BaseConnection.js

@@ -23,3 +23,3 @@ "use strict";

this._factories = factories;
this._lock = lock_1.getLock(driver.aquireLockTimeoutMilliseconds);
this._lock = lock_1.getLock(driver.acquireLockTimeoutMilliseconds);
}

@@ -42,3 +42,3 @@

await this._lock.aquireLock();
await this._lock.acquireLock();

@@ -57,3 +57,3 @@ try {

if (query.length === 0) return [];
await this._lock.aquireLock();
await this._lock.acquireLock();

@@ -66,3 +66,3 @@ try {

} else {
await this._lock.aquireLock();
await this._lock.acquireLock();

@@ -80,3 +80,3 @@ try {

await this._lock.aquireLock();
await this._lock.acquireLock();

@@ -83,0 +83,0 @@ try {

@@ -23,3 +23,3 @@ "use strict";

this._factories = factories;
this._lock = lock_1.getLock(driver.aquireLockTimeoutMilliseconds);
this._lock = lock_1.getLock(driver.acquireLockTimeoutMilliseconds);
}

@@ -42,3 +42,3 @@

await this._lock.aquireLock();
await this._lock.acquireLock();

@@ -69,3 +69,3 @@ try {

await this._lock.aquireLock();
await this._lock.acquireLock();

@@ -98,3 +98,3 @@ try {

await this._lock.aquireLock();
await this._lock.acquireLock();

@@ -101,0 +101,0 @@ try {

@@ -8,3 +8,3 @@ import type { SQLQuery } from '@databases/sql';

*/
readonly aquireLockTimeoutMilliseconds: number;
readonly acquireLockTimeoutMilliseconds: number;
beginTransaction(options: TTransactionOptions | undefined): Promise<void>;

@@ -11,0 +11,0 @@ commitTransaction(): Promise<void>;

{
"name": "@databases/shared",
"version": "1.0.0",
"version": "2.0.0",
"description": "",

@@ -9,3 +9,3 @@ "main": "./lib/index.js",

"@databases/connection-pool": "^1.0.0",
"@databases/lock": "^1.0.0",
"@databases/lock": "^2.0.0",
"@databases/queue": "^1.0.0",

@@ -12,0 +12,0 @@ "@databases/split-sql-query": "^1.0.1",

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