@prisma/migrate 6.6.0-dev.7 → 6.6.0-dev.70

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 (150) hide show
  1. package/dist/CLI.js +3 -3
  2. package/dist/Migrate.js +8 -6
  3. package/dist/SchemaEngine.js +5 -5
  4. package/dist/bin.js +47 -46
  5. package/dist/chunk-23DZXSTI.js +62 -0
  6. package/dist/{chunk-WWAWV7DQ.js → chunk-2ESYSVXG.js} +3 -27
  7. package/dist/{chunk-LKTTJWFT.js → chunk-2R6DII47.js} +5 -5
  8. package/dist/chunk-33LPBNDX.js +1399 -0
  9. package/dist/{chunk-P6I3Y7KI.js → chunk-4ACBW57A.js} +371 -530
  10. package/dist/{chunk-V3ZMNXZC.js → chunk-5LKIRKDL.js} +307 -382
  11. package/dist/{chunk-IR55GBON.js → chunk-5LTDMS3H.js} +18 -18
  12. package/dist/{chunk-LOGAFLCN.js → chunk-5R44VVVX.js} +29 -29
  13. package/dist/{chunk-Q3ZLC44N.js → chunk-63X7FE2R.js} +57 -66
  14. package/dist/{chunk-DJMFXNR4.js → chunk-74LUB4XX.js} +56 -57
  15. package/dist/{chunk-N4XTKFY6.js → chunk-7RM467G7.js} +39 -38
  16. package/dist/{chunk-RP2N6UXA.js → chunk-AI6DH66U.js} +6 -6
  17. package/dist/{chunk-A6PMXMMT.js → chunk-AUGZZ6RT.js} +105 -13
  18. package/dist/{chunk-G2XUUMKH.js → chunk-B4SUSDC2.js} +31 -39
  19. package/dist/{chunk-ZOEKRXDP.js → chunk-D2DGSPW6.js} +29 -55
  20. package/dist/{chunk-W2SZNLK4.js → chunk-EJG7GKM7.js} +37 -39
  21. package/dist/{chunk-5PSO7BDO.js → chunk-EJUXYFV3.js} +15 -15
  22. package/dist/{chunk-HCBZB4XC.js → chunk-FFPSJTA6.js} +53 -52
  23. package/dist/{chunk-N3KYWSX2.js → chunk-FZGPSDP7.js} +55 -49
  24. package/dist/{chunk-MCWCB2AX.js → chunk-IINN7QUV.js} +170 -643
  25. package/dist/{chunk-3GHGKOL4.js → chunk-KJGJMCHL.js} +370 -529
  26. package/dist/{chunk-255BRND3.js → chunk-KRQEFTDT.js} +6 -6
  27. package/dist/{chunk-VVKOFN3Y.js → chunk-LLO7YF56.js} +44 -46
  28. package/dist/{chunk-VZ23KD5C.js → chunk-NGQA5JTN.js} +8 -10
  29. package/dist/{chunk-MKK3GSDF.js → chunk-NIKXBMZL.js} +5 -5
  30. package/dist/{chunk-GG54LOYV.js → chunk-O6RQXRWU.js} +45 -44
  31. package/dist/{chunk-MATFO4ZW.js → chunk-OEWQACEH.js} +38 -39
  32. package/dist/{chunk-EGPJABTW.js → chunk-QVMYNWAN.js} +257 -103
  33. package/dist/{chunk-V5TUSOJX.js → chunk-SQKGZVG3.js} +45 -45
  34. package/dist/{chunk-CQZFVAXC.js → chunk-TN7JMNXD.js} +42 -41
  35. package/dist/chunk-URKH6SE2.js +479 -0
  36. package/dist/chunk-V6PVGSDJ.js +76 -0
  37. package/dist/{chunk-DLLXDCI2.js → chunk-VAJ4VX67.js} +5 -6
  38. package/dist/{chunk-OCQGHQED.js → chunk-YBX7R3MT.js} +12 -12
  39. package/dist/{chunk-KS7IEA6Z.js → chunk-YGBJA7QJ.js} +50 -52
  40. package/dist/{chunk-WI2A2TQE.js → chunk-ZJ4IDCRR.js} +90 -91
  41. package/dist/chunk-ZLHWX5PJ.js +883 -0
  42. package/dist/commands/DbCommand.js +3 -3
  43. package/dist/commands/DbDrop.js +4 -5
  44. package/dist/commands/DbExecute.js +9 -7
  45. package/dist/commands/DbPull.js +11 -10
  46. package/dist/commands/DbPush.js +10 -9
  47. package/dist/commands/DbSeed.js +4 -5
  48. package/dist/commands/MigrateCommand.js +3 -3
  49. package/dist/commands/MigrateDeploy.js +12 -11
  50. package/dist/commands/MigrateDev.js +14 -13
  51. package/dist/commands/MigrateDiff.js +12 -10
  52. package/dist/commands/MigrateReset.js +13 -12
  53. package/dist/commands/MigrateResolve.js +10 -9
  54. package/dist/commands/MigrateStatus.js +10 -9
  55. package/dist/index.js +50 -51
  56. package/dist/internals/src/Generator.d.ts +23 -5
  57. package/dist/internals/src/cli/checkUnsupportedDataProxy.d.ts +12 -17
  58. package/dist/internals/src/cli/directoryConfig.d.ts +7 -0
  59. package/dist/internals/src/cli/getSchema.d.ts +3 -28
  60. package/dist/internals/src/cli/hashes.d.ts +1 -2
  61. package/dist/internals/src/cli/schemaContext.d.ts +59 -0
  62. package/dist/internals/src/client/getClientEngineType.d.ts +1 -1
  63. package/dist/internals/src/convertCredentials.d.ts +1 -1
  64. package/dist/internals/src/engine-commands/getConfig.d.ts +1 -5
  65. package/dist/internals/src/engine-commands/getDmmf.d.ts +3 -6
  66. package/dist/internals/src/engine-commands/lintSchema.d.ts +1 -1
  67. package/dist/internals/src/errorReporting.d.ts +0 -1
  68. package/dist/internals/src/get-generators/getGenerators.d.ts +22 -9
  69. package/dist/internals/src/get-generators/utils/binaryTypeToEngineType.d.ts +1 -1
  70. package/dist/internals/src/get-generators/utils/engineTypeToBinaryType.d.ts +1 -1
  71. package/dist/internals/src/get-generators/utils/fixBinaryTargets.d.ts +1 -1
  72. package/dist/internals/src/get-generators/utils/getBinaryPathsByVersion.d.ts +1 -1
  73. package/dist/internals/src/get-generators/utils/getEngineVersionForGenerator.d.ts +1 -1
  74. package/dist/internals/src/get-generators/utils/printGeneratorConfig.d.ts +1 -1
  75. package/dist/internals/src/index.d.ts +7 -7
  76. package/dist/internals/src/migrateTypes.d.ts +63 -0
  77. package/dist/internals/src/panic.d.ts +1 -4
  78. package/dist/internals/src/resolvePkg.d.ts +7 -0
  79. package/dist/internals/src/types.d.ts +1 -1
  80. package/dist/internals/src/utils/extractPreviewFeatures.d.ts +2 -2
  81. package/dist/internals/src/utils/getEnvPaths.d.ts +1 -1
  82. package/dist/internals/src/utils/parseEnvValue.d.ts +1 -1
  83. package/dist/internals/src/utils/schemaFileInput.d.ts +0 -4
  84. package/dist/internals/src/utils/toSchemasContainer.d.ts +2 -3
  85. package/dist/migrate/src/Migrate.d.ts +7 -5
  86. package/dist/migrate/src/SchemaEngine.d.ts +5 -9
  87. package/dist/migrate/src/index.d.ts +0 -1
  88. package/dist/migrate/src/types.d.ts +14 -10
  89. package/dist/migrate/src/utils/createMigration.d.ts +21 -0
  90. package/dist/migrate/src/utils/ensureDatabaseExists.d.ts +4 -6
  91. package/dist/migrate/src/utils/introspectSql.d.ts +3 -2
  92. package/dist/migrate/src/utils/listMigrations.d.ts +9 -0
  93. package/dist/migrate/src/utils/printDatasources.d.ts +1 -1
  94. package/dist/migrate/src/utils/seed.d.ts +0 -2
  95. package/dist/migrate/src/views/handleViewsIO.d.ts +2 -2
  96. package/dist/{multipart-parser-54WEFGGN-NLZG56KM.js → multipart-parser-ASKQAOL4-WZ47HU6G.js} +92 -125
  97. package/dist/{multipart-parser-NDLECNMN.js → multipart-parser-QCI3Y5IB.js} +66 -68
  98. package/dist/types.js +1 -1
  99. package/dist/{typescript-WN4QH2CP.js → typescript-2LKASCMC.js} +33 -33
  100. package/dist/{typescript-AILDXN3I.js → typescript-H3AVJ6KX.js} +32 -32
  101. package/dist/utils/byline.js +1 -1
  102. package/dist/utils/captureStdout.js +3 -3
  103. package/dist/utils/countModelsAndTypes.js +1 -1
  104. package/dist/utils/{getSchemaPathAndPrint.js → createMigration.js} +8 -8
  105. package/dist/utils/customColors.js +1 -1
  106. package/dist/utils/ensureDatabaseExists.js +7 -7
  107. package/dist/utils/errors.js +1 -1
  108. package/dist/utils/flagErrors.js +1 -1
  109. package/dist/utils/getDatabaseVersionSafe.js +5 -5
  110. package/dist/utils/handleEvaluateDataloss.js +1 -1
  111. package/dist/utils/introspectSql.js +5 -5
  112. package/dist/utils/isSchemaEmpty.js +1 -1
  113. package/dist/utils/listMigrations.js +25 -0
  114. package/dist/utils/now.js +1 -1
  115. package/dist/utils/printDatasource.js +1 -1
  116. package/dist/utils/printDatasources.js +5 -5
  117. package/dist/utils/printFiles.js +5 -5
  118. package/dist/utils/printIntrospectedSchema.js +1 -1
  119. package/dist/utils/printMigrationId.js +1 -1
  120. package/dist/utils/promptForMigrationName.js +3 -3
  121. package/dist/utils/removeSchemaFiles.js +1 -1
  122. package/dist/utils/replaceOrAddDatasource.js +1 -1
  123. package/dist/utils/replaceOrAddDatasource.test.js +1 -1
  124. package/dist/utils/saveSchemaFiles.js +1 -1
  125. package/dist/utils/seed.js +4 -7
  126. package/dist/utils/setupCockroach.js +3 -3
  127. package/dist/utils/setupMSSQL.js +1478 -707
  128. package/dist/utils/setupMongo.js +553 -552
  129. package/dist/utils/setupMysql.js +508 -563
  130. package/dist/utils/setupPostgres.js +3 -3
  131. package/dist/utils/spinner.js +4 -3
  132. package/dist/utils/test-handlePanic.js +1 -30
  133. package/dist/utils/unixSocket.js +1 -1
  134. package/dist/views/handleViewsIO.js +3 -3
  135. package/package.json +11 -11
  136. package/dist/chunk-GKDFIHM2.js +0 -45
  137. package/dist/chunk-J46BJQHT.js +0 -268
  138. package/dist/chunk-KOF4LGTS.js +0 -1817
  139. package/dist/chunk-YYPMC5FN.js +0 -1407
  140. package/dist/internals/src/get-generators/generatorResolvers/generatorResolvers.d.ts +0 -15
  141. package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/auto-installation/findPrismaClientDir.d.ts +0 -6
  142. package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/auto-installation/getPackageCmd.d.ts +0 -9
  143. package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/auto-installation/runPackageCmd.d.ts +0 -8
  144. package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/checkTypeScriptVersion.d.ts +0 -6
  145. package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/isYarnUsed.d.ts +0 -1
  146. package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/resolve.d.ts +0 -20
  147. package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/check-dependencies/semverLt.d.ts +0 -7
  148. package/dist/internals/src/get-generators/generatorResolvers/prisma-client-js/prismaClientResolver.d.ts +0 -20
  149. package/dist/internals/src/get-generators/utils/check-feature-flags/checkFeatureFlags.d.ts +0 -8
  150. package/dist/migrate/src/utils/getSchemaPathAndPrint.d.ts +0 -10
