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.11 to 0.8.12

4

lib/packets/index.js

@@ -47,9 +47,9 @@ "handshake handshake_response query resultset_header column_definition text_row binary_row prepare_statement prepared_statement_header execute".split(' ').forEach(function(name) {

module.exports.Error.toPacket = function(args) {
var packet = new Packet(0, new Buffer(9 + Buffer.byteLength(args.message, 'utf8')));
var packet = new Packet(0, new Buffer(13 + Buffer.byteLength(args.message, 'utf8')));
packet.offset = 4;
packet.writeInt8(0xff);
packet.writeInt16(args.code);
packet.writeString('#______');
packet.writeString('#_____');
packet.writeString(args.message);
return packet;
};
{
"name": "mysql2",
"version": "0.8.11",
"version": "0.8.12",
"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