@prisma/query-plan-executor 7.3.0-dev.13 → 7.3.0-dev.14

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.
Files changed (2) hide show
  1. package/dist/index.js +12 -2
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -97773,7 +97773,7 @@ __export(index_exports, {
97773
97773
  module.exports = __toCommonJS(index_exports);
97774
97774
 
97775
97775
  // package.json
97776
- var version = "7.3.0-dev.13";
97776
+ var version = "7.3.0-dev.14";
97777
97777
 
97778
97778
  // ../../node_modules/.pnpm/temporal-polyfill@0.3.0/node_modules/temporal-polyfill/chunks/internal.js
97779
97779
  function clampProp(e2, n2, t2, o2, r2) {
@@ -110100,7 +110100,17 @@ var PrismaMariaDbAdapterFactory = class {
110100
110100
  this.#options = options;
110101
110101
  }
110102
110102
  async connect() {
110103
- const pool2 = mariadb.createPool(this.#config);
110103
+ let pool2;
110104
+ try {
110105
+ pool2 = mariadb.createPool(this.#config);
110106
+ } catch (error44) {
110107
+ if (error44 instanceof Error && error44.message.startsWith("error parsing connection string")) {
110108
+ throw new Error(
110109
+ "error parsing connection string, format must be 'mariadb://[<user>[:<password>]@]<host>[:<port>]/[<db>[?<opt1>=<value1>[&<opt2>=<value2>]]]'"
110110
+ );
110111
+ }
110112
+ throw error44;
110113
+ }
110104
110114
  if (this.#capabilities === void 0) {
110105
110115
  this.#capabilities = await getCapabilities(pool2);
110106
110116
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/query-plan-executor",
3
- "version": "7.3.0-dev.13",
3
+ "version": "7.3.0-dev.14",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -20,11 +20,11 @@
20
20
  "temporal-polyfill": "0.3.0",
21
21
  "vitest": "3.2.4",
22
22
  "zod": "4.1.3",
23
- "@prisma/adapter-pg": "7.3.0-dev.13",
24
- "@prisma/adapter-mssql": "7.3.0-dev.13",
25
- "@prisma/adapter-mariadb": "7.3.0-dev.13",
26
- "@prisma/driver-adapter-utils": "7.3.0-dev.13",
27
- "@prisma/client-engine-runtime": "7.3.0-dev.13"
23
+ "@prisma/adapter-pg": "7.3.0-dev.14",
24
+ "@prisma/adapter-mariadb": "7.3.0-dev.14",
25
+ "@prisma/adapter-mssql": "7.3.0-dev.14",
26
+ "@prisma/driver-adapter-utils": "7.3.0-dev.14",
27
+ "@prisma/client-engine-runtime": "7.3.0-dev.14"
28
28
  },
29
29
  "files": [
30
30
  "dist"