New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongojs

Package Overview
Dependencies
Maintainers
2
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongojs - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

10

index.js
var mongodb = require('mongodb');
var memolite = require('memolite');
var thunky = require('thunky');
var Readable = require('stream').Readable || require('readable-stream');

@@ -75,3 +75,3 @@

Cursor.prototype._read = function(size, callback) { // 0.10 stream support
Cursor.prototype._read = function(size, callback) { // 0.10 stream support (0.8 compat using readable-stream)
this.next(callback);

@@ -100,3 +100,3 @@ };

var oncollection = this._get;
var oncursor = memolite(function(callback) {
var oncursor = thunky(function(callback) {
args.push(callback);

@@ -193,3 +193,3 @@ oncollection(function(err, collection) {

var ondb = memolite(function(callback) {
var ondb = thunky(function(callback) {
mongodb.Db.connect(connectionString, function(err, db) {

@@ -208,3 +208,3 @@ if (err) return callback(err);

var oncollection = memolite(function(callback) {
var oncollection = thunky(function(callback) {
ondb(function(err, db) {

@@ -211,0 +211,0 @@ if (err) return callback(err);

@@ -9,3 +9,3 @@ {

],
"version": "0.7.0",
"version": "0.7.1",
"repository": "git://github.com/gett/mongojs.git",

@@ -19,3 +19,3 @@ "author": "Ge.tt <hello@ge.tt>",

"mongodb": "~1.2.13",
"memolite": "~0.1.0",
"thunky": "~0.1.0",
"readable-stream": "~0.3.1"

@@ -22,0 +22,0 @@ },

@@ -119,1 +119,5 @@ # mongojs

For more detailed information about replica sets see [the mongo replication docs](http://www.mongodb.org/display/DOCS/Replica+Sets)
## License
MIT
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