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

adminforth

Package Overview
Dependencies
Maintainers
0
Versions
705
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adminforth - npm Package Compare versions

Comparing version 1.13.0-next.3 to 1.13.0-next.4

13

dist/dataConnectors/mysql.js

@@ -27,3 +27,8 @@ import dayjs from 'dayjs';

try {
this.client = await mysql.createConnection(url);
this.client = mysql.createPool({
uri: url,
waitForConnections: true,
connectionLimit: 10, // Adjust based on your needs
queueLimit: 0
});
}

@@ -35,3 +40,3 @@ catch (e) {

async discoverFields(resource) {
const [results] = await this.client.query("SHOW COLUMNS FROM " + resource.table);
const [results] = await this.client.execute("SHOW COLUMNS FROM " + resource.table);
const fieldTypes = {};

@@ -252,3 +257,3 @@ results.forEach((row) => {

}
const [results] = await this.client.query(q, filterValues);
const [results] = await this.client.execute(q, filterValues);
return +results[0]["COUNT(*)"];

@@ -264,3 +269,3 @@ }

}
const [results] = await this.client.query(q);
const [results] = await this.client.execute(q);
const { min, max } = results[0];

@@ -267,0 +272,0 @@ result[col.name] = {

{
"name": "adminforth",
"version": "1.13.0-next.3",
"version": "1.13.0-next.4",
"description": "OpenSource Vue3 powered forth-generation admin panel",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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