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

@balena/odata-to-abstract-sql

Package Overview
Dependencies
Maintainers
3
Versions
226
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@balena/odata-to-abstract-sql - npm Package Compare versions

Comparing version 6.0.2-build-renovate-balena-sbvr-types-6-x-a7154388ab03ab0a1a1a75d94608e6073b7b4b36-1 to 6.1.0-build-bind-reference-boolean-6eab6c354cf734861e207a58d6a289eeef043f70-1

25

CHANGELOG.md

@@ -7,27 +7,6 @@ # Change Log

## 6.0.2 - 2023-08-09
## 6.1.0 - 2023-08-16
* Support bind references as boolean types [Pagan Gazzard]
<details>
<summary> Update dependency @balena/sbvr-types to v6 [Self-hosted Renovate Bot] </summary>
> ### sbvr-types-6.0.0 - 2023-08-09
>
> * Change contents to snake_case [Otávio Jacobi]
>
> ### sbvr-types-5.2.0 - 2023-08-08
>
> * Expose WebResource as WebResourceType [Otávio Jacobi]
>
> ### sbvr-types-5.1.0 - 2023-08-03
>
> * Adds WebResource type [Otávio Jacobi]
>
> ### sbvr-types-5.0.0 - 2023-05-16
>
> * Switch from `export =` to `export default` [Pagan Gazzard]
>
</details>
## 6.0.1 - 2023-04-27

@@ -34,0 +13,0 @@

3

out/odata-to-abstract-sql.js

@@ -750,2 +750,5 @@ "use strict";

}
else if ((0, exports.isBindReference)(match)) {
return this.Bind(match);
}
else {

@@ -752,0 +755,0 @@ try {

{
"name": "@balena/odata-to-abstract-sql",
"version": "6.0.2-build-renovate-balena-sbvr-types-6-x-a7154388ab03ab0a1a1a75d94608e6073b7b4b36-1",
"version": "6.1.0-build-bind-reference-boolean-6eab6c354cf734861e207a58d6a289eeef043f70-1",
"description": "A consumer of the OData parser, written in OMeta",

@@ -31,3 +31,3 @@ "main": "out/odata-to-abstract-sql.js",

"@balena/sbvr-parser": "^1.4.3",
"@balena/sbvr-types": "^6.0.0",
"@balena/sbvr-types": "^4.0.0",
"@types/chai": "^4.3.4",

@@ -57,4 +57,4 @@ "@types/chai-things": "0.0.35",

"versionist": {
"publishedAt": "2023-08-09T01:06:29.571Z"
"publishedAt": "2023-08-16T14:48:08.294Z"
}
}

@@ -1112,2 +1112,4 @@ import * as _ from 'lodash';

}
} else if (isBindReference(match)) {
return this.Bind(match);
} else {

@@ -1114,0 +1116,0 @@ try {

@@ -244,2 +244,16 @@ import { expect } from 'chai';

run(function () {
const odata = operandToOData(true);
const abstractsql = operandToAbstractSQL(true);
return test('/pilot?$filter=' + odata, (result) =>
it('should select from pilot where "' + odata + '"', () => {
expect(result)
.to.be.a.query.that.selects(pilotFields)
.from('pilot')
.where(abstractsql);
}),
);
});
run(function () {
const { odata, abstractsql } = createExpression(

@@ -246,0 +260,0 @@ 'can_fly__plane/id',

Sorry, the diff of this file is not supported yet

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