@prisma/fetch-engine 6.17.0-dev.3 → 6.17.0-dev.31

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.
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var chmodPlusX_exports = {};
20
20
  __export(chmodPlusX_exports, {
21
- chmodPlusX: () => import_chunk_MX3HXAU2.chmodPlusX
21
+ chmodPlusX: () => import_chunk_7JLQJWOR.chmodPlusX
22
22
  });
23
23
  module.exports = __toCommonJS(chmodPlusX_exports);
24
- var import_chunk_MX3HXAU2 = require("./chunk-MX3HXAU2.js");
24
+ var import_chunk_7JLQJWOR = require("./chunk-7JLQJWOR.js");
25
25
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
@@ -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 chunk_CAMEZM54_exports = {};
30
- __export(chunk_CAMEZM54_exports, {
29
+ var chunk_3VVCXIQ5_exports = {};
30
+ __export(chunk_3VVCXIQ5_exports, {
31
31
  cleanupCache: () => cleanupCache
32
32
  });
33
- module.exports = __toCommonJS(chunk_CAMEZM54_exports);
33
+ module.exports = __toCommonJS(chunk_3VVCXIQ5_exports);
34
34
  var import_chunk_FSAAZH62 = require("./chunk-FSAAZH62.js");
35
- var import_chunk_YJOPKU47 = require("./chunk-YJOPKU47.js");
35
+ var import_chunk_LONQL55G = require("./chunk-LONQL55G.js");
36
36
  var import_chunk_QGM4M3NI = require("./chunk-QGM4M3NI.js");
37
37
  var import_node_fs = __toESM(require("node:fs"));
38
38
  var import_node_path = __toESM(require("node:path"));
@@ -41,7 +41,7 @@ var import_p_map = (0, import_chunk_QGM4M3NI.__toESM)((0, import_chunk_FSAAZH62.
41
41
  var debug = (0, import_debug.default)("cleanupCache");
42
42
  async function cleanupCache(n = 5) {
43
43
  try {
44
- const rootCacheDir = await (0, import_chunk_YJOPKU47.getRootCacheDir)();
44
+ const rootCacheDir = await (0, import_chunk_LONQL55G.getRootCacheDir)();
45
45
  if (!rootCacheDir) {
46
46
  debug("no rootCacheDir found");
47
47
  return;
@@ -26,19 +26,19 @@ 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 chunk_MX3HXAU2_exports = {};
30
- __export(chunk_MX3HXAU2_exports, {
29
+ var chunk_7JLQJWOR_exports = {};
30
+ __export(chunk_7JLQJWOR_exports, {
31
31
  chmodPlusX: () => chmodPlusX
32
32
  });
33
- module.exports = __toCommonJS(chunk_MX3HXAU2_exports);
34
- var import_fs = __toESM(require("fs"));
33
+ module.exports = __toCommonJS(chunk_7JLQJWOR_exports);
34
+ var import_node_fs = __toESM(require("node:fs"));
35
35
  function chmodPlusX(file) {
36
36
  if (process.platform === "win32") return;
37
- const s = import_fs.default.statSync(file);
37
+ const s = import_node_fs.default.statSync(file);
38
38
  const newMode = s.mode | 64 | 8 | 1;
39
39
  if (s.mode === newMode) {
40
40
  return;
41
41
  }
42
42
  const base8 = newMode.toString(8).slice(-3);
43
- import_fs.default.chmodSync(file, base8);
43
+ import_node_fs.default.chmodSync(file, base8);
44
44
  }