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.5.2 to 0.5.3

5

lib/base-model.js

@@ -9,2 +9,3 @@ var Joi = require('joi'),

var dbName = config.get('plugins:restmod:dbname','MAIN');
var random = server.plugins['covistra-system'].random;

@@ -142,2 +143,6 @@ /**

if(!this[this.constructor.idField]) {
this[this.constructor.idField] = random.id();
}
log.debug("Retrieving collection %s from db", this.constructor.collection, this.constructor.db);

@@ -144,0 +149,0 @@ var coll = this.constructor.db.collection(this.constructor.collection);

2

package.json
{
"name": "cmbf-hapi-restmodel",
"version": "0.5.2",
"version": "0.5.3",
"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