@prisma/adapter-mariadb 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.2 → 6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -146,7 +146,7 @@ function mapRow(row, fields) {
|
|
|
146
146
|
case "TIMESTAMP2" /* TIMESTAMP2 */:
|
|
147
147
|
case "DATETIME" /* DATETIME */:
|
|
148
148
|
case "DATETIME2" /* DATETIME2 */:
|
|
149
|
-
return (/* @__PURE__ */ new Date(`${value}Z`)).toISOString();
|
|
149
|
+
return (/* @__PURE__ */ new Date(`${value}Z`)).toISOString().replace(/(\.000)?Z$/, "+00:00");
|
|
150
150
|
}
|
|
151
151
|
if (Buffer.isBuffer(value)) {
|
|
152
152
|
return Array.from(value);
|
package/dist/index.mjs
CHANGED
|
@@ -110,7 +110,7 @@ function mapRow(row, fields) {
|
|
|
110
110
|
case "TIMESTAMP2" /* TIMESTAMP2 */:
|
|
111
111
|
case "DATETIME" /* DATETIME */:
|
|
112
112
|
case "DATETIME2" /* DATETIME2 */:
|
|
113
|
-
return (/* @__PURE__ */ new Date(`${value}Z`)).toISOString();
|
|
113
|
+
return (/* @__PURE__ */ new Date(`${value}Z`)).toISOString().replace(/(\.000)?Z$/, "+00:00");
|
|
114
114
|
}
|
|
115
115
|
if (Buffer.isBuffer(value)) {
|
|
116
116
|
return Array.from(value);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/adapter-mariadb",
|
|
3
|
-
"version": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.
|
|
3
|
+
"version": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3",
|
|
4
4
|
"description": "Prisma's driver adapter for \"mariadb\"",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"mariadb": "3.4.2",
|
|
35
|
-
"@prisma/driver-adapter-utils": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.
|
|
35
|
+
"@prisma/driver-adapter-utils": "6.15.0-integration-fix-prisma-client-dirname-aws-lambda.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"vitest": "3.0.9"
|