mysql-await
Advanced tools
Comparing version 2.2.0 to 2.2.1
@@ -18,3 +18,5 @@ /** Require external modules */ | ||
if ( arguments[0] && arguments[0].throwErrors ) | ||
if ( arguments[0] && typeof arguments[0].throwErrors == `boolean` && !arguments[0].throwErrors ) | ||
this.config.throwErrors = false; | ||
else | ||
this.config.throwErrors = true; | ||
@@ -21,0 +23,0 @@ |
{ | ||
"name": "mysql-await", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"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.0 | ||
# MySQL Async/Await Wrapper v2.2.1 | ||
@@ -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. |
29611
689