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

drizzle-orm

Package Overview
Dependencies
Maintainers
2
Versions
925
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drizzle-orm - npm Package Compare versions

Comparing version 0.10.12 to 0.10.13

3

builders/aggregators/selectAggregator.js

@@ -48,3 +48,4 @@ "use strict";

this._orderBy.push('ORDER BY ');
this._orderBy.push(`${column.getColumnName()} `);
const columnParent = this._joinCache[column.getParent().tableName()] ? this._joinCache[column.getParent().tableName()] : column.getParent();
this._orderBy.push(`${columnParent}.${ecranate_1.ecranate(column.getColumnName())} `);
this._orderBy.push(order_1.default[order]);

@@ -51,0 +52,0 @@ }

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

}
if (ecranate_1.shouldEcranate(value)) {
else if (ecranate_1.shouldEcranate(value)) {
finalArray.push(`$${nextPosition}`);

@@ -32,3 +32,3 @@ finalValues.push(`${value.toString()}`);

}
return { query: finalArray.join(','), values: finalValues };
return { query: finalArray.join(''), values: finalValues };
};

@@ -35,0 +35,0 @@ this.values = values;

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

selectStrategy(value) {
if (typeof value === 'string') {
return value ? parseInt(value, 10) : undefined;
}
return value;

@@ -14,0 +17,0 @@ }

{
"name": "drizzle-orm",
"version": "0.10.12",
"version": "0.10.13",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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