prisma 6.8.0-dev.9 → 6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1

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.
Binary file
Binary file
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "6.8.0-dev.9",
2
+ "version": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
3
3
  "name": "prisma",
4
4
  "description": "Prisma is an open-source database toolkit. It includes a JavaScript/TypeScript ORM for Node.js, migrations and a modern GUI to view and edit the data in your database. You can use Prisma in new projects or add it to an existing one.",
5
5
  "keywords": [
@@ -41,7 +41,7 @@
41
41
  "node": ">=18.18"
42
42
  },
43
43
  "prisma": {
44
- "prismaCommit": "055cd55ea9b3f37b69f9a24b99c481d98571bebd"
44
+ "prismaCommit": "6bffb758302799037af0a906dc0435f3b3533397"
45
45
  },
46
46
  "files": [
47
47
  "README.md",
@@ -152,20 +152,20 @@
152
152
  "xdg-app-paths": "8.3.0",
153
153
  "zod": "3.24.2",
154
154
  "zx": "8.4.1",
155
- "@prisma/adapter-libsql": "6.8.0-dev.9",
156
- "@prisma/client": "6.8.0-dev.9",
157
- "@prisma/client-generator-registry": "6.8.0-dev.9",
158
- "@prisma/debug": "6.8.0-dev.9",
159
- "@prisma/fetch-engine": "6.8.0-dev.9",
160
- "@prisma/dmmf": "6.8.0-dev.9",
161
- "@prisma/generator": "6.8.0-dev.9",
162
- "@prisma/get-platform": "6.8.0-dev.9",
163
- "@prisma/internals": "6.8.0-dev.9",
164
- "@prisma/migrate": "6.8.0-dev.9"
155
+ "@prisma/adapter-libsql": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
156
+ "@prisma/client": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
157
+ "@prisma/client-generator-registry": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
158
+ "@prisma/dmmf": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
159
+ "@prisma/fetch-engine": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
160
+ "@prisma/debug": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
161
+ "@prisma/get-platform": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
162
+ "@prisma/generator": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
163
+ "@prisma/migrate": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
164
+ "@prisma/internals": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1"
165
165
  },
166
166
  "dependencies": {
167
- "@prisma/config": "6.8.0-dev.9",
168
- "@prisma/engines": "6.8.0-dev.9"
167
+ "@prisma/config": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
168
+ "@prisma/engines": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1"
169
169
  },
170
170
  "peerDependencies": {
171
171
  "typescript": ">=5.1.0"
@@ -4515,18 +4515,18 @@ var require_common_path_prefix = __commonJS({
4515
4515
  }
4516
4516
  });
4517
4517
 
