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

mong

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mong - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

4

lib/index.js

@@ -91,7 +91,7 @@ var util = require('util');

exports.ensureIndex = function (index) {
exports.ensureIndex = function (fieldOrSpec, options) {
var self = this;
whenReady(function (db) {
var collection = GC(self);
collection.ensureIndex(index, function (err) {
collection.ensureIndex(fieldOrSpec, options, function (err) {
if (err) throw err;

@@ -98,0 +98,0 @@ });

{
"name": "mong",
"version": "0.0.7",
"version": "0.0.8",
"description": "Lightweight models for mongodb objects",

@@ -5,0 +5,0 @@ "main": "lib/index",

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