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

@trapi/query

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trapi/query - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

package.json
{
"name": "@trapi/query",
"version": "1.1.0",
"version": "1.1.1",
"description": "An tiny library which provides utility types/functions for request and response query handling.",

@@ -53,3 +53,3 @@ "main": "./dist/index.js",

},
"gitHead": "91fda58914c6ec3337fada8afa4b3f0cbe331a1e"
"gitHead": "9cfbe2c6cd88204e5905170be27f8a368d93836f"
}

@@ -327,5 +327,5 @@ # @trapi/query 🌈

export async function getUsers(req: Request, res: Response) {
const {fields, filter, include, page, sort} = req.query;
// const {fields, filter, include, page, sort} = req.query;
const output: QueryParseOutput = parseQuery({
const output: QueryParseOutput = parseQuery(req.query, {
[QueryKey.FIELDS]: {

@@ -332,0 +332,0 @@ defaultAlias: 'user',

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