Skip to content

Commit 580a17d

Browse files
committed
removed the iconv-lite
1 parent e81814c commit 580a17d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/packets/packet.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
var iconv = require('iconv-lite');
21
var ErrorCodeToName = require('../constants/errors.js');
32

43
var Long = require('long');
@@ -340,7 +339,7 @@ Packet.prototype.readTimeString = function (convertTtoMs) {
340339
return (sign === -1 ? '-' : '') + [(d ? (d * 24) + H : H), leftPad(2, M), leftPad(2, S)].join(':') + (ms ? '.' + ms : '');
341340
};
342341

343-
Packet.prototype.readLengthCodedString = function (charset) {
342+
Packet.prototype.readLengthCodedString = function () {
344343
var len = this.readLengthCodedNumber();
345344
// TODO: check manually first byte here to avoid polymorphic return type?
346345
if (len === null) {

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"dependencies": {
3131
"cardinal": "0.7.0",
3232
"double-ended-queue": "2.1.0-0",
33-
"iconv-lite": "^0.4.13",
3433
"long": "^3.2.0",
3534
"named-placeholders": "1.1.1",
3635
"readable-stream": "2.1.4",

0 commit comments

Comments
 (0)