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

jeefo-mysql

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jeefo-mysql - npm Package Compare versions

Comparing version 0.0.30 to 0.0.31

10

index.js

@@ -139,3 +139,3 @@ /* -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.

if (is.string(fields)) fields = [fields];
return fields.join(", ");
return fields.map(f => mysql.escape(f)).join(", ");
}

@@ -147,5 +147,5 @@

if (is.object(value) && !(value instanceof Date)) {
value = `'${JSON.stringify(value)}'`;
value = mysql.escape(JSON.stringify(value));
} else if (is.string(value)) {
value = mysql.escapeId(value);
value = mysql.escape(value);
}

@@ -161,5 +161,5 @@ key = mysql.escapeId(key);

if (is.object(value) && !(value instanceof Date)) {
value = `'${JSON.stringify(value)}'`;
value = mysql.escape(JSON.stringify(value));
} else if (is.string(value)) {
value = mysql.escapeId(value);
value = mysql.escape(value);
}

@@ -166,0 +166,0 @@ key = mysql.escapeId(key);

{
"name": "jeefo-mysql",
"version": "0.0.30",
"version": "0.0.31",
"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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc