Comparing version 0.1.0 to 0.1.2
@@ -19,3 +19,3 @@ var bson = null; | ||
console.error("js-bson: Failed to load c++ bson extension, using pure JS version"); | ||
bson = require('../lib/bson/bson'); | ||
throw new Error("js-bson: Failed to load c++ bson extension, using pure JS version"); | ||
} | ||
@@ -22,0 +22,0 @@ } |
@@ -1,27 +0,56 @@ | ||
{ "name" : "bson-ext" | ||
, "description" : "The C++ bson parser for the node.js mongodb driver." | ||
, "keywords" : ["mongodb", "bson", "parser"] | ||
, "version" : "0.1.0" | ||
, "author" : "Christian Amor Kvalheim <christkv@gmail.com>" | ||
, "contributors" : [] | ||
, "repository" : { "type" : "git" | ||
, "url" : "git://github.com/christkv/bson-ext.git" } | ||
, "bugs" : { "mail" : "node-mongodb-native@googlegroups.com" | ||
, "url" : "https://github.com/christkv/bson-ext/issues" } | ||
, "dependencies": { | ||
"nan": "1.7.0" | ||
{ | ||
"name": "bson-ext", | ||
"description": "The C++ bson parser for the node.js mongodb driver.", | ||
"keywords": [ | ||
"mongodb", | ||
"bson", | ||
"parser" | ||
], | ||
"version": "0.1.2", | ||
"author": "Christian Amor Kvalheim <christkv@gmail.com>", | ||
"contributors": [], | ||
"repository": { | ||
"type": "git", | ||
"url": "git://github.com/christkv/bson-ext.git" | ||
}, | ||
"bugs": { | ||
"mail": "node-mongodb-native@googlegroups.com", | ||
"url": "https://github.com/christkv/bson-ext/issues" | ||
}, | ||
"dependencies": { | ||
"nan": "~1.7.0", | ||
"node-pre-gyp": "https://github.com/mongodb-js/node-pre-gyp/archive/v0.6.5-appveyor.tar.gz" | ||
}, | ||
"bundledDependecies": [ | ||
"node-pre-gyp" | ||
], | ||
"devDependencies": { | ||
"aws-sdk": "~2.1.20", | ||
"nodeunit": "~0.9.0" | ||
}, | ||
"main": "./index", | ||
"directories": { | ||
"lib": "./lib/bson" | ||
}, | ||
"engines": { | ||
"node": ">=0.8.19" | ||
}, | ||
"scripts": { | ||
"install": "node-pre-gyp install --fallback-to-build", | ||
"test": "nodeunit ./test/node", | ||
"posttest": "node-pre-gyp publish-maybe" | ||
}, | ||
"licenses": [ | ||
{ | ||
"type": "Apache License, Version 2.0", | ||
"url": "http://www.apache.org/licenses/LICENSE-2.0" | ||
} | ||
], | ||
"binary": { | ||
"module_name": "bson", | ||
"module_path": "build/Release", | ||
"host": "https://bin.mongodb.org", | ||
"remote_path": "/js/bson-ext/v{version}", | ||
"bucket": "mongodb-dx-public" | ||
} | ||
, "devDependencies": { | ||
"nodeunit": "0.9.0" | ||
} | ||
, "main": "./index" | ||
, "directories" : { "lib" : "./lib/bson" } | ||
, "engines" : { "node" : ">=0.8.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" } ] | ||
} |
@@ -1,4 +0,26 @@ | ||
Javascript + C++ BSON parser | ||
============================ | ||
# bson-ext | ||
This module contains the C++ BSON parser only and is not meant to be used in isolation from the `bson` NPM module. It lives in it's own module so it can be an optional dependency for the `bson` module. | ||
[![linux build status](https://secure.travis-ci.org/imlucas/bson-ext.png)](http://travis-ci.org/imlucas/bson-ext) | ||
[![windows build status](https://ci.appveyor.com/api/projects/status/github/imlucas/bson-ext)](https://ci.appveyor.com/project/imlucas/bson-ext) | ||
This module contains the C++ BSON parser only and is not meant to be used in | ||
isolation from the [bson](http://npm.im/bson) NPM module. It lives in | ||
it's own module so it can be an optional dependency for the | ||
[bson](http://npm.im/bson) module. | ||
## Testing | ||
``` | ||
npm test | ||
``` | ||
## Prebuilt Binaries | ||
bson-ext uses [node-pre-gyp](http://npm.im/node-pre-gyp) to publish and install | ||
prebuilt binaries. This means you don't need the full toolchain installed | ||
and configured correctly to use this module. | ||
## License | ||
Apache 2 |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
HTTP dependency
Supply chain riskContains a dependency which resolves to a remote HTTP URL which could be used to inject untrusted code and reduce overall package reliability.
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
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
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
27
0
146752
2
2
26
2587
2