@mikro-orm/core
Advanced tools
+1
-1
| { | ||
| "name": "@mikro-orm/core", | ||
| "version": "7.1.13-dev.11", | ||
| "version": "7.1.13-dev.12", | ||
| "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.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
+1
-4
@@ -219,6 +219,3 @@ import { ReferenceKind, } from './enums.js'; | ||
| for (const prop of this.props) { | ||
| if (prop.enum && | ||
| !prop.nativeEnumName && | ||
| prop.items?.every(item => typeof item === 'string') && | ||
| !['json', 'jsonb'].includes(prop.columnTypes?.[0])) { | ||
| if (prop.enum && !prop.nativeEnumName && prop.items?.every(item => typeof item === 'string')) { | ||
| const name = platform.getIndexName(this.tableName, prop.fieldNames, 'check'); | ||
@@ -225,0 +222,0 @@ const exists = this.checks.findIndex(check => check.name === name); |
+1
-1
@@ -156,3 +156,3 @@ import { clone } from './clone.js'; | ||
| static PK_SEPARATOR = '~~~'; | ||
| static #ORM_VERSION = '7.1.13-dev.11'; | ||
| static #ORM_VERSION = '7.1.13-dev.12'; | ||
| /** | ||
@@ -159,0 +159,0 @@ * Checks if the argument is instance of `Object`. Returns false for arrays. |
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
1588980
-0.02%33868
-0.02%