database-js
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -90,2 +90,7 @@ var ConnectionObject = require('./connectionObject'); | ||
return new Promise((resolve, reject) => { | ||
if ( 'function' !== typeof this.connection.close ) { | ||
return resolve( true ); // nothing to do | ||
} | ||
this.connection.close().then(() => { | ||
@@ -92,0 +97,0 @@ resolve(true); |
{ | ||
"name": "database-js", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Common Database Interface", | ||
@@ -33,12 +33,3 @@ "main": "index.js", | ||
}, | ||
"homepage": "https://github.com/mlaanderson/database-js#readme", | ||
"devDependencies": { | ||
"database-js-adodb": "^1.0.0", | ||
"database-js-firebase": "^1.0.0", | ||
"database-js-ini": "^1.0.0", | ||
"database-js-json": "^1.0.0", | ||
"database-js-mysql": "^1.0.0", | ||
"database-js-postgres": "^1.0.0", | ||
"database-js-sqlite": "^1.0.3" | ||
} | ||
"homepage": "https://github.com/mlaanderson/database-js#readme" | ||
} |
Sorry, the diff of this file is not supported yet
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
0
24
781
31703
1