Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongojs

Package Overview
Dependencies
Maintainers
4
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 2.2.1 to 2.2.2

CHANGELOG.md

6

lib/collection.js

@@ -203,5 +203,5 @@ var mongodb = require('mongodb')

Collection.prototype.ensureIndex = function (index, opts, cb) {
if (typeof opts === 'function') return this.createIndex(index, {}, opts)
if (typeof opts === 'undefined') return this.createIndex(index, {}, noop)
if (typeof cb === 'undefined') return this.createIndex(index, opts, noop)
if (typeof opts === 'function') return this.ensureIndex(index, {}, opts)
if (typeof opts === 'undefined') return this.ensureIndex(index, {}, noop)
if (typeof cb === 'undefined') return this.ensureIndex(index, opts, noop)

@@ -208,0 +208,0 @@ this._getCollection(function (err, collection) {

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

],
"version": "2.2.1",
"version": "2.2.2",
"repository": "git://github.com/mafintosh/mongojs.git",

@@ -54,5 +54,5 @@ "author": "Mathias Buus Madsen <mathiasbuus@gmail.com>",

"coordinates": [
48.2287157,
16.3955287
48.22875519999999,
16.3954423
]
}

Sorry, the diff of this file is not supported yet

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