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

remult

Package Overview
Dependencies
Maintainers
0
Versions
618
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remult - npm Package Compare versions

Comparing version 0.26.17 to 0.26.18

5

esm/remult-knex/index.js

@@ -141,3 +141,6 @@ import { CustomSqlFilterBuilder, } from '../src/filter/filter-consumer-bridge-to-sql-request.js';

else {
cols.push(e.$dbNameOf(x));
let name = e.$dbNameOf(x);
if (x.options.sqlExpression)
name = this.knex.raw('?? as ' + x.key, [name]);
cols.push(name);
colKeys.push(x);

@@ -144,0 +147,0 @@ }

2

esm/src/data-providers/sql-database.js

@@ -321,2 +321,4 @@ import { FilterConsumerBridgeToSqlRequest, dbNamesOf, isDbReadonly, } from '../filter/filter-consumer-bridge-to-sql-request.js';

select += e.$dbNameOf(x);
if (x.options.sqlExpression)
select += ' as ' + x.key;
colKeys.push(x);

@@ -323,0 +325,0 @@ }

{
"name": "remult",
"version": "0.26.17",
"version": "0.26.18",
"description": "A CRUD framework for full-stack TypeScript",

@@ -5,0 +5,0 @@ "homepage": "https://remult.dev",

@@ -232,3 +232,3 @@ "use strict";

return tslib_1.__awaiter(this, void 0, void 0, function () {
var e, cols, colKeys, _a, _b, x, query, br, r_1, r;
var e, cols, colKeys, _a, _b, x, name_1, query, br, r_1, r;
var e_3, _c;

@@ -248,3 +248,6 @@ return tslib_1.__generator(this, function (_d) {

else {
cols.push(e.$dbNameOf(x));
name_1 = e.$dbNameOf(x);
if (x.options.sqlExpression)
name_1 = this.knex.raw('?? as ' + x.key, [name_1]);
cols.push(name_1);
colKeys.push(x);

@@ -251,0 +254,0 @@ }

@@ -465,2 +465,4 @@ "use strict";

select += e.$dbNameOf(x);
if (x.options.sqlExpression)
select += ' as ' + x.key;
colKeys.push(x);

@@ -467,0 +469,0 @@ }

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