You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@mikro-orm/sql

Package Overview
Dependencies
Maintainers
1
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mikro-orm/sql - npm Package Compare versions

Comparing version
7.0.0-dev.315
to
7.0.0-dev.316
+2
-2
package.json
{
"name": "@mikro-orm/sql",
"version": "7.0.0-dev.315",
"version": "7.0.0-dev.316",
"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.",

@@ -56,3 +56,3 @@ "keywords": [

"peerDependencies": {
"@mikro-orm/core": "7.0.0-dev.315"
"@mikro-orm/core": "7.0.0-dev.316"
},

@@ -59,0 +59,0 @@ "engines": {

@@ -21,3 +21,5 @@ import { SelectQueryNode as SelectQueryNodeClass, InsertQueryNode as InsertQueryNodeClass, UpdateQueryNode as UpdateQueryNodeClass, DeleteQueryNode as DeleteQueryNodeClass, } from 'kysely';

DeleteQueryNodeClass.is(args.node)) {
MikroKyselyPlugin.queryNodeCache.set(args.queryId, { entityMap: this.transformer.getOutputEntityMap() });
// clone the entityMap because the transformer's internal map will be cleared and reused by the next query
const entityMap = new Map(this.transformer.getOutputEntityMap());
MikroKyselyPlugin.queryNodeCache.set(args.queryId, { entityMap });
}

@@ -24,0 +26,0 @@ return result;

Sorry, the diff of this file is not supported yet