Socket
Socket
Sign inDemoInstall

bson

Package Overview
Dependencies
Maintainers
2
Versions
162
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.1.4 to 0.1.5

build/binding.Makefile

4

lib/bson/binary_parser.js

@@ -385,4 +385,2 @@ /**

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

@@ -333,5 +331,3 @@ // Binary default subtype

*/
if(typeof window === 'undefined') {
exports.Binary = Binary;
}
exports.Binary = Binary;

@@ -25,4 +25,2 @@ /**

if(typeof window === 'undefined') {
exports.Code = Code;
}
exports.Code = Code;

@@ -31,4 +31,2 @@ /**

if(typeof window === 'undefined') {
exports.DBRef = DBRef;
}
exports.DBRef = DBRef;

@@ -33,4 +33,2 @@ /**

if(typeof window === 'undefined') {
exports.Double = Double;
}
exports.Double = Double;

@@ -120,5 +120,3 @@ // Copyright (c) 2008, Fair Oaks Labs, Inc.

if(typeof window === 'undefined') {
exports.readIEEE754 = readIEEE754;
exports.writeIEEE754 = writeIEEE754;
}
exports.readIEEE754 = readIEEE754;
exports.writeIEEE754 = writeIEEE754;

@@ -854,4 +854,2 @@ // Licensed under the Apache License, Version 2.0 (the "License");

*/
if(typeof window === 'undefined') {
exports.Long = Long;
}
exports.Long = Long;

@@ -13,4 +13,2 @@ /**

if(typeof window === 'undefined') {
exports.MaxKey = MaxKey;
}
exports.MaxKey = MaxKey;

@@ -13,4 +13,2 @@ /**

if(typeof window === 'undefined') {
exports.MinKey = MinKey;
}
exports.MinKey = MinKey;
/**
* Module dependencies.
*/
if(typeof window === 'undefined') {
var BinaryParser = require('./binary_parser').BinaryParser;
}
var BinaryParser = require('./binary_parser').BinaryParser;

@@ -254,6 +252,3 @@ /**

*/
if(typeof window === 'undefined') {
exports.ObjectID = ObjectID;
exports.ObjectId = ObjectID;
}
exports.ObjectID = ObjectID;
exports.ObjectId = ObjectID;

@@ -48,4 +48,2 @@ /**

if(typeof window === 'undefined') {
exports.Symbol = Symbol;
}
exports.Symbol = Symbol;

@@ -853,4 +853,2 @@ // Licensed under the Apache License, Version 2.0 (the "License");

*/
if(typeof window === 'undefined') {
exports.Timestamp = Timestamp;
}
exports.Timestamp = Timestamp;
{ "name" : "bson"
, "description" : "A bson parser for node.js and the browser"
, "keywords" : ["mongodb", "bson", "parser"]
, "version" : "0.1.4"
, "version" : "0.1.5"
, "author" : "Christian Amor Kvalheim <christkv@gmail.com>"

@@ -20,5 +20,5 @@ , "contributors" : []

, "engines" : { "node" : ">=0.6.0" }
, "scripts": { "install" : "node-gyp rebuild || (exit 0)", "test" : "nodeunit ./test/node && TEST_NATIVE=TRUE nodeunit ./test/node" }
, "scripts": { "install" : "node install.js || (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 too big to display

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