🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@mikro-orm/core

Package Overview
Dependencies
Maintainers
1
Versions
4623
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.6-dev.14
to
7.1.6-dev.15
+3
-0
metadata/MetadataProvider.js

@@ -47,2 +47,5 @@ import { Utils } from '../utils/Utils.js';

loadFromCache(meta, cache) {
// `_id` is a process-local runtime counter; a cached value comes from a different discovery
// run and can collide with ids assigned in the current process, collapsing distinct entities.
Reflect.deleteProperty(cache, '_id');
Object.values(cache.properties).forEach(prop => {

@@ -49,0 +52,0 @@ const metaProp = meta.properties[prop.name];

+1
-1
{
"name": "@mikro-orm/core",
"version": "7.1.6-dev.14",
"version": "7.1.6-dev.15",
"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": [

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

static PK_SEPARATOR = '~~~';
static #ORM_VERSION = '7.1.6-dev.14';
static #ORM_VERSION = '7.1.6-dev.15';
/**

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