@prisma/internals 7.2.0-dev.12 → 7.2.0-dev.14

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 (36) hide show
  1. package/dist/{chunk-CHSNY362.js → chunk-2XNDOWO6.js} +7 -7
  2. package/dist/{chunk-S3WFRJI3.js → chunk-4CRIENYJ.js} +4 -4
  3. package/dist/{chunk-MWYD47FO.js → chunk-4EBYVRVI.js} +5 -5
  4. package/dist/{chunk-GH4ZKRQK.js → chunk-A7IDAWPQ.js} +8 -8
  5. package/dist/{chunk-PKOQQT7I.js → chunk-GH2WAX5Y.js} +4 -4
  6. package/dist/{chunk-65DIYDY6.js → chunk-GYHA3GHN.js} +8 -8
  7. package/dist/{chunk-356GLSZQ.js → chunk-KII46GGU.js} +17 -17
  8. package/dist/{chunk-GZLJZGHX.js → chunk-NYNXYKR4.js} +5 -5
  9. package/dist/{chunk-DYAIRSK2.js → chunk-QCTWBDAR.js} +5 -5
  10. package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
  11. package/dist/{chunk-RUO3F4H4.js → chunk-WBO42OIB.js} +8 -8
  12. package/dist/{chunk-ZNH4C3NA.js → chunk-WVYKW7GY.js} +5 -5
  13. package/dist/{chunk-LO3USXOJ.js → chunk-YTJI3IQD.js} +5 -5
  14. package/dist/{chunk-VHBRLEFN.js → chunk-Z6LF53TA.js} +5 -5
  15. package/dist/cli/checkUnsupportedDataProxy.js +17 -18
  16. package/dist/cli/schemaContext.js +18 -19
  17. package/dist/engine-commands/errorHelpers.js +4 -4
  18. package/dist/engine-commands/formatSchema.js +16 -17
  19. package/dist/engine-commands/getConfig.js +7 -7
  20. package/dist/engine-commands/getDmmf.js +7 -7
  21. package/dist/engine-commands/index.js +23 -24
  22. package/dist/engine-commands/lintSchema.js +8 -8
  23. package/dist/engine-commands/mergeSchemas.js +7 -7
  24. package/dist/engine-commands/validate.js +7 -7
  25. package/dist/get-generators/getGenerators.js +19 -20
  26. package/dist/get-generators/utils/getBinaryPathsByVersion.js +3 -3
  27. package/dist/index.d.ts +0 -1
  28. package/dist/index.js +34 -36
  29. package/dist/utils/canPrompt.js +3 -3
  30. package/dist/utils/getVersionFromPackageJson.js +3 -3
  31. package/dist/utils/handlePanic.js +4 -4
  32. package/dist/wasm.js +5 -5
  33. package/package.json +11 -11
  34. package/dist/chunk-L6KOIJJ5.js +0 -125
  35. package/dist/utils/byline.d.ts +0 -4
  36. package/dist/utils/byline.js +0 -28
