@prisma/adapter-mariadb 8.1.0-dev.6 → 8.1.0-dev.8
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 +0 -3
- package/dist/index.mjs +0 -3
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -559,9 +559,6 @@ function rewriteConnectionString(url) {
|
|
|
559
559
|
if (url.protocol === "mysql:") {
|
|
560
560
|
url.protocol = "mariadb:";
|
|
561
561
|
}
|
|
562
|
-
if (url.hostname.startsWith("[") && url.hostname.endsWith("]")) {
|
|
563
|
-
url.hostname = encodeURIComponent(url.hostname.slice(1, -1));
|
|
564
|
-
}
|
|
565
562
|
return url;
|
|
566
563
|
}
|
|
567
564
|
async function releaseConnection(conn) {
|
package/dist/index.mjs
CHANGED
|
@@ -523,9 +523,6 @@ function rewriteConnectionString(url) {
|
|
|
523
523
|
if (url.protocol === "mysql:") {
|
|
524
524
|
url.protocol = "mariadb:";
|
|
525
525
|
}
|
|
526
|
-
if (url.hostname.startsWith("[") && url.hostname.endsWith("]")) {
|
|
527
|
-
url.hostname = encodeURIComponent(url.hostname.slice(1, -1));
|
|
528
|
-
}
|
|
529
526
|
return url;
|
|
530
527
|
}
|
|
531
528
|
async function releaseConnection(conn) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prisma/adapter-mariadb",
|
|
3
|
-
"version": "8.1.0-dev.
|
|
3
|
+
"version": "8.1.0-dev.8",
|
|
4
4
|
"description": "Prisma's driver adapter for \"mariadb\"",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"sideEffects": false,
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"mariadb": "3.5.
|
|
35
|
-
"@prisma/driver-adapter-utils": "8.1.0-dev.
|
|
34
|
+
"mariadb": "3.5.4",
|
|
35
|
+
"@prisma/driver-adapter-utils": "8.1.0-dev.8"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@prisma/debug": "8.1.0-dev.
|
|
38
|
+
"@prisma/debug": "8.1.0-dev.8"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
41
41
|
"dev": "DEV=true tsx helpers/build.ts",
|