Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bookshelf-modelbase-plus

Package Overview
Dependencies
Maintainers
6
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bookshelf-modelbase-plus - npm Package Compare versions

Comparing version 2.11.4 to 2.11.5

7

lib/index.js

@@ -849,5 +849,10 @@ const _ = require('lodash');

}
const cols = validateColumns || this.columns;
const idCol = this.prototype.idAttribute || 'id';
if (!_.includes(cols, idCol)) {
cols.push(idCol);
}
const validationErrors = rows
.map((row, i) => {
const rowToValidate = _.pick(row, validateColumns || this.columns);
const rowToValidate = _.pick(row, cols);
try {

@@ -854,0 +859,0 @@ const m = this.forge(rowToValidate);

2

package.json
{
"name": "bookshelf-modelbase-plus",
"version": "2.11.4",
"version": "2.11.5",
"description": "Extended functionality for REST operations with validation, filtering, ordering, importing records.",

@@ -5,0 +5,0 @@ "main": "./lib",

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