Socket
Socket
Sign inDemoInstall

jeefo-mysql

Package Overview
Dependencies
13
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.51 to 0.0.52

12

index.js

@@ -244,7 +244,11 @@ /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

for (let [key, value] of Object.entries(data)) {
if (is.object(value) && !(value instanceof Date)) {
value = JSON.stringify(value);
if (value === null) {
fields.push(`${mysql.escapeId(key)} = NULL`);
} else {
if (is.object(value) && !(value instanceof Date)) {
value = JSON.stringify(value);
}
values.push(value);
fields.push(`${mysql.escapeId(key)} = ?`);
}
values.push(value);
fields.push(`${mysql.escapeId(key)} = ?`);
}

@@ -251,0 +255,0 @@

{
"name": "jeefo-mysql",
"version": "0.0.51",
"version": "0.0.52",
"description": "Very simple MySQL connection instances for each table. I had annoyed enough for MySQL Deadlocks.",

@@ -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