Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@mikro-orm/sql

Package Overview
Dependencies
Maintainers
1
Versions
209
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mikro-orm/sql - npm Package Compare versions

Comparing version
7.0.0-dev.249
to
7.0.0-dev.250
+2
-2
package.json
{
"name": "@mikro-orm/sql",
"version": "7.0.0-dev.249",
"version": "7.0.0-dev.250",
"description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",

@@ -59,4 +59,4 @@ "type": "module",

"peerDependencies": {
"@mikro-orm/core": "7.0.0-dev.249"
"@mikro-orm/core": "7.0.0-dev.250"
}
}

@@ -93,3 +93,3 @@ import { ALIAS_REPLACEMENT, GroupOperator, QueryFlag, raw, RawQueryFragment, ReferenceKind, Utils, } from '@mikro-orm/core';

// we need to keep the prefixing for formulas otherwise we would lose aliasing context when nesting inside group operators
const virtual = childNode.prop?.persist === false && !childNode.prop?.formula;
const virtual = childNode.prop?.persist === false && !childNode.prop?.formula && !!options?.type;
// if key is missing, we are inside group operator and we need to prefix with alias

@@ -96,0 +96,0 @@ const primaryKey = this.key && this.metadata.find(this.entityName)?.primaryKeys.includes(field);

@@ -213,3 +213,3 @@ import type { Generated, Kysely } from 'kysely';

preferNoBranch?: boolean;
type?: 'orderBy';
type?: 'orderBy' | 'having';
filter?: boolean;

@@ -216,0 +216,0 @@ parentPath?: string;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display