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

node-red-node-mysql

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-node-mysql - npm Package Compare versions

Comparing version 0.1.7 to 0.1.8

11

68-mysql.js

@@ -158,3 +158,12 @@

else if (rows.constructor.name === "Array") {
msg.payload = rows.map(v => Object.assign({}, v));
if (rows[0] && rows[0].constructor.name === "RowDataPacket") {
msg.payload = rows.map(v => Object.assign({}, v));
}
else if (rows[0] && rows[0].constructor.name === "Array") {
if (rows[0][0] && rows[0][0].constructor.name === "RowDataPacket") {
msg.payload = rows.map(v => v.map(w => Object.assign({}, w)));
}
else { msg.payload = rows; }
}
else { msg.payload = rows; }
}

@@ -161,0 +170,0 @@ else { msg.payload = rows; }

2

package.json
{
"name": "node-red-node-mysql",
"version": "0.1.7",
"version": "0.1.8",
"description": "A Node-RED node to read and write to a MySQL database",

@@ -5,0 +5,0 @@ "dependencies": {

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