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

@json-api/query-parser

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@json-api/query-parser - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

8

build/src/parser.js

@@ -156,8 +156,8 @@ /*

return {
direction,
...(fieldOrExp && fieldOrExp.type === 'RawFieldExpression'
return Object.assign(
{ direction },
(fieldOrExp && fieldOrExp.type === 'RawFieldExpression'
? { expression: fieldOrExp }
: { field: fieldOrExp.value })
};
);
},

@@ -164,0 +164,0 @@ peg$c8 = peg$otherExpectation("field expression, atomic value, or comma-separated list"),

{
"name": "@json-api/query-parser",
"version": "1.0.0",
"version": "1.0.1",
"description": "A query parser for the ?filter and ?sort param syntax used by @json-api/server",

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

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