Socket
Socket
Sign inDemoInstall

bson

Package Overview
Dependencies
0
Maintainers
2
Versions
161
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.6 to 0.0.7

6

lib/bson/objectid.js

@@ -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;
}

2

package.json
{ "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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc