@prisma/client-generator-ts 6.15.0-dev.15 → 6.15.0-dev.17

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
@@ -3480,8 +3480,7 @@ function buildGetWasmModule({
3480
3480
  return `
3481
3481
  async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
3482
3482
  const { Buffer } = await import('node:buffer')
3483
- const base64Data = wasmBase64.replace('data:application/wasm;base64,', '')
3484
- const wasmArray = new Uint8Array(Buffer.from(base64Data, 'base64'))
3483
+ const wasmArray = new Uint8Array(Buffer.from(wasmBase64, 'base64'))
3485
3484
  return new WebAssembly.Module(wasmArray)
3486
3485
  }
3487
3486
 
@@ -3509,7 +3508,7 @@ config.${component}Wasm = {
3509
3508
  }
3510
3509
  function readSourceFile(sourceFile) {
3511
3510
  const bundledLocation = import_node_path.default.join(__dirname, sourceFile);
3512
- const sourceLocation = import_node_path.default.join(__dirname, "..", "..", "..", "client", "runtime", sourceFile);
3511
+ const sourceLocation = import_node_path.default.join(__dirname, "..", "..", "..", "cli", "build", sourceFile);
3513
3512
  if (import_node_fs.default.existsSync(bundledLocation)) {
3514
3513
  debug("We are in the bundled Prisma CLI");
3515
3514
  return import_node_fs.default.readFileSync(bundledLocation);
@@ -6562,7 +6561,7 @@ var import_get_tsconfig = require("get-tsconfig");
6562
6561
  var import_ts_pattern2 = require("ts-pattern");
6563
6562
 
6564
6563
  // package.json
6565
- var version = "6.15.0-dev.15";
6564
+ var version = "6.15.0-dev.17";
6566
6565
 
6567
6566
  // src/module-format.ts
6568
6567
  function parseModuleFormat(format) {
package/dist/index.mjs CHANGED
@@ -3479,8 +3479,7 @@ function buildGetWasmModule({
3479
3479
  return `
3480
3480
  async function decodeBase64AsWasm(wasmBase64: string): Promise<WebAssembly.Module> {
3481
3481
  const { Buffer } = await import('node:buffer')
3482
- const base64Data = wasmBase64.replace('data:application/wasm;base64,', '')
3483
- const wasmArray = new Uint8Array(Buffer.from(base64Data, 'base64'))
3482
+ const wasmArray = new Uint8Array(Buffer.from(wasmBase64, 'base64'))
3484
3483
  return new WebAssembly.Module(wasmArray)
3485
3484
  }
3486
3485
 
@@ -3508,7 +3507,7 @@ config.${component}Wasm = {
3508
3507
  }
3509
3508
  function readSourceFile(sourceFile) {
3510
3509
  const bundledLocation = path.join(__dirname, sourceFile);
3511
- const sourceLocation = path.join(__dirname, "..", "..", "..", "client", "runtime", sourceFile);
3510
+ const sourceLocation = path.join(__dirname, "..", "..", "..", "cli", "build", sourceFile);
3512
3511
  if (fs.existsSync(bundledLocation)) {
3513
3512
  debug("We are in the bundled Prisma CLI");
3514
3513
  return fs.readFileSync(bundledLocation);
@@ -6561,7 +6560,7 @@ import { getTsconfig } from "get-tsconfig";
6561
6560
  import { match as match2 } from "ts-pattern";
6562
6561
 
6563
6562
  // package.json
6564
- var version = "6.15.0-dev.15";
6563
+ var version = "6.15.0-dev.17";
6565
6564
 
6566
6565
  // src/module-format.ts
6567
6566
  function parseModuleFormat(format) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client-generator-ts",
3
- "version": "6.15.0-dev.15",
3
+ "version": "6.15.0-dev.17",
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.15.0-dev.15",
38
- "@prisma/debug": "6.15.0-dev.15",
39
- "@prisma/dmmf": "6.15.0-dev.15",
40
- "@prisma/fetch-engine": "6.15.0-dev.15",
41
- "@prisma/generator": "6.15.0-dev.15",
42
- "@prisma/get-platform": "6.15.0-dev.15",
43
- "@prisma/internals": "6.15.0-dev.15",
44
- "@prisma/ts-builders": "6.15.0-dev.15"
37
+ "@prisma/client-common": "6.15.0-dev.17",
38
+ "@prisma/debug": "6.15.0-dev.17",
39
+ "@prisma/dmmf": "6.15.0-dev.17",
40
+ "@prisma/fetch-engine": "6.15.0-dev.17",
41
+ "@prisma/get-platform": "6.15.0-dev.17",
42
+ "@prisma/generator": "6.15.0-dev.17",
43
+ "@prisma/internals": "6.15.0-dev.17",
44
+ "@prisma/ts-builders": "6.15.0-dev.17"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@types/pluralize": "0.0.33",