Socket
Socket
Sign inDemoInstall

bamei-module-knex-mysql

Package Overview
Dependencies
100
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.5 to 0.0.6

16

index.js

@@ -9,4 +9,12 @@ 'use strict';

const initKnexModule = require('bamei-module-knex');
const fs = require('fs');
const path = require('path');
const initKnexModule = require('bamei-module-knex').init;
// 版本号
exports.version = JSON.parse(fs.readFileSync(path.resolve(__dirname, 'package.json')).toString()).version;
// 依赖模块
exports.dependencies = {};
/**

@@ -17,6 +25,10 @@ * 配置:

*/
module.exports = function initKnexMySQLModule(ref, config, done) {
exports.config = function fillDefaultConfig(config) {
return config;
};
exports.init = function initKnexMySQLModule(ref, config, done) {
initKnexModule.call(this, ref, Object.assign({ client: 'mysql' }, config), done);
};

2

package.json
{
"name": "bamei-module-knex-mysql",
"version": "0.0.5",
"version": "0.0.6",
"description": "module-knex-mysql",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc