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.6.4 to 0.6.5

18

mixins/swagger.js

@@ -135,2 +135,20 @@ // This is a Controller mixin to add methods for generating Swagger data.

parameters.push({
paramType: 'query',
name: 'conditions',
description: 'Set the conditions used to find or remove the document(s).',
dataType: 'string',
required: false,
allowMultiple: false
});
parameters.push({
paramType: 'query',
name: 'sort',
description: 'Set the fields by which to sort.',
dataType: 'string',
required: false,
allowMultiple: false
});
return parameters;

@@ -137,0 +155,0 @@ };

2

package.json

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/wprl/baucis",
"version": "0.6.4",
"version": "0.6.5",
"main": "index.js",

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

@@ -1,2 +0,2 @@

baucis v0.6.4
baucis v0.6.5
=============

@@ -28,2 +28,9 @@

Examples
--------
* [Example REST API server built with Node and Baucis](//github.com/wprl/baucis-example)
* [Examples with Backbone](examples/Backbone.js)
* [Examples with jQuery](examples/jQuery.js)
![David Rjckaert III - Philemon and Baucis Giving Hospitality to Jupiter and Mercury](http://github.com/wprl/baucis/raw/master/david_rijckaert_iii-philemon_and_baucis.jpg "Hermes is like: 'Hey Baucis, don't kill that goose. And thanks for the REST.'")

@@ -82,10 +89,2 @@

Examples
--------
* [Example REST API server built with Node and Baucis](//github.com/wprl/baucis-example)
* [Examples with Backbone](examples/Backbone.js)
* [Examples with jQuery](examples/jQuery.js)
Query Options

@@ -103,6 +102,8 @@ -------------

It is not permitted to use the `select` query option or the `select` option of `populate` with a `+path`. This is to allow a mechanism for hiding fields from client software.
It is not permitted to use the `select` query option to select deselected paths. This is to allow a mechanism for hiding fields from client software.
You can deselect paths in the schema definition using `select: false` or in the controller options using `select: '-foo'` and your server middleware will able to select these fields as usual using `query.select`, while preventing the client from selecting the field.
The `select` option of `populate` is disallowed. Only paths deselected at the model level will be deselected in populate queries.
You can deselect paths in the schema definition using `select: false` or in the controller options using `select: '-foo'` and your server middleware will be able to select these fields as usual using `query.select`, while preventing the client from selecting the field.
`baucis.rest`

@@ -109,0 +110,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