mysql-await
Advanced tools
Comparing version 2.2.2 to 2.2.3
@@ -393,5 +393,5 @@ /** Require external modules */ | ||
this.pool.getConnection((err, connection) => { | ||
if ( this.config.throwErrors ) | ||
if ( this.config.throwErrors && connection ) | ||
connection.config.throwErrors = true; | ||
else | ||
else if ( connection ) | ||
connection.config.throwErrors = false; | ||
@@ -398,0 +398,0 @@ |
{ | ||
"name": "mysql-await", | ||
"version": "2.2.2", | ||
"version": "2.2.3", | ||
"description": "Backward Compatible MySQL Async/Await Connection Wrapper", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# MySQL Async/Await Wrapper v2.2.2 | ||
# MySQL Async/Await Wrapper v2.2.3 | ||
@@ -3,0 +3,0 @@ Simple wrapper for MySQL async/await functionality. Intended for functionality to mimic the popular [mysql](https://github.com/mysqljs/mysql) Node.js callback-based package, but with additional methods for awaiting execution. Goal is for normal methods to be unaffected and only additional await methods added, though accomplished through intermediary class objects. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30091