Comparing version 0.2.3 to 0.3.0
0.3.0 / 2014-06-08 | ||
================== | ||
* ref: use `hexAddress()` for the Buffer inspect() override | ||
* ref: add `hexAddress()` function | ||
* src: use `NanEscapableScope` where appropriate | ||
* src: use `uintptr_t` to ensure a positive address | ||
* src: better _snprintf_s #define macro (#12, @fjhub) | ||
* package: update "debug" to v1.0.1 | ||
0.2.3 / 2014-06-04 | ||
@@ -3,0 +13,0 @@ ================== |
@@ -1219,3 +1219,3 @@ | ||
Buffer.prototype.address = function address () { | ||
return exports.address(this) | ||
return exports.address(this, 0) | ||
} | ||
@@ -1227,4 +1227,12 @@ | ||
Buffer.prototype.hexAddress = function hexAddress () { | ||
return exports.hexAddress(this, 0) | ||
} | ||
/** | ||
* ... | ||
*/ | ||
Buffer.prototype.isNull = function isNull () { | ||
return exports.isNull(this) | ||
return exports.isNull(this, 0) | ||
} | ||
@@ -1410,2 +1418,3 @@ | ||
SlowBuffer.prototype.address = Buffer.prototype.address | ||
SlowBuffer.prototype.hexAddress = Buffer.prototype.hexAddress | ||
SlowBuffer.prototype.isNull = Buffer.prototype.isNull | ||
@@ -1439,5 +1448,5 @@ SlowBuffer.prototype.ref = Buffer.prototype.ref | ||
var v = inspect.apply(this, arguments) | ||
return v.replace('Buffer', 'Buffer@0x' + this.address().toString(16)) | ||
return v.replace('Buffer', 'Buffer@0x' + this.hexAddress()) | ||
} | ||
} | ||
} |
@@ -20,3 +20,3 @@ { | ||
], | ||
"version": "0.2.3", | ||
"version": "0.3.0", | ||
"author": "Nathan Rajlich <nathan@tootallnate.net> (http://tootallnate.net)", | ||
@@ -34,3 +34,3 @@ "repository": { | ||
"bindings": "~1.2.0", | ||
"debug": "~0.8.1", | ||
"debug": "~1.0.1", | ||
"nan": "~1.2.0" | ||
@@ -37,0 +37,0 @@ }, |
Sorry, the diff of this file is not supported yet
350915
2863
+ Addeddebug@1.0.5(transitive)
+ Addedms@2.0.0(transitive)
- Removeddebug@0.8.1(transitive)
Updateddebug@~1.0.1