Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@mikro-orm/mysql

Package Overview
Dependencies
Maintainers
1
Versions
4086
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mikro-orm/mysql - npm Package Compare versions

Comparing version
7.0.0-rc.2
to
7.0.0-rc.3
+2
-2
MySqlDriver.js

@@ -26,3 +26,3 @@ import { AbstractSqlDriver, Utils } from '@mikro-orm/sql';

const autoIncrementIncrement = await this.getAutoIncrementIncrement(ctx);
data.forEach((item, idx) => res.rows[idx] = { [pks[0]]: item[pks[0]] ?? res.insertId + (idx * autoIncrementIncrement) });
data.forEach((item, idx) => (res.rows[idx] = { [pks[0]]: item[pks[0]] ?? res.insertId + idx * autoIncrementIncrement }));
res.row = res.rows[0];

@@ -40,3 +40,3 @@ return res;

if (res.insertId != null && Utils.isEmpty(cond)) {
return { [pks[0]]: res.insertId + (i++ * autoIncrementIncrement) };
return { [pks[0]]: res.insertId + i++ * autoIncrementIncrement };
}

@@ -43,0 +43,0 @@ if (cond[pks[0]] == null) {

{
"name": "@mikro-orm/mysql",
"type": "module",
"version": "7.0.0-rc.2",
"version": "7.0.0-rc.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.",
"exports": {
"./package.json": "./package.json",
".": "./index.js"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/mikro-orm/mikro-orm.git"
},
"keywords": [
"orm",
"data-mapper",
"ddd",
"entity",
"identity-map",
"javascript",
"js",
"mariadb",
"mikro-orm",
"mongo",
"mongodb",
"mysql",
"mariadb",
"orm",
"postgresql",

@@ -25,20 +23,22 @@ "sqlite",

"typescript",
"js",
"javascript",
"entity",
"ddd",
"mikro-orm",
"unit-of-work",
"data-mapper",
"identity-map"
"unit-of-work"
],
"author": "Martin Adámek",
"license": "MIT",
"homepage": "https://mikro-orm.io",
"bugs": {
"url": "https://github.com/mikro-orm/mikro-orm/issues"
},
"homepage": "https://mikro-orm.io",
"engines": {
"node": ">= 22.17.0"
"license": "MIT",
"author": "Martin Adámek",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/mikro-orm/mikro-orm.git"
},
"type": "module",
"exports": {
"./package.json": "./package.json",
".": "./index.js"
},
"publishConfig": {
"access": "public"
},
"scripts": {

@@ -50,17 +50,17 @@ "build": "yarn compile && yarn copy",

},
"publishConfig": {
"access": "public"
},
"dependencies": {
"@mikro-orm/sql": "7.0.0-rc.2",
"@mikro-orm/sql": "7.0.0-rc.3",
"kysely": "0.28.11",
"mysql2": "3.17.3",
"mysql2": "3.18.2",
"sqlstring": "2.3.3"
},
"devDependencies": {
"@mikro-orm/core": "^6.6.4"
"@mikro-orm/core": "^6.6.8"
},
"peerDependencies": {
"@mikro-orm/core": "7.0.0-rc.2"
"@mikro-orm/core": "7.0.0-rc.3"
},
"engines": {
"node": ">= 22.17.0"
}
}

Sorry, the diff of this file is too big to display