File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 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.
1212* Remove special case for handshake in determine packet code
1313* Small performance improvement starting command sequence
1414* Support Node.js 11.x
15+ * Update ` bignumber.js ` to 6.0.0
1516
1617## v2.16.0 (2018-07-17)
1718
Original file line number Diff line number Diff line change @@ -200,7 +200,7 @@ Parser.prototype.parseLengthCodedNumber = function parseLengthCodedNumber() {
200200 var value ;
201201
202202 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 ( ) ;
204204
205205 if ( this . _supportBigNumbers ) {
206206 return value ;
Original file line number Diff line number Diff line change 1313 ],
1414 "repository" : " mysqljs/mysql" ,
1515 "dependencies" : {
16- "bignumber.js" : " 4.1 .0" ,
16+ "bignumber.js" : " 6.0 .0" ,
1717 "readable-stream" : " 2.3.6" ,
1818 "safe-buffer" : " 5.1.2" ,
1919 "sqlstring" : " 2.3.1"
You can’t perform that action at this time.
0 commit comments