Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bson

Package Overview
Dependencies
Maintainers
2
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bson - npm Package Compare versions

Comparing version 0.2.21 to 0.3.0

13

lib/bson/index.js
try {
exports.BSONPure = require('./bson');
exports.BSONNative = require('../../ext');
exports.BSONNative = require('bson-ext');
} catch(err) {

@@ -40,4 +40,3 @@ // do nothing

, './long'
, '../../ext'
].forEach(function (path) {
].forEach(function (path) {
var module = require('./' + path);

@@ -48,2 +47,10 @@ for (var i in module) {

});
// Catch error and return no classes found
try {
classes['BSON'] = require('bson-ext')
} catch(err) {
return {};
}
// Return classes list

@@ -50,0 +57,0 @@ return classes;

{ "name" : "bson"
, "description" : "A bson parser for node.js and the browser"
, "keywords" : ["mongodb", "bson", "parser"]
, "version" : "0.2.21"
, "version" : "0.3.0"
, "author" : "Christian Amor Kvalheim <christkv@gmail.com>"

@@ -12,5 +12,2 @@ , "contributors" : []

, "url" : "https://github.com/mongodb/js-bson/issues" }
, "dependencies": {
"nan": "1.7.0"
}
, "devDependencies": {

@@ -21,2 +18,5 @@ "nodeunit": "0.9.0"

}
, "optionalDependencies": {
"bson-ext": "~0.1"
}
, "config": { "native" : false }

@@ -23,0 +23,0 @@ , "main": "./lib/bson/index"

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc