Update buffertools dependency

Buffertools 2.0.1 is required to build on VC2013.
With the change to v2.x, the buffertools.extend() method must be called
to mimic the prototype extention behavior of the 1.x versions.

Fix mcavage/node-ldapjs#163
This commit is contained in:
Patrick Mooney 2014-01-18 14:42:21 -06:00
parent 6414682eee
commit bc19a98d06
2 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ var Message = require('./message');
var Protocol = require('../protocol'); var Protocol = require('../protocol');
// Just make sure this adds to the prototype // Just make sure this adds to the prototype
require('buffertools'); require('buffertools').extend();

View File

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