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

mysql2

Package Overview
Dependencies
Maintainers
1
Versions
186
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql2 - npm Package Compare versions

Comparing version 0.8.8 to 0.8.9

10

lib/packets/text_row.js

@@ -22,2 +22,7 @@ var Packet = require('../packets/packet');

column.forEach(function(val) {
if (val === null)
{
length += 1;
return;
}
var str = val.toString(10);

@@ -31,3 +36,6 @@ length += Packet.lengthCodedNumberLength(str);

column.forEach(function(val) {
packet.writeLengthCodedString(val.toString(10));
if (val === null)
packet.writeInt8(0xfb);
else
packet.writeLengthCodedString(val.toString(10));
});

@@ -34,0 +42,0 @@ return packet;

2

package.json
{
"name": "mysql2",
"version": "0.8.8",
"version": "0.8.9",
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",

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