Remove buffertools dependency

This commit is contained in:
Patrick Mooney 2014-01-20 09:34:11 -06:00
parent bc19a98d06
commit c5cfc48da4
2 changed files with 1 additions and 5 deletions

View File

@ -33,9 +33,6 @@ var Message = require('./message');
var Protocol = require('../protocol');
// Just make sure this adds to the prototype
require('buffertools').extend();
///--- Globals
@ -76,7 +73,7 @@ Parser.prototype.write = function (data) {
return true;
}
self.buffer = (self.buffer ? self.buffer.concat(data) : data);
self.buffer = (self.buffer ? Buffer.concat([self.buffer, data]) : data);
var ber = new BerReader(self.buffer);
if (!ber.readSequence())

View File

@ -29,7 +29,6 @@
"dependencies": {
"asn1": "0.1.11",
"assert-plus": "0.1.2",
"buffertools": "2.0.1",
"bunyan": "0.21.1",
"dtrace-provider": "0.2.8",
"nopt": "2.1.1",