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.14 to 0.6.15

2

lib/base-model.js

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

var fieldsToUpdate = _.omitBy(data, function (val, key) {
return key === _this.constructor.idField || _.isNull(val);
return key === _this.constructor.idField || _.isNull(val) || key === '_id';
});

@@ -178,0 +178,0 @@

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