@balena/odata-parser 4.3.13 → 4.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -296,21 +296,8 @@ GroupedPrecedenceExpression =
296
296
 
297
297
  FilterByOperand =
298
298
  spaces
299
- @(
300
- 'eq'
301
- / 'ne'
302
- / 'gt'
303
- / 'ge'
304
- / 'lt'
305
- / 'le'
306
- / 'and'
307
- / 'or'
308
- / 'sub'
309
- / 'add'
310
- / 'mod'
311
- / 'div'
312
- / 'mul'
313
- )
299
+ @op:$[a-z]+
300
+ &{ return operatorPrecedence.has(op) }
314
301
  boundary
315
302
 
316
303
  FilterNegateExpression =
@@ -344,39 +331,8 @@ GroupedPrimitive =
344
331
  }
345
332
 
346
333
  FilterMethodCallExpression =
347
- methodName:(
348
- 'cast'
349
- / 'ceiling'
350
- / 'concat'
351
- / 'contains'
352
- / 'date'
353
- / 'day'
354
- / 'endswith'
355
- / 'floor'
356
- / 'fractionalseconds'
357
- / 'hour'
358
- / 'indexof'
359
- / 'isof'
360
- / 'length'
361
- / 'maxdatetime'
362
- / 'mindatetime'
363
- / 'minute'
364
- / 'month'
365
- / 'now'
366
- / 'replace'
367
- / 'round'
368
- / 'second'
369
- / 'startswith'
370
- / 'substringof'
371
- / 'substring'
372
- / 'time'
373
- / 'tolower'
374
- / 'totaloffsetminutes'
375
- / 'totalseconds'
376
- / 'toupper'
377
- / 'trim'
378
- / 'year'
379
- )
334
+ methodName:$[a-z]+
335
+ &{ return methods.has(methodName) }
380
336
  '('
381
337
  spaces
382
338
  args:FilterByExpression|0..,spaces ',' spaces|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/odata-parser",
3
- "version": "4.3.13",
3
+ "version": "4.3.14",
4
4
  "description": "An OData parser written in OMeta",
5
5
  "type": "commonjs",
6
6
  "main": "odata-parser.js",
@@ -39,6 +39,6 @@
39
39
  "npm": ">=8.1.0"
40
40
  },
41
41
  "versionist": {
42
- "publishedAt": "2026-10-06T16:10:45.947Z"
42
+ "publishedAt": "2026-10-06T16:45:11.985Z"
43
43
  }
44
44
  }