4518
- // ../../node_modules/.pnpm/@prisma+engines-version@6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c/node_modules/@prisma/engines-version/package.json
4518
+ // ../../node_modules/.pnpm/@prisma+engines-version@6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1/node_modules/@prisma/engines-version/package.json
4519
4519
  var require_package = __commonJS({
4520
- "../../node_modules/.pnpm/@prisma+engines-version@6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
4520
+ "../../node_modules/.pnpm/@prisma+engines-version@6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1/node_modules/@prisma/engines-version/package.json"(exports2, module2) {
4521
4521
  module2.exports = {
4522
4522
  name: "@prisma/engines-version",
4523
- version: "6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c",
4523
+ version: "6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1",
4524
4524
  main: "index.js",
4525
4525
  types: "index.d.ts",
4526
4526
  license: "Apache-2.0",
4527
4527
  author: "Tim Suchanek <suchanek@prisma.io>",
4528
4528
  prisma: {
4529
- enginesVersion: "25148b9e00dcffe957ba9f31ed278578aa5fe95c"
4529
+ enginesVersion: "f27b8115c67c55739c1dbd42d9e287ddc3d504a1"
4530
4530
  },
4531
4531
  repository: {
4532
4532
  type: "git",
@@ -4548,9 +4548,9 @@ var require_package = __commonJS({
4548
4548
  }
4549
4549
  });
4550
4550
 
4551
- // ../../node_modules/.pnpm/@prisma+engines-version@6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c/node_modules/@prisma/engines-version/index.js
4551
+ // ../../node_modules/.pnpm/@prisma+engines-version@6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1/node_modules/@prisma/engines-version/index.js
4552
4552
  var require_engines_version = __commonJS({
4553
- "../../node_modules/.pnpm/@prisma+engines-version@6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c/node_modules/@prisma/engines-version/index.js"(exports2) {
4553
+ "../../node_modules/.pnpm/@prisma+engines-version@6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1/node_modules/@prisma/engines-version/index.js"(exports2) {
4554
4554
  "use strict";
4555
4555
  Object.defineProperty(exports2, "__esModule", { value: true });
4556
4556
  exports2.enginesVersion = void 0;
@@ -7542,7 +7542,7 @@ var import_pkg_up = __toESM(require_pkg_up());
7542
7542
  // package.json
7543
7543
  var package_default = {
7544
7544
  name: "@prisma/client",
7545
- version: "6.8.0-dev.9",
7545
+ version: "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
7546
7546
  description: "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
7547
7547
  keywords: [
7548
7548
  "ORM",
@@ -7775,7 +7775,7 @@ var package_default = {
7775
7775
  "@prisma/dmmf": "workspace:*",
7776
7776
  "@prisma/driver-adapter-utils": "workspace:*",
7777
7777
  "@prisma/engines": "workspace:*",
7778
- "@prisma/engines-version": "6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c",
7778
+ "@prisma/engines-version": "6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1",
7779
7779
  "@prisma/fetch-engine": "workspace:*",
7780
7780
  "@prisma/generator": "workspace:*",
7781
7781
  "@prisma/generator-helper": "workspace:*",
@@ -7785,8 +7785,8 @@ var package_default = {
7785
7785
  "@prisma/migrate": "workspace:*",
7786
7786
  "@prisma/mini-proxy": "0.9.5",
7787
7787
  "@prisma/pg-worker": "workspace:*",
7788
- "@prisma/query-compiler-wasm": "6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c",
7789
- "@prisma/query-engine-wasm": "6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c",
7788
+ "@prisma/query-compiler-wasm": "6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1",
7789
+ "@prisma/query-engine-wasm": "6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1",
7790
7790
  "@prisma/ts-builders": "workspace:*",
7791
7791
  "@snaplet/copycat": "6.0.0",
7792
7792
  "@swc-node/register": "1.10.9",
@@ -11062,6 +11062,20 @@ function buildQueryEngineWasmModule(wasm, copyEngine, runtimeNameJs) {
11062
11062
  return `config.engineWasm = undefined`;
11063
11063
  }
11064
11064
 
11065
+ // ../client-generator-js/src/utils/buildInlineDatasources.ts
11066
+ function buildInlineDatasources(datasources) {
11067
+ return datasources.reduce((acc, ds) => {
11068
+ return acc[ds.name] = buildInlineDatasource(ds), acc;
11069
+ }, {});
11070
+ }
11071
+ function buildInlineDatasource(ds) {
11072
+ if (ds.url.fromEnvVar) {
11073
+ return { url: { fromEnvVar: ds.url.fromEnvVar, value: null } };
11074
+ } else {
11075
+ return { url: { fromEnvVar: null, value: ds.url.value } };
11076
+ }
11077
+ }
11078
+
11065
11079
  // ../client-generator-js/src/utils/buildNFTAnnotations.ts
11066
11080
  var import_path4 = __toESM(require("path"));
11067
11081
  function buildNFTAnnotations(noEngine, engineType, binaryTargets, relativeOutdir) {
@@ -11131,32 +11145,10 @@ var commonCodeJS = ({
11131
11145
  browser,
11132
11146
  clientVersion,
11133
11147
  engineVersion,
11134
- generator,
11135
- deno
11136
- }) => `${deno ? "const exports = {}" : ""}
11148
+ generator
11149
+ }) => `
11137
11150
  Object.defineProperty(exports, "__esModule", { value: true });
11138
- ${deno ? `
11139
- import {
11140
- PrismaClientKnownRequestError,
11141
- PrismaClientUnknownRequestError,
11142
- PrismaClientRustPanicError,
11143
- PrismaClientInitializationError,
11144
- PrismaClientValidationError,
11145
- getPrismaClient,
11146
- sqltag,
11147
- empty,
11148
- join,
11149
- raw,
11150
- Decimal,
11151
- Debug,
11152
- objectEnumValues,
11153
- makeStrictEnum,
11154
- Extensions,
11155
- defineDmmfProperty,
11156
- Public,
11157
- getRuntime,
11158
- skip
11159
- } from '${runtimeBase}/${runtimeNameJs}.js'` : browser ? `
11151
+ ${browser ? `
11160
11152
  const {
11161
11153
  Decimal,
11162
11154
  objectEnumValues,
@@ -12396,7 +12388,6 @@ var TSClient = class {
12396
12388
  runtimeBase,
12397
12389
  runtimeNameJs,
12398
12390
  datasources,
12399
- deno,
12400
12391
  copyEngine = true,
12401
12392
  reusedJs,
12402
12393
  envPaths
@@ -12423,9 +12414,7 @@ var TSClient = class {
12423
12414
  activeProvider: this.options.activeProvider,
12424
12415
  postinstall: this.options.postinstall,
12425
12416
  ciName: import_ci_info.default.name ?? void 0,
12426
- inlineDatasources: datasources.reduce((acc, ds) => {
12427
- return acc[ds.name] = { url: ds.url }, acc;
12428
- }, {}),
12417
+ inlineDatasources: buildInlineDatasources(datasources),
12429
12418
  inlineSchema,
12430
12419
  inlineSchemaHash,
12431
12420
  copyEngine
@@ -12460,7 +12449,7 @@ ${buildWarnEnvConflicts(edge, runtimeBase, runtimeNameJs)}
12460
12449
  ${buildDebugInitialization(edge)}
12461
12450
  const PrismaClient = getPrismaClient(config)
12462
12451
  exports.PrismaClient = PrismaClient
12463
- Object.assign(exports, Prisma)${deno ? "\nexport { exports as default, Prisma, PrismaClient }" : ""}
12452
+ Object.assign(exports, Prisma)
12464
12453
  ${buildNFTAnnotations(edge || !copyEngine, clientEngineType, binaryTargets, relativeOutdir)}
12465
12454
  `;
12466
12455
  return code;
@@ -12993,7 +12982,6 @@ async function buildClient({
12993
12982
  copyEngine,
12994
12983
  datamodel,
12995
12984
  browser: false,
12996
- deno: false,
12997
12985
  edge: false,
12998
12986
  wasm: false
12999
12987
  };
@@ -13122,23 +13110,6 @@ async function buildClient({
13122
13110
  fileMap["wasm.js"] = fileMap["index-browser.js"];
13123
13111
  fileMap["wasm.d.ts"] = fileMap["default.d.ts"];
13124
13112
  }
13125
- if (generator.previewFeatures.includes("deno") && !!globalThis.Deno) {
13126
- const denoEdgeClient = new TSClient({
13127
- ...baseClientOptions,
13128
- runtimeBase: `../${runtimeBase}`,
13129
- runtimeNameJs: "edge-esm",
13130
- runtimeNameTs: "library.d.ts",
13131
- deno: true,
13132
- edge: true
13133
- });
13134
- fileMap["deno/edge.js"] = JS(denoEdgeClient);
13135
- fileMap["deno/index.d.ts"] = TS(denoEdgeClient);
13136
- fileMap["deno/edge.ts"] = `
13137
- import './polyfill.js'
13138
- // @deno-types="./index.d.ts"
13139
- export * from './edge.js'`;
13140
- fileMap["deno/polyfill.js"] = "globalThis.process = { env: Deno.env.toObject() }; globalThis.global = globalThis";
13141
- }
13142
13113
  if (typedSql && typedSql.length > 0) {
13143
13114
  const edgeRuntimeName = usesWasmRuntime ? "wasm" : "edge";
13144
13115
  const cjsEdgeIndex = `./sql/index.${edgeRuntimeName}.js`;
@@ -13265,9 +13236,6 @@ To learn more about how to rename models, check out https://pris.ly/d/naming-mod
13265
13236
  await deleteOutputDir(outputDir);
13266
13237
  }
13267
13238
  await (0, import_fs_extra.ensureDir)(outputDir);
13268
- if (generator.previewFeatures.includes("deno") && !!globalThis.Deno) {
13269
- await (0, import_fs_extra.ensureDir)(import_path6.default.join(outputDir, "deno"));
13270
- }
13271
13239
  await writeFileMap(outputDir, fileMap);
13272
13240
  if (copyRuntime || generator.isCustomOutput === true) {
13273
13241
  const copiedRuntimeDir = import_path6.default.join(outputDir, "runtime");
@@ -13550,7 +13518,7 @@ var import_node_path3 = __toESM(require("node:path"));
13550
13518
  var import_engines_version = __toESM(require_engines_version());
13551
13519
 
13552
13520
  // ../client-generator-js/package.json
13553
- var version = "6.8.0-dev.9";
13521
+ var version = "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1";
13554
13522
 
13555
13523
  // ../client-generator-js/src/resolvePrismaClient.ts
13556
13524
  var import_promises4 = __toESM(require("node:fs/promises"));
@@ -18691,7 +18659,6 @@ function dmmfToTypes(dmmf) {
18691
18659
  },
18692
18660
  datamodel: "",
18693
18661
  browser: false,
18694
- deno: false,
18695
18662
  edge: false,
18696
18663
  wasm: false,
18697
18664
  envPaths: {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "6.8.0-dev.9",
3
+ "version": "6.8.0-integration-engines-6-8-0-24-push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1.1",
4
4
  "description": "Prisma Client is an auto-generated, type-safe and modern JavaScript/TypeScript ORM for Node.js that's tailored to your data. Supports PostgreSQL, CockroachDB, MySQL, MariaDB, SQL Server, SQLite & MongoDB databases.",
5
5
  "keywords": [
6
6
  "ORM",
@@ -233,7 +233,7 @@
233
233
  "@prisma/dmmf": "workspace:*",
234
234
  "@prisma/driver-adapter-utils": "workspace:*",
235
235
  "@prisma/engines": "workspace:*",
236
- "@prisma/engines-version": "6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c",
236
+ "@prisma/engines-version": "6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1",
237
237
  "@prisma/fetch-engine": "workspace:*",
238
238
  "@prisma/generator": "workspace:*",
239
239
  "@prisma/generator-helper": "workspace:*",
@@ -243,8 +243,8 @@
243
243
  "@prisma/migrate": "workspace:*",
244
244
  "@prisma/mini-proxy": "0.9.5",
245
245
  "@prisma/pg-worker": "workspace:*",
246
- "@prisma/query-compiler-wasm": "6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c",
247
- "@prisma/query-engine-wasm": "6.8.0-11.25148b9e00dcffe957ba9f31ed278578aa5fe95c",
246
+ "@prisma/query-compiler-wasm": "6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1",
247
+ "@prisma/query-engine-wasm": "6.8.0-24.push-mkywrssuzzlv-f27b8115c67c55739c1dbd42d9e287ddc3d504a1",
248
248
  "@prisma/ts-builders": "workspace:*",
249
249
  "@snaplet/copycat": "6.0.0",
250
250
  "@swc-node/register": "1.10.9",