Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

highsql

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

highsql - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

6

package.json
{
"name": "highsql",
"version": "1.2.1",
"version": "1.2.2",
"description": "High level MySQL utility",

@@ -16,7 +16,3 @@ "main": "./src/index.js",

"mysql2": "^3.10.1"
},
"devDependencies": {
"@types/node": "^20.14.9",
"typescript": "^5.5.2"
}
}

2

src/index.js

@@ -30,3 +30,3 @@ /**

async query(sql, values) {
const connection = await this.pool.getConnection();
const connection = this.pool;
try {

@@ -33,0 +33,0 @@ const [rows] = await connection.query(sql, values);

@@ -51,3 +51,3 @@ /**

): Promise<T> {
const connection = await this.pool.getConnection();
const connection = this.pool
try {

@@ -54,0 +54,0 @@ const [rows] = await connection.query(sql, values);

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