Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@mikro-orm/core

Package Overview
Dependencies
Maintainers
1
Versions
4551
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.3-dev.6
to
7.1.3
+1
-1
package.json
{
"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.

@@ -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.