Socket
Socket
Sign inDemoInstall

odata-query

Package Overview
Dependencies
0
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 5.0.0 to 5.1.0

7

dist/index.js

@@ -15,2 +15,3 @@ 'use strict';

filter = _ref.filter,
search = _ref.search,
groupBy = _ref.groupBy,

@@ -41,2 +42,6 @@ transform = _ref.transform,

if (search) {
params.$search = search;
}
if (transform) {

@@ -293,3 +298,3 @@ var builtTransforms = buildTransforms(transform);

function buildAggregate(aggregate) {
// Wrap single object an array for simplified processing
// Wrap single object in an array for simplified processing
var aggregateArray = Array.isArray(aggregate) ? aggregate : [aggregate];

@@ -296,0 +301,0 @@

2

package.json
{
"name": "odata-query",
"version": "5.0.0",
"version": "5.1.0",
"author": "Sean Lynch <techniq35@gmail.com>",

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

@@ -42,2 +42,3 @@ # odata-query

- [Data types](#data-types)
- [Search](#search)
- [Selecting](#selecting)

@@ -209,2 +210,9 @@ - [Ordering](#ordering)

#### Search
```js
const search = 'blue OR green';
buildQuery({ search });
=> '?$search=blue OR green';
```
### Selecting

@@ -211,0 +219,0 @@ ```js

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc