@prisma/client 6.6.0-integration-push-spwsqpvywlkl.8 → 6.6.0-integration-feat-introduce-schema-engine-wasm.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.
@@ -5547,7 +5547,7 @@ var import_pkg_up = __toESM(require_pkg_up());
5547
5547
  // package.json
5548
5548
  var package_default = {
5549
5549
  name: "@prisma/client",
5550
- version: "6.6.0-integration-push-spwsqpvywlkl.8",
5550
+ version: "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
5551
5551
  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.",
5552
5552
  keywords: [
5553
5553
  "ORM",
@@ -5838,7 +5838,6 @@ var package_default = {
5838
5838
  "stacktrace-parser": "0.1.11",
5839
5839
  "strip-ansi": "6.0.1",
5840
5840
  "strip-indent": "4.0.0",
5841
- tempy: "3.0.0",
5842
5841
  "ts-node": "10.9.2",
5843
5842
  "ts-pattern": "5.6.2",
5844
5843
  tsd: "0.31.2",
@@ -5959,26 +5958,15 @@ var ConstDeclaration = class {
5959
5958
  this.type = type;
5960
5959
  }
5961
5960
  docComment;
5962
- value;
5963
5961
  setDocComment(docComment2) {
5964
5962
  this.docComment = docComment2;
5965
5963
  return this;
5966
5964
  }
5967
- setValue(value) {
5968
- this.value = value;
5969
- return this;
5970
- }
5971
5965
  write(writer) {
5972
5966
  if (this.docComment) {
5973
5967
  writer.write(this.docComment);
5974
5968
  }
5975
- writer.write("const ").write(this.name);
5976
- if (this.type) {
5977
- writer.write(": ").write(this.type);
5978
- }
5979
- if (this.value) {
5980
- writer.write(" = ").write(this.value);
5981
- }
5969
+ writer.write("const ").write(this.name).write(": ").write(this.type);
5982
5970
  }
5983
5971
  };
5984
5972
  function constDeclaration(name, type) {
@@ -6111,19 +6099,11 @@ var NamedExport = class {
6111
6099
  this.name = name;
6112
6100
  }
6113
6101
  alias;
6114
- type = false;
6115
6102
  as(alias) {
6116
6103
  this.alias = alias;
6117
6104
  return this;
6118
6105
  }
6119
- typeOnly() {
6120
- this.type = true;
6121
- return this;
6122
- }
6123
6106
  write(writer) {
6124
- if (this.type) {
6125
- writer.write("type ");
6126
- }
6127
6107
  writer.write(this.name);
6128
6108
  if (this.alias) {
6129
6109
  writer.write(" as ").write(this.alias);
@@ -6292,6 +6272,15 @@ function genericParameter(name) {
6292
6272
  function omit(type, keyType2) {
6293
6273
  return namedType("Omit").addGenericArgument(type).addGenericArgument(keyType2);
6294
6274
  }
6275
+ function promise(resultType) {
6276
+ return new NamedType("$Utils.JsPromise").addGenericArgument(resultType);
6277
+ }
6278
+ function prismaPromise(resultType) {
6279
+ return new NamedType("Prisma.PrismaPromise").addGenericArgument(resultType);
6280
+ }
6281
+ function optional(innerType) {
6282
+ return new NamedType("$Utils.Optional").addGenericArgument(innerType);
6283
+ }
6295
6284
 
6296
6285
  // ../ts-builders/src/Import.ts
6297
6286
  var NamespaceImport = class {
@@ -6342,19 +6331,11 @@ var NamedImport = class {
6342
6331
  this.name = name;
6343
6332
  }
6344
6333
  alias;
6345
- type = false;
6346
6334
  as(alias) {
6347
6335
  this.alias = alias;
6348
6336
  return this;
6349
6337
  }
6350
- typeOnly() {
6351
- this.type = true;
6352
- return this;
6353
- }
6354
6338
  write(writer) {
6355
- if (this.type) {
6356
- writer.write("type ");
6357
- }
6358
6339
  writer.write(this.name);
6359
6340
  if (this.alias) {
6360
6341
  writer.write(" as ").write(this.alias);
@@ -8070,17 +8051,6 @@ function getModelActions(dmmf, name) {
8070
8051
  return mappingKeys;
8071
8052
  }
8072
8053
 
8073
- // ../client-generator-js/src/TSClient/utils/type-builders.ts
8074
- function promise(resultType) {
8075
- return new NamedType("$Utils.JsPromise").addGenericArgument(resultType);
8076
- }
8077
- function prismaPromise(resultType) {
8078
- return new NamedType("Prisma.PrismaPromise").addGenericArgument(resultType);
8079
- }
8080
- function optional(innerType) {
8081
- return new NamedType("$Utils.Optional").addGenericArgument(innerType);
8082
- }
8083
-
8084
8054
  // ../client-generator-js/src/TSClient/Model.ts
8085
8055
  var Model = class {
8086
8056
  constructor(model, context) {
@@ -8977,22 +8947,22 @@ defineDmmfProperty(exports.Prisma, config.runtimeDataModel)`;
8977
8947
  function buildQueryCompilerWasmModule(wasm, copyCompiler, runtimeNameJs) {
8978
8948
  if (copyCompiler && runtimeNameJs === "client") {
8979
8949
  return `config.compilerWasm = {
8980
- getRuntime: async () => require('./query_compiler_bg.js'),
8950
+ getRuntime: () => require('./query_compiler_bg.js'),
8981
8951
  getQueryCompilerWasmModule: async () => {
8982
8952
  const queryCompilerWasmFilePath = require('path').join(config.dirname, 'query_compiler_bg.wasm')
8983
8953
  const queryCompilerWasmFileBytes = require('fs').readFileSync(queryCompilerWasmFilePath)
8984
-
8954
+
8985
8955
  return new WebAssembly.Module(queryCompilerWasmFileBytes)
8986
8956
  }
8987
8957
  }`;
8988
8958
  }
8989
8959
  if (copyCompiler && runtimeNameJs === "client" && wasm === true) {
8990
8960
  return `config.compilerWasm = {
8991
- getRuntime: async () => require('./query_compiler_bg.js'),
8961
+ getRuntime: () => require('./query_compiler_bg.js'),
8992
8962
  getQueryCompilerWasmModule: async () => {
8993
8963
  const loader = (await import('#wasm-compiler-loader')).default
8994
8964
  const compiler = (await loader).default
8995
- return compiler
8965
+ return compiler
8996
8966
  }
8997
8967
  }`;
8998
8968
  }
@@ -9003,22 +8973,22 @@ function buildQueryCompilerWasmModule(wasm, copyCompiler, runtimeNameJs) {
9003
8973
  function buildQueryEngineWasmModule(wasm, copyEngine, runtimeNameJs) {
9004
8974
  if (copyEngine && runtimeNameJs === "library" && process.env.PRISMA_CLIENT_FORCE_WASM) {
9005
8975
  return `config.engineWasm = {
9006
- getRuntime: async () => require('./query_engine_bg.js'),
8976
+ getRuntime: () => require('./query_engine_bg.js'),
9007
8977
  getQueryEngineWasmModule: async () => {
9008
8978
  const queryEngineWasmFilePath = require('path').join(config.dirname, 'query_engine_bg.wasm')
9009
8979
  const queryEngineWasmFileBytes = require('fs').readFileSync(queryEngineWasmFilePath)
9010
-
8980
+
9011
8981
  return new WebAssembly.Module(queryEngineWasmFileBytes)
9012
8982
  }
9013
8983
  }`;
9014
8984
  }
9015
8985
  if (copyEngine && wasm === true) {
9016
8986
  return `config.engineWasm = {
9017
- getRuntime: async () => require('./query_engine_bg.js'),
8987
+ getRuntime: () => require('./query_engine_bg.js'),
9018
8988
  getQueryEngineWasmModule: async () => {
9019
8989
  const loader = (await import('#wasm-engine-loader')).default
9020
8990
  const engine = (await loader).default
9021
- return engine
8991
+ return engine
9022
8992
  }
9023
8993
  }`;
9024
8994
  }
@@ -10894,7 +10864,7 @@ function buildTypedSql({
10894
10864
  }
10895
10865
 
10896
10866
  // ../client-generator-js/src/generateClient.ts
10897
- var debug2 = Debug("prisma:client:generateClient");
10867
+ var debug2 = src_default("prisma:client:generateClient");
10898
10868
  var DenylistError = class extends Error {
10899
10869
  constructor(message) {
10900
10870
  super(message);
@@ -11490,7 +11460,7 @@ var import_node_path3 = __toESM(require("node:path"));
11490
11460
  var import_engines_version = __toESM(require_engines_version());
11491
11461
 
11492
11462
  // ../client-generator-js/package.json
11493
- var version = "6.6.0-integration-push-spwsqpvywlkl.8";
11463
+ var version = "6.6.0-integration-feat-introduce-schema-engine-wasm.1";
11494
11464
 
11495
11465
  // ../client-generator-js/src/resolvePrismaClient.ts
11496
11466
  var import_promises4 = __toESM(require("node:fs/promises"));
@@ -16413,7 +16383,7 @@ function init2(open, close) {
16413
16383
  }
16414
16384
 
16415
16385
  // ../client-generator-js/src/resolvePrismaClient.ts
16416
- var debug3 = Debug("prisma:generator");
16386
+ var debug3 = src_default("prisma:generator");
16417
16387
  async function resolvePrismaClient(baseDir) {
16418
16388
  const prismaClientDir = await findPrismaClientDir(baseDir);
16419
16389
  debug3("baseDir", baseDir);
@@ -16446,7 +16416,7 @@ async function getPackageCmd(cwd2, cmd, ...args) {
16446
16416
  }
16447
16417
 
16448
16418
  // ../client-generator-js/src/generator.ts
16449
- var debug4 = Debug("prisma:client:generator");
16419
+ var debug4 = src_default("prisma:client:generator");
16450
16420
  var MISSING_CUSTOM_OUTPUT_PATH_WARNING = `${yellow("Warning:")} You did not specify an output path for your \`generator\` in schema.prisma. This behavior is deprecated and will no longer be supported in Prisma 7.0.0. To learn more visit https://pris.ly/cli/output-path`;
16451
16421
  var PrismaClientJsGenerator = class {
16452
16422
  name = "prisma-client-js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/client",
3
- "version": "6.6.0-integration-push-spwsqpvywlkl.8",
3
+ "version": "6.6.0-integration-feat-introduce-schema-engine-wasm.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",
@@ -249,7 +249,6 @@
249
249
  "stacktrace-parser": "0.1.11",
250
250
  "strip-ansi": "6.0.1",
251
251
  "strip-indent": "4.0.0",
252
- "tempy": "3.0.0",
253
252
  "ts-node": "10.9.2",
254
253
  "ts-pattern": "5.6.2",
255
254
  "tsd": "0.31.2",
@@ -257,30 +256,30 @@
257
256
  "undici": "7.4.0",
258
257
  "wrangler": "3.111.0",
259
258
  "zx": "8.4.1",
260
- "@prisma/adapter-d1": "6.6.0-integration-push-spwsqpvywlkl.8",
261
- "@prisma/adapter-libsql": "6.6.0-integration-push-spwsqpvywlkl.8",
262
- "@prisma/adapter-neon": "6.6.0-integration-push-spwsqpvywlkl.8",
263
- "@prisma/adapter-pg-worker": "6.6.0-integration-push-spwsqpvywlkl.8",
264
- "@prisma/adapter-pg": "6.6.0-integration-push-spwsqpvywlkl.8",
265
- "@prisma/client-common": "6.6.0-integration-push-spwsqpvywlkl.8",
266
- "@prisma/client-engine-runtime": "6.6.0-integration-push-spwsqpvywlkl.8",
267
- "@prisma/adapter-planetscale": "6.6.0-integration-push-spwsqpvywlkl.8",
268
- "@prisma/client-generator-js": "6.6.0-integration-push-spwsqpvywlkl.8",
269
- "@prisma/client-generator-ts": "6.6.0-integration-push-spwsqpvywlkl.8",
270
- "@prisma/config": "6.6.0-integration-push-spwsqpvywlkl.8",
271
- "@prisma/dmmf": "6.6.0-integration-push-spwsqpvywlkl.8",
272
- "@prisma/debug": "6.6.0-integration-push-spwsqpvywlkl.8",
273
- "@prisma/driver-adapter-utils": "6.6.0-integration-push-spwsqpvywlkl.8",
274
- "@prisma/fetch-engine": "6.6.0-integration-push-spwsqpvywlkl.8",
275
- "@prisma/engines": "6.6.0-integration-push-spwsqpvywlkl.8",
276
- "@prisma/generator": "6.6.0-integration-push-spwsqpvywlkl.8",
277
- "@prisma/generator-helper": "6.6.0-integration-push-spwsqpvywlkl.8",
278
- "@prisma/get-platform": "6.6.0-integration-push-spwsqpvywlkl.8",
279
- "@prisma/instrumentation": "6.6.0-integration-push-spwsqpvywlkl.8",
280
- "@prisma/migrate": "6.6.0-integration-push-spwsqpvywlkl.8",
281
- "@prisma/pg-worker": "6.6.0-integration-push-spwsqpvywlkl.8",
282
- "@prisma/internals": "6.6.0-integration-push-spwsqpvywlkl.8",
283
- "@prisma/ts-builders": "6.6.0-integration-push-spwsqpvywlkl.8"
259
+ "@prisma/adapter-d1": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
260
+ "@prisma/adapter-libsql": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
261
+ "@prisma/adapter-neon": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
262
+ "@prisma/adapter-pg": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
263
+ "@prisma/adapter-pg-worker": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
264
+ "@prisma/adapter-planetscale": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
265
+ "@prisma/client-common": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
266
+ "@prisma/client-engine-runtime": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
267
+ "@prisma/client-generator-js": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
268
+ "@prisma/debug": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
269
+ "@prisma/client-generator-ts": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
270
+ "@prisma/config": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
271
+ "@prisma/dmmf": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
272
+ "@prisma/driver-adapter-utils": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
273
+ "@prisma/engines": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
274
+ "@prisma/fetch-engine": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
275
+ "@prisma/generator-helper": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
276
+ "@prisma/generator": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
277
+ "@prisma/get-platform": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
278
+ "@prisma/internals": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
279
+ "@prisma/migrate": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
280
+ "@prisma/instrumentation": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
281
+ "@prisma/pg-worker": "6.6.0-integration-feat-introduce-schema-engine-wasm.1",
282
+ "@prisma/ts-builders": "6.6.0-integration-feat-introduce-schema-engine-wasm.1"
284
283
  },
285
284
  "peerDependencies": {
286
285
  "prisma": "*",