cormo
Advanced tools
Comparing version 0.12.5 to 0.12.6
@@ -605,2 +605,5 @@ "use strict"; | ||
async query(text, values, options) { | ||
if (!this._client) { | ||
await this._connection._promise_connection; | ||
} | ||
const transaction = options && options.transaction; | ||
@@ -607,0 +610,0 @@ if (transaction && transaction._adapter_connection) { |
@@ -472,2 +472,3 @@ "use strict"; | ||
async getTransaction(options) { | ||
await this._promise_connection; | ||
const transaction = new transaction_1.Transaction(this); | ||
@@ -474,0 +475,0 @@ await transaction.setup(options && options.isolation_level); |
{ | ||
"name": "cormo", | ||
"description": "ORM framework for Node.js", | ||
"version": "0.12.5", | ||
"version": "0.12.6", | ||
"keywords": [ | ||
@@ -68,4 +68,3 @@ "orm", | ||
"typescript": "^3.5.3" | ||
}, | ||
"gitHead": "21e07b418b02f4e05b07480a5513f5a6a5335a51" | ||
} | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
315128
8604
1