Socket
Socket
Sign inDemoInstall

hapi-massive

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-massive - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

10

index.js
var Hoek = require("hoek");
var massive = require("massive");
var Promise = require("bluebird");

@@ -15,2 +16,11 @@ var DEFAULTS = {

if(err){ return next(err); }
// wrap with bluebird for promise support
Promise.promisifyAll(db);
for(var prop in db){
if(db[prop] instanceof Object && !(db[prop] instanceof Array) && !(db[prop] instanceof Function)){
Promise.promisifyAll(db[prop]);
}
}
// make available in hapi application

@@ -17,0 +27,0 @@ server.expose("db", db);

3

package.json
{
"name": "hapi-massive",
"version": "1.0.1",
"version": "1.0.2",
"description": "Hapi plugin for massivejs 2.0",

@@ -16,2 +16,3 @@ "main": "index.js",

"devDependencies": {
"bluebird": "^2.9.30",
"hapi": "^8.6.1",

@@ -18,0 +19,0 @@ "hoek": "^2.14.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