@prisma/fetch-engine 6.5.0-integration-fix-improve-global-omit-api-performance-2.1 → 6.5.0-integration-fix-improve-global-omit-api-performance-2.2
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-B7GZJEJB.js → chunk-APKI2WQJ.js} +23 -23
- package/dist/{chunk-G7EM4XDM.js → chunk-HACCWU3B.js} +423 -1304
- package/dist/{chunk-FKKOTNO6.js → chunk-I3P4GT6A.js} +5 -5
- package/dist/{chunk-4EZ7ALS2.js → chunk-ORVVLJ4G.js} +778 -6
- package/dist/{chunk-Y6JXVPQ2.js → chunk-Z4FI34ZU.js} +22 -22
- package/dist/cleanupCache.js +3 -3
- package/dist/download.js +10 -10
- package/dist/downloadZip.js +3 -3
- package/dist/index.js +12 -12
- package/dist/utils.js +5 -5
- package/package.json +6 -6
@@ -26,13 +26,13 @@ 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_I3P4GT6A_exports = {};
|
30
|
+
__export(chunk_I3P4GT6A_exports, {
|
31
31
|
cleanupCache: () => cleanupCache
|
32
32
|
});
|
33
|
-
module.exports = __toCommonJS(
|
33
|
+
module.exports = __toCommonJS(chunk_I3P4GT6A_exports);
|
34
34
|
var import_chunk_ZAFWMCVK = require("./chunk-ZAFWMCVK.js");
|
35
|
-
var
|
35
|
+
var import_chunk_HACCWU3B = require("./chunk-HACCWU3B.js");
|
36
36
|
var import_chunk_AH6QHEOA = require("./chunk-AH6QHEOA.js");
|
37
37
|
var import_debug = __toESM(require("@prisma/debug"));
|
38
38
|
var import_fs = __toESM(require("fs"));
|
@@ -44,7 +44,7 @@ var debug = (0, import_debug.default)("cleanupCache");
|
|
44
44
|
var del = (0, import_util.promisify)(import_rimraf.default);
|
45
45
|
async function cleanupCache(n = 5) {
|
46
46
|
try {
|
47
|
-
const rootCacheDir = await (0,
|
47
|
+
const rootCacheDir = await (0, import_chunk_HACCWU3B.getRootCacheDir)();
|
48
48
|
if (!rootCacheDir) {
|
49
49
|
debug("no rootCacheDir found");
|
50
50
|
return;
|