Socket
Socket
Sign inDemoInstall

bookshelf-modelbase

Package Overview
Dependencies
Maintainers
2
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bookshelf-modelbase - npm Package Compare versions

Comparing version 2.5.2 to 2.6.1

2

lib/index.js

@@ -52,3 +52,3 @@ var extend = require('xtend')

if (validation.error) {
throw new Error(validation.error)
throw validation.error
} else {

@@ -55,0 +55,0 @@ return validation.value

{
"name": "bookshelf-modelbase",
"version": "2.5.2",
"version": "2.6.1",
"description": "Extensible ModelBase for bookshelf-based model layers",

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

@@ -77,3 +77,3 @@ /* global describe, before, beforeEach, it */

specimen.validateSave()
}).to.throw(/ValidationError/)
}).to.throw(/first_name must be a string/)
})

@@ -80,0 +80,0 @@

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