New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

odata-query

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

odata-query - npm Package Compare versions

Comparing version 3.3.2 to 3.3.3

12

dist/index.js

@@ -168,10 +168,8 @@ 'use strict';

}).join(' or '));
} else if (BOOLEAN_FUNCTIONS.indexOf(op) !== -1) {
// Simple boolean functions (startswith, endswith, contains)
result.push(op + '(' + propName + ',' + handleValue(value[op]) + ')');
} else {
if (BOOLEAN_FUNCTIONS.indexOf(op) !== -1) {
// Simple boolean functions (startswith, endswith, contains)
result.push(op + '(' + propName + ', ' + handleValue(value[op]) + ')');
} else {
// Nested property
result.push(propName + '/' + buildFilter(value));
}
// Nested property
result.push(buildFilter(value, propName));
}

@@ -178,0 +176,0 @@ });

{
"name": "odata-query",
"version": "3.3.2",
"version": "3.3.3",
"author": "Sean Lynch <techniq35@gmail.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -172,3 +172,3 @@ # odata-query

buildQuery({ filter })
=> "$filter=contains(PropName, 'foo')"
=> "$filter=contains(PropName,'foo')"
```

@@ -175,0 +175,0 @@ Supported operators: `startswith`, `endswith`, `contains`

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