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

baucis

Package Overview
Dependencies
Maintainers
1
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baucis - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

3

middleware/configure.js

@@ -5,3 +5,3 @@ var middleware = module.exports = {

reuqest.baucis.conditions = JSON.parse(request.query.conditions);
request.baucis.conditions = JSON.parse(request.query.conditions);
next();

@@ -20,2 +20,3 @@ },

if (request.query.sort) query.sort(request.query.sort);
if (request.query.skip) query.skip(request.query.skip);

@@ -22,0 +23,0 @@ if (request.query.limit) query.limit(request.query.limit);

{
"name": "baucis",
"version": "0.4.0",
"version": "0.4.1",
"main": "index.js",

@@ -5,0 +5,0 @@ "scripts": {

@@ -1,3 +0,3 @@

baucis v0.4.0
=============
baucis v0.4.1
===============

@@ -115,3 +115,3 @@ Baucis is Express middleware that creates configurable REST APIs using Mongoose schemata.

Object.keys(options).forEach(function (key) {
data[key] = JSON.stringify(options[key])
data[key] = JSON.stringify(options[key]);
});

@@ -164,2 +164,8 @@

Also, `sort`:
vegetables.baucis({
sort: 'foo -bar'
});
`bacuis.rest`

@@ -166,0 +172,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