@prisma/internals 6.20.0-integration-next.9 → 6.20.0-integration-next.11

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 (43) hide show
  1. package/dist/{chunk-7NYREG5G.js → chunk-5FX34Z24.js} +7 -7
  2. package/dist/{chunk-636GLMJA.js → chunk-7DJBMBEU.js} +8 -8
  3. package/dist/{chunk-ER4RE4VE.js → chunk-7SF6QSKE.js} +5 -5
  4. package/dist/{chunk-TGA7DC5A.js → chunk-CIGXHXCG.js} +7 -7
  5. package/dist/{chunk-CRAR67NP.js → chunk-GZ2HNH44.js} +5 -5
  6. package/dist/{chunk-UNYROOUA.js → chunk-IPOK5SSL.js} +8 -8
  7. package/dist/{chunk-BCQZ6JQE.js → chunk-NBWRGVYR.js} +4 -6
  8. package/dist/{chunk-2LK7IARS.js → chunk-NNNTCYXS.js} +4 -4
  9. package/dist/{chunk-BEXD24W2.js → chunk-PCRUKWCR.js} +8 -8
  10. package/dist/{chunk-R5OZXPSF.js → chunk-PGLQ2MLS.js} +9 -18
  11. package/dist/{chunk-PO2PPNKU.js → chunk-RQ6XOAPY.js} +5 -5
  12. package/dist/{chunk-OSHZ4P3G.js → chunk-SP2ETLT2.js} +5 -5
  13. package/dist/{chunk-TQCLUNM2.js → chunk-VNIE2AZB.js} +4 -4
  14. package/dist/{chunk-HNFDUV6I.js → chunk-W7LBAGFL.js} +5 -5
  15. package/dist/{chunk-72QMYPDY.js → chunk-XRLQNVIT.js} +5 -5
  16. package/dist/{chunk-YU2W6APU.js → chunk-ZVABNT2Q.js} +21 -30
  17. package/dist/cli/checkUnsupportedDataProxy.js +23 -24
  18. package/dist/cli/directoryConfig.js +2 -2
  19. package/dist/cli/schemaContext.d.ts +0 -6
  20. package/dist/cli/schemaContext.js +24 -25
  21. package/dist/cli/types.d.ts +1 -1
  22. package/dist/engine-commands/errorHelpers.js +4 -4
  23. package/dist/engine-commands/formatSchema.js +22 -23
  24. package/dist/engine-commands/getConfig.js +7 -7
  25. package/dist/engine-commands/getDmmf.js +7 -7
  26. package/dist/engine-commands/index.js +29 -30
  27. package/dist/engine-commands/lintSchema.js +8 -8
  28. package/dist/engine-commands/mergeSchemas.js +7 -7
  29. package/dist/engine-commands/validate.js +7 -7
  30. package/dist/get-generators/getGenerators.js +25 -26
  31. package/dist/highlight/highlight.js +5 -5
  32. package/dist/index.d.ts +0 -1
  33. package/dist/index.js +45 -47
  34. package/dist/utils/getVersionFromPackageJson.js +3 -3
  35. package/dist/utils/missingDatasource.js +4 -4
  36. package/dist/utils/missingGeneratorMessage.js +6 -6
  37. package/dist/utils/toSchemasContainer.d.ts +1 -1
  38. package/dist/utils/toSchemasContainer.js +3 -3
  39. package/dist/wasm.js +5 -5
  40. package/package.json +11 -11
  41. package/dist/chunk-RFB2U4GQ.js +0 -41
  42. package/dist/utils/getMigrateConfigDir.d.ts +0 -2
  43. package/dist/utils/getMigrateConfigDir.js +0 -25
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var toSchemasContainer_exports = {};
20
20
  __export(toSchemasContainer_exports, {
21
- toSchemasContainer: () => import_chunk_OSHZ4P3G.toSchemasContainer,
22
- toSchemasWithConfigDir: () => import_chunk_OSHZ4P3G.toSchemasWithConfigDir
21
+ toSchemasContainer: () => import_chunk_SP2ETLT2.toSchemasContainer,
22
+ toSchemasWithConfigDir: () => import_chunk_SP2ETLT2.toSchemasWithConfigDir
23
23
  });
24
24
  module.exports = __toCommonJS(toSchemasContainer_exports);
25
- var import_chunk_OSHZ4P3G = require("../chunk-OSHZ4P3G.js");
25
+ var import_chunk_SP2ETLT2 = require("../chunk-SP2ETLT2.js");
26
26
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
package/dist/wasm.js CHANGED
@@ -18,12 +18,12 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var wasm_exports = {};
20
20
  __export(wasm_exports, {
21
- prismaSchemaWasm: () => import_chunk_HNFDUV6I.prismaSchemaWasm,
22
- prismaSchemaWasmVersion: () => import_chunk_HNFDUV6I.prismaSchemaWasmVersion,
23
- schemaEngineWasmVersion: () => import_chunk_HNFDUV6I.schemaEngineWasmVersion
21
+ prismaSchemaWasm: () => import_chunk_W7LBAGFL.prismaSchemaWasm,
22
+ prismaSchemaWasmVersion: () => import_chunk_W7LBAGFL.prismaSchemaWasmVersion,
23
+ schemaEngineWasmVersion: () => import_chunk_W7LBAGFL.schemaEngineWasmVersion
24
24
  });
