@mikro-orm/core
Advanced tools
@@ -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) { |
@@ -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; |
+1
-1
| { | ||
| "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": [ |
+1
-1
@@ -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. |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances 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
1291151
-0.02%28763
-0.01%