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

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 1.4.1 to 1.5.0

7

lib/index.js

@@ -57,7 +57,8 @@ var _ = require('lodash');

* Naive findAll - fetches all data for `this`
* @param {Object} filter (optional)
* @param {Object} options (optional)
* @return {Promise(bookshelf.Collection)} Bookshelf Collection of all Models
* @return {Promise(bookshelf.Collection)} Bookshelf Collection of Models
*/
findAll: function (options) {
return bookshelf.Collection.forge([], { model: this }).fetch(options);
findAll: function (filter, options) {
return this.forge(filter).fetchAll(options);
},

@@ -64,0 +65,0 @@

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

@@ -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