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

simple-odata-server

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-odata-server - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

13

lib/queryTransform.js

@@ -70,3 +70,14 @@ /*!

if (this.type === 'eq' && this.right.type === 'literal') {
this._prop(result, this.left, this.right.value)
// odata parser returns ['null', ''] for a filter with "field eq null"
// we handle the case by fixing the query in case this happens
if (
Array.isArray(this.right.value) &&
this.right.value.length === 2 &&
this.right.value[0] === 'null' &&
this.right.value[1] === ''
) {
this._prop(result, this.left, null)
} else {
this._prop(result, this.left, this.right.value)
}
}

@@ -73,0 +84,0 @@

2

package.json
{
"name": "simple-odata-server",
"version": "1.1.0",
"version": "1.1.1",
"description": "OData server with adapter for mongodb and nedb",

@@ -5,0 +5,0 @@ "main": "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