hapi-mongodb-init
Advanced tools
Comparing version 3.2.0 to 3.3.0
@@ -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 @@ ] |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
23061
99
1