@prisma/fetch-engine 6.3.0-integration-engines-6-3-0-6-integration-5-22-0-with-simplified-typeinfo-c7d99d9db5129d8b35986b8518c7f10bc8580e03.2 → 6.3.0-integration-simpler-typeinfo-query.1
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-IFOGMTJY.js → chunk-43CHHWJS.js} +22 -22
- package/dist/{chunk-FKKOTNO6.js → chunk-74KKSUUB.js} +8 -8
- package/dist/{chunk-G7EM4XDM.js → chunk-BBSR4B7O.js} +40 -40
- package/dist/chunk-FQ2BOR66.js +2457 -0
- package/dist/{chunk-OFSFRIEP.js → chunk-KDPLGCY6.js} +8 -8
- package/dist/{chunk-BBQM2DBF.js → chunk-QLWYUM7O.js} +84 -84
- package/dist/chunk-QSTZGX47.js +70 -0
- package/dist/{chunk-ZAFWMCVK.js → chunk-RGVHWUUH.js} +3 -13
- package/dist/chunk-VPECQVLG.js +8153 -0
- package/dist/{chunk-TIRVZJHP.js → chunk-VTJS2JJN.js} +7 -7
- package/dist/{chunk-224FWTOK.js → chunk-XOHJAYLM.js} +21 -21
- package/dist/cleanupCache.js +4 -4
- package/dist/download.js +13 -13
- package/dist/downloadZip.js +6 -6
- package/dist/getProxyAgent.js +2 -2
- package/dist/index.js +16 -16
- package/dist/{multipart-parser-ITART6UP.js → multipart-parser-47FFAP42.js} +6 -9
- package/dist/utils.js +5 -5
- package/package.json +6 -6
@@ -16,16 +16,16 @@ 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_VTJS2JJN_exports = {};
|
20
|
+
__export(chunk_VTJS2JJN_exports, {
|
21
21
|
FormData: () => FormData,
|
22
22
|
fetch_blob_default: () => fetch_blob_default,
|
23
23
|
file_default: () => file_default,
|
24
24
|
formDataToBlob: () => formDataToBlob
|
25
25
|
});
|
26
|
-
module.exports = __toCommonJS(
|
26
|
+
module.exports = __toCommonJS(chunk_VTJS2JJN_exports);
|
27
27
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
28
|
-
var
|
28
|
+
var import_fs = require("fs");
|
29
29
|
var require_ponyfill_es2018 = (0, import_chunk_AH6QHEOA.__commonJS)({
|
30
30
|
"../../node_modules/.pnpm/web-streams-polyfill@3.2.1/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js"(exports, module2) {
|
31
31
|
"use strict";
|
@@ -3841,12 +3841,12 @@ var require_streams = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
3841
3841
|
var POOL_SIZE2 = 65536;
|
3842
3842
|
if (!globalThis.ReadableStream) {
|
3843
3843
|
try {
|
3844
|
-
const process = (0, import_chunk_AH6QHEOA.__require)("
|
3844
|
+
const process = (0, import_chunk_AH6QHEOA.__require)("process");
|
3845
3845
|
const { emitWarning } = process;
|
3846
3846
|
try {
|
3847
3847
|
process.emitWarning = () => {
|
3848
3848
|
};
|
3849
|
-
Object.assign(globalThis, (0, import_chunk_AH6QHEOA.__require)("
|
3849
|
+
Object.assign(globalThis, (0, import_chunk_AH6QHEOA.__require)("stream/web"));
|
3850
3850
|
process.emitWarning = emitWarning;
|
3851
3851
|
} catch (error) {
|
3852
3852
|
process.emitWarning = emitWarning;
|
@@ -4218,7 +4218,7 @@ Content-Type: ${v.type || "application/octet-stream"}\r
|
|
4218
4218
|
return new B(c, { type: "multipart/form-data; boundary=" + b });
|
4219
4219
|
}
|
4220
4220
|
var import_node_domexception = (0, import_chunk_AH6QHEOA.__toESM)(require_node_domexception(), 1);
|
4221
|
-
var { stat } =
|
4221
|
+
var { stat } = import_fs.promises;
|
4222
4222
|
/*! Bundled license information:
|
4223
4223
|
|
4224
4224
|
node-domexception/index.js:
|
@@ -26,8 +26,8 @@ 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_XOHJAYLM_exports = {};
|
30
|
+
__export(chunk_XOHJAYLM_exports, {
|
31
31
|
download: () => download,
|
32
32
|
getBinaryName: () => getBinaryName,
|
33
33
|
getVersion: () => getVersion,
|
@@ -35,12 +35,12 @@ __export(chunk_224FWTOK_exports, {
|
|
35
35
|
plusX: () => plusX,
|
36
36
|
vercelPkgPathRegex: () => vercelPkgPathRegex
|
37
37
|
});
|
38
|
-
module.exports = __toCommonJS(
|
38
|
+
module.exports = __toCommonJS(chunk_XOHJAYLM_exports);
|
39
39
|
var import_chunk_4LX3XBNY = require("./chunk-4LX3XBNY.js");
|
40
40
|
var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
|
41
|
-
var
|
42
|
-
var
|
43
|
-
var
|
41
|
+
var import_chunk_74KKSUUB = require("./chunk-74KKSUUB.js");
|
42
|
+
var import_chunk_VPECQVLG = require("./chunk-VPECQVLG.js");
|
43
|
+
var import_chunk_BBSR4B7O = require("./chunk-BBSR4B7O.js");
|
44
44
|
var import_chunk_PXQVM7NP = require("./chunk-PXQVM7NP.js");
|
45
45
|
var import_chunk_CWGQAQ3T = require("./chunk-CWGQAQ3T.js");
|
46
46
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
@@ -1552,7 +1552,7 @@ var require_merge_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
1552
1552
|
var require_stream = (0, import_chunk_AH6QHEOA.__commonJS)({
|
1553
1553
|
"../../node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js"(exports, module2) {
|
1554
1554
|
"use strict";
|
1555
|
-
var isStream = (0,
|
1555
|
+
var isStream = (0, import_chunk_VPECQVLG.require_is_stream)();
|
1556
1556
|
var getStream = require_get_stream();
|
1557
1557
|
var mergeStream = require_merge_stream();
|
1558
1558
|
var handleInput = (spawned, input) => {
|
@@ -2025,9 +2025,9 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
2025
2025
|
bugs: "https://github.com/prisma/prisma/issues",
|
2026
2026
|
enginesOverride: {},
|
2027
2027
|
devDependencies: {
|
2028
|
-
"@swc/core": "1.
|
2029
|
-
"@swc/jest": "0.2.
|
2030
|
-
"@types/jest": "29.5.
|
2028
|
+
"@swc/core": "1.6.13",
|
2029
|
+
"@swc/jest": "0.2.36",
|
2030
|
+
"@types/jest": "29.5.12",
|
2031
2031
|
"@types/node": "18.19.31",
|
2032
2032
|
"@types/progress": "2.0.7",
|
2033
2033
|
del: "6.1.1",
|
@@ -2071,9 +2071,9 @@ var require_package = (0, import_chunk_AH6QHEOA.__commonJS)({
|
|
2071
2071
|
}
|
2072
2072
|
});
|
2073
2073
|
var import_execa = (0, import_chunk_AH6QHEOA.__toESM)(require_execa());
|
2074
|
-
var import_fs_extra = (0, import_chunk_AH6QHEOA.__toESM)((0,
|
2074
|
+
var import_fs_extra = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_BBSR4B7O.require_lib)());
|
2075
2075
|
var import_p_filter = (0, import_chunk_AH6QHEOA.__toESM)(require_p_filter());
|
2076
|
-
var import_temp_dir = (0, import_chunk_AH6QHEOA.__toESM)((0,
|
2076
|
+
var import_temp_dir = (0, import_chunk_AH6QHEOA.__toESM)((0, import_chunk_VPECQVLG.require_temp_dir)());
|
2077
2077
|
var { enginesOverride } = require_package();
|
2078
2078
|
var debug = (0, import_debug.default)("prisma:fetch-engine:download");
|
2079
2079
|
var exists = (0, import_util.promisify)(import_fs.default.exists);
|
@@ -2140,7 +2140,7 @@ async function download(options) {
|
|
2140
2140
|
return shouldDownload;
|
2141
2141
|
});
|
2142
2142
|
if (binariesToDownload.length > 0) {
|
2143
|
-
const cleanupPromise = (0,
|
2143
|
+
const cleanupPromise = (0, import_chunk_74KKSUUB.cleanupCache)();
|
2144
2144
|
let finishBar;
|
2145
2145
|
let setProgress;
|
2146
2146
|
if (opts.showProgress) {
|
@@ -2149,7 +2149,7 @@ async function download(options) {
|
|
2149
2149
|
setProgress = collectiveBar.setProgress;
|
2150
2150
|
}
|
2151
2151
|
const promises = binariesToDownload.map((job) => {
|
2152
|
-
const downloadUrl = (0,
|
2152
|
+
const downloadUrl = (0, import_chunk_BBSR4B7O.getDownloadUrl)({
|
2153
2153
|
channel: "all_commits",
|
2154
2154
|
version: opts.version,
|
2155
2155
|
binaryTarget: job.binaryTarget,
|
@@ -2231,7 +2231,7 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
|
|
2231
2231
|
});
|
2232
2232
|
if (cachedFile) {
|
2233
2233
|
if (job.skipCacheIntegrityCheck === true) {
|
2234
|
-
await (0,
|
2234
|
+
await (0, import_chunk_BBSR4B7O.overwriteFile)(cachedFile, job.targetFilePath);
|
2235
2235
|
return false;
|
2236
2236
|
}
|
2237
2237
|
const sha256FilePath = cachedFile + ".sha256";
|
@@ -2242,12 +2242,12 @@ async function binaryNeedsToBeDownloaded(job, nativePlatform, version) {
|
|
2242
2242
|
if (!targetExists) {
|
2243
2243
|
debug(`copying ${cachedFile} to ${job.targetFilePath}`);
|
2244
2244
|
await import_fs.default.promises.utimes(cachedFile, /* @__PURE__ */ new Date(), /* @__PURE__ */ new Date());
|
2245
|
-
await (0,
|
2245
|
+
await (0, import_chunk_BBSR4B7O.overwriteFile)(cachedFile, job.targetFilePath);
|
2246
2246
|
}
|
2247
2247
|
const targetSha256 = await (0, import_chunk_CWGQAQ3T.getHash)(job.targetFilePath);
|
2248
2248
|
if (sha256File !== targetSha256) {
|
2249
2249
|
debug(`overwriting ${job.targetFilePath} with ${cachedFile} as hashes do not match`);
|
2250
|
-
await (0,
|
2250
|
+
await (0, import_chunk_BBSR4B7O.overwriteFile)(cachedFile, job.targetFilePath);
|
2251
2251
|
}
|
2252
2252
|
return false;
|
2253
2253
|
} else {
|
@@ -2301,7 +2301,7 @@ async function getCachedBinaryPath({
|
|
2301
2301
|
binaryTarget: binaryTarget2,
|
2302
2302
|
binaryName
|
2303
2303
|
}) {
|
2304
|
-
const cacheDir = await (0,
|
2304
|
+
const cacheDir = await (0, import_chunk_BBSR4B7O.getCacheDir)(channel, version, binaryTarget2);
|
2305
2305
|
if (!cacheDir) {
|
2306
2306
|
return null;
|
2307
2307
|
}
|
@@ -2334,7 +2334,7 @@ async function downloadBinary(options2) {
|
|
2334
2334
|
if (progressCb) {
|
2335
2335
|
progressCb(0);
|
2336
2336
|
}
|
2337
|
-
const { sha256, zippedSha256 } = await (0,
|
2337
|
+
const { sha256, zippedSha256 } = await (0, import_chunk_VPECQVLG.downloadZip)(downloadUrl, targetFilePath, progressCb);
|
2338
2338
|
if (progressCb) {
|
2339
2339
|
progressCb(1);
|
2340
2340
|
}
|
@@ -2342,7 +2342,7 @@ async function downloadBinary(options2) {
|
|
2342
2342
|
await saveFileToCache(options2, version, sha256, zippedSha256);
|
2343
2343
|
}
|
2344
2344
|
async function saveFileToCache(job, version, sha256, zippedSha256) {
|
2345
|
-
const cacheDir = await (0,
|
2345
|
+
const cacheDir = await (0, import_chunk_BBSR4B7O.getCacheDir)(channel, version, job.binaryTarget);
|
2346
2346
|
if (!cacheDir) {
|
2347
2347
|
return;
|
2348
2348
|
}
|
@@ -2350,7 +2350,7 @@ async function saveFileToCache(job, version, sha256, zippedSha256) {
|
|
2350
2350
|
const cachedSha256Path = import_path.default.join(cacheDir, job.binaryName + ".sha256");
|
2351
2351
|
const cachedSha256ZippedPath = import_path.default.join(cacheDir, job.binaryName + ".gz.sha256");
|
2352
2352
|
try {
|
2353
|
-
await (0,
|
2353
|
+
await (0, import_chunk_BBSR4B7O.overwriteFile)(job.targetFilePath, cachedTargetPath);
|
2354
2354
|
if (sha256 != null) {
|
2355
2355
|
await import_fs.default.promises.writeFile(cachedSha256Path, sha256);
|
2356
2356
|
}
|
package/dist/cleanupCache.js
CHANGED
@@ -18,11 +18,11 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
var cleanupCache_exports = {};
|
20
20
|
__export(cleanupCache_exports, {
|
21
|
-
cleanupCache: () =>
|
21
|
+
cleanupCache: () => import_chunk_QSTZGX47.cleanupCache
|
22
22
|
});
|
23
23
|
module.exports = __toCommonJS(cleanupCache_exports);
|
24
|
-
var
|
25
|
-
var
|
26
|
-
var
|
24
|
+
var import_chunk_QSTZGX47 = require("./chunk-QSTZGX47.js");
|
25
|
+
var import_chunk_RGVHWUUH = require("./chunk-RGVHWUUH.js");
|
26
|
+
var import_chunk_FQ2BOR66 = require("./chunk-FQ2BOR66.js");
|
27
27
|
var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
|
28
28
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
package/dist/download.js
CHANGED
@@ -18,24 +18,24 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
var download_exports = {};
|
20
20
|
__export(download_exports, {
|
21
|
-
download: () =>
|
22
|
-
getBinaryName: () =>
|
23
|
-
getVersion: () =>
|
24
|
-
maybeCopyToTmp: () =>
|
25
|
-
plusX: () =>
|
26
|
-
vercelPkgPathRegex: () =>
|
21
|
+
download: () => import_chunk_43CHHWJS.download,
|
22
|
+
getBinaryName: () => import_chunk_43CHHWJS.getBinaryName,
|
23
|
+
getVersion: () => import_chunk_43CHHWJS.getVersion,
|
24
|
+
maybeCopyToTmp: () => import_chunk_43CHHWJS.maybeCopyToTmp,
|
25
|
+
plusX: () => import_chunk_43CHHWJS.plusX,
|
26
|
+
vercelPkgPathRegex: () => import_chunk_43CHHWJS.vercelPkgPathRegex
|
27
27
|
});
|
28
28
|
module.exports = __toCommonJS(download_exports);
|
29
|
-
var
|
29
|
+
var import_chunk_43CHHWJS = require("./chunk-43CHHWJS.js");
|
30
30
|
var import_chunk_4LX3XBNY = require("./chunk-4LX3XBNY.js");
|
31
31
|
var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
|
32
|
-
var
|
33
|
-
var
|
34
|
-
var
|
35
|
-
var
|
36
|
-
var
|
32
|
+
var import_chunk_QSTZGX47 = require("./chunk-QSTZGX47.js");
|
33
|
+
var import_chunk_QLWYUM7O = require("./chunk-QLWYUM7O.js");
|
34
|
+
var import_chunk_VTJS2JJN = require("./chunk-VTJS2JJN.js");
|
35
|
+
var import_chunk_RGVHWUUH = require("./chunk-RGVHWUUH.js");
|
36
|
+
var import_chunk_FQ2BOR66 = require("./chunk-FQ2BOR66.js");
|
37
37
|
var import_chunk_PXQVM7NP = require("./chunk-PXQVM7NP.js");
|
38
38
|
var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
|
39
39
|
var import_chunk_CWGQAQ3T = require("./chunk-CWGQAQ3T.js");
|
40
|
-
var
|
40
|
+
var import_chunk_KDPLGCY6 = require("./chunk-KDPLGCY6.js");
|
41
41
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
package/dist/downloadZip.js
CHANGED
@@ -18,13 +18,13 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
var downloadZip_exports = {};
|
20
20
|
__export(downloadZip_exports, {
|
21
|
-
downloadZip: () =>
|
21
|
+
downloadZip: () => import_chunk_QLWYUM7O.downloadZip
|
22
22
|
});
|
23
23
|
module.exports = __toCommonJS(downloadZip_exports);
|
24
|
-
var
|
25
|
-
var
|
26
|
-
var
|
27
|
-
var
|
24
|
+
var import_chunk_QLWYUM7O = require("./chunk-QLWYUM7O.js");
|
25
|
+
var import_chunk_VTJS2JJN = require("./chunk-VTJS2JJN.js");
|
26
|
+
var import_chunk_RGVHWUUH = require("./chunk-RGVHWUUH.js");
|
27
|
+
var import_chunk_FQ2BOR66 = require("./chunk-FQ2BOR66.js");
|
28
28
|
var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
|
29
|
-
var
|
29
|
+
var import_chunk_KDPLGCY6 = require("./chunk-KDPLGCY6.js");
|
30
30
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
package/dist/getProxyAgent.js
CHANGED
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
|
|
18
18
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
19
19
|
var getProxyAgent_exports = {};
|
20
20
|
__export(getProxyAgent_exports, {
|
21
|
-
getProxyAgent: () =>
|
21
|
+
getProxyAgent: () => import_chunk_KDPLGCY6.getProxyAgent
|
22
22
|
});
|
23
23
|
module.exports = __toCommonJS(getProxyAgent_exports);
|
24
|
-
var
|
24
|
+
var import_chunk_KDPLGCY6 = require("./chunk-KDPLGCY6.js");
|
25
25
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
package/dist/index.js
CHANGED
@@ -21,29 +21,29 @@ __export(dist_exports, {
|
|
21
21
|
BinaryType: () => import_chunk_X37PZICB.BinaryType,
|
22
22
|
allEngineEnvVarsSet: () => import_chunk_PXQVM7NP.allEngineEnvVarsSet,
|
23
23
|
deprecatedEnvVarMap: () => import_chunk_PXQVM7NP.deprecatedEnvVarMap,
|
24
|
-
download: () =>
|
24
|
+
download: () => import_chunk_43CHHWJS.download,
|
25
25
|
engineEnvVarMap: () => import_chunk_PXQVM7NP.engineEnvVarMap,
|
26
26
|
getBinaryEnvVarPath: () => import_chunk_PXQVM7NP.getBinaryEnvVarPath,
|
27
|
-
getBinaryName: () =>
|
28
|
-
getCacheDir: () =>
|
29
|
-
getProxyAgent: () =>
|
30
|
-
getVersion: () =>
|
31
|
-
maybeCopyToTmp: () =>
|
32
|
-
overwriteFile: () =>
|
33
|
-
plusX: () =>
|
34
|
-
vercelPkgPathRegex: () =>
|
27
|
+
getBinaryName: () => import_chunk_43CHHWJS.getBinaryName,
|
28
|
+
getCacheDir: () => import_chunk_FQ2BOR66.getCacheDir,
|
29
|
+
getProxyAgent: () => import_chunk_KDPLGCY6.getProxyAgent,
|
30
|
+
getVersion: () => import_chunk_43CHHWJS.getVersion,
|
31
|
+
maybeCopyToTmp: () => import_chunk_43CHHWJS.maybeCopyToTmp,
|
32
|
+
overwriteFile: () => import_chunk_FQ2BOR66.overwriteFile,
|
33
|
+
plusX: () => import_chunk_43CHHWJS.plusX,
|
34
|
+
vercelPkgPathRegex: () => import_chunk_43CHHWJS.vercelPkgPathRegex
|
35
35
|
});
|
36
36
|
module.exports = __toCommonJS(dist_exports);
|
37
|
-
var
|
37
|
+
var import_chunk_43CHHWJS = require("./chunk-43CHHWJS.js");
|
38
38
|
var import_chunk_4LX3XBNY = require("./chunk-4LX3XBNY.js");
|
39
39
|
var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
|
40
|
-
var
|
41
|
-
var
|
42
|
-
var
|
43
|
-
var
|
44
|
-
var
|
40
|
+
var import_chunk_QSTZGX47 = require("./chunk-QSTZGX47.js");
|
41
|
+
var import_chunk_QLWYUM7O = require("./chunk-QLWYUM7O.js");
|
42
|
+
var import_chunk_VTJS2JJN = require("./chunk-VTJS2JJN.js");
|
43
|
+
var import_chunk_RGVHWUUH = require("./chunk-RGVHWUUH.js");
|
44
|
+
var import_chunk_FQ2BOR66 = require("./chunk-FQ2BOR66.js");
|
45
45
|
var import_chunk_PXQVM7NP = require("./chunk-PXQVM7NP.js");
|
46
46
|
var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
|
47
47
|
var import_chunk_CWGQAQ3T = require("./chunk-CWGQAQ3T.js");
|
48
|
-
var
|
48
|
+
var import_chunk_KDPLGCY6 = require("./chunk-KDPLGCY6.js");
|
49
49
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
@@ -16,12 +16,12 @@ 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 multipart_parser_47FFAP42_exports = {};
|
20
|
+
__export(multipart_parser_47FFAP42_exports, {
|
21
21
|
toFormData: () => toFormData
|
22
22
|
});
|
23
|
-
module.exports = __toCommonJS(
|
24
|
-
var
|
23
|
+
module.exports = __toCommonJS(multipart_parser_47FFAP42_exports);
|
24
|
+
var import_chunk_VTJS2JJN = require("./chunk-VTJS2JJN.js");
|
25
25
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
26
26
|
var s = 0;
|
27
27
|
var S = {
|
@@ -149,7 +149,6 @@ var MultipartParser = class {
|
|
149
149
|
state = S.HEADER_FIELD;
|
150
150
|
mark("onHeaderField");
|
151
151
|
index = 0;
|
152
|
-
// falls through
|
153
152
|
case S.HEADER_FIELD:
|
154
153
|
if (c === CR) {
|
155
154
|
clear("onHeaderField");
|
@@ -179,7 +178,6 @@ var MultipartParser = class {
|
|
179
178
|
}
|
180
179
|
mark("onHeaderValue");
|
181
180
|
state = S.HEADER_VALUE;
|
182
|
-
// falls through
|
183
181
|
case S.HEADER_VALUE:
|
184
182
|
if (c === CR) {
|
185
183
|
dataCallback("onHeaderValue", true);
|
@@ -203,7 +201,6 @@ var MultipartParser = class {
|
|
203
201
|
case S.PART_DATA_START:
|
204
202
|
state = S.PART_DATA;
|
205
203
|
mark("onPartData");
|
206
|
-
// falls through
|
207
204
|
case S.PART_DATA:
|
208
205
|
previousIndex = index;
|
209
206
|
if (index === 0) {
|
@@ -314,7 +311,7 @@ async function toFormData(Body, ct) {
|
|
314
311
|
let contentType;
|
315
312
|
let filename;
|
316
313
|
const entryChunks = [];
|
317
|
-
const formData = new
|
314
|
+
const formData = new import_chunk_VTJS2JJN.FormData();
|
318
315
|
const onPartData = (ui8a) => {
|
319
316
|
entryValue += decoder.decode(ui8a, { stream: true });
|
320
317
|
};
|
@@ -322,7 +319,7 @@ async function toFormData(Body, ct) {
|
|
322
319
|
entryChunks.push(ui8a);
|
323
320
|
};
|
324
321
|
const appendFileToFormData = () => {
|
325
|
-
const file = new
|
322
|
+
const file = new import_chunk_VTJS2JJN.file_default(entryChunks, filename, { type: contentType });
|
326
323
|
formData.append(entryName, file);
|
327
324
|
};
|
328
325
|
const appendEntryToFormData = () => {
|
package/dist/utils.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 utils_exports = {};
|
20
20
|
__export(utils_exports, {
|
21
|
-
getCacheDir: () =>
|
22
|
-
getDownloadUrl: () =>
|
23
|
-
getRootCacheDir: () =>
|
24
|
-
overwriteFile: () =>
|
21
|
+
getCacheDir: () => import_chunk_FQ2BOR66.getCacheDir,
|
22
|
+
getDownloadUrl: () => import_chunk_FQ2BOR66.getDownloadUrl,
|
23
|
+
getRootCacheDir: () => import_chunk_FQ2BOR66.getRootCacheDir,
|
24
|
+
overwriteFile: () => import_chunk_FQ2BOR66.overwriteFile
|
25
25
|
});
|
26
26
|
module.exports = __toCommonJS(utils_exports);
|
27
|
-
var
|
27
|
+
var import_chunk_FQ2BOR66 = require("./chunk-FQ2BOR66.js");
|
28
28
|
var import_chunk_X37PZICB = require("./chunk-X37PZICB.js");
|
29
29
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prisma/fetch-engine",
|
3
|
-
"version": "6.3.0-integration-
|
3
|
+
"version": "6.3.0-integration-simpler-typeinfo-query.1",
|
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",
|
@@ -15,9 +15,9 @@
|
|
15
15
|
"bugs": "https://github.com/prisma/prisma/issues",
|
16
16
|
"enginesOverride": {},
|
17
17
|
"devDependencies": {
|
18
|
-
"@swc/core": "1.
|
19
|
-
"@swc/jest": "0.2.
|
20
|
-
"@types/jest": "29.5.
|
18
|
+
"@swc/core": "1.6.13",
|
19
|
+
"@swc/jest": "0.2.36",
|
20
|
+
"@types/jest": "29.5.12",
|
21
21
|
"@types/node": "18.19.31",
|
22
22
|
"@types/progress": "2.0.7",
|
23
23
|
"del": "6.1.1",
|
@@ -43,8 +43,8 @@
|
|
43
43
|
},
|
44
44
|
"dependencies": {
|
45
45
|
"@prisma/engines-version": "6.3.0-6.integration-5-22-0-with-simplified-typeinfo-c7d99d9db5129d8b35986b8518c7f10bc8580e03",
|
46
|
-
"@prisma/debug": "6.3.0-integration-
|
47
|
-
"@prisma/get-platform": "6.3.0-integration-
|
46
|
+
"@prisma/debug": "6.3.0-integration-simpler-typeinfo-query.1",
|
47
|
+
"@prisma/get-platform": "6.3.0-integration-simpler-typeinfo-query.1"
|
48
48
|
},
|
49
49
|
"files": [
|
50
50
|
"README.md",
|