@mikro-orm/sql
Advanced tools
+2
-2
| { | ||
| "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": { |
+3
-1
@@ -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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
966306
0.02%17665
0.01%