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

hapi-mongodb-init

Package Overview
Dependencies
Maintainers
8
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-mongodb-init - npm Package Compare versions

Comparing version 3.2.0 to 3.3.0

2

lib/indexes.js

@@ -48,3 +48,3 @@ var async = require("async"),

var options = { name: indexData.name, w: 1 };
var options = { name: indexData.name, w: 1, unique: indexData.unique || false };
if(indexData.expireAfterSeconds !== undefined){

@@ -51,0 +51,0 @@ options.expireAfterSeconds = indexData.expireAfterSeconds;

{
"name": "hapi-mongodb-init",
"version": "3.2.0",
"version": "3.3.0",
"description": "initialises mongo db connections for hapi",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -29,3 +29,4 @@ #Hapi mongodb-init

myfield: 1
}
},
unique: false
}

@@ -32,0 +33,0 @@ ]

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