package/dist/index.js CHANGED
@@ -30,11 +30,10 @@ __export(index_exports, {
30
30
  assertAlways: () => import_chunk_Y4TOGY6I.assertAlways,
31
31
  assertNever: () => import_chunk_IL7PSY44.assertNever,
32
32
  binaryTargetRegex: () => import_chunk_DODIJPCS.binaryTargetRegex,
33
- byline: () => import_chunk_L6KOIJJ5.byline,
34
33
  callOnceOnSuccess: () => import_chunk_NIWBAJZV.callOnceOnSuccess,
35
34
  canConnectToDatabase: () => import_chunk_YJVCIN4F.canConnectToDatabase,
36
- canPrompt: () => import_chunk_FCYHZHVW.canPrompt,
37
- checkUnsupportedDataProxy: () => import_chunk_356GLSZQ.checkUnsupportedDataProxy,
35
+ canPrompt: () => import_chunk_R3J2O23S.canPrompt,
36
+ checkUnsupportedDataProxy: () => import_chunk_KII46GGU.checkUnsupportedDataProxy,
38
37
  chmodPlusX: () => import_chunk_TWSLDIFL.chmodPlusX,
39
38
  createDatabase: () => import_chunk_YJVCIN4F.createDatabase,
40
39
  createSchemaPathInput: () => import_chunk_42R3EIRM.createSchemaPathInput,
@@ -46,31 +45,31 @@ __export(index_exports, {
46
45
  extractSchemaContent: () => import_chunk_PFYALFCY.extractSchemaContent,
47
46
  fixBinaryTargets: () => import_chunk_X77CS5RK.fixBinaryTargets,
48
47
  format: () => import_chunk_D4VZUY3O.format,
49
- formatSchema: () => import_chunk_356GLSZQ.formatSchema,
48
+ formatSchema: () => import_chunk_KII46GGU.formatSchema,
50
49
  formatTable: () => import_chunk_QN6PSQY7.formatTable,
51
50
  formatms: () => import_chunk_XYCIH36R.formatms,
52
51
  fsFunctional: () => import_chunk_Q5XW7CMJ.fs_functional_exports,
53
52
  fsUtils: () => import_chunk_5BRXEOYH.fs_utils_exports,
54
- getBinaryTargetForCurrentPlatform: () => import_chunk_356GLSZQ.getBinaryTargetForCurrentPlatform,
53
+ getBinaryTargetForCurrentPlatform: () => import_chunk_KII46GGU.getBinaryTargetForCurrentPlatform,
55
54
  getCLIPathHash: () => import_chunk_TCDF53CN.getCLIPathHash,
56
55
  getCommandWithExecutor: () => import_chunk_CUD726EK.getCommandWithExecutor,
57
- getConfig: () => import_chunk_65DIYDY6.getConfig,
58
- getDMMF: () => import_chunk_GH4ZKRQK.getDMMF,
56
+ getConfig: () => import_chunk_GYHA3GHN.getConfig,
57
+ getDMMF: () => import_chunk_A7IDAWPQ.getDMMF,
59
58
  getEngineVersion: () => import_chunk_Q75TMXCR.getEngineVersion,
60
59
  getEnginesInfo: () => import_chunk_2GPDFPDR.getEnginesInfo,
61
- getGenerator: () => import_chunk_356GLSZQ.getGenerator,
60
+ getGenerator: () => import_chunk_KII46GGU.getGenerator,
62
61
  getGeneratorSuccessMessage: () => import_chunk_ARC7TW3L.getGeneratorSuccessMessage,
63
- getGenerators: () => import_chunk_356GLSZQ.getGenerators,
64
- getLintWarningsAsText: () => import_chunk_MWYD47FO.getLintWarningsAsText,
62
+ getGenerators: () => import_chunk_KII46GGU.getGenerators,
63
+ getLintWarningsAsText: () => import_chunk_4EBYVRVI.getLintWarningsAsText,
65
64
  getPackedPackage: () => import_chunk_BXIKQUP5.getPackedPackage,
66
65
  getProjectHash: () => import_chunk_TCDF53CN.getProjectHash,
67
- getSchemaDatasourceProvider: () => import_chunk_356GLSZQ.getSchemaDatasourceProvider,
66
+ getSchemaDatasourceProvider: () => import_chunk_KII46GGU.getSchemaDatasourceProvider,
68
67
  getSchemaWithPath: () => import_chunk_42R3EIRM.getSchemaWithPath,
69
68
  getSchemaWithPathOptional: () => import_chunk_42R3EIRM.getSchemaWithPathOptional,
70
69
  getTypescriptVersion: () => import_chunk_J7ZPY2XA.getTypescriptVersion,
71
70
  getWasmError: () => import_chunk_LMVSIVKQ.getWasmError,
72
- handleLintPanic: () => import_chunk_MWYD47FO.handleLintPanic,
73
- handlePanic: () => import_chunk_GZLJZGHX.handlePanic,
71
+ handleLintPanic: () => import_chunk_4EBYVRVI.handleLintPanic,
72
+ handlePanic: () => import_chunk_NYNXYKR4.handlePanic,
74
73
  hasOwnProperty: () => import_chunk_WV4QHCSM.hasOwnProperty,
75
74
  highlightDatamodel: () => import_chunk_TQCLUNM2.highlightDatamodel,
76
75
  highlightSql: () => import_chunk_TQCLUNM2.highlightSql,
@@ -90,15 +89,15 @@ __export(index_exports, {
90
89
  isWasmPanic: () => import_chunk_LMVSIVKQ.isWasmPanic,
91
90
  keyBy: () => import_chunk_ZKWDIAVF.keyBy,
92
91
  link: () => import_chunk_I6WLABB2.link,
93
- lintSchema: () => import_chunk_MWYD47FO.lintSchema,
94
- loadSchemaContext: () => import_chunk_356GLSZQ.loadSchemaContext,
92
+ lintSchema: () => import_chunk_4EBYVRVI.lintSchema,
93
+ loadSchemaContext: () => import_chunk_KII46GGU.loadSchemaContext,
95
94
  logger: () => import_chunk_ZJWZK45Z.logger_exports,
96
95
  longestCommonPathPrefix: () => import_chunk_J77ZIDXB.longestCommonPathPrefix,
97
96
  mapObjectValues: () => import_chunk_UGR6KLZN.mapObjectValues,
98
97
  maxBy: () => import_chunk_CGFNDGGI.maxBy,
99
98
  maxWithComparator: () => import_chunk_CGFNDGGI.maxWithComparator,
100
99
  maybeInGitHook: () => import_chunk_LRBXMV4B.maybeInGitHook,
101
- mergeSchemas: () => import_chunk_CHSNY362.mergeSchemas,
100
+ mergeSchemas: () => import_chunk_2XNDOWO6.mergeSchemas,
102
101
  missingGeneratorMessage: () => import_chunk_CQVWHHIJ.missingGeneratorMessage,
103
102
  parseAWSNodejsRuntimeEnvVarVersion: () => import_chunk_2SDPW6AX.parseAWSNodejsRuntimeEnvVarVersion,
104
103
  parseBinaryTargetsEnvValue: () => import_chunk_IOIAK7V7.parseBinaryTargetsEnvValue,
@@ -108,7 +107,7 @@ __export(index_exports, {
108
107
  printConfigWarnings: () => import_chunk_5FJ3MENK.printConfigWarnings,
109
108
  printGeneratorConfig: () => import_chunk_LRU47BGE.printGeneratorConfig,
110
109
  printSchemaLoadedMessage: () => import_chunk_42R3EIRM.printSchemaLoadedMessage,
111
- processSchemaResult: () => import_chunk_356GLSZQ.processSchemaResult,
110
+ processSchemaResult: () => import_chunk_KII46GGU.processSchemaResult,
112
111
  protocolToConnectorType: () => import_chunk_3U4QB2G3.protocolToConnectorType,
113
112
  relativizePathInPSLError: () => import_chunk_C47SCASR.relativizePathInPSLError,
114
113
  resolveBinary: () => import_chunk_DQWKFZPY.resolveBinary,
@@ -120,19 +119,18 @@ __export(index_exports, {
120
119
  toSchemasWithConfigDir: () => import_chunk_SP2ETLT2.toSchemasWithConfigDir,
121
120
  unknownCommand: () => import_chunk_6JE6QGSJ.unknownCommand,
122
121
  uriToCredentials: () => import_chunk_3U4QB2G3.uriToCredentials,
123
- validate: () => import_chunk_RUO3F4H4.validate,
122
+ validate: () => import_chunk_WBO42OIB.validate,
124
123
  validatePrismaConfigWithDatasource: () => import_chunk_5SAWCTGN.validatePrismaConfigWithDatasource,
125
124
  vercelPkgPathRegex: () => import_chunk_M3GBKLGE.vercelPkgPathRegex,
126
- version: () => import_chunk_ZNH4C3NA.version,
125
+ version: () => import_chunk_WVYKW7GY.version,
127
126
  warnOnce: () => import_chunk_DTPFRZWV.warnOnce,
128
- wasm: () => import_chunk_LO3USXOJ.wasm_exports,
127
+ wasm: () => import_chunk_YTJI3IQD.wasm_exports,
129
128
  wasmSchemaEngineLoader: () => import_chunk_SBUSVJCV.wasmSchemaEngineLoader
130
129
  });
131
130
  module.exports = __toCommonJS(index_exports);
132
- var import_chunk_356GLSZQ = require("./chunk-356GLSZQ.js");
131
+ var import_chunk_KII46GGU = require("./chunk-KII46GGU.js");
133
132
  var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
134
- var import_chunk_PKOQQT7I = require("./chunk-PKOQQT7I.js");
135
- var import_chunk_5I4ERIIY = require("./chunk-5I4ERIIY.js");
133
+ var import_chunk_GH2WAX5Y = require("./chunk-GH2WAX5Y.js");
136
134
  var import_chunk_GJSFP4V4 = require("./chunk-GJSFP4V4.js");
137
135
  var import_chunk_X3P4J7WW = require("./chunk-X3P4J7WW.js");
138
136
  var import_chunk_LRU47BGE = require("./chunk-LRU47BGE.js");
@@ -140,6 +138,7 @@ var import_chunk_PFYALFCY = require("./chunk-PFYALFCY.js");
140
138
  var import_chunk_SP2ETLT2 = require("./chunk-SP2ETLT2.js");
141
139
  var import_chunk_5SAWCTGN = require("./chunk-5SAWCTGN.js");
142
140
  var import_chunk_ANU3HEGF = require("./chunk-ANU3HEGF.js");
141
+ var import_chunk_5I4ERIIY = require("./chunk-5I4ERIIY.js");
143
142
  var import_chunk_2SDPW6AX = require("./chunk-2SDPW6AX.js");
144
143
  var import_chunk_GXW4NTU2 = require("./chunk-GXW4NTU2.js");
145
144
  var import_chunk_5FJ3MENK = require("./chunk-5FJ3MENK.js");
@@ -159,15 +158,14 @@ var import_chunk_5BRXEOYH = require("./chunk-5BRXEOYH.js");
159
158
  var import_chunk_J77ZIDXB = require("./chunk-J77ZIDXB.js");
160
159
  var import_chunk_CUD726EK = require("./chunk-CUD726EK.js");
161
160
  var import_chunk_BERN76ZI = require("./chunk-BERN76ZI.js");
162
- var import_chunk_GZLJZGHX = require("./chunk-GZLJZGHX.js");
161
+ var import_chunk_NYNXYKR4 = require("./chunk-NYNXYKR4.js");
163
162
  var import_chunk_I6WLABB2 = require("./chunk-I6WLABB2.js");
164
163
  var import_chunk_7IKUTPWQ = require("./chunk-7IKUTPWQ.js");
165
164
  var import_chunk_WV4QHCSM = require("./chunk-WV4QHCSM.js");
166
- var import_chunk_L6KOIJJ5 = require("./chunk-L6KOIJJ5.js");
167
165
  var import_chunk_NIWBAJZV = require("./chunk-NIWBAJZV.js");
168
- var import_chunk_FCYHZHVW = require("./chunk-FCYHZHVW.js");
169
- var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
166
+ var import_chunk_R3J2O23S = require("./chunk-R3J2O23S.js");
170
167
  var import_chunk_ICFLO5JW = require("./chunk-ICFLO5JW.js");
168
+ var import_chunk_H4NI2RIK = require("./chunk-H4NI2RIK.js");
171
169
  var import_chunk_HHG4DGHC = require("./chunk-HHG4DGHC.js");
172
170
  var import_chunk_CRVLHWC5 = require("./chunk-CRVLHWC5.js");
173
171
  var import_chunk_TQCLUNM2 = require("./chunk-TQCLUNM2.js");
@@ -180,22 +178,22 @@ var import_chunk_IL7PSY44 = require("./chunk-IL7PSY44.js");
180
178
  var import_chunk_DODIJPCS = require("./chunk-DODIJPCS.js");
181
179
  var import_chunk_2GPDFPDR = require("./chunk-2GPDFPDR.js");
182
180
  var import_chunk_Q75TMXCR = require("./chunk-Q75TMXCR.js");
183
- var import_chunk_MWYD47FO = require("./chunk-MWYD47FO.js");
184
- var import_chunk_CHSNY362 = require("./chunk-CHSNY362.js");
185
- var import_chunk_RUO3F4H4 = require("./chunk-RUO3F4H4.js");
181
+ var import_chunk_4EBYVRVI = require("./chunk-4EBYVRVI.js");
182
+ var import_chunk_2XNDOWO6 = require("./chunk-2XNDOWO6.js");
183
+ var import_chunk_WBO42OIB = require("./chunk-WBO42OIB.js");
186
184
  var import_chunk_TCDF53CN = require("./chunk-TCDF53CN.js");
187
185
  var import_chunk_D4VZUY3O = require("./chunk-D4VZUY3O.js");
188
- var import_chunk_65DIYDY6 = require("./chunk-65DIYDY6.js");
189
- var import_chunk_GH4ZKRQK = require("./chunk-GH4ZKRQK.js");
186
+ var import_chunk_GYHA3GHN = require("./chunk-GYHA3GHN.js");
187
+ var import_chunk_A7IDAWPQ = require("./chunk-A7IDAWPQ.js");
190
188
  var import_chunk_WSZXPLJQ = require("./chunk-WSZXPLJQ.js");
191
189
  var import_chunk_R6QH57HZ = require("./chunk-R6QH57HZ.js");
192
190
  var import_chunk_C47SCASR = require("./chunk-C47SCASR.js");
193
- var import_chunk_DYAIRSK2 = require("./chunk-DYAIRSK2.js");
194
- var import_chunk_ZNH4C3NA = require("./chunk-ZNH4C3NA.js");
191
+ var import_chunk_QCTWBDAR = require("./chunk-QCTWBDAR.js");
192
+ var import_chunk_WVYKW7GY = require("./chunk-WVYKW7GY.js");
195
193
  var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
196
194
  var import_chunk_DTPFRZWV = require("./chunk-DTPFRZWV.js");
197
- var import_chunk_LO3USXOJ = require("./chunk-LO3USXOJ.js");
198
- var import_chunk_S3WFRJI3 = require("./chunk-S3WFRJI3.js");
195
+ var import_chunk_YTJI3IQD = require("./chunk-YTJI3IQD.js");
196
+ var import_chunk_4CRIENYJ = require("./chunk-4CRIENYJ.js");
199
197
  var import_chunk_6JE6QGSJ = require("./chunk-6JE6QGSJ.js");
200
198
  var import_chunk_NBWRGVYR = require("./chunk-NBWRGVYR.js");
201
199
  var import_chunk_ARC7TW3L = require("./chunk-ARC7TW3L.js");
@@ -18,10 +18,10 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var canPrompt_exports = {};
20
20
  __export(canPrompt_exports, {
21
- canPrompt: () => import_chunk_FCYHZHVW.canPrompt
21
+ canPrompt: () => import_chunk_R3J2O23S.canPrompt
22
22
  });
23
23
  module.exports = __toCommonJS(canPrompt_exports);
24
- var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
25
- var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
24
+ var import_chunk_R3J2O23S = require("../chunk-R3J2O23S.js");
26
25
  var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
26
+ var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
27
27
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,9 +18,9 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var getVersionFromPackageJson_exports = {};
20
20
  __export(getVersionFromPackageJson_exports, {
21
- version: () => import_chunk_ZNH4C3NA.version
21
+ version: () => import_chunk_WVYKW7GY.version
22
22
  });
23
23
  module.exports = __toCommonJS(getVersionFromPackageJson_exports);
24
- var import_chunk_ZNH4C3NA = require("../chunk-ZNH4C3NA.js");
25
- var import_chunk_S3WFRJI3 = require("../chunk-S3WFRJI3.js");
24
+ var import_chunk_WVYKW7GY = require("../chunk-WVYKW7GY.js");
25
+ var import_chunk_4CRIENYJ = require("../chunk-4CRIENYJ.js");
26
26
  var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");
@@ -18,15 +18,15 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var handlePanic_exports = {};
20
20
  __export(handlePanic_exports, {
21
- handlePanic: () => import_chunk_GZLJZGHX.handlePanic
21
+ handlePanic: () => import_chunk_NYNXYKR4.handlePanic
22
22
  });
23
23
  module.exports = __toCommonJS(handlePanic_exports);
24
- var import_chunk_GZLJZGHX = require("../chunk-GZLJZGHX.js");
24
+ var import_chunk_NYNXYKR4 = require("../chunk-NYNXYKR4.js");
25
25
  var import_chunk_I6WLABB2 = require("../chunk-I6WLABB2.js");
26
26
  var import_chunk_7IKUTPWQ = require("../chunk-7IKUTPWQ.js");
27
- var import_chunk_FCYHZHVW = require("../chunk-FCYHZHVW.js");
28
- var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
27
+ var import_chunk_R3J2O23S = require("../chunk-R3J2O23S.js");
29
28
  var import_chunk_ICFLO5JW = require("../chunk-ICFLO5JW.js");
29
+ var import_chunk_H4NI2RIK = require("../chunk-H4NI2RIK.js");
30
30
  var import_chunk_YXCPS3WU = require("../chunk-YXCPS3WU.js");
31
31
  var import_chunk_XKZ6CBLA = require("../chunk-XKZ6CBLA.js");
32
32
  var import_chunk_LMVSIVKQ = require("../chunk-LMVSIVKQ.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_LO3USXOJ.prismaSchemaWasm,
22
- prismaSchemaWasmVersion: () => import_chunk_LO3USXOJ.prismaSchemaWasmVersion,
23
- schemaEngineWasmVersion: () => import_chunk_LO3USXOJ.schemaEngineWasmVersion
21
+ prismaSchemaWasm: () => import_chunk_YTJI3IQD.prismaSchemaWasm,
22
+ prismaSchemaWasmVersion: () => import_chunk_YTJI3IQD.prismaSchemaWasmVersion,
23
+ schemaEngineWasmVersion: () => import_chunk_YTJI3IQD.schemaEngineWasmVersion
24
24
  });
25
25
  module.exports = __toCommonJS(wasm_exports);
26
- var import_chunk_LO3USXOJ = require("./chunk-LO3USXOJ.js");
27
- var import_chunk_S3WFRJI3 = require("./chunk-S3WFRJI3.js");
26
+ var import_chunk_YTJI3IQD = require("./chunk-YTJI3IQD.js");
27
+ var import_chunk_4CRIENYJ = require("./chunk-4CRIENYJ.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": "7.2.0-dev.12",
3
+ "version": "7.2.0-dev.14",
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": "7.2.0-2.e042035cb3c6e24bbedc3e886c89675fbd6145e1",
71
71
  "arg": "5.0.2",
72
72
  "prompts": "2.4.2",
73
- "@prisma/config": "7.2.0-dev.12",
74
- "@prisma/debug": "7.2.0-dev.12",
75
- "@prisma/dmmf": "7.2.0-dev.12",
76
- "@prisma/driver-adapter-utils": "7.2.0-dev.12",
77
- "@prisma/fetch-engine": "7.2.0-dev.12",
78
- "@prisma/engines": "7.2.0-dev.12",
79
- "@prisma/generator": "7.2.0-dev.12",
80
- "@prisma/generator-helper": "7.2.0-dev.12",
81
- "@prisma/schema-files-loader": "7.2.0-dev.12",
82
- "@prisma/get-platform": "7.2.0-dev.12"
73
+ "@prisma/config": "7.2.0-dev.14",
74
+ "@prisma/debug": "7.2.0-dev.14",
75
+ "@prisma/dmmf": "7.2.0-dev.14",
76
+ "@prisma/fetch-engine": "7.2.0-dev.14",
77
+ "@prisma/driver-adapter-utils": "7.2.0-dev.14",
78
+ "@prisma/engines": "7.2.0-dev.14",
79
+ "@prisma/generator": "7.2.0-dev.14",
80
+ "@prisma/generator-helper": "7.2.0-dev.14",
81
+ "@prisma/get-platform": "7.2.0-dev.14",
82
+ "@prisma/schema-files-loader": "7.2.0-dev.14"
83
83
  },
84
84
  "peerDependencies": {
85
85
  "typescript": ">=5.4.0"
@@ -1,125 +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_L6KOIJJ5_exports = {};
30
- __export(chunk_L6KOIJJ5_exports, {
31
- LineStream: () => LineStream,
32
- byline: () => byline,
33
- createLineStream: () => createLineStream,
34
- createStream: () => createStream
35
- });
36
- module.exports = __toCommonJS(chunk_L6KOIJJ5_exports);
37
- var import_stream = __toESM(require("stream"));
38
- var import_util = __toESM(require("util"));
39
- function byline(readStream, options) {
40
- return createStream(readStream, options);
41
- }
42
- function createStream(readStream, options) {
43
- if (readStream) {
44
- return createLineStream(readStream, options);
45
- } else {
46
- return new LineStream(options);
47
- }
48
- }
49
- function createLineStream(readStream, options) {
50
- if (!readStream) {
51
- throw new Error("expected readStream");
52
- }
53
- if (!readStream.readable) {
54
- throw new Error("readStream must be readable");
55
- }
56
- const ls = new LineStream(options);
57
- readStream.pipe(ls);
58
- return ls;
59
- }
60
- function LineStream(options) {
61
- import_stream.default.Transform.call(this, options);
62
- options = options || {};
63
- this._readableState.objectMode = true;
64
- this._lineBuffer = [];
65
- this._keepEmptyLines = options.keepEmptyLines || false;
66
- this._lastChunkEndedWithCR = false;
67
- this.on("pipe", function(src) {
68
- if (!this.encoding) {
69
- if (src instanceof import_stream.default.Readable) {
70
- this.encoding = src._readableState.encoding;
71
- }
72
- }
73
- });
74
- }
75
- import_util.default.inherits(LineStream, import_stream.default.Transform);
76
- LineStream.prototype._transform = function(chunk, encoding, done) {
77
- encoding = encoding || "utf8";
78
- if (Buffer.isBuffer(chunk)) {
79
- if (encoding == "buffer") {
80
- chunk = chunk.toString();
81
- encoding = "utf8";
82
- } else {
83
- chunk = chunk.toString(encoding);
84
- }
85
- }
86
- this._chunkEncoding = encoding;
87
- const lines = chunk.split(/\r\n|\r|\n/g);
88
- if (this._lastChunkEndedWithCR && chunk[0] == "\n") {
89
- lines.shift();
90
- }
91
- if (this._lineBuffer.length > 0) {
92
- this._lineBuffer[this._lineBuffer.length - 1] += lines[0];
93
- lines.shift();
94
- }
95
- this._lastChunkEndedWithCR = chunk[chunk.length - 1] == "\r";
96
- this._lineBuffer = this._lineBuffer.concat(lines);
97
- this._pushBuffer(encoding, 1, done);
98
- };
99
- LineStream.prototype._pushBuffer = function(encoding, keep, done) {
100
- while (this._lineBuffer.length > keep) {
101
- const line = this._lineBuffer.shift();
102
- if (this._keepEmptyLines || line.length > 0) {
103
- if (!this.push(this._reencode(line, encoding))) {
104
- const self = this;
105
- setImmediate(function() {
106
- self._pushBuffer(encoding, keep, done);
107
- });
108
- return;
109
- }
110
- }
111
- }
112
- done();
113
- };
114
- LineStream.prototype._flush = function(done) {
115
- this._pushBuffer(this._chunkEncoding, 0, done);
116
- };
117
- LineStream.prototype._reencode = function(line, chunkEncoding) {
118
- if (this.encoding && this.encoding != chunkEncoding) {
119
- return Buffer.from(line, chunkEncoding).toString(this.encoding);
120
- } else if (this.encoding) {
121
- return line;
122
- } else {
123
- return Buffer.from(line, chunkEncoding);
124
- }
125
- };
@@ -1,4 +0,0 @@
1
- export default function byline(readStream: any, options?: any): any;
2
- export declare function createStream(readStream: any, options: any): any;
3
- export declare function createLineStream(readStream: any, options: any): any;
4
- export declare function LineStream(this: any, options: any): void;
@@ -1,28 +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 byline_exports = {};
20
- __export(byline_exports, {
21
- LineStream: () => import_chunk_L6KOIJJ5.LineStream,
22
- createLineStream: () => import_chunk_L6KOIJJ5.createLineStream,
23
- createStream: () => import_chunk_L6KOIJJ5.createStream,
24
- default: () => import_chunk_L6KOIJJ5.byline
25
- });
26
- module.exports = __toCommonJS(byline_exports);
27
- var import_chunk_L6KOIJJ5 = require("../chunk-L6KOIJJ5.js");
28
- var import_chunk_4VNS5WPM = require("../chunk-4VNS5WPM.js");