@mikro-orm/mysql 7.2.0-dev.0 → 7.2.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MySqlConnection.js +3 -0
- package/package.json +6 -6
package/MySqlConnection.js
CHANGED
|
@@ -70,6 +70,9 @@ export class MySqlConnection extends AbstractSqlConnection {
|
|
|
70
70
|
}
|
|
71
71
|
ret.supportBigNumbers = true;
|
|
72
72
|
ret.dateStrings = true;
|
|
73
|
+
// mysql2 3.23+ parses mariadb JSON columns via extended metadata, but the mariadb
|
|
74
|
+
// platform converts them on its own, so keep them as strings there.
|
|
75
|
+
ret.jsonStrings = !this.platform.convertsJsonAutomatically();
|
|
73
76
|
return Utils.mergeConfig(ret, overrides);
|
|
74
77
|
}
|
|
75
78
|
async callRoutine(routine, args = {}, ctx) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikro-orm/mysql",
|
|
3
|
-
"version": "7.2.0-dev.
|
|
3
|
+
"version": "7.2.0-dev.1",
|
|
4
4
|
"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
5
|
"keywords": [
|
|
6
6
|
"data-mapper",
|
|
@@ -47,16 +47,16 @@
|
|
|
47
47
|
"copy": "node ../../scripts/copy.mjs"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@mikro-orm/sql": "7.2.0-dev.
|
|
51
|
-
"kysely": "0.29.
|
|
52
|
-
"mysql2": "3.
|
|
50
|
+
"@mikro-orm/sql": "7.2.0-dev.1",
|
|
51
|
+
"kysely": "0.29.4",
|
|
52
|
+
"mysql2": "3.23.1",
|
|
53
53
|
"sqlstring": "2.3.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@mikro-orm/core": "^7.1.
|
|
56
|
+
"@mikro-orm/core": "^7.1.7"
|
|
57
57
|
},
|
|
58
58
|
"peerDependencies": {
|
|
59
|
-
"@mikro-orm/core": "7.2.0-dev.
|
|
59
|
+
"@mikro-orm/core": "7.2.0-dev.1"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">= 22.17.0"
|