@@ -0,0 +1,21 @@
1
+ import type { ActiveConnectorType } from '@prisma/generator';
2
+ import type { MigrateTypes } from '@prisma/internals';
3
+ type CreateMigrationInput = {
4
+ baseDir: string;
5
+ generatedMigrationName: string;
6
+ };
7
+ export declare function createMigration({ baseDir, generatedMigrationName }: CreateMigrationInput): Promise<string>;
8
+ type WriteMigrationScriptInput = {
9
+ baseDir: string;
10
+ migrationName: string;
11
+ extension: string;
12
+ script: string;
13
+ };
14
+ export declare function writeMigrationScript({ baseDir, extension, migrationName, script, }: WriteMigrationScriptInput): Promise<void>;
15
+ type WriteMigrationLockfileInput = {
16
+ baseDir: string;
17
+ connectorType: ActiveConnectorType;
18
+ lockfile: Omit<MigrateTypes.MigrationLockfile, 'content'>;
19
+ };
20
+ export declare function writeMigrationLockfile({ baseDir, connectorType, lockfile }: WriteMigrationLockfileInput): Promise<void>;
21
+ export {};
@@ -1,3 +1,4 @@
1
+ import { DataSource } from '@prisma/generator';
1
2
  import type { DatabaseCredentials } from '@prisma/internals';
