Socket
Socket
Sign inDemoInstall

cmbf-hapi-restmodel

Package Overview
Dependencies
10
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.6.1

4

lib/base-model.js

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

_.merge(this, data);
this.handlers = {};
}

@@ -197,5 +198,6 @@

return P.method(function(result) {
var service = _this.handlers[key];
var service = _this.constructor.handlers[key];
if(service) {
service.model = _this;
service.Model = _this.constructor;
service.data = result;

@@ -202,0 +204,0 @@ return server.cmbf.service(service);

{
"name": "cmbf-hapi-restmodel",
"version": "0.6.0",
"version": "0.6.1",
"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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc