You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@mikro-orm/core

Package Overview
Dependencies
Maintainers
1
Versions
4127
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.0-dev.319
to
7.0.0-dev.320
+0
-2
drivers/DatabaseDriver.d.ts

@@ -12,3 +12,2 @@ import { type CountOptions, type DeleteOptions, type DriverMethodOptions, EntityManagerType, type FindOneOptions, type FindOptions, type IDatabaseDriver, type LockOptions, type NativeInsertUpdateManyOptions, type NativeInsertUpdateOptions, type OrderDefinition, type StreamOptions } from './IDatabaseDriver.js';

import { DriverException } from '../exceptions.js';
import type { Logger } from '../logging/Logger.js';
import { MikroORM } from '../MikroORM.js';

@@ -22,3 +21,2 @@ export declare abstract class DatabaseDriver<C extends Connection> implements IDatabaseDriver<C> {

protected readonly platform: Platform;
protected readonly logger: Logger;
protected comparator: EntityComparator;

@@ -25,0 +23,0 @@ protected metadata: MetadataStorage;

@@ -21,3 +21,2 @@ import { EntityManagerType, } from './IDatabaseDriver.js';

platform;
logger;
comparator;

@@ -28,3 +27,2 @@ metadata;

this.dependencies = dependencies;
this.logger = this.config.getLogger();
}

@@ -31,0 +29,0 @@ async nativeUpdateMany(entityName, where, data, options) {

+7
-7

@@ -14,9 +14,9 @@ import type { EntityDTO, EntityKey, EntityProperty, FilterQuery, IPrimaryKey, Loaded, LoadedCollection, Populate, Primary } from '../typings.js';

[k: number]: T;
protected readonly items: Set<T>;
protected initialized: boolean;
protected dirty: boolean;
protected partial: boolean;
protected snapshot: T[] | undefined;
private readonly items;
private initialized;
private dirty;
private partial;
private snapshot;
private readonly?;
protected _count?: number;
private _count?;
private _property?;

@@ -167,3 +167,3 @@ private _populated?;

protected shouldPropagateToCollection(collection: Collection<O, T>, method: 'add' | 'remove' | 'takeSnapshot'): boolean;
protected incrementCount(value: number): void;
private incrementCount;
}

@@ -170,0 +170,0 @@ export interface InitCollectionOptions<T, P extends string = never, F extends string = '*', E extends string = never> extends EntityLoaderOptions<T, F, E> {

@@ -25,3 +25,3 @@ import { type Configuration } from './utils/Configuration.js';

protected readonly metadata: MetadataStorage;
protected readonly useContext: boolean;
private readonly useContext;
protected readonly eventManager: EventManager;

@@ -37,3 +37,3 @@ /** @internal */

private readonly entityLoader;
protected readonly comparator: EntityComparator;
private readonly comparator;
private readonly entityFactory;

@@ -40,0 +40,0 @@ private readonly unitOfWork;

{
"name": "@mikro-orm/core",
"version": "7.0.0-dev.319",
"version": "7.0.0-dev.320",
"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": [

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

static PK_SEPARATOR = '~~~';
static #ORM_VERSION = '7.0.0-dev.319';
static #ORM_VERSION = '7.0.0-dev.320';
/**

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