Socket
Socket
Sign inDemoInstall

mysql2

Package Overview
Dependencies
Maintainers
1
Versions
184
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.10.1 to 0.10.2

examples/decimal.js

5

Changelog.md
// top version is work in progres
0.10.2
0.10.3
- Multiple results support in binary protocol #27
- Apply timezone from config to DATETIME values with no tz #15
0.10.2
- return DECIMAL and NEWDECIMAL as string in binary prot #40 969fba6ff1dbf14d53d3efc9f94083b8306cf0b5
0.10.1

@@ -7,0 +10,0 @@ - Added ping command #38 cbca8648d1282fb57e55b3735c3b4d9a46d89d7b

3

lib/compile_binary_parser.js

@@ -63,2 +63,5 @@ var FieldFlags = require('./constants/field_flags');

return "packet.readDateTime();";
case Types.DECIMAL:
case Types.NEWDECIMAL:
return "packet.readLengthCodedString();";
case Types.LONGLONG: // TODO: 8 bytes. Implement as two 4 bytes read for now (it's out of JavaScript int precision!)

@@ -65,0 +68,0 @@ return unsigned ? "packet.readInt64();" : "packet.readSInt64();";

{
"name": "mysql2",
"version": "0.10.1",
"version": "0.10.2",
"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