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

@balena/odata-to-abstract-sql

Package Overview
Dependencies
Maintainers
3
Versions
235
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.2.2 to 6.2.3-build-patch-require-updated-field-ad819432657598898a4811d9628c9ca0a0e428c6-1

4

CHANGELOG.md

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

## 6.2.3 - 2024-01-15
* Require at least one field to be updated for PATCH requests [Pagan Gazzard]
## 6.2.2 - 2024-01-15

@@ -9,0 +13,0 @@

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

bindVars = this.BindVars(method, bodyKeys, resource.resourceName, Object.entries(resourceMapping));
if (bindVars.length === 0 && method === 'PATCH') {
throw new SyntaxError('PATCH requests must update at least one field');
}
query.extras.push(['Fields', bindVars.map((b) => b[0])]);

@@ -312,0 +315,0 @@ if ((hasQueryOpts ||

4

package.json
{
"name": "@balena/odata-to-abstract-sql",
"version": "6.2.2",
"version": "6.2.3-build-patch-require-updated-field-ad819432657598898a4811d9628c9ca0a0e428c6-1",
"description": "A consumer of the OData parser, written in OMeta",

@@ -56,4 +56,4 @@ "main": "out/odata-to-abstract-sql.js",

"versionist": {
"publishedAt": "2024-01-15T15:04:49.193Z"
"publishedAt": "2024-01-15T16:38:06.399Z"
}
}

@@ -558,2 +558,5 @@ import * as _ from 'lodash';

);
if (bindVars.length === 0 && method === 'PATCH') {
throw new SyntaxError('PATCH requests must update at least one field');
}
query.extras.push(['Fields', bindVars.map((b) => b[0])]);

@@ -560,0 +563,0 @@

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