Comparing version 0.0.7 to 0.0.8
@@ -10,4 +10,7 @@ const mysql = require('mysql'); | ||
class DB { | ||
const EventEmitter = require("events").EventEmitter; | ||
class DB extends EventEmitter { | ||
constructor(config) { | ||
super(); | ||
this.connection = mysql.createConnection(config); | ||
@@ -14,0 +17,0 @@ this.connection.config.queryFormat = (query, values) => { |
{ | ||
"name": "amysql", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "Useless wrapper over mysql", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
12372
263