Sign In

@mikro-orm/core

Package Overview
Dependencies
Maintainers
1
Versions
4750
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mikro-orm/core - npm Package Compare versions

Comparing version
7.1.13-dev.11
to
7.1.13-dev.12
+1
-1
package.json
{
"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": [

@@ -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);

@@ -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