Comparing version 1.2.0 to 1.3.0
@@ -346,4 +346,9 @@ var crypto = require("crypto"); | ||
}, | ||
close: function() { | ||
return this.driver.close(); | ||
if (this.driver) { | ||
return this.driver.close(); | ||
} else { | ||
return Promise.resolve(); | ||
} | ||
} | ||
@@ -350,0 +355,0 @@ }; |
{ | ||
"name": "sworm", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "a lightweight write-only ORM for MSSQL, MySQL, PostgreSQL, Oracle, Sqlite 3", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
58526
633