@prisma/internals 6.6.0-dev.24 → 6.6.0-dev.26
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/Generator.js +3 -3
- package/dist/WasmPanicRegistry.js +3 -3
- package/dist/{chunk-YXD4CJDK.js → chunk-23MPYLL6.js} +27 -27
- package/dist/{chunk-WWAWV7DQ.js → chunk-2ESYSVXG.js} +3 -27
- package/dist/{chunk-LKTTJWFT.js → chunk-2R6DII47.js} +5 -5
- package/dist/{chunk-5SN5JBT2.js → chunk-2T4NJDHK.js} +22 -22
- package/dist/{chunk-7XNZDY2V.js → chunk-2WR3PY2L.js} +60 -60
- package/dist/{chunk-6TXVGFQA.js → chunk-4URMCTG6.js} +6 -6
- package/dist/{chunk-ZVRFFLZI.js → chunk-6GYVGU5I.js} +6 -6
- package/dist/{chunk-OZ67AQ5E.js → chunk-6NS6O6L4.js} +8 -8
- package/dist/{chunk-TZCE3PWZ.js → chunk-6TVEFPKE.js} +7 -7
- package/dist/{chunk-MGZOEY6N.js → chunk-72UZXEBG.js} +6 -6
- package/dist/{chunk-JXWKKKDF.js → chunk-7WZO4C7P.js} +319 -319
- package/dist/{chunk-VRT7T6MF.js → chunk-BWGDP6B5.js} +94 -105
- package/dist/{chunk-ATFQZVBS.js → chunk-CCQRDM7X.js} +10 -11
- package/dist/{chunk-BVCREFE3.js → chunk-DBHRA3FT.js} +9 -9
- package/dist/{chunk-PIPE5DSU.js → chunk-DGZO4GAJ.js} +6 -6
- package/dist/{chunk-ZYW3HGSH.js → chunk-DYVL6P7F.js} +7 -8
- package/dist/{chunk-NJQWZ447.js → chunk-EIERU2IM.js} +6 -6
- package/dist/{chunk-KTBNIQ7N.js → chunk-EORSBI5P.js} +8 -8
- package/dist/{chunk-77IC3DNO.js → chunk-ETNCBIDF.js} +8 -8
- package/dist/{chunk-CZL7DCL2.js → chunk-EWKNNPH2.js} +6 -6
- package/dist/{chunk-QKRZQKZ4.js → chunk-EZQCZVUB.js} +5 -5
- package/dist/{chunk-SHJNE6T7.js → chunk-F46BPOEO.js} +7 -7
- package/dist/{chunk-M7EVD7PF.js → chunk-FA73SMDO.js} +19 -19
- package/dist/{chunk-77BIZNY2.js → chunk-G734OYOG.js} +18 -18
- package/dist/{chunk-S57RMXZW.js → chunk-GHHABGYW.js} +5 -5
- package/dist/{chunk-3VBZ5DIO.js → chunk-GJTVX7D7.js} +17 -17
- package/dist/{chunk-Z5SL4ZNA.js → chunk-GSUMZPVL.js} +18 -18
- package/dist/{chunk-3LJ3PARU.js → chunk-H3PEAQWT.js} +19 -19
- package/dist/{chunk-CHMJ5V7I.js → chunk-H5XZKD22.js} +7 -7
- package/dist/{chunk-ONHKZPSV.js → chunk-IKQFIRRX.js} +6 -6
- package/dist/{chunk-6HZ4Q3EX.js → chunk-INRYNZGK.js} +5 -5
- package/dist/{chunk-4PGRSJWB.js → chunk-IVUMKFGZ.js} +18 -18
- package/dist/{chunk-FIFK6NVL.js → chunk-JRVJL4KD.js} +9 -9
- package/dist/{chunk-4E7A3GDU.js → chunk-KR25OQ6F.js} +5 -5
- package/dist/{chunk-XLGODPZH.js → chunk-KTB2HCCO.js} +10 -10
- package/dist/{chunk-C2WD2XUT.js → chunk-KYMYLH7F.js} +971 -988
- package/dist/{chunk-I7IEEULS.js → chunk-LSYWDURQ.js} +5 -5
- package/dist/{chunk-AZNLB67U.js → chunk-MBB2KJWX.js} +5 -5
- package/dist/{chunk-ZSBSOL5F.js → chunk-MG3I677L.js} +319 -319
- package/dist/{chunk-TATYN3T2.js → chunk-MM4PIVNT.js} +10 -10
- package/dist/{chunk-AX46XUDV.js → chunk-N4XGBEVK.js} +18 -18
- package/dist/{chunk-KQOJB3ZW.js → chunk-NLYH6XB4.js} +10 -10
- package/dist/{chunk-5RV3EMX6.js → chunk-ORR3O5RU.js} +57 -57
- package/dist/{chunk-Q22BLLK3.js → chunk-PORKIX5G.js} +6 -6
- package/dist/{chunk-GXDYIY4M.js → chunk-RAYPCPVU.js} +56 -56
- package/dist/{chunk-7YOCMGWK.js → chunk-SCSDDDCW.js} +5 -5
- package/dist/{chunk-UNUCCAXA.js → chunk-SYCT2PLK.js} +5 -5
- package/dist/{chunk-Y3OWT3K2.js → chunk-T7EWI7A3.js} +7 -7
- package/dist/{chunk-XLF2J4OH.js → chunk-TEVID6C5.js} +7 -7
- package/dist/{chunk-ZKAW5JSN.js → chunk-UETN3RLH.js} +5 -5
- package/dist/{chunk-BGFWFIPR.js → chunk-UJ725NXW.js} +5 -5
- package/dist/{chunk-53LS3WUO.js → chunk-V37JTUKZ.js} +116 -116
- package/dist/{chunk-HFN2WZUJ.js → chunk-VJVTJYO6.js} +8 -8
- package/dist/{chunk-V2ZF7ETH.js → chunk-VLGS4WJI.js} +66 -68
- package/dist/{chunk-5Q4NYGQV.js → chunk-VZJZYI6E.js} +5 -5
- package/dist/{chunk-5MCWLJSR.js → chunk-WEATFJ6G.js} +10 -10
- package/dist/{chunk-ADLIKZEN.js → chunk-WJ7TBF4E.js} +17 -17
- package/dist/{chunk-BPZFDGKN.js → chunk-WXRVYSYN.js} +4 -7
- package/dist/{chunk-L6GBFCXG.js → chunk-XXDGZSJ4.js} +12 -12
- package/dist/{chunk-3ERIN7PH.js → chunk-YBYBY7QI.js} +8 -8
- package/dist/{chunk-2MWIMEFK.js → chunk-Z4ALPGAK.js} +6 -6
- package/dist/{chunk-3BND5XB4.js → chunk-ZCVVZ6U6.js} +11 -11
- package/dist/{chunk-PFLLVWZX.js → chunk-ZGAIRZ32.js} +5 -5
- package/dist/cli/Help.js +1 -1
- package/dist/cli/checkUnsupportedDataProxy.js +55 -55
- package/dist/cli/getGeneratorSuccessMessage.js +1 -1
- package/dist/cli/getSchema.js +59 -59
- package/dist/cli/getTypescriptVersion.js +1 -1
- package/dist/cli/hashes.js +55 -55
- package/dist/cli/utils.js +5 -5
- package/dist/client/getClientEngineType.js +1 -1
- package/dist/convertCredentials.js +1 -1
- package/dist/dotenvExpand.js +1 -1
- package/dist/engine-commands/errorHelpers.js +5 -5
- package/dist/engine-commands/formatSchema.js +54 -54
- package/dist/engine-commands/getConfig.js +15 -15
- package/dist/engine-commands/getDmmf.js +12 -12
- package/dist/engine-commands/getEngineVersion.js +10 -10
- package/dist/engine-commands/getEnginesMetaInfo.js +13 -13
- package/dist/engine-commands/index.js +65 -65
- package/dist/engine-commands/lintSchema.js +11 -11
- package/dist/engine-commands/mergeSchemas.js +12 -12
- package/dist/engine-commands/queryEngineCommons.js +7 -7
- package/dist/engine-commands/relativizePathInPSLError.js +1 -1
- package/dist/engine-commands/validate.js +12 -12
- package/dist/errorReporting.js +7 -7
- package/dist/get-generators/generatorResolvers/generatorResolvers.js +54 -54
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.js +7 -7
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.js +54 -54
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.js +4 -4
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.js +1 -1
- package/dist/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.test.js +1 -1
- package/dist/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.js +55 -55
- package/dist/get-generators/getGenerators.js +57 -57
- package/dist/get-generators/utils/binaryTypeToEngineType.js +1 -1
- package/dist/get-generators/utils/check-feature-flags/checkFeatureFlags.js +1 -1
- package/dist/get-generators/utils/engineTypeToBinaryType.js +1 -1
- package/dist/get-generators/utils/fixBinaryTargets.js +1 -1
- package/dist/get-generators/utils/getBinaryPathsByVersion.js +4 -4
- package/dist/get-generators/utils/getEngineVersionForGenerator.js +1 -1
- package/dist/get-generators/utils/printGeneratorConfig.js +7 -7
- package/dist/getPackedPackage.js +9 -9
- package/dist/highlight/highlight.js +1 -1
- package/dist/highlight/languages/dml.js +1 -1
- package/dist/highlight/languages/sql.js +1 -1
- package/dist/highlight/prism.js +1 -1
- package/dist/highlight/theme.js +1 -1
- package/dist/index.js +113 -113
- package/dist/logger.js +9 -9
- package/dist/{multipart-parser-32AROPTR.js → multipart-parser-3E7JBBYS.js} +7 -7
- package/dist/panic.js +7 -7
- package/dist/resolveBinary.js +9 -9
- package/dist/resolveOutput.js +1 -1
- package/dist/schemaEngineCommands.js +12 -12
- package/dist/sendPanic.js +54 -54
- package/dist/utils/__tests__/isCi.test.js +1 -1
- package/dist/utils/__tests__/isInteractive.test.js +1 -1
- package/dist/utils/__tests__/maskSchema.test.js +1 -1
- package/dist/utils/assertAlways.js +1 -1
- package/dist/utils/assertNever.js +1 -1
- package/dist/utils/binaryTargetRegex.js +1 -1
- package/dist/utils/byline.js +1 -1
- package/dist/utils/callOnce.js +1 -1
- package/dist/utils/callOnce.test.js +1 -1
- package/dist/utils/canPrompt.js +1 -1
- package/dist/utils/chmodPlusX.js +1 -1
- package/dist/utils/cloudflareD1.js +4 -4
- package/dist/utils/drawBox.js +1 -1
- package/dist/utils/extractPreviewFeatures.js +1 -1
- package/dist/utils/formatTable.js +1 -1
- package/dist/utils/formatms.js +1 -1
- package/dist/utils/fs-functional.js +12 -12
- package/dist/utils/fs-utils.js +9 -9
- package/dist/utils/getCommandWithExecutor.js +4 -4
- package/dist/utils/getEnvPaths.js +54 -54
- package/dist/utils/getGitHubIssueUrl.js +4 -4
- package/dist/utils/getMigrateConfigDir.js +1 -1
- package/dist/utils/getVersionFromPackageJson.js +4 -4
- package/dist/utils/handleEngineLoadingErrors.js +1 -1
- package/dist/utils/handlePanic.js +54 -54
- package/dist/utils/hasOwnProperty.js +1 -1
- package/dist/utils/isCi.js +1 -1
- package/dist/utils/isCurrentBinInstalledGlobally.js +3 -3
- package/dist/utils/isInContainer.js +1 -1
- package/dist/utils/isInNpmLifecycleHook.js +1 -1
- package/dist/utils/isInteractive.js +1 -1
- package/dist/utils/isPromiseLike.js +1 -1
- package/dist/utils/isValidJsIdentifier.js +4 -4
- package/dist/utils/keyBy.js +1 -1
- package/dist/utils/link.js +3 -3
- package/dist/utils/load.js +3 -3
- package/dist/utils/loadEnvFile.js +54 -54
- package/dist/utils/mapKeys.js +1 -1
- package/dist/utils/mapObjectValues.js +1 -1
- package/dist/utils/maskSchema.js +1 -1
- package/dist/utils/max.js +1 -1
- package/dist/utils/max.test.js +1 -1
- package/dist/utils/maybeInGitHook.js +1 -1
- package/dist/utils/missingDatasource.js +4 -4
- package/dist/utils/missingGeneratorMessage.js +6 -6
- package/dist/utils/now.js +1 -1
- package/dist/utils/omit.js +1 -1
- package/dist/utils/parseAWSNodejsRuntimeEnvVarVersion.js +1 -1
- package/dist/utils/parseEnvValue.js +1 -1
- package/dist/utils/path.js +1 -1
- package/dist/utils/path.test.js +1 -1
- package/dist/utils/pick.js +1 -1
- package/dist/utils/printConfigWarnings.js +1 -1
- package/dist/utils/prismaPostgres.js +1 -1
- package/dist/utils/prismaPostgres.test.js +1 -1
- package/dist/utils/schemaFileInput.js +1 -1
- package/dist/utils/serializeQueryEngineName.js +1 -1
- package/dist/utils/setClassName.js +1 -1
- package/dist/utils/toSchemasContainer.js +1 -1
- package/dist/utils/tryLoadEnvs.js +6 -6
- package/dist/utils/unique.js +1 -1
- package/dist/utils/vercelPkgPathRegex.js +1 -1
- package/dist/warnOnce.js +4 -4
- package/dist/wasm.js +6 -6
- package/package.json +9 -9
@@ -26,13 +26,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_BWGDP6B5_exports = {};
|
30
|
+
__export(chunk_BWGDP6B5_exports, {
|
31
31
|
detect: () => detect,
|
32
32
|
getCommand: () => getCommand
|
33
33
|
});
|
34
|
-
module.exports = __toCommonJS(
|
35
|
-
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
34
|
+
module.exports = __toCommonJS(chunk_BWGDP6B5_exports);
|
36
35
|
var import_node_fs = __toESM(require("node:fs"));
|
37
36
|
var import_node_path = __toESM(require("node:path"));
|
38
37
|
var import_node_process = __toESM(require("node:process"));
|
@@ -1169,17 +1168,17 @@ var kExitEmitter = Symbol.for("signal-exit emitter");
|
|
1169
1168
|
var global$1 = globalThis;
|
1170
1169
|
var ObjectDefineProperty = Object.defineProperty.bind(Object);
|
1171
1170
|
var Emitter = class {
|
1171
|
+
emitted = {
|
1172
|
+
afterExit: false,
|
1173
|
+
exit: false
|
1174
|
+
};
|
1175
|
+
listeners = {
|
1176
|
+
afterExit: [],
|
1177
|
+
exit: []
|
1178
|
+
};
|
1179
|
+
count = 0;
|
1180
|
+
id = Math.random();
|
1172
1181
|
constructor() {
|
1173
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "emitted", {
|
1174
|
-
afterExit: false,
|
1175
|
-
exit: false
|
1176
|
-
});
|
1177
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "listeners", {
|
1178
|
-
afterExit: [],
|
1179
|
-
exit: []
|
1180
|
-
});
|
1181
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "count", 0);
|
1182
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "id", Math.random());
|
1183
1182
|
if (global$1[kExitEmitter]) {
|
1184
1183
|
return global$1[kExitEmitter];
|
1185
1184
|
}
|
@@ -1245,125 +1244,119 @@ var SignalExitFallback = class extends SignalExitBase {
|
|
1245
1244
|
unload() {
|
1246
1245
|
}
|
1247
1246
|
};
|
1248
|
-
var _hupSig, _emitter, _process, _originalProcessEmit, _originalProcessReallyExit, _sigListeners, _loaded, _SignalExit_instances, processReallyExit_fn, processEmit_fn;
|
1249
1247
|
var SignalExit = class extends SignalExitBase {
|
1248
|
+
// "SIGHUP" throws an `ENOSYS` error on Windows,
|
1249
|
+
// so use a supported signal instead
|
1250
|
+
/* c8 ignore start */
|
1251
|
+
#hupSig = process$1.platform === "win32" ? "SIGINT" : "SIGHUP";
|
1252
|
+
/* c8 ignore stop */
|
1253
|
+
#emitter = new Emitter();
|
1254
|
+
#process;
|
1255
|
+
#originalProcessEmit;
|
1256
|
+
#originalProcessReallyExit;
|
1257
|
+
#sigListeners = {};
|
1258
|
+
#loaded = false;
|
1250
1259
|
constructor(process2) {
|
1251
1260
|
super();
|
1252
|
-
|
1253
|
-
|
1254
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _emitter, new Emitter());
|
1255
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _process);
|
1256
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _originalProcessEmit);
|
1257
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _originalProcessReallyExit);
|
1258
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _sigListeners, {});
|
1259
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _loaded, false);
|
1260
|
-
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _process, process2);
|
1261
|
-
(0, import_chunk_WWAWV7DQ.__privateSet)(this, _sigListeners, {});
|
1261
|
+
this.#process = process2;
|
1262
|
+
this.#sigListeners = {};
|
1262
1263
|
for (const sig of signals) {
|
1263
|
-
|
1264
|
-
const listeners =
|
1265
|
-
let { count } =
|
1264
|
+
this.#sigListeners[sig] = () => {
|
1265
|
+
const listeners = this.#process.listeners(sig);
|
1266
|
+
let { count } = this.#emitter;
|
1266
1267
|
const p = process2;
|
1267
1268
|
if (typeof p.__signal_exit_emitter__ === "object" && typeof p.__signal_exit_emitter__.count === "number") {
|
1268
1269
|
count += p.__signal_exit_emitter__.count;
|
1269
1270
|
}
|
1270
1271
|
if (listeners.length === count) {
|
1271
1272
|
this.unload();
|
1272
|
-
const ret =
|
1273
|
-
const s = sig === "SIGHUP" ?
|
1273
|
+
const ret = this.#emitter.emit("exit", null, sig);
|
1274
|
+
const s = sig === "SIGHUP" ? this.#hupSig : sig;
|
1274
1275
|
if (!ret)
|
1275
1276
|
process2.kill(process2.pid, s);
|
1276
1277
|
}
|
1277
1278
|
};
|
1278
1279
|
}
|
1279
|
-
|
1280
|
-
|
1280
|
+
this.#originalProcessReallyExit = process2.reallyExit;
|
1281
|
+
this.#originalProcessEmit = process2.emit;
|
1281
1282
|
}
|
1282
1283
|
onExit(cb, opts) {
|
1283
|
-
if (!processOk(
|
1284
|
+
if (!processOk(this.#process)) {
|
1284
1285
|
return () => {
|
1285
1286
|
};
|
1286
1287
|
}
|
1287
|
-
if (
|
1288
|
+
if (this.#loaded === false) {
|
1288
1289
|
this.load();
|
1289
1290
|
}
|
1290
1291
|
const ev = opts?.alwaysLast ? "afterExit" : "exit";
|
1291
|
-
|
1292
|
+
this.#emitter.on(ev, cb);
|
1292
1293
|
return () => {
|
1293
|
-
|
1294
|
-
if (
|
1294
|
+
this.#emitter.removeListener(ev, cb);
|
1295
|
+
if (this.#emitter.listeners["exit"].length === 0 && this.#emitter.listeners["afterExit"].length === 0) {
|
1295
1296
|
this.unload();
|
1296
1297
|
}
|
1297
1298
|
};
|
1298
1299
|
}
|
1299
1300
|
load() {
|
1300
|
-
if (
|
1301
|
+
if (this.#loaded) {
|
1301
1302
|
return;
|
1302
1303
|
}
|
1303
|
-
|
1304
|
-
|
1304
|
+
this.#loaded = true;
|
1305
|
+
this.#emitter.count += 1;
|
1305
1306
|
for (const sig of signals) {
|
1306
1307
|
try {
|
1307
|
-
const fn =
|
1308
|
+
const fn = this.#sigListeners[sig];
|
1308
1309
|
if (fn)
|
1309
|
-
|
1310
|
+
this.#process.on(sig, fn);
|
1310
1311
|
} catch (_) {
|
1311
1312
|
}
|
1312
1313
|
}
|
1313
|
-
|
1314
|
-
return
|
1314
|
+
this.#process.emit = (ev, ...a) => {
|
1315
|
+
return this.#processEmit(ev, ...a);
|
1315
1316
|
};
|
1316
|
-
|
1317
|
-
return
|
1317
|
+
this.#process.reallyExit = (code) => {
|
1318
|
+
return this.#processReallyExit(code);
|
1318
1319
|
};
|
1319
1320
|
}
|
1320
1321
|
unload() {
|
1321
|
-
if (!
|
1322
|
+
if (!this.#loaded) {
|
1322
1323
|
return;
|
1323
1324
|
}
|
1324
|
-
|
1325
|
+
this.#loaded = false;
|
1325
1326
|
signals.forEach((sig) => {
|
1326
|
-
const listener =
|
1327
|
+
const listener = this.#sigListeners[sig];
|
1327
1328
|
if (!listener) {
|
1328
1329
|
throw new Error("Listener not defined for signal: " + sig);
|
1329
1330
|
}
|
1330
1331
|
try {
|
1331
|
-
|
1332
|
+
this.#process.removeListener(sig, listener);
|
1332
1333
|
} catch (_) {
|
1333
1334
|
}
|
1334
1335
|
});
|
1335
|
-
|
1336
|
-
|
1337
|
-
|
1338
|
-
}
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1343
|
-
|
1344
|
-
|
1345
|
-
|
1346
|
-
|
1347
|
-
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
if (ev === "exit" && processOk((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process))) {
|
1359
|
-
if (typeof args[0] === "number") {
|
1360
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).exitCode = args[0];
|
1336
|
+
this.#process.emit = this.#originalProcessEmit;
|
1337
|
+
this.#process.reallyExit = this.#originalProcessReallyExit;
|
1338
|
+
this.#emitter.count -= 1;
|
1339
|
+
}
|
1340
|
+
#processReallyExit(code) {
|
1341
|
+
if (!processOk(this.#process)) {
|
1342
|
+
return 0;
|
1343
|
+
}
|
1344
|
+
this.#process.exitCode = code || 0;
|
1345
|
+
this.#emitter.emit("exit", this.#process.exitCode, null);
|
1346
|
+
return this.#originalProcessReallyExit.call(this.#process, this.#process.exitCode);
|
1347
|
+
}
|
1348
|
+
#processEmit(ev, ...args) {
|
1349
|
+
const og = this.#originalProcessEmit;
|
1350
|
+
if (ev === "exit" && processOk(this.#process)) {
|
1351
|
+
if (typeof args[0] === "number") {
|
1352
|
+
this.#process.exitCode = args[0];
|
1353
|
+
}
|
1354
|
+
const ret = og.call(this.#process, ev, ...args);
|
1355
|
+
this.#emitter.emit("exit", this.#process.exitCode, null);
|
1356
|
+
return ret;
|
1357
|
+
} else {
|
1358
|
+
return og.call(this.#process, ev, ...args);
|
1361
1359
|
}
|
1362
|
-
const ret = og.call((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process), ev, ...args);
|
1363
|
-
(0, import_chunk_WWAWV7DQ.__privateGet)(this, _emitter).emit("exit", (0, import_chunk_WWAWV7DQ.__privateGet)(this, _process).exitCode, null);
|
1364
|
-
return ret;
|
1365
|
-
} else {
|
1366
|
-
return og.call((0, import_chunk_WWAWV7DQ.__privateGet)(this, _process), ev, ...args);
|
1367
1360
|
}
|
1368
1361
|
};
|
1369
1362
|
var process$1 = globalThis.process;
|
@@ -1569,9 +1562,9 @@ var getChunkType = (chunk) => {
|
|
1569
1562
|
};
|
1570
1563
|
var { toString: objectToString } = Object.prototype;
|
1571
1564
|
var MaxBufferError = class extends Error {
|
1565
|
+
name = "MaxBufferError";
|
1572
1566
|
constructor() {
|
1573
1567
|
super("maxBuffer exceeded");
|
1574
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "name", "MaxBufferError");
|
1575
1568
|
}
|
1576
1569
|
};
|
1577
1570
|
var identity = (value) => value;
|
@@ -1979,59 +1972,55 @@ function execaCommand(command, options2) {
|
|
1979
1972
|
return execa(file, args, options2);
|
1980
1973
|
}
|
1981
1974
|
var Node = class {
|
1975
|
+
value;
|
1976
|
+
next;
|
1982
1977
|
constructor(value) {
|
1983
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "value");
|
1984
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "next");
|
1985
1978
|
this.value = value;
|
1986
1979
|
}
|
1987
1980
|
};
|
1988
|
-
var _head, _tail, _size;
|
1989
1981
|
var Queue = class {
|
1982
|
+
#head;
|
1983
|
+
#tail;
|
1984
|
+
#size;
|
1990
1985
|
constructor() {
|
1991
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _head);
|
1992
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _tail);
|
1993
|
-
(0, import_chunk_WWAWV7DQ.__privateAdd)(this, _size);
|
1994
1986
|
this.clear();
|
1995
1987
|
}
|
1996
1988
|
enqueue(value) {
|
1997
1989
|
const node = new Node(value);
|
1998
|
-
if (
|
1999
|
-
|
2000
|
-
|
1990
|
+
if (this.#head) {
|
1991
|
+
this.#tail.next = node;
|
1992
|
+
this.#tail = node;
|
2001
1993
|
} else {
|
2002
|
-
|
2003
|
-
|
1994
|
+
this.#head = node;
|
1995
|
+
this.#tail = node;
|
2004
1996
|
}
|
2005
|
-
|
1997
|
+
this.#size++;
|
2006
1998
|
}
|
2007
1999
|
dequeue() {
|
2008
|
-
const current =
|
2000
|
+
const current = this.#head;
|
2009
2001
|
if (!current) {
|
2010
2002
|
return;
|
2011
2003
|
}
|
2012
|
-
|
2013
|
-
|
2004
|
+
this.#head = this.#head.next;
|
2005
|
+
this.#size--;
|
2014
2006
|
return current.value;
|
2015
2007
|
}
|
2016
2008
|
clear() {
|
2017
|
-
|
2018
|
-
|
2019
|
-
|
2009
|
+
this.#head = void 0;
|
2010
|
+
this.#tail = void 0;
|
2011
|
+
this.#size = 0;
|
2020
2012
|
}
|
2021
2013
|
get size() {
|
2022
|
-
return
|
2014
|
+
return this.#size;
|
2023
2015
|
}
|
2024
2016
|
*[Symbol.iterator]() {
|
2025
|
-
let current =
|
2017
|
+
let current = this.#head;
|
2026
2018
|
while (current) {
|
2027
2019
|
yield current.value;
|
2028
2020
|
current = current.next;
|
2029
2021
|
}
|
2030
2022
|
}
|
2031
2023
|
};
|
2032
|
-
_head = /* @__PURE__ */ new WeakMap();
|
2033
|
-
_tail = /* @__PURE__ */ new WeakMap();
|
2034
|
-
_size = /* @__PURE__ */ new WeakMap();
|
2035
2024
|
function pLimit(concurrency) {
|
2036
2025
|
if (!((Number.isInteger(concurrency) || concurrency === Number.POSITIVE_INFINITY) && concurrency > 0)) {
|
2037
2026
|
throw new TypeError("Expected `concurrency` to be a number from 1 and up");
|
@@ -16,26 +16,25 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_CCQRDM7X_exports = {};
|
20
|
+
__export(chunk_CCQRDM7X_exports, {
|
21
21
|
ErrorArea: () => ErrorArea,
|
22
22
|
RustPanic: () => RustPanic,
|
23
23
|
getWasmError: () => getWasmError,
|
24
24
|
isRustPanic: () => isRustPanic,
|
25
25
|
isWasmPanic: () => isWasmPanic
|
26
26
|
});
|
27
|
-
module.exports = __toCommonJS(
|
28
|
-
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
27
|
+
module.exports = __toCommonJS(chunk_CCQRDM7X_exports);
|
29
28
|
var RustPanic = class extends Error {
|
29
|
+
__typename = "RustPanic";
|
30
|
+
request;
|
31
|
+
rustStack;
|
32
|
+
area;
|
33
|
+
schemaPath;
|
34
|
+
schema;
|
35
|
+
introspectionUrl;
|
30
36
|
constructor(message, rustStack, request, area, schemaPath, schema, introspectionUrl) {
|
31
37
|
super(message);
|
32
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "__typename", "RustPanic");
|
33
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "request");
|
34
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "rustStack");
|
35
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "area");
|
36
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "schemaPath");
|
37
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "schema");
|
38
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "introspectionUrl");
|
39
38
|
this.name = "RustPanic";
|
40
39
|
this.rustStack = rustStack;
|
41
40
|
this.request = request;
|
@@ -26,22 +26,22 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_DBHRA3FT_exports = {};
|
30
|
+
__export(chunk_DBHRA3FT_exports, {
|
31
31
|
prismaSchemaWasm: () => import_prisma_schema_wasm.default,
|
32
32
|
prismaSchemaWasmVersion: () => prismaSchemaWasmVersion,
|
33
33
|
wasm_exports: () => wasm_exports
|
34
34
|
});
|
35
|
-
module.exports = __toCommonJS(
|
36
|
-
var
|
37
|
-
var
|
38
|
-
var
|
35
|
+
module.exports = __toCommonJS(chunk_DBHRA3FT_exports);
|
36
|
+
var import_chunk_TEVID6C5 = require("./chunk-TEVID6C5.js");
|
37
|
+
var import_chunk_WXRVYSYN = require("./chunk-WXRVYSYN.js");
|
38
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
39
39
|
var import_prisma_schema_wasm = __toESM(require("@prisma/prisma-schema-wasm"));
|
40
40
|
var wasm_exports = {};
|
41
|
-
(0,
|
41
|
+
(0, import_chunk_2ESYSVXG.__export)(wasm_exports, {
|
42
42
|
prismaSchemaWasm: () => import_prisma_schema_wasm.default,
|
43
43
|
prismaSchemaWasmVersion: () => prismaSchemaWasmVersion
|
44
44
|
});
|
45
|
-
var { dependencies } = (0,
|
45
|
+
var { dependencies } = (0, import_chunk_TEVID6C5.require_package)();
|
46
46
|
var prismaSchemaWasmVersion = dependencies["@prisma/prisma-schema-wasm"];
|
47
|
-
globalThis.PRISMA_WASM_PANIC_REGISTRY = new
|
47
|
+
globalThis.PRISMA_WASM_PANIC_REGISTRY = new import_chunk_WXRVYSYN.WasmPanicRegistry();
|
@@ -26,12 +26,12 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_DGZO4GAJ_exports = {};
|
30
|
+
__export(chunk_DGZO4GAJ_exports, {
|
31
31
|
findPrismaClientDir: () => findPrismaClientDir
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
34
|
-
var
|
33
|
+
module.exports = __toCommonJS(chunk_DGZO4GAJ_exports);
|
34
|
+
var import_chunk_23MPYLL6 = require("./chunk-23MPYLL6.js");
|
35
35
|
var import_debug = __toESM(require("@prisma/debug"));
|
36
36
|
var import_fs = __toESM(require("fs"));
|
37
37
|
var import_path = __toESM(require("path"));
|
@@ -39,8 +39,8 @@ var debug = (0, import_debug.default)("prisma:generator");
|
|
39
39
|
var realPath = import_fs.default.promises.realpath;
|
40
40
|
async function findPrismaClientDir(baseDir) {
|
41
41
|
const resolveOpts = { basedir: baseDir, preserveSymlinks: true };
|
42
|
-
const CLIDir = await (0,
|
43
|
-
const clientDir = await (0,
|
42
|
+
const CLIDir = await (0, import_chunk_23MPYLL6.resolvePkg)("prisma", resolveOpts);
|
43
|
+
const clientDir = await (0, import_chunk_23MPYLL6.resolvePkg)("@prisma/client", resolveOpts);
|
44
44
|
const resolvedClientDir = clientDir && await realPath(clientDir);
|
45
45
|
debug("prismaCLIDir", CLIDir);
|
46
46
|
debug("prismaClientDir", clientDir);
|
@@ -16,20 +16,19 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_DYVL6P7F_exports = {};
|
20
|
+
__export(chunk_DYVL6P7F_exports, {
|
21
21
|
Generator: () => Generator
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
23
|
+
module.exports = __toCommonJS(chunk_DYVL6P7F_exports);
|
24
24
|
var import_chunk_IOIAK7V7 = require("./chunk-IOIAK7V7.js");
|
25
|
-
var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
|
26
25
|
var import_generator_helper = require("@prisma/generator-helper");
|
27
26
|
var Generator = class {
|
27
|
+
generatorProcess;
|
28
|
+
manifest = null;
|
29
|
+
config;
|
30
|
+
options;
|
28
31
|
constructor(executablePath, config, isNode) {
|
29
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "generatorProcess");
|
30
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "manifest", null);
|
31
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "config");
|
32
|
-
(0, import_chunk_WWAWV7DQ.__publicField)(this, "options");
|
33
32
|
this.config = config;
|
34
33
|
this.generatorProcess = new import_generator_helper.GeneratorProcess(executablePath, { isNode });
|
35
34
|
}
|
@@ -26,21 +26,21 @@ var __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create(__g
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_EIERU2IM_exports = {};
|
30
|
+
__export(chunk_EIERU2IM_exports, {
|
31
31
|
getBinaryPathsByVersion: () => getBinaryPathsByVersion
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
33
|
+
module.exports = __toCommonJS(chunk_EIERU2IM_exports);
|
34
34
|
var import_chunk_RS2R7COT = require("./chunk-RS2R7COT.js");
|
35
35
|
var import_chunk_4CGPN5SR = require("./chunk-4CGPN5SR.js");
|
36
36
|
var import_chunk_2SDPW6AX = require("./chunk-2SDPW6AX.js");
|
37
37
|
var import_chunk_7B5PXS6N = require("./chunk-7B5PXS6N.js");
|
38
|
-
var
|
39
|
-
var
|
38
|
+
var import_chunk_RAYPCPVU = require("./chunk-RAYPCPVU.js");
|
39
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
40
40
|
var import_engines = require("@prisma/engines");
|
41
41
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
42
42
|
var import_path = __toESM2(require("path"));
|
43
|
-
var import_fs_extra = (0,
|
43
|
+
var import_fs_extra = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_RAYPCPVU.require_lib)());
|
44
44
|
async function getBinaryPathsByVersion({
|
45
45
|
neededVersions,
|
46
46
|
binaryTarget,
|
@@ -16,20 +16,20 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_EORSBI5P_exports = {};
|
20
|
+
__export(chunk_EORSBI5P_exports, {
|
21
21
|
SchemaEngineExitCode: () => SchemaEngineExitCode,
|
22
22
|
canConnectToDatabase: () => canConnectToDatabase,
|
23
23
|
createDatabase: () => createDatabase,
|
24
24
|
dropDatabase: () => dropDatabase,
|
25
25
|
execaCommand: () => execaCommand
|
26
26
|
});
|
27
|
-
module.exports = __toCommonJS(
|
28
|
-
var
|
29
|
-
var
|
30
|
-
var
|
27
|
+
module.exports = __toCommonJS(chunk_EORSBI5P_exports);
|
28
|
+
var import_chunk_2WR3PY2L = require("./chunk-2WR3PY2L.js");
|
29
|
+
var import_chunk_YBYBY7QI = require("./chunk-YBYBY7QI.js");
|
30
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
31
31
|
var import_fetch_engine = require("@prisma/fetch-engine");
|
32
|
-
var import_execa = (0,
|
32
|
+
var import_execa = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_2WR3PY2L.require_execa)());
|
33
33
|
var SchemaEngineExitCode = /* @__PURE__ */ ((SchemaEngineExitCode2) => {
|
34
34
|
SchemaEngineExitCode2[SchemaEngineExitCode2["Success"] = 0] = "Success";
|
35
35
|
SchemaEngineExitCode2[SchemaEngineExitCode2["Error"] = 1] = "Error";
|
@@ -141,7 +141,7 @@ async function execaCommand({
|
|
141
141
|
schemaEnginePath,
|
142
142
|
engineCommandName
|
143
143
|
}) {
|
144
|
-
schemaEnginePath = schemaEnginePath || await (0,
|
144
|
+
schemaEnginePath = schemaEnginePath || await (0, import_chunk_YBYBY7QI.resolveBinary)(import_fetch_engine.BinaryType.SchemaEngineBinary);
|
145
145
|
try {
|
146
146
|
return await (0, import_execa.default)(schemaEnginePath, ["cli", "--datasource", connectionString, engineCommandName], {
|
147
147
|
cwd,
|
@@ -16,17 +16,17 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_ETNCBIDF_exports = {};
|
20
|
+
__export(chunk_ETNCBIDF_exports, {
|
21
21
|
runPackageCmd: () => runPackageCmd
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
25
|
-
var
|
26
|
-
var
|
27
|
-
var import_execa = (0,
|
23
|
+
module.exports = __toCommonJS(chunk_ETNCBIDF_exports);
|
24
|
+
var import_chunk_72UZXEBG = require("./chunk-72UZXEBG.js");
|
25
|
+
var import_chunk_2WR3PY2L = require("./chunk-2WR3PY2L.js");
|
26
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
27
|
+
var import_execa = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_2WR3PY2L.require_execa)());
|
28
28
|
async function runPackageCmd(cwd, cmd, ...args) {
|
29
|
-
await import_execa.default.command(await (0,
|
29
|
+
await import_execa.default.command(await (0, import_chunk_72UZXEBG.getPackageCmd)(cwd, cmd, ...args), {
|
30
30
|
// we skip this because we are already in the generator
|
31
31
|
env: { PRISMA_SKIP_POSTINSTALL_GENERATE: "true" },
|
32
32
|
stdio: "inherit",
|
@@ -16,14 +16,14 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_EWKNNPH2_exports = {};
|
20
|
+
__export(chunk_EWKNNPH2_exports, {
|
21
21
|
isValidJsIdentifier: () => isValidJsIdentifier
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
25
|
-
var
|
26
|
-
var import_helper_validator_identifier = (0,
|
23
|
+
module.exports = __toCommonJS(chunk_EWKNNPH2_exports);
|
24
|
+
var import_chunk_H5XZKD22 = require("./chunk-H5XZKD22.js");
|
25
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
26
|
+
var import_helper_validator_identifier = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_H5XZKD22.require_lib)());
|
27
27
|
function isValidJsIdentifier(str) {
|
28
28
|
return (0, import_helper_validator_identifier.isIdentifierName)(str);
|
29
29
|
}
|
@@ -16,15 +16,15 @@ var __copyProps = (to, from, except, desc) => {
|
|
16
16
|
return to;
|
17
17
|
};
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
|
-
var
|
20
|
-
__export(
|
19
|
+
var chunk_EZQCZVUB_exports = {};
|
20
|
+
__export(chunk_EZQCZVUB_exports, {
|
21
21
|
addVersionDetailsToErrorMessage: () => addVersionDetailsToErrorMessage
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
23
|
+
module.exports = __toCommonJS(chunk_EZQCZVUB_exports);
|
24
|
+
var import_chunk_VZJZYI6E = require("./chunk-VZJZYI6E.js");
|
25
25
|
var import_chunk_QN6PSQY7 = require("./chunk-QN6PSQY7.js");
|
26
26
|
function addVersionDetailsToErrorMessage(message) {
|
27
|
-
const rows = [["Prisma CLI Version",
|
27
|
+
const rows = [["Prisma CLI Version", import_chunk_VZJZYI6E.version]];
|
28
28
|
return `${message}
|
29
29
|
|
30
30
|
${(0, import_chunk_QN6PSQY7.formatTable)(rows)}`;
|
@@ -26,18 +26,18 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
26
26
|
mod
|
27
27
|
));
|
28
28
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
29
|
-
var
|
30
|
-
__export(
|
29
|
+
var chunk_F46BPOEO_exports = {};
|
30
|
+
__export(chunk_F46BPOEO_exports, {
|
31
31
|
locateLocalCloudflareD1: () => locateLocalCloudflareD1
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
33
|
+
module.exports = __toCommonJS(chunk_F46BPOEO_exports);
|
34
34
|
var import_chunk_XKZ6CBLA = require("./chunk-XKZ6CBLA.js");
|
35
|
-
var
|
36
|
-
var
|
35
|
+
var import_chunk_V37JTUKZ = require("./chunk-V37JTUKZ.js");
|
36
|
+
var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
|
37
37
|
var import_node_path = __toESM(require("node:path"));
|
38
38
|
var import_node_process = __toESM(require("node:process"));
|
39
|
-
var import_fast_glob = (0,
|
40
|
-
var import_globby = (0,
|
39
|
+
var import_fast_glob = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_V37JTUKZ.require_out)());
|
40
|
+
var import_globby = (0, import_chunk_2ESYSVXG.__toESM)((0, import_chunk_V37JTUKZ.require_globby)());
|
41
41
|
var defaultD1DirPath = import_node_path.default.join(".wrangler", "state", "v3", "d1", "miniflare-D1DatabaseObject");
|
42
42
|
async function locateLocalCloudflareD1({ arg }) {
|
43
43
|
const cwd = import_node_process.default.cwd();
|