New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 2.1.1 to 2.1.2

10

package.json
{
"name": "hapi-mongo-models",
"version": "2.1.1",
"version": "2.1.2",
"description": "MongoDB object models for hapi applications",

@@ -8,3 +8,4 @@ "main": "index.js",

"test": "./node_modules/lab/bin/lab -c -L",
"test-cover": "./node_modules/lab/bin/lab -c -r html -o ./test/artifacts/coverage.html && open ./test/artifacts/coverage.html"
"test-cover": "./node_modules/lab/bin/lab -c -r html -o ./test/artifacts/coverage.html && open ./test/artifacts/coverage.html",
"update": "david update"
},

@@ -32,2 +33,3 @@ "repository": {

"code": "^1.x.x",
"david": "^6.x.x",
"hapi": "^8.x.x",

@@ -43,7 +45,7 @@ "lab": "^5.x.x",

"ampersand-class-extend": "^1.x.x",
"async": "^0.9.x",
"async": "^1.x.x",
"hoek": "^2.x.x",
"joi": "^6.x.x",
"object-assign": "^2.x.x"
"object-assign": "^3.x.x"
}
}

3

test/lib/base-model.js

@@ -95,3 +95,3 @@ var Async = require('async');

var myModel = new SubModel({name: 'Stimpy'});
var myModel = new SubModel({ name: 'Stimpy' });

@@ -394,2 +394,3 @@ Code.expect(myModel.validate()).to.be.an.object();

SubModel.count = function (filter, callback) {
callback(new Error('count failed'));

@@ -396,0 +397,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