🚀. Socket Launch Week Day 2:Introducing Manifest Alerts.Learn more
Sign In

@mikro-orm/core

Package Overview
Dependencies
Maintainers
1
Versions
4583
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.5-dev.11
to
7.1.5-dev.12
+1
-1
package.json
{
"name": "@mikro-orm/core",
"version": "7.1.5-dev.11",
"version": "7.1.5-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": [

@@ -36,2 +36,8 @@ /**

if (respectCustomCloneMethod && 'clone' in parent && typeof parent.clone === 'function') {
// an async `clone()` signals a live stateful resource (e.g. a PGlite instance
// in `driverOptions`, whose `clone()` boots a second WASM database) — this sync
// function cannot await it, so keep the instance by reference instead
if (parent.clone.constructor.name === 'AsyncFunction') {
return parent;
}
return parent.clone();

@@ -38,0 +44,0 @@ }

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

static PK_SEPARATOR = '~~~';
static #ORM_VERSION = '7.1.5-dev.11';
static #ORM_VERSION = '7.1.5-dev.12';
/**

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