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

klark-js-plugins

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

klark-js-plugins - npm Package Compare versions

Comparing version 1.0.27 to 1.0.28

2

package.json
{
"name": "klark-js-plugins",
"version": "1.0.27",
"version": "1.0.28",
"description": "Plugin modules for KlarkJS",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -46,7 +46,9 @@ 'use strict';

return function(req, res, next) {
var findOpts = {
pagination: res.locals.params.pagination,
var filterOpts = {
filters: res.locals.params.filters,
uniqueBy: res.locals.params.uniqueBy
};
var findOpts = _.assignIn({
pagination: res.locals.params.pagination,
}, filterOpts);

@@ -56,3 +58,3 @@ q.all([

krkDbMongooseBinders.count(model),
(findOpts.filters || findOpts.uniqueBy) && krkDbMongooseBinders.find(model, findOpts).count()
(filterOpts.filters || filterOpts.uniqueBy) && krkDbMongooseBinders.find(model, filterOpts).count()
])

@@ -59,0 +61,0 @@ .then(function(resolvedPromises) {

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