Comparing version 1.1.3 to 1.1.4
{ | ||
"name": "highsql", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "High level MySQL utility", | ||
@@ -15,2 +15,3 @@ "main": "./src/index.js", | ||
"dependencies": { | ||
"highsql": "^1.1.3", | ||
"mysql2": "^3.10.1" | ||
@@ -17,0 +18,0 @@ }, |
import { createPool } from 'mysql2/promise'; | ||
// Define the Connection class | ||
class Connection { | ||
export class Connection { | ||
// Constructor for the Connection class | ||
@@ -64,3 +64,1 @@ constructor(host, user, password, database, connectionLimit = 10, port = 3306) { | ||
} | ||
// Export the Connection class | ||
export default Connection; |
import { createPool, Pool, RowDataPacket, ResultSetHeader } from 'mysql2/promise'; | ||
// Define the Connection class | ||
class Connection { | ||
export class Connection { | ||
private pool: Pool; | ||
@@ -70,5 +70,2 @@ | ||
} | ||
} | ||
// Export the Connection class | ||
export default Connection; | ||
} |
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
8814
2
136
+ Addedhighsql@^1.1.3