@mikro-orm/sql
Advanced tools
+2
-2
| { | ||
| "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); |
+1
-1
@@ -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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
903430
0.01%