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

@fxjs/sql-query

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fxjs/sql-query - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

4

lib/Select.js

@@ -172,3 +172,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

}
if (typeof whereConditions[i] == "string") {
if (typeof whereConditions[i] === "string") {
/**

@@ -199,3 +199,3 @@ * deal with input like this:

table: null,
wheres: whereConditions[i]
wheres: Object.assign({}, whereConditions[i])
};

@@ -202,0 +202,0 @@ }

@@ -65,3 +65,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

const normalizedKey = getComparisonKey(Dialect, where.table, k);
let non_conj_where_conditem_value = transformSqlComparatorLiteralObject(where_conditem_value, normalizedKey, where.wheres) || where_conditem_value;
let non_conj_where_conditem_value = transformSqlComparatorLiteralObject(where_conditem_value) || where_conditem_value;
if (isSqlComparatorPayload(non_conj_where_conditem_value)) {

@@ -241,3 +241,3 @@ op = non_conj_where_conditem_value.sql_comparator();

}
function transformSqlComparatorLiteralObject(non_special_kv, payload_k, payload) {
function transformSqlComparatorLiteralObject(non_special_kv) {
if (typeof non_special_kv !== 'object')

@@ -268,5 +268,3 @@ return false;

const result = fn.apply(null, apply_args);
payload[payload_k] = result;
return result;
return false;
}

@@ -273,0 +271,0 @@ function isConjunctionWhereConditionInput(k, where_conditem_value) {

{
"name": "@fxjs/sql-query",
"version": "0.9.3",
"version": "0.9.4",
"private": false,

@@ -44,3 +44,3 @@ "description": "",

},
"gitHead": "d5cd53b827bde7a6f5f58d4c9da13981667dad32"
"gitHead": "41f550dc30bda962c60bfc1b05428c3a7f819b5f"
}
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