@mikro-orm/core
Advanced tools
+1
-1
| { | ||
| "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": [ |
+6
-0
@@ -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 @@ } |
+1
-1
@@ -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. |
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
Found 1 instance in 1 package
1564529
0.02%33500
0.02%