File tree 3 files changed +3
-2
lines changed 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ you spot any mistakes.
12
12
* Remove special case for handshake in determine packet code
13
13
* Small performance improvement starting command sequence
14
14
* Support Node.js 11.x
15
+ * Update ` bignumber.js ` to 6.0.0
15
16
16
17
## v2.16.0 (2018-07-17)
17
18
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ Parser.prototype.parseLengthCodedNumber = function parseLengthCodedNumber() {
200
200
var value ;
201
201
202
202
if ( high >>> 21 ) {
203
- value = ( new BigNumber ( low ) ) . plus ( ( new BigNumber ( MUL_32BIT ) ) . times ( high ) ) . toString ( ) ;
203
+ value = BigNumber ( MUL_32BIT ) . times ( high ) . plus ( low ) . toString ( ) ;
204
204
205
205
if ( this . _supportBigNumbers ) {
206
206
return value ;
Original file line number Diff line number Diff line change 13
13
],
14
14
"repository" : " mysqljs/mysql" ,
15
15
"dependencies" : {
16
- "bignumber.js" : " 4.1 .0" ,
16
+ "bignumber.js" : " 6.0 .0" ,
17
17
"readable-stream" : " 2.3.6" ,
18
18
"safe-buffer" : " 5.1.2" ,
19
19
"sqlstring" : " 2.3.1"
You can’t perform that action at this time.
0 commit comments