@mikro-orm/core
Advanced tools
+1
-1
| { | ||
| "name": "@mikro-orm/core", | ||
| "version": "7.1.3-dev.6", | ||
| "version": "7.1.3", | ||
| "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": [ |
@@ -155,2 +155,8 @@ import type { NamingStrategy } from '../naming-strategy/NamingStrategy.js'; | ||
| /** | ||
| * Callback to execute every time a connection is acquired from the pool, e.g. to set | ||
| * request-scoped session variables before each query (such as for row-level security). | ||
| * Supported by the PostgreSQL, MySQL/MariaDB, and MSSQL drivers; ignored by other drivers (SQLite, libSQL, Oracle). | ||
| */ | ||
| onReserveConnection?: (connection: unknown) => Promise<void>; | ||
| /** | ||
| * SQLite/libSQL: databases to attach on connection. | ||
@@ -157,0 +163,0 @@ * Each attached database acts as a schema, accessible via `schema.table` syntax. |
+1
-1
@@ -144,3 +144,3 @@ import { clone } from './clone.js'; | ||
| static PK_SEPARATOR = '~~~'; | ||
| static #ORM_VERSION = '7.1.3-dev.6'; | ||
| static #ORM_VERSION = '7.1.3'; | ||
| /** | ||
@@ -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 2 instances 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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1559874
0.02%33426
0.02%0
-100%7
16.67%