Socket
Socket
Sign inDemoInstall

cmbf-hapi-restmodel

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmbf-hapi-restmodel - npm Package Compare versions

Comparing version 0.6.15 to 0.6.16

9

lib/base-model.js

@@ -118,3 +118,10 @@ var Joi = require('joi'),

var q = {};
q[this.idField] = id;
if(_.isObject(id)) {
q = id;
}
else {
q[this.idField] = id;
}
return this.callStaticHandler('pre-show', options)(q).then(function(q) {

@@ -121,0 +128,0 @@ return coll.findOne(q);

2

package.json
{
"name": "cmbf-hapi-restmodel",
"version": "0.6.15",
"version": "0.6.16",
"author": "Joel Grenon <joelgrenon@covistra.com>",

@@ -5,0 +5,0 @@ "description": "Hapi plugin building a REST Api from Joi schema, backed by covistra-mongo plugin",

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