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

hapi-mongo-models

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hapi-mongo-models - npm Package Compare versions

Comparing version 7.1.1 to 8.0.0

5

index.js
'use strict';
const Hoek = require('hoek');
const Hoek = require('@hapi/hoek');
const MongoModels = require('mongo-models');

@@ -34,3 +35,3 @@

.filter((model) => Boolean(model.indexes))
.map((model) => model.createIndexes.call(model, model.indexes));
.map((model) => model.createIndexes(model.indexes));

@@ -37,0 +38,0 @@ await Promise.all(indexJobs);

18

package.json
{
"name": "hapi-mongo-models",
"version": "7.1.1",
"version": "8.0.0",
"description": "A hapi plugin for mongo-models",

@@ -32,17 +32,17 @@ "main": "index.js",

"devDependencies": {
"code": "5.x.x",
"hapi": "17.x.x",
"joi": "13.x.x",
"lab": "15.x.x",
"@hapi/code": "5.x.x",
"@hapi/hapi": "18.x.x",
"@hapi/joi": "15.x.x",
"@hapi/lab": "19.x.x",
"mongodb": "3.x.x",
"mongo-models": "2.x.x",
"proxyquire": "1.x.x"
"mongo-models": "3.x.x",
"proxyquire": "2.x.x"
},
"peerDependencies": {
"mongodb": "3.x.x",
"mongo-models": "2.x.x"
"mongo-models": "3.x.x"
},
"dependencies": {
"hoek": "5.x.x"
"@hapi/hoek": "7.x.x"
}
}
'use strict';
const Joi = require('joi');
const Joi = require('@hapi/joi');
const MongoModels = require('mongo-models');

@@ -4,0 +5,0 @@

'use strict';
const Joi = require('joi');
const Joi = require('@hapi/joi');
const MongoModels = require('mongo-models');

@@ -4,0 +5,0 @@

'use strict';
const Code = require('code');
const Hapi = require('hapi');
const Lab = require('lab');
const Code = require('@hapi/code');
const Hapi = require('@hapi/hapi');
const Lab = require('@hapi/lab');
const Path = require('path');

@@ -13,3 +14,3 @@ const Proxyquire = require('proxyquire');

connection: {
uri: 'mongodb://localhost:27017/',
uri: process.env.MONGODB_URI || 'mongodb://localhost:27017/',
db: 'hapi-mongo-models-test'

@@ -16,0 +17,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