Socket
Socket
Sign inDemoInstall

bson

Package Overview
Dependencies
0
Maintainers
2
Versions
162
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.7 to 0.1.8

browser_build/bson.js

4

lib/bson/binary.js
/**
* Module dependencies.
*/
var Buffer = require('buffer').Buffer; // TODO just use global Buffer
if(typeof window === 'undefined') {
var Buffer = require('buffer').Buffer; // TODO just use global Buffer
}

@@ -6,0 +8,0 @@ // Binary default subtype

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

@@ -15,2 +15,3 @@ , "contributors" : []

, "gleak": "0.2.3"
, "one": "latest"
}

@@ -20,6 +21,9 @@ , "config": { "native" : false }

, "directories" : { "lib" : "./lib/bson" }
, "engines" : { "node" : ">=0.6.0" }
, "scripts": { "install" : "node install.js || (exit 0)", "test" : "nodeunit ./test/node && TEST_NATIVE=TRUE nodeunit ./test/node" }
, "engines" : { "node" : ">=0.6.19" }
, "scripts": {
"install" : "(node-gyp rebuild 2> builderror.log) || (exit 0)",
"test" : "nodeunit ./test/node && TEST_NATIVE=TRUE nodeunit ./test/node"
}
, "licenses" : [ { "type" : "Apache License, Version 2.0"
, "url" : "http://www.apache.org/licenses/LICENSE-2.0" } ]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc