Comparing version 0.2.5 to 0.2.6
@@ -239,2 +239,6 @@ /** | ||
asRaw = asRaw == null ? false : asRaw; | ||
// Optimize to serialize for the situation where the data == size of buffer | ||
if(asRaw && typeof Buffer != 'undefined' && Buffer.isBuffer(this.buffer) && this.buffer.length == this.position) | ||
return this.buffer; | ||
@@ -241,0 +245,0 @@ // If it's a node.js buffer object |
@@ -48,2 +48,3 @@ /** | ||
this.binId = new Buffer(this.id, 'binary'); | ||
if(ObjectID.cacheHexString) this.__id = this.toHexString(); | ||
@@ -50,0 +51,0 @@ }; |
{ "name" : "bson" | ||
, "description" : "A bson parser for node.js and the browser" | ||
, "keywords" : ["mongodb", "bson", "parser"] | ||
, "version" : "0.2.5" | ||
, "version" : "0.2.6" | ||
, "author" : "Christian Amor Kvalheim <christkv@gmail.com>" | ||
@@ -12,2 +12,5 @@ , "contributors" : [] | ||
, "url" : "https://github.com/mongodb/js-bson/issues" } | ||
, "dependencies": { | ||
"nan": "~0.8.0" | ||
} | ||
, "devDependencies": { | ||
@@ -14,0 +17,0 @@ "nodeunit": "0.8.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1331036
11714
1
46
+ Addednan@~0.8.0
+ Addednan@0.8.0(transitive)