Comparing version 0.1.4 to 0.1.5
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 4 instances in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
1126021
57
11627
1
22
5