@prisma/client-generator-ts 6.14.0-dev.14 → 6.14.0-dev.15

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 CHANGED
@@ -3465,6 +3465,7 @@ function buildGetWasmModule({
3465
3465
  moduleFormat
3466
3466
  }) {
3467
3467
  const capitalizedComponent = (0, import_client_common11.capitalize)(component);
3468
+ const extension = (0, import_ts_pattern.match)(moduleFormat).with("esm", () => "mjs").with("cjs", () => "js").exhaustive();
3468
3469
  const buildNonEdgeLoader = (0, import_ts_pattern.match)(runtimeName).with("library", () => component === "engine" && !!process.env.PRISMA_CLIENT_FORCE_WASM).with("client", () => component === "compiler").otherwise(() => false);
3469
3470
  const buildNodeJsLoader = (0, import_ts_pattern.match)({ runtimeName, target }).with({ target: "nodejs" }, () => buildNonEdgeLoader).otherwise(() => false);
3470
3471
  const buildEdgeLoader = usesEdgeWasmRuntime(component, runtimeName);
@@ -3481,7 +3482,7 @@ function buildGetWasmModule({
3481
3482
  wasmModulePath = `${wasmPathBase}.wasm`;
3482
3483
  }
3483
3484
  if (buildNodeJsLoader) {
3484
- const extension = (0, import_ts_pattern.match)(moduleFormat).with("esm", () => "mjs").with("cjs", () => "cjs").exhaustive();
3485
+ wasmBindingsPath = `${wasmPathBase}.${extension}`;
3485
3486
  wasmModulePath = `${wasmPathBase}.wasm-base64.${extension}`;
3486
3487
  return `
3487
3488
  async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
@@ -6592,7 +6593,7 @@ var import_get_tsconfig = require("get-tsconfig");
6592
6593
  var import_ts_pattern2 = require("ts-pattern");
6593
6594
 
6594
6595
  // package.json
6595
- var version = "6.14.0-dev.14";
6596
+ var version = "6.14.0-dev.15";
6596
6597
 
6597
6598
  // src/module-format.ts
6598
6599
  function parseModuleFormat(format) {
package/dist/index.mjs CHANGED
@@ -3464,6 +3464,7 @@ function buildGetWasmModule({
3464
3464
  moduleFormat
3465
3465
  }) {
3466
3466
  const capitalizedComponent = capitalize6(component);
3467
+ const extension = match(moduleFormat).with("esm", () => "mjs").with("cjs", () => "js").exhaustive();
3467
3468
  const buildNonEdgeLoader = match(runtimeName).with("library", () => component === "engine" && !!process.env.PRISMA_CLIENT_FORCE_WASM).with("client", () => component === "compiler").otherwise(() => false);
3468
3469
  const buildNodeJsLoader = match({ runtimeName, target }).with({ target: "nodejs" }, () => buildNonEdgeLoader).otherwise(() => false);
3469
3470
  const buildEdgeLoader = usesEdgeWasmRuntime(component, runtimeName);
@@ -3480,7 +3481,7 @@ function buildGetWasmModule({
3480
3481
  wasmModulePath = `${wasmPathBase}.wasm`;
3481
3482
  }
3482
3483
  if (buildNodeJsLoader) {
3483
- const extension = match(moduleFormat).with("esm", () => "mjs").with("cjs", () => "cjs").exhaustive();
3484
+ wasmBindingsPath = `${wasmPathBase}.${extension}`;
3484
3485
  wasmModulePath = `${wasmPathBase}.wasm-base64.${extension}`;
3485
3486
  return `
3486
3487
  async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
@@ -6591,7 +6592,7 @@ import { getTsconfig } from "get-tsconfig";
6591
6592
  import { match as match2 } from "ts-pattern";
6592
6593
 
6593
6594
  // package.json
6594
- var version = "6.14.0-dev.14";
6595
+ var version = "6.14.0-dev.15";
6595
6596
 
6596
6597
  // src/module-format.ts
6597
6598
  function parseModuleFormat(format) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-ts",
3
- "version": "6.14.0-dev.14",
3
+ "version": "6.14.0-dev.15",
4
4
  "description": "This package is intended for Prisma's internal use",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -34,14 +34,14 @@
34
34
  "pkg-up": "3.1.0",
35
35
  "pluralize": "8.0.0",
36
36
  "ts-pattern": "5.6.2",
37
- "@prisma/client-common": "6.14.0-dev.14",
38
- "@prisma/debug": "6.14.0-dev.14",
39
- "@prisma/dmmf": "6.14.0-dev.14",
40
- "@prisma/fetch-engine": "6.14.0-dev.14",
41
- "@prisma/get-platform": "6.14.0-dev.14",
42
- "@prisma/generator": "6.14.0-dev.14",
43
- "@prisma/internals": "6.14.0-dev.14",
44
- "@prisma/ts-builders": "6.14.0-dev.14"
37
+ "@prisma/client-common": "6.14.0-dev.15",
38
+ "@prisma/debug": "6.14.0-dev.15",
39
+ "@prisma/dmmf": "6.14.0-dev.15",
40
+ "@prisma/fetch-engine": "6.14.0-dev.15",
41
+ "@prisma/get-platform": "6.14.0-dev.15",
42
+ "@prisma/generator": "6.14.0-dev.15",
43
+ "@prisma/internals": "6.14.0-dev.15",
44
+ "@prisma/ts-builders": "6.14.0-dev.15"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/pluralize": "0.0.33",