@zintrust/db-mysql 0.4.92 → 0.4.94
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/dist/build-manifest.json +6 -6
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/dist/build-manifest.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/db-mysql",
|
|
3
|
-
"version": "0.4.
|
|
4
|
-
"buildDate": "2026-04-
|
|
3
|
+
"version": "0.4.94",
|
|
4
|
+
"buildDate": "2026-04-11T09:19:37.356Z",
|
|
5
5
|
"buildEnvironment": {
|
|
6
6
|
"node": "v20.20.2",
|
|
7
7
|
"platform": "linux",
|
|
8
8
|
"arch": "x64"
|
|
9
9
|
},
|
|
10
10
|
"git": {
|
|
11
|
-
"commit": "
|
|
11
|
+
"commit": "785d0351",
|
|
12
12
|
"branch": "master"
|
|
13
13
|
},
|
|
14
14
|
"package": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"files": {
|
|
26
26
|
"build-manifest.json": {
|
|
27
27
|
"size": 1225,
|
|
28
|
-
"sha256": "
|
|
28
|
+
"sha256": "5cd9098a6601095de4d3ac4c10ec53975a46208e19c605342fb79fdb24a38cc3"
|
|
29
29
|
},
|
|
30
30
|
"common.d.ts": {
|
|
31
31
|
"size": 615,
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"sha256": "e3fee6b22d26a931b8a8254267ad5621b1fcf26c606b7749190ee4ccfed24cd3"
|
|
41
41
|
},
|
|
42
42
|
"index.js": {
|
|
43
|
-
"size":
|
|
44
|
-
"sha256": "
|
|
43
|
+
"size": 9970,
|
|
44
|
+
"sha256": "b9c9cf6d90dce528dc9a370c65b3e9feda80f47b3b77bd2c1de1f20fb020156a"
|
|
45
45
|
},
|
|
46
46
|
"register.d.ts": {
|
|
47
47
|
"size": 180,
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Cloudflare, ErrorFactory, FeatureFlags, Logger, QueryBuilder } from '@zintrust/core';
|
|
1
|
+
import { BaseAdapter, Cloudflare, ErrorFactory, FeatureFlags, Logger, QueryBuilder, } from '@zintrust/core';
|
|
2
2
|
import { CREATE_MIGRATIONS_TABLE_SQL, MYSQL_PLACEHOLDER, MYSQL_TYPE } from './common.js';
|
|
3
3
|
const getInjectedMysqlModule = () => {
|
|
4
4
|
const globalAny = globalThis;
|
|
@@ -70,7 +70,7 @@ function normalizeQueryResult(raw) {
|
|
|
70
70
|
// We normalize to the framework's { rows, rowCount }.
|
|
71
71
|
if (Array.isArray(raw)) {
|
|
72
72
|
return {
|
|
73
|
-
rows: raw,
|
|
73
|
+
rows: BaseAdapter.normalizeRows(raw),
|
|
74
74
|
rowCount: raw.length,
|
|
75
75
|
};
|
|
76
76
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zintrust/db-mysql",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.94",
|
|
4
4
|
"description": "MySQL and MariaDB database adapter for ZinTrust.",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"node": ">=20.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@zintrust/core": "^0.4.
|
|
26
|
+
"@zintrust/core": "^0.4.93"
|
|
27
27
|
},
|
|
28
28
|
"publishConfig": {
|
|
29
29
|
"access": "public"
|