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

@balena/odata-parser

Package Overview
Dependencies
Maintainers
0
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/odata-parser - npm Package Compare versions

Comparing version 3.0.8 to 3.1.0-build-top-skip-binds-f160a140209cc5c9d3abc617cf8de7a37a0abf16-1

7

CHANGELOG.md

@@ -7,4 +7,9 @@ # Change Log

# v3.1.0
## (2024-10-03)
* Use bind vars for $top and $skip options [Pagan Gazzard]
# v3.0.8
## (2024-06-03)
## (2024-06-04)

@@ -11,0 +16,0 @@ * Fix type checking of the declaration file [Pagan Gazzard]

4

package.json
{
"name": "@balena/odata-parser",
"version": "3.0.8",
"version": "3.1.0-build-top-skip-binds-f160a140209cc5c9d3abc617cf8de7a37a0abf16-1",
"description": "An OData parser written in OMeta",

@@ -42,4 +42,4 @@ "main": "odata-parser.js",

"versionist": {
"publishedAt": "2024-06-03T15:30:15.468Z"
"publishedAt": "2024-10-03T19:30:42.294Z"
}
}

@@ -5,10 +5,17 @@ import * as assert from 'assert';

describe('Paging', function () {
test('$top=5&$skip=100', function (result) {
it('top should be specified', () => {
assert.equal(result.options.$top, 5);
});
it('skip should be specified', () => {
assert.equal(result.options.$skip, 100);
});
});
test(
'$top=5&$skip=100',
[
['Integer', 5],
['Integer', 100],
],
function (result) {
it('top should be specified', () => {
assert.deepEqual(result.options.$top, { bind: 0 });
});
it('skip should be specified', () => {
assert.deepEqual(result.options.$skip, { bind: 1 });
});
},
);

@@ -15,0 +22,0 @@ test('$inlinecount=allpages', (result) => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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