2
3
  import { ConnectorType } from './printDatasources';
3
4
  export type MigrateAction = 'create' | 'apply' | 'unapply' | 'dev' | 'push';
@@ -12,12 +13,9 @@ export type DatasourceInfo = {
12
13
  schemas?: string[];
13
14
  configDir?: string;
14
15
  };
15
- export declare function getDatasourceInfo({ schemaPath, throwIfEnvError, }?: {
16
- schemaPath?: string;
17
- throwIfEnvError?: boolean;
18
- }): Promise<DatasourceInfo>;
19
- export declare function ensureCanConnectToDatabase(schemaPath?: string): Promise<Boolean | Error>;
20
- export declare function ensureDatabaseExists(action: MigrateAction, schemaPath?: string): Promise<string | undefined>;
16
+ export declare function parseDatasourceInfo(datasource: DataSource | undefined): DatasourceInfo;
17
+ export declare function ensureCanConnectToDatabase(datasource: DataSource | undefined): Promise<Boolean | Error>;
18
+ export declare function ensureDatabaseExists(datasource: DataSource | undefined): Promise<string | undefined>;
21
19
  export declare function getDbLocation(credentials: DatabaseCredentials): string | undefined;
22
20
  /**
23
21
  * Return a pretty version of a "provider" (with uppercase characters)
@@ -1,4 +1,5 @@
1
- import { SqlQueryOutput } from '@prisma/generator-helper';
1
+ import { SqlQueryOutput } from '@prisma/generator';
2
+ import { SchemaContext } from '@prisma/internals';
2
3
  import { EngineArgs } from '../types';
3
4
  export interface IntrospectSqlInput extends EngineArgs.SqlQueryInput {
4
5
  fileName: string;
@@ -14,4 +15,4 @@ export type IntrospectSqlResult = {
14
15
  ok: false;
15
16
  errors: IntrospectSqlError[];
16
17
  };
17
- export declare function introspectSql(schemaPath: string | undefined, queries: IntrospectSqlInput[]): Promise<IntrospectSqlResult>;
18
+ export declare function introspectSql(schemaContext: SchemaContext, queries: IntrospectSqlInput[]): Promise<IntrospectSqlResult>;
@@ -0,0 +1,9 @@
1
+ import type { MigrateTypes } from '@prisma/internals';
2
+ /**
3
+ * Lists migrations present in the migrations directory, sorted lexicographically by name.
4
+ * Returns an empty array if the directory doesn't exist.
5
+ *
6
+ * @param migrationsDirectoryPath Absolute path to the migrations directory
7
+ * @returns Promise resolving to a sorted list of migrations
8
+ */
9
+ export declare function listMigrations(migrationsDirectoryPath: string): Promise<MigrateTypes.MigrationList>;
@@ -1,4 +1,4 @@
1
- import type { ConnectorType } from '@prisma/generator-helper';
1
+ import type { ConnectorType } from '@prisma/generator';
2
2
  export type { ConnectorType };
