@prisma/internals 7.2.0-dev.12 → 7.2.0-dev.13
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/{chunk-356GLSZQ.js → chunk-E3EI3KEB.js} +17 -17
- package/dist/{chunk-PKOQQT7I.js → chunk-GH2WAX5Y.js} +4 -4
- package/dist/{chunk-ZNH4C3NA.js → chunk-LX3KVJZX.js} +5 -5
- package/dist/{chunk-GH4ZKRQK.js → chunk-M4ENLU24.js} +8 -8
- package/dist/{chunk-GZLJZGHX.js → chunk-NYNXYKR4.js} +5 -5
- package/dist/{chunk-RUO3F4H4.js → chunk-PM3QSCL7.js} +8 -8
- package/dist/{chunk-FCYHZHVW.js → chunk-R3J2O23S.js} +4 -4
- package/dist/{chunk-LO3USXOJ.js → chunk-RZ2C74HT.js} +5 -5
- package/dist/{chunk-65DIYDY6.js → chunk-SKOGWVB4.js} +8 -8
- package/dist/{chunk-MWYD47FO.js → chunk-VQ75KELB.js} +5 -5
- package/dist/{chunk-S3WFRJI3.js → chunk-XXXA2XRC.js} +4 -4
- package/dist/{chunk-VHBRLEFN.js → chunk-Z6LF53TA.js} +5 -5
- package/dist/{chunk-CHSNY362.js → chunk-ZRWBH33R.js} +7 -7
- package/dist/{chunk-DYAIRSK2.js → chunk-ZZNS7FSS.js} +5 -5
- package/dist/cli/checkUnsupportedDataProxy.js +17 -18
- package/dist/cli/schemaContext.js +18 -19
- package/dist/engine-commands/errorHelpers.js +4 -4
- package/dist/engine-commands/formatSchema.js +16 -17
- package/dist/engine-commands/getConfig.js +7 -7
- package/dist/engine-commands/getDmmf.js +7 -7
- package/dist/engine-commands/index.js +23 -24
- package/dist/engine-commands/lintSchema.js +8 -8
- package/dist/engine-commands/mergeSchemas.js +7 -7
- package/dist/engine-commands/validate.js +7 -7
- package/dist/get-generators/getGenerators.js +19 -20
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +3 -3
- package/dist/index.d.ts +0 -1
- package/dist/index.js +34 -36
- package/dist/utils/canPrompt.js +3 -3
- package/dist/utils/getVersionFromPackageJson.js +3 -3
- package/dist/utils/handlePanic.js +4 -4
- package/dist/wasm.js +5 -5
- package/package.json +11 -11
- package/dist/chunk-L6KOIJJ5.js +0 -125
- package/dist/utils/byline.d.ts +0 -4
- 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: () =>
|
|
37
|
-
checkUnsupportedDataProxy: () =>
|
|
35
|
+
canPrompt: () => import_chunk_R3J2O23S.canPrompt,
|
|
36
|
+
checkUnsupportedDataProxy: () => import_chunk_E3EI3KEB.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: () =>
|
|
48
|
+
formatSchema: () => import_chunk_E3EI3KEB.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: () =>
|
|
53
|
+
getBinaryTargetForCurrentPlatform: () => import_chunk_E3EI3KEB.getBinaryTargetForCurrentPlatform,
|
|
55
54
|
getCLIPathHash: () => import_chunk_TCDF53CN.getCLIPathHash,
|
|
56
55
|
getCommandWithExecutor: () => import_chunk_CUD726EK.getCommandWithExecutor,
|
|
57
|
-
getConfig: () =>
|
|
58
|
-
getDMMF: () =>
|
|
56
|
+
getConfig: () => import_chunk_SKOGWVB4.getConfig,
|
|
57
|
+
getDMMF: () => import_chunk_M4ENLU24.getDMMF,
|
|
59
58
|
getEngineVersion: () => import_chunk_Q75TMXCR.getEngineVersion,
|
|
60
59
|
getEnginesInfo: () => import_chunk_2GPDFPDR.getEnginesInfo,
|
|
61
|
-
getGenerator: () =>
|
|
60
|
+
getGenerator: () => import_chunk_E3EI3KEB.getGenerator,
|
|
62
61
|
getGeneratorSuccessMessage: () => import_chunk_ARC7TW3L.getGeneratorSuccessMessage,
|
|
63
|
-
getGenerators: () =>
|
|
64
|
-
getLintWarningsAsText: () =>
|
|
62
|
+
getGenerators: () => import_chunk_E3EI3KEB.getGenerators,
|
|
63
|
+
getLintWarningsAsText: () => import_chunk_VQ75KELB.getLintWarningsAsText,
|
|
65
64
|
getPackedPackage: () => import_chunk_BXIKQUP5.getPackedPackage,
|
|
66
65
|
getProjectHash: () => import_chunk_TCDF53CN.getProjectHash,
|
|
67
|
-
getSchemaDatasourceProvider: () =>
|
|
66
|
+
getSchemaDatasourceProvider: () => import_chunk_E3EI3KEB.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: () =>
|
|
73
|
-
handlePanic: () =>
|
|
71
|
+
handleLintPanic: () => import_chunk_VQ75KELB.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: () =>
|
|
94
|
-
loadSchemaContext: () =>
|
|
92
|
+
lintSchema: () => import_chunk_VQ75KELB.lintSchema,
|
|
93
|
+
loadSchemaContext: () => import_chunk_E3EI3KEB.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: () =>
|
|
100
|
+
mergeSchemas: () => import_chunk_ZRWBH33R.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: () =>
|
|
110
|
+
processSchemaResult: () => import_chunk_E3EI3KEB.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: () =>
|
|
122
|
+
validate: () => import_chunk_PM3QSCL7.validate,
|
|
124
123
|
validatePrismaConfigWithDatasource: () => import_chunk_5SAWCTGN.validatePrismaConfigWithDatasource,
|
|
125
124
|
vercelPkgPathRegex: () => import_chunk_M3GBKLGE.vercelPkgPathRegex,
|
|
126
|
-
version: () =>
|
|
125
|
+
version: () => import_chunk_LX3KVJZX.version,
|
|
127
126
|
warnOnce: () => import_chunk_DTPFRZWV.warnOnce,
|
|
128
|
-
wasm: () =>
|
|
127
|
+
wasm: () => import_chunk_RZ2C74HT.wasm_exports,
|
|
129
128
|
wasmSchemaEngineLoader: () => import_chunk_SBUSVJCV.wasmSchemaEngineLoader
|
|
130
129
|
});
|
|
131
130
|
module.exports = __toCommonJS(index_exports);
|
|
132
|
-
var
|
|
131
|
+
var import_chunk_E3EI3KEB = require("./chunk-E3EI3KEB.js");
|
|
133
132
|
var import_chunk_X77CS5RK = require("./chunk-X77CS5RK.js");
|
|
134
|
-
var
|
|
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
|
|
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
|
|
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
|
|
184
|
-
var
|
|
185
|
-
var
|
|
181
|
+
var import_chunk_VQ75KELB = require("./chunk-VQ75KELB.js");
|
|
182
|
+
var import_chunk_ZRWBH33R = require("./chunk-ZRWBH33R.js");
|
|
183
|
+
var import_chunk_PM3QSCL7 = require("./chunk-PM3QSCL7.js");
|
|
186
184
|
var import_chunk_TCDF53CN = require("./chunk-TCDF53CN.js");
|
|
187
185
|
var import_chunk_D4VZUY3O = require("./chunk-D4VZUY3O.js");
|
|
188
|
-
var
|
|
189
|
-
var
|
|
186
|
+
var import_chunk_SKOGWVB4 = require("./chunk-SKOGWVB4.js");
|
|
187
|
+
var import_chunk_M4ENLU24 = require("./chunk-M4ENLU24.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
|
|
194
|
-
var
|
|
191
|
+
var import_chunk_ZZNS7FSS = require("./chunk-ZZNS7FSS.js");
|
|
192
|
+
var import_chunk_LX3KVJZX = require("./chunk-LX3KVJZX.js");
|
|
195
193
|
var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
|
|
196
194
|
var import_chunk_DTPFRZWV = require("./chunk-DTPFRZWV.js");
|
|
197
|
-
var
|
|
198
|
-
var
|
|
195
|
+
var import_chunk_RZ2C74HT = require("./chunk-RZ2C74HT.js");
|
|
196
|
+
var import_chunk_XXXA2XRC = require("./chunk-XXXA2XRC.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");
|
package/dist/utils/canPrompt.js
CHANGED
|
@@ -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: () =>
|
|
21
|
+
canPrompt: () => import_chunk_R3J2O23S.canPrompt
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(canPrompt_exports);
|
|
24
|
-
var
|
|
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: () =>
|
|
21
|
+
version: () => import_chunk_LX3KVJZX.version
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(getVersionFromPackageJson_exports);
|
|
24
|
-
var
|
|
25
|
-
var
|
|
24
|
+
var import_chunk_LX3KVJZX = require("../chunk-LX3KVJZX.js");
|
|
25
|
+
var import_chunk_XXXA2XRC = require("../chunk-XXXA2XRC.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: () =>
|
|
21
|
+
handlePanic: () => import_chunk_NYNXYKR4.handlePanic
|
|
22
22
|
});
|
|
23
23
|
module.exports = __toCommonJS(handlePanic_exports);
|
|
24
|
-
var
|
|
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
|
|
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: () =>
|
|
22
|
-
prismaSchemaWasmVersion: () =>
|
|
23
|
-
schemaEngineWasmVersion: () =>
|
|
21
|
+
prismaSchemaWasm: () => import_chunk_RZ2C74HT.prismaSchemaWasm,
|
|
22
|
+
prismaSchemaWasmVersion: () => import_chunk_RZ2C74HT.prismaSchemaWasmVersion,
|
|
23
|
+
schemaEngineWasmVersion: () => import_chunk_RZ2C74HT.schemaEngineWasmVersion
|
|
24
24
|
});
|
|
25
25
|
module.exports = __toCommonJS(wasm_exports);
|
|
26
|
-
var
|
|
27
|
-
var
|
|
26
|
+
var import_chunk_RZ2C74HT = require("./chunk-RZ2C74HT.js");
|
|
27
|
+
var import_chunk_XXXA2XRC = require("./chunk-XXXA2XRC.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.
|
|
3
|
+
"version": "7.2.0-dev.13",
|
|
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.
|
|
74
|
-
"@prisma/debug": "7.2.0-dev.
|
|
75
|
-
"@prisma/dmmf": "7.2.0-dev.
|
|
76
|
-
"@prisma/driver-adapter-utils": "7.2.0-dev.
|
|
77
|
-
"@prisma/
|
|
78
|
-
"@prisma/
|
|
79
|
-
"@prisma/generator": "7.2.0-dev.
|
|
80
|
-
"@prisma/
|
|
81
|
-
"@prisma/schema-files-loader": "7.2.0-dev.
|
|
82
|
-
"@prisma/
|
|
73
|
+
"@prisma/config": "7.2.0-dev.13",
|
|
74
|
+
"@prisma/debug": "7.2.0-dev.13",
|
|
75
|
+
"@prisma/dmmf": "7.2.0-dev.13",
|
|
76
|
+
"@prisma/driver-adapter-utils": "7.2.0-dev.13",
|
|
77
|
+
"@prisma/engines": "7.2.0-dev.13",
|
|
78
|
+
"@prisma/fetch-engine": "7.2.0-dev.13",
|
|
79
|
+
"@prisma/generator": "7.2.0-dev.13",
|
|
80
|
+
"@prisma/get-platform": "7.2.0-dev.13",
|
|
81
|
+
"@prisma/schema-files-loader": "7.2.0-dev.13",
|
|
82
|
+
"@prisma/generator-helper": "7.2.0-dev.13"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|
|
85
85
|
"typescript": ">=5.4.0"
|
package/dist/chunk-L6KOIJJ5.js
DELETED
|
@@ -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
|
-
};
|
package/dist/utils/byline.d.ts
DELETED
|
@@ -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;
|
package/dist/utils/byline.js
DELETED
|
@@ -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");
|