New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

manage-database

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

manage-database - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

7

index.js

@@ -5,2 +5,4 @@ 'use strict';

var DIALECTS = ['postgres', 'mysql'];
module.exports = function (opts) {

@@ -10,9 +12,8 @@ var dialect = opts && opts.dialect || 'mysql';

try {
provider = require(join('./lib', dialect));
} catch (e) {
if (DIALECTS.indexOf(dialect) === -1) {
throw new Error('Dialect: ' + dialect + ' is not supported for now. Sorry ;(');
}
provider = require('./' + join('lib', dialect));
return provider(opts);
};
{
"name": "manage-database",
"version": "0.1.2",
"version": "0.1.3",
"description": "Manage databases",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc