bson
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -27,3 +27,3 @@ /** | ||
*/ | ||
function ObjectID(id, _hex) { | ||
var ObjectID = function ObjectID(id, _hex) { | ||
if(!(this instanceof ObjectID)) return new ObjectID(id, _hex); | ||
@@ -52,2 +52,5 @@ | ||
// Allow usage of ObjectId aswell as ObjectID | ||
var ObjectId = ObjectID; | ||
/** | ||
@@ -253,3 +256,4 @@ * Return the ObjectID id as a 24 byte hex string representation | ||
exports.ObjectID = ObjectID; | ||
exports.ObjectId = ObjectID; | ||
} | ||
{ "name" : "bson" | ||
, "description" : "A bson parser for node.js and the browser" | ||
, "keywords" : ["mongodb", "bson", "parser"] | ||
, "version" : "0.0.6" | ||
, "version" : "0.0.7" | ||
, "author" : "Christian Amor Kvalheim <christkv@gmail.com>" | ||
@@ -6,0 +6,0 @@ , "contributors" : [] |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
577075
11490
15