Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@mikro-orm/core

Package Overview
Dependencies
Maintainers
1
Versions
4513
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.0.18-dev.3
to
7.0.18-dev.4
+1
-1
package.json
{
"name": "@mikro-orm/core",
"version": "7.0.18-dev.3",
"version": "7.0.18-dev.4",
"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": [

@@ -391,2 +391,10 @@ import { Collection } from '../entity/Collection.js';

}
// inlined pivot M:N (mongo): we can't scrub references from owning-side documents we haven't loaded
if (prop.kind === ReferenceKind.MANY_TO_MANY &&
prop.mappedBy &&
!this.#platform.usesPivotTable() &&
Utils.isCollection(relation) &&
!relation.isInitialized()) {
throw ValidationError.cannotModifyInverseCollection(entity, prop);
}
const target = relation?.[inverseProp];

@@ -393,0 +401,0 @@ if (relation && Utils.isCollection(target)) {

@@ -144,3 +144,3 @@ import { clone } from './clone.js';

static PK_SEPARATOR = '~~~';
static #ORM_VERSION = '7.0.18-dev.3';
static #ORM_VERSION = '7.0.18-dev.4';
/**

@@ -147,0 +147,0 @@ * Checks if the argument is instance of `Object`. Returns false for arrays.