25
25
  module.exports = __toCommonJS(wasm_exports);
26
- var import_chunk_HNFDUV6I = require("./chunk-HNFDUV6I.js");
27
- var import_chunk_2LK7IARS = require("./chunk-2LK7IARS.js");
26
+ var import_chunk_W7LBAGFL = require("./chunk-W7LBAGFL.js");
27
+ var import_chunk_NNNTCYXS = require("./chunk-NNNTCYXS.js");
28
28
  var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
29
29
  var import_chunk_4VNS5WPM = require("./chunk-4VNS5WPM.js");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prisma/internals",
3
- "version": "6.20.0-integration-next.9",
3
+ "version": "6.20.0-integration-next.11",
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",
@@ -70,16 +70,16 @@
70
70
  "@prisma/schema-engine-wasm": "6.20.0-11.next-80ee0a44bf5668992b0c909c946a755b86b56c95",
71
71
  "arg": "5.0.2",
72
72
  "prompts": "2.4.2",
73
- "@prisma/config": "6.20.0-integration-next.9",
74
- "@prisma/debug": "6.20.0-integration-next.9",
75
- "@prisma/engines": "6.20.0-integration-next.9",
76
- "@prisma/driver-adapter-utils": "6.20.0-integration-next.9",
77
- "@prisma/fetch-engine": "6.20.0-integration-next.9",
78
- "@prisma/generator": "6.20.0-integration-next.9",
79
- "@prisma/generator-helper": "6.20.0-integration-next.9",
80
- "@prisma/dmmf": "6.20.0-integration-next.9",
81
- "@prisma/get-platform": "6.20.0-integration-next.9",
82
- "@prisma/schema-files-loader": "6.20.0-integration-next.9"
73
+ "@prisma/config": "6.20.0-integration-next.11",
74
+ "@prisma/debug": "6.20.0-integration-next.11",
75
+ "@prisma/dmmf": "6.20.0-integration-next.11",
76
+ "@prisma/engines": "6.20.0-integration-next.11",
77
+ "@prisma/fetch-engine": "6.20.0-integration-next.11",
78
+ "@prisma/driver-adapter-utils": "6.20.0-integration-next.11",
79
+ "@prisma/generator": "6.20.0-integration-next.11",
80
+ "@prisma/get-platform": "6.20.0-integration-next.11",
81
+ "@prisma/schema-files-loader": "6.20.0-integration-next.11",
82
+ "@prisma/generator-helper": "6.20.0-integration-next.11"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "typescript": ">=5.4.0"
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __export = (target, all) => {
9
- for (var name in all)
10
- __defProp(target, name, { get: all[name], enumerable: true });
11
- };
12
- var __copyProps = (to, from, except, desc) => {
13
- if (from && typeof from === "object" || typeof from === "function") {
14
- for (let key of __getOwnPropNames(from))
15
- if (!__hasOwnProp.call(to, key) && key !== except)
16
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
- }
18
- return to;
19
- };
20
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
- // If the importer is in node compatibility mode or this is not an ESM
22
- // file that has been converted to a CommonJS file using a Babel-
23
- // compatible transform (i.e. "__esModule" has not been set), then set
24
- // "default" to the CommonJS "module.exports" for node compatibility.
25
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
- mod
27
- ));
28
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
- var chunk_RFB2U4GQ_exports = {};
30
- __export(chunk_RFB2U4GQ_exports, {
31
- getMigrateConfigDir: () => getMigrateConfigDir
32
- });
33
- module.exports = __toCommonJS(chunk_RFB2U4GQ_exports);
34
- var import_path = __toESM(require("path"));
35
- function getMigrateConfigDir(config, schemaPath) {
36
- const sourcePath = config?.datasources?.[0]?.sourceFilePath;
37
- if (sourcePath) {
38
- return import_path.default.dirname(sourcePath);
39
- }
40
- return schemaPath ? import_path.default.dirname(schemaPath) : process.cwd();
41
- }
@@ -1,2 +0,0 @@
1
- import type { ConfigMetaFormat } from '../engine-commands';
2
- export declare function getMigrateConfigDir(config: ConfigMetaFormat, schemaPath: string | undefined): string;
@@ -1,25 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: true });
9
- };
10
- var __copyProps = (to, from, except, desc) => {
11
- if (from && typeof from === "object" || typeof from === "function") {
12
- for (let key of __getOwnPropNames(from))
13
- if (!__hasOwnProp.call(to, key) && key !== except)
14
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
- }
16
- return to;
17
- };
18
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
- var getMigrateConfigDir_exports = {};
20
- __export(getMigrateConfigDir_exports, {
21
- getMigrateConfigDir: () => import_chunk_RFB2U4GQ.getMigrateConfigDir
22
- });
23
- module.exports = __toCommonJS(getMigrateConfigDir_exports);
24
- var import_chunk_RFB2U4GQ = require("../chunk-RFB2U4GQ.js");
25
- var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");