3
3
  export interface GeneratorConfig {
4
4
  name: string;
@@ -1,7 +1,5 @@
1
- export declare function verifySeedConfigAndReturnMessage(schemaPath: string | null): Promise<string | undefined>;
2
1
  export declare function getSeedCommandFromPackageJson(cwd: string): Promise<string | null>;
3
2
  export declare function executeSeedCommand({ commandFromConfig, extraArgs, }: {
4
3
  commandFromConfig: string;
5
4
  extraArgs?: string;
6
5
  }): Promise<boolean>;
7
- export declare function legacyTsNodeScriptWarning(): Promise<undefined>;
@@ -5,7 +5,7 @@ export interface IntrospectionViewDefinition {
5
5
  }
6
6
  type HandleViewsIOParams = {
7
7
  views: IntrospectionViewDefinition[];
8
- schemaPath: string;
8
+ viewsDirectoryPath: string;
9
9
  };
10
10
  /**
11
11
  * For any given view definitions, the CLI must either create or update the corresponding view definition files
@@ -13,5 +13,5 @@ type HandleViewsIOParams = {
13
13
  * If some other non ".sql" files or folders exist within the `views` directory, the CLI must preserve them.
14
14
  * In case of empty folders, these are deleted silently.
15
15
  */
16
- export declare function handleViewsIO({ views, schemaPath }: HandleViewsIOParams): Promise<void>;
16
+ export declare function handleViewsIO({ views, viewsDirectoryPath }: HandleViewsIOParams): Promise<void>;
17
17
  export {};
@@ -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 multipart_parser_54WEFGGN_NLZG56KM_exports = {};
20
- __export(multipart_parser_54WEFGGN_NLZG56KM_exports, {
21
- default: () => multipart_parser_54WEFGGN_NLZG56KM_default
19
+ var multipart_parser_ASKQAOL4_WZ47HU6G_exports = {};
20
+ __export(multipart_parser_ASKQAOL4_WZ47HU6G_exports, {
21
+ default: () => multipart_parser_ASKQAOL4_WZ47HU6G_default
22
22
  });
23
- module.exports = __toCommonJS(multipart_parser_54WEFGGN_NLZG56KM_exports);
24
- var import_chunk_WWAWV7DQ = require("./chunk-WWAWV7DQ.js");
25
- var require_chunk_OSFPEEC6 = (0, import_chunk_WWAWV7DQ.__commonJS)({
26
- "../fetch-engine/dist/chunk-OSFPEEC6.js"(exports, module2) {
23
+ module.exports = __toCommonJS(multipart_parser_ASKQAOL4_WZ47HU6G_exports);
24
+ var import_chunk_2ESYSVXG = require("./chunk-2ESYSVXG.js");
25
+ var require_chunk_QGM4M3NI = (0, import_chunk_2ESYSVXG.__commonJS)({
26
+ "../fetch-engine/dist/chunk-QGM4M3NI.js"(exports, module2) {
27
27
  "use strict";
28
28
  var __defProp2 = Object.defineProperty;
29
29
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -42,33 +42,23 @@ var require_chunk_OSFPEEC6 = (0, import_chunk_WWAWV7DQ.__commonJS)({
42
42
  return to;
43
43
  };
44
44
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
45
- var chunk_OSFPEEC6_exports = {};
46
- __export2(chunk_OSFPEEC6_exports, {
45
+ var chunk_QGM4M3NI_exports = {};
46
+ __export2(chunk_QGM4M3NI_exports, {
47
47
  __commonJS: () => __commonJS2,
48
- __privateAdd: () => __privateAdd,
49
- __privateGet: () => __privateGet,
50
- __privateMethod: () => __privateMethod,
51
- __privateSet: () => __privateSet,
52
- __privateWrapper: () => __privateWrapper,
53
- __publicField: () => __publicField,
54
48
  __require: () => __require2,
55
49
  __toESM: () => __toESM
56
50
  });
57
- module2.exports = __toCommonJS2(chunk_OSFPEEC6_exports);
51
+ module2.exports = __toCommonJS2(chunk_QGM4M3NI_exports);
58
52
  var __create = Object.create;
59
53
  var __defProp22 = Object.defineProperty;
60
54
  var __getOwnPropDesc22 = Object.getOwnPropertyDescriptor;
61
55
  var __getOwnPropNames22 = Object.getOwnPropertyNames;
62
56
  var __getProtoOf = Object.getPrototypeOf;
63
57
  var __hasOwnProp22 = Object.prototype.hasOwnProperty;
64
- var __typeError = (msg) => {
65
- throw TypeError(msg);
66
- };
67
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp22(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
68
- var __require2 = /* @__PURE__ */ ((x) => typeof import_chunk_WWAWV7DQ.__require !== "undefined" ? import_chunk_WWAWV7DQ.__require : typeof Proxy !== "undefined" ? new Proxy(x, {
69
- get: (a, b) => (typeof import_chunk_WWAWV7DQ.__require !== "undefined" ? import_chunk_WWAWV7DQ.__require : a)[b]
58
+ var __require2 = /* @__PURE__ */ ((x) => typeof import_chunk_2ESYSVXG.__require !== "undefined" ? import_chunk_2ESYSVXG.__require : typeof Proxy !== "undefined" ? new Proxy(x, {
59
+ get: (a, b) => (typeof import_chunk_2ESYSVXG.__require !== "undefined" ? import_chunk_2ESYSVXG.__require : a)[b]
70
60
  }) : x)(function(x) {
71
- if (typeof import_chunk_WWAWV7DQ.__require !== "undefined") return import_chunk_WWAWV7DQ.__require.apply(this, arguments);
61
+ if (typeof import_chunk_2ESYSVXG.__require !== "undefined") return import_chunk_2ESYSVXG.__require.apply(this, arguments);
72
62
  throw Error('Dynamic require of "' + x + '" is not supported');
73
63
  });
74
64
  var __commonJS2 = (cb, mod) => function __require22() {
@@ -90,24 +80,10 @@ var require_chunk_OSFPEEC6 = (0, import_chunk_WWAWV7DQ.__commonJS)({
90
80
  isNodeMode || !mod || !mod.__esModule ? __defProp22(target, "default", { value: mod, enumerable: true }) : target,
91
81
  mod
92
82
  ));
93
- var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
94
- var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
95
- var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
96
- var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
97
- var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
98
- var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
99
- var __privateWrapper = (obj, member, setter, getter) => ({
100
- set _(value) {
101
- __privateSet(obj, member, value, setter);
102
- },
103
- get _() {
104
- return __privateGet(obj, member, getter);
105
- }
106
- });
107
83
  }
108
84
  });
109
- var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
110
- "../fetch-engine/dist/chunk-EQBIW23N.js"(exports, module2) {
85
+ var require_chunk_RXM4EBGR = (0, import_chunk_2ESYSVXG.__commonJS)({
86
+ "../fetch-engine/dist/chunk-RXM4EBGR.js"(exports, module2) {
111
87
  "use strict";
112
88
  var __defProp2 = Object.defineProperty;
113
89
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
@@ -126,17 +102,17 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
126
102
  return to;
127
103
  };
128
104
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
129
- var chunk_EQBIW23N_exports = {};
130
- __export2(chunk_EQBIW23N_exports, {
105
+ var chunk_RXM4EBGR_exports = {};
106
+ __export2(chunk_RXM4EBGR_exports, {
131
107
  FormData: () => FormData,
132
108
  fetch_blob_default: () => fetch_blob_default,
133
109
  file_default: () => file_default,
134
110
  formDataToBlob: () => formDataToBlob
135
111
  });
136
- module2.exports = __toCommonJS2(chunk_EQBIW23N_exports);
137
- var import_chunk_OSFPEEC6 = require_chunk_OSFPEEC6();
138
- var import_node_fs = (0, import_chunk_WWAWV7DQ.__require)("node:fs");
139
- var require_ponyfill_es2018 = (0, import_chunk_OSFPEEC6.__commonJS)({
112
+ module2.exports = __toCommonJS2(chunk_RXM4EBGR_exports);
113
+ var import_chunk_QGM4M3NI = require_chunk_QGM4M3NI();
114
+ var import_node_fs = (0, import_chunk_2ESYSVXG.__require)("node:fs");
115
+ var require_ponyfill_es2018 = (0, import_chunk_QGM4M3NI.__commonJS)({
140
116
  "../../node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js"(exports2, module22) {
141
117
  "use strict";
142
118
  (function(global2, factory) {
@@ -684,7 +660,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
684
660
  }
685
661
  try {
686
662
  return x2._asyncIteratorImpl instanceof ReadableStreamAsyncIteratorImpl;
687
- } catch (_a4) {
663
+ } catch (_a) {
688
664
  return false;
689
665
  }
690
666
  }
@@ -1577,7 +1553,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
1577
1553
  }
1578
1554
  try {
1579
1555
  return typeof value.aborted === "boolean";
1580
- } catch (_a4) {
1556
+ } catch (_a) {
1581
1557
  return false;
1582
1558
  }
1583
1559
  }
@@ -1718,12 +1694,12 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
1718
1694
  return true;
1719
1695
  }
1720
1696
  function WritableStreamAbort(stream, reason) {
1721
- var _a4;
1697
+ var _a;
1722
1698
  if (stream._state === "closed" || stream._state === "errored") {
1723
1699
  return promiseResolvedWith(void 0);
1724
1700
  }
1725
1701
  stream._writableStreamController._abortReason = reason;
1726
- (_a4 = stream._writableStreamController._abortController) === null || _a4 === void 0 ? void 0 : _a4.abort();
1702
+ (_a = stream._writableStreamController._abortController) === null || _a === void 0 ? void 0 : _a.abort();
1727
1703
  const state = stream._state;
1728
1704
  if (state === "closed" || state === "errored") {
1729
1705
  return promiseResolvedWith(void 0);
@@ -2453,7 +2429,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
2453
2429
  try {
2454
2430
  new ctor();
2455
2431
  return true;
2456
- } catch (_a4) {
2432
+ } catch (_a) {
2457
2433
  return false;
2458
2434
  }
2459
2435
  }
@@ -3509,7 +3485,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
3509
3485
  value: "size",
3510
3486
  configurable: true
3511
3487
  });
3512
- } catch (_a4) {
3488
+ } catch (_a) {
3513
3489
  }
3514
3490
  class ByteLengthQueuingStrategy {
3515
3491
  constructor(options) {
@@ -3566,7 +3542,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
3566
3542
  value: "size",
3567
3543
  configurable: true
3568
3544
  });
3569
- } catch (_a4) {
3545
+ } catch (_a) {
3570
3546
  }
3571
3547
  class CountQueuingStrategy {
3572
3548
  constructor(options) {
@@ -3945,18 +3921,18 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
3945
3921
  });
3946
3922
  }
3947
3923
  });
3948
- var require_streams = (0, import_chunk_OSFPEEC6.__commonJS)({
3924
+ var require_streams = (0, import_chunk_QGM4M3NI.__commonJS)({
3949
3925
  "../../node_modules/.pnpm/fetch-blob@3.2.0/node_modules/fetch-blob/streams.cjs"() {
3950
3926
  "use strict";
3951
3927
  var POOL_SIZE2 = 65536;
3952
3928
  if (!globalThis.ReadableStream) {
3953
3929
  try {
3954
- const process = (0, import_chunk_OSFPEEC6.__require)("node:process");
3930
+ const process = (0, import_chunk_QGM4M3NI.__require)("node:process");
3955
3931
  const { emitWarning } = process;
3956
3932
  try {
3957
3933
  process.emitWarning = () => {
3958
3934
  };
3959
- Object.assign(globalThis, (0, import_chunk_OSFPEEC6.__require)("node:stream/web"));
3935
+ Object.assign(globalThis, (0, import_chunk_QGM4M3NI.__require)("node:stream/web"));
3960
3936
  process.emitWarning = emitWarning;
3961
3937
  } catch (error) {
3962
3938
  process.emitWarning = emitWarning;
@@ -3967,9 +3943,9 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
3967
3943
  }
3968
3944
  }
3969
3945
  try {
3970
- const { Blob: Blob2 } = (0, import_chunk_OSFPEEC6.__require)("buffer");
3971
- if (Blob2 && !Blob2.prototype.stream) {
3972
- Blob2.prototype.stream = function name(params) {
3946
+ const { Blob: Blob3 } = (0, import_chunk_QGM4M3NI.__require)("buffer");
3947
+ if (Blob3 && !Blob3.prototype.stream) {
3948
+ Blob3.prototype.stream = function name(params) {
3973
3949
  let position = 0;
3974
3950
  const blob = this;
3975
3951
  return new ReadableStream({
@@ -3990,12 +3966,12 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
3990
3966
  }
3991
3967
  }
3992
3968
  });
3993
- var require_node_domexception = (0, import_chunk_OSFPEEC6.__commonJS)({
3969
+ var require_node_domexception = (0, import_chunk_QGM4M3NI.__commonJS)({
3994
3970
  "../../node_modules/.pnpm/node-domexception@1.0.0/node_modules/node-domexception/index.js"(exports2, module22) {
3995
3971
  "use strict";
3996
3972
  if (!globalThis.DOMException) {
3997
3973
  try {
3998
- const { MessageChannel } = (0, import_chunk_OSFPEEC6.__require)("worker_threads"), port = new MessageChannel().port1, ab = new ArrayBuffer();
3974
+ const { MessageChannel } = (0, import_chunk_QGM4M3NI.__require)("worker_threads"), port = new MessageChannel().port1, ab = new ArrayBuffer();
3999
3975
  port.postMessage(ab, [ab, ab]);
4000
3976
  } catch (err) {
4001
3977
  err.constructor.name === "DOMException" && (globalThis.DOMException = err.constructor);
@@ -4004,7 +3980,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4004
3980
  module22.exports = globalThis.DOMException;
4005
3981
  }
4006
3982
  });
4007
- var import_streams = (0, import_chunk_OSFPEEC6.__toESM)(require_streams(), 1);
3983
+ var import_streams = (0, import_chunk_QGM4M3NI.__toESM)(require_streams(), 1);
4008
3984
  var POOL_SIZE = 65536;
4009
3985
  async function* toIterator(parts, clone = true) {
4010
3986
  for (const part of parts) {
@@ -4040,12 +4016,12 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4040
4016
  }
4041
4017
  }
4042
4018
  }
4043
- var _parts;
4044
- var _type;
4045
- var _size;
4046
- var _endings;
4047
- var _a;
4048
- var _Blob = (_a = class {
4019
+ var _Blob = class Blob {
4020
+ /** @type {Array.<(Blob|Uint8Array)>} */
4021
+ #parts = [];
4022
+ #type = "";
4023
+ #size = 0;
4024
+ #endings = "transparent";
4049
4025
  /**
4050
4026
  * The Blob() constructor returns a new Blob object. The content
4051
4027
  * of the blob consists of the concatenation of the values given
@@ -4055,10 +4031,6 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4055
4031
  * @param {{ type?: string, endings?: string }} [options]
4056
4032
  */
4057
4033
  constructor(blobParts = [], options = {}) {
4058
- (0, import_chunk_OSFPEEC6.__privateAdd)(this, _parts, []);
4059
- (0, import_chunk_OSFPEEC6.__privateAdd)(this, _type, "");
4060
- (0, import_chunk_OSFPEEC6.__privateAdd)(this, _size, 0);
4061
- (0, import_chunk_OSFPEEC6.__privateAdd)(this, _endings, "transparent");
4062
4034
  if (typeof blobParts !== "object" || blobParts === null) {
4063
4035
  throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");
4064
4036
  }
@@ -4076,30 +4048,30 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4076
4048
  part = new Uint8Array(element.buffer.slice(element.byteOffset, element.byteOffset + element.byteLength));
4077
4049
  } else if (element instanceof ArrayBuffer) {
4078
4050
  part = new Uint8Array(element.slice(0));
4079
- } else if (element instanceof _a) {
4051
+ } else if (element instanceof Blob) {
4080
4052
  part = element;
4081
4053
  } else {
4082
4054
  part = encoder.encode(`${element}`);
4083
4055
  }
4084
- (0, import_chunk_OSFPEEC6.__privateSet)(this, _size, (0, import_chunk_OSFPEEC6.__privateGet)(this, _size) + (ArrayBuffer.isView(part) ? part.byteLength : part.size));
4085
- (0, import_chunk_OSFPEEC6.__privateGet)(this, _parts).push(part);
4056
+ this.#size += ArrayBuffer.isView(part) ? part.byteLength : part.size;
4057
+ this.#parts.push(part);
4086
4058
  }
4087
- (0, import_chunk_OSFPEEC6.__privateSet)(this, _endings, `${options.endings === void 0 ? "transparent" : options.endings}`);
4059
+ this.#endings = `${options.endings === void 0 ? "transparent" : options.endings}`;
4088
4060
  const type = options.type === void 0 ? "" : String(options.type);
4089
- (0, import_chunk_OSFPEEC6.__privateSet)(this, _type, /^[\x20-\x7E]*$/.test(type) ? type : "");
4061
+ this.#type = /^[\x20-\x7E]*$/.test(type) ? type : "";
4090
4062
  }
4091
4063
  /**
4092
4064
  * The Blob interface's size property returns the
4093
4065
  * size of the Blob in bytes.
4094
4066
  */
4095
4067
  get size() {
4096
- return (0, import_chunk_OSFPEEC6.__privateGet)(this, _size);
4068
+ return this.#size;
4097
4069
  }
4098
4070
  /**
4099
4071
  * The type property of a Blob object returns the MIME type of the file.
4100
4072
  */
4101
4073
  get type() {
4102
- return (0, import_chunk_OSFPEEC6.__privateGet)(this, _type);
4074
+ return this.#type;
4103
4075
  }
4104
4076
  /**
4105
4077
  * The text() method in the Blob interface returns a Promise
@@ -4111,7 +4083,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4111
4083
  async text() {
4112
4084
  const decoder = new TextDecoder();
4113
4085
  let str = "";
4114
- for await (const part of toIterator((0, import_chunk_OSFPEEC6.__privateGet)(this, _parts), false)) {
4086
+ for await (const part of toIterator(this.#parts, false)) {
4115
4087
  str += decoder.decode(part, { stream: true });
4116
4088
  }
4117
4089
  str += decoder.decode();
@@ -4127,14 +4099,14 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4127
4099
  async arrayBuffer() {
4128
4100
  const data = new Uint8Array(this.size);
4129
4101
  let offset = 0;
4130
- for await (const chunk of toIterator((0, import_chunk_OSFPEEC6.__privateGet)(this, _parts), false)) {
4102
+ for await (const chunk of toIterator(this.#parts, false)) {
4131
4103
  data.set(chunk, offset);
4132
4104
  offset += chunk.length;
4133
4105
  }
4134
4106
  return data.buffer;
4135
4107
  }
4136
4108
  stream() {
4137
- const it = toIterator((0, import_chunk_OSFPEEC6.__privateGet)(this, _parts), true);
4109
+ const it = toIterator(this.#parts, true);
4138
4110
  return new globalThis.ReadableStream({
4139
4111
  // @ts-ignore
4140
4112
  type: "bytes",
@@ -4161,7 +4133,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4161
4133
  let relativeStart = start < 0 ? Math.max(size + start, 0) : Math.min(start, size);
4162
4134
  let relativeEnd = end < 0 ? Math.max(size + end, 0) : Math.min(end, size);
4163
4135
  const span = Math.max(relativeEnd - relativeStart, 0);
4164
- const parts = (0, import_chunk_OSFPEEC6.__privateGet)(this, _parts);
4136
+ const parts = this.#parts;
4165
4137
  const blobParts = [];
4166
4138
  let added = 0;
4167
4139
  for (const part of parts) {
@@ -4186,9 +4158,9 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4186
4158
  relativeStart = 0;
4187
4159
  }
4188
4160
  }
4189
- const blob = new _a([], { type: String(type).toLowerCase() });
4190
- (0, import_chunk_OSFPEEC6.__privateSet)(blob, _size, span);
4191
- (0, import_chunk_OSFPEEC6.__privateSet)(blob, _parts, blobParts);
4161
+ const blob = new Blob([], { type: String(type).toLowerCase() });
4162
+ blob.#size = span;
4163
+ blob.#parts = blobParts;
4192
4164
  return blob;
4193
4165
  }
4194
4166
  get [Symbol.toStringTag]() {
@@ -4197,18 +4169,17 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4197
4169
  static [Symbol.hasInstance](object) {
4198
4170
  return object && typeof object === "object" && typeof object.constructor === "function" && (typeof object.stream === "function" || typeof object.arrayBuffer === "function") && /^(Blob|File)$/.test(object[Symbol.toStringTag]);
4199
4171
  }
4200
- }, _parts = /* @__PURE__ */ new WeakMap(), _type = /* @__PURE__ */ new WeakMap(), _size = /* @__PURE__ */ new WeakMap(), _endings = /* @__PURE__ */ new WeakMap(), _a);
4172
+ };
4201
4173
  Object.defineProperties(_Blob.prototype, {
4202
4174
  size: { enumerable: true },
4203
4175
  type: { enumerable: true },
4204
4176
  slice: { enumerable: true }
4205
4177
  });
4206
- var Blob = _Blob;
4207
- var fetch_blob_default = Blob;
4208
- var _lastModified;
4209
- var _name;
4210
- var _a2;
4211
- var _File = (_a2 = class extends fetch_blob_default {
4178
+ var Blob2 = _Blob;
4179
+ var fetch_blob_default = Blob2;
4180
+ var _File = class File extends fetch_blob_default {
4181
+ #lastModified = 0;
4182
+ #name = "";
4212
4183
  /**
4213
4184
  * @param {*[]} fileBits
4214
4185
  * @param {string} fileName
@@ -4220,20 +4191,18 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4220
4191
  throw new TypeError(`Failed to construct 'File': 2 arguments required, but only ${arguments.length} present.`);
4221
4192
  }
4222
4193
  super(fileBits, options);
4223
- (0, import_chunk_OSFPEEC6.__privateAdd)(this, _lastModified, 0);
4224
- (0, import_chunk_OSFPEEC6.__privateAdd)(this, _name, "");
4225
4194
  if (options === null) options = {};
4226
4195
  const lastModified = options.lastModified === void 0 ? Date.now() : Number(options.lastModified);
4227
4196
  if (!Number.isNaN(lastModified)) {
4228
- (0, import_chunk_OSFPEEC6.__privateSet)(this, _lastModified, lastModified);
4197
+ this.#lastModified = lastModified;
4229
4198
  }
4230
- (0, import_chunk_OSFPEEC6.__privateSet)(this, _name, String(fileName));
4199
+ this.#name = String(fileName);
4231
4200
  }
4232
4201
  get name() {
4233
- return (0, import_chunk_OSFPEEC6.__privateGet)(this, _name);
4202
+ return this.#name;
4234
4203
  }
4235
4204
  get lastModified() {
4236
- return (0, import_chunk_OSFPEEC6.__privateGet)(this, _lastModified);
4205
+ return this.#lastModified;
4237
4206
  }
4238
4207
  get [Symbol.toStringTag]() {
4239
4208
  return "File";
@@ -4241,9 +4210,9 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4241
4210
  static [Symbol.hasInstance](object) {
4242
4211
  return !!object && object instanceof fetch_blob_default && /^(File)$/.test(object[Symbol.toStringTag]);
4243
4212
  }
4244
- }, _lastModified = /* @__PURE__ */ new WeakMap(), _name = /* @__PURE__ */ new WeakMap(), _a2);
4245
- var File = _File;
4246
- var file_default = File;
4213
+ };
4214
+ var File2 = _File;
4215
+ var file_default = File2;
4247
4216
  var { toStringTag: t, iterator: i, hasInstance: h } = Symbol;
4248
4217
  var r = Math.random;
4249
4218
  var m = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(",");
@@ -4254,11 +4223,9 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4254
4223
  throw new TypeError(`Failed to execute '${n}' on 'FormData': ${e2} arguments required, but only ${a.length} present.`);
4255
4224
  }
4256
4225
  };
4257
- var _d;
4258
- var _a3;
4259
- var FormData = (_a3 = class {
4226
+ var FormData = class FormData2 {
4227
+ #d = [];
4260
4228
  constructor(...a) {
4261
- (0, import_chunk_OSFPEEC6.__privateAdd)(this, _d, []);
4262
4229
  if (a.length) throw new TypeError(`Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.`);
4263
4230
  }
4264
4231
  get [t]() {
@@ -4272,30 +4239,30 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4272
4239
  }
4273
4240
  append(...a) {
4274
4241
  x("append", arguments, 2);
4275
- (0, import_chunk_OSFPEEC6.__privateGet)(this, _d).push(f(...a));
4242
+ this.#d.push(f(...a));
4276
4243
  }
4277
4244
  delete(a) {
4278
4245
  x("delete", arguments, 1);
4279
4246
  a += "";
4280
- (0, import_chunk_OSFPEEC6.__privateSet)(this, _d, (0, import_chunk_OSFPEEC6.__privateGet)(this, _d).filter(([b]) => b !== a));
4247
+ this.#d = this.#d.filter(([b]) => b !== a);
4281
4248
  }
4282
4249
  get(a) {
4283
4250
  x("get", arguments, 1);
4284
4251
  a += "";
4285
- for (var b = (0, import_chunk_OSFPEEC6.__privateGet)(this, _d), l = b.length, c = 0; c < l; c++) if (b[c][0] === a) return b[c][1];
4252
+ for (var b = this.#d, l = b.length, c = 0; c < l; c++) if (b[c][0] === a) return b[c][1];
4286
4253
  return null;
4287
4254
  }
4288
4255
  getAll(a, b) {
4289
4256
  x("getAll", arguments, 1);
4290
4257
  b = [];
4291
4258
  a += "";
4292
- (0, import_chunk_OSFPEEC6.__privateGet)(this, _d).forEach((c) => c[0] === a && b.push(c[1]));
4259
+ this.#d.forEach((c) => c[0] === a && b.push(c[1]));
4293
4260
  return b;
4294
4261
  }
4295
4262
  has(a) {
4296
4263
  x("has", arguments, 1);
4297
4264
  a += "";
4298
- return (0, import_chunk_OSFPEEC6.__privateGet)(this, _d).some((b) => b[0] === a);
4265
+ return this.#d.some((b) => b[0] === a);
4299
4266
  }
4300
4267
  forEach(a, b) {
4301
4268
  x("forEach", arguments, 1);
@@ -4305,14 +4272,14 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4305
4272
  x("set", arguments, 2);
4306
4273
  var b = [], c = true;
4307
4274
  a = f(...a);
4308
- (0, import_chunk_OSFPEEC6.__privateGet)(this, _d).forEach((d) => {
4275
+ this.#d.forEach((d) => {
4309
4276
  d[0] === a[0] ? c && (c = !b.push(a)) : b.push(d);
4310
4277
  });
4311
4278
  c && b.push(a);
4312
- (0, import_chunk_OSFPEEC6.__privateSet)(this, _d, b);
4279
+ this.#d = b;
4313
4280
  }
4314
4281
  *entries() {
4315
- yield* (0, import_chunk_OSFPEEC6.__privateGet)(this, _d);
4282
+ yield* this.#d;
4316
4283
  }
4317
4284
  *keys() {
4318
4285
  for (var [a] of this) yield a;
@@ -4320,7 +4287,7 @@ var require_chunk_EQBIW23N = (0, import_chunk_WWAWV7DQ.__commonJS)({
4320
4287
  *values() {
4321
4288
  for (var [, a] of this) yield a;
4322
4289
  }
4323
- }, _d = /* @__PURE__ */ new WeakMap(), _a3);
4290
+ };
4324
4291
  function formDataToBlob(F, B = fetch_blob_default) {
4325
4292
  var b = `${r()}${r()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), c = [], p = `--${b}\r
4326
4293
  Content-Disposition: form-data; name="`;
@@ -4334,12 +4301,12 @@ Content-Type: ${v.type || "application/octet-stream"}\r
4334
4301
  c.push(`--${b}--`);
4335
4302
  return new B(c, { type: "multipart/form-data; boundary=" + b });
4336
4303
  }
4337
- var import_node_domexception = (0, import_chunk_OSFPEEC6.__toESM)(require_node_domexception(), 1);
4304
+ var import_node_domexception = (0, import_chunk_QGM4M3NI.__toESM)(require_node_domexception(), 1);
4338
4305
  var { stat } = import_node_fs.promises;
4339
4306
  }
4340
4307
  });
4341
- var require_multipart_parser_54WEFGGN = (0, import_chunk_WWAWV7DQ.__commonJS)({
4342
- "../fetch-engine/dist/multipart-parser-54WEFGGN.js"(exports, module2) {
4308
+ var require_multipart_parser_ASKQAOL4 = (0, import_chunk_2ESYSVXG.__commonJS)({
4309
+ "../fetch-engine/dist/multipart-parser-ASKQAOL4.js"(exports, module2) {
4343
4310
  var __defProp2 = Object.defineProperty;
4344
4311
  var __getOwnPropDesc2 = Object.getOwnPropertyDescriptor;
4345
4312
  var __getOwnPropNames2 = Object.getOwnPropertyNames;
@@ -4357,13 +4324,13 @@ var require_multipart_parser_54WEFGGN = (0, import_chunk_WWAWV7DQ.__commonJS)({
4357
4324
  return to;
4358
4325
  };
4359
4326
  var __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: true }), mod);
4360
- var multipart_parser_54WEFGGN_exports = {};
4361
- __export2(multipart_parser_54WEFGGN_exports, {
4327
+ var multipart_parser_ASKQAOL4_exports = {};
4328
+ __export2(multipart_parser_ASKQAOL4_exports, {
4362
4329
  toFormData: () => toFormData
4363
4330
  });
4364
- module2.exports = __toCommonJS2(multipart_parser_54WEFGGN_exports);
4365
- var import_chunk_EQBIW23N = require_chunk_EQBIW23N();
4366
- var import_chunk_OSFPEEC6 = require_chunk_OSFPEEC6();
4331
+ module2.exports = __toCommonJS2(multipart_parser_ASKQAOL4_exports);
4332
+ var import_chunk_RXM4EBGR = require_chunk_RXM4EBGR();
4333
+ var import_chunk_QGM4M3NI = require_chunk_QGM4M3NI();
4367
4334
  var s = 0;
4368
4335
  var S = {
4369
4336
  START_BOUNDARY: s++,
@@ -4655,7 +4622,7 @@ var require_multipart_parser_54WEFGGN = (0, import_chunk_WWAWV7DQ.__commonJS)({
4655
4622
  let contentType;
4656
4623
  let filename;
4657
4624
  const entryChunks = [];
4658
- const formData = new import_chunk_EQBIW23N.FormData();
4625
+ const formData = new import_chunk_RXM4EBGR.FormData();
4659
4626
  const onPartData = (ui8a) => {
4660
4627
  entryValue += decoder.decode(ui8a, { stream: true });
4661
4628
  };
@@ -4663,7 +4630,7 @@ var require_multipart_parser_54WEFGGN = (0, import_chunk_WWAWV7DQ.__commonJS)({
4663
4630
  entryChunks.push(ui8a);
4664
4631
  };
4665
4632
  const appendFileToFormData = () => {
4666
- const file = new import_chunk_EQBIW23N.file_default(entryChunks, filename, { type: contentType });
4633
+ const file = new import_chunk_RXM4EBGR.file_default(entryChunks, filename, { type: contentType });
4667
4634
  formData.append(entryName, file);
4668
4635
  };
4669
4636
  const appendEntryToFormData = () => {
@@ -4715,7 +4682,7 @@ var require_multipart_parser_54WEFGGN = (0, import_chunk_WWAWV7DQ.__commonJS)({
4715
4682
  }
4716
4683
  }
4717
4684
  });
4718
- var multipart_parser_54WEFGGN_NLZG56KM_default = require_multipart_parser_54WEFGGN();
4685
+ var multipart_parser_ASKQAOL4_WZ47HU6G_default = require_multipart_parser_ASKQAOL4();
4719
4686
  /*! Bundled license information:
4720
4687
 
4721
4688
  node-domexception/index.js: