@vm0/cli 9.254.0 → 9.254.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.
Files changed (102) hide show
  1. package/{agent-RMGI2J4J.js → agent-NSQIRPVB.js} +6 -6
  2. package/{banking-MY3UOHLJ.js → banking-IQ7MX2B4.js} +4 -4
  3. package/{chat-YXUYGE6R.js → chat-SC5PGHDZ.js} +5 -5
  4. package/{chunk-5SWLOAHS.js → chunk-4MPNBXFO.js} +2 -2
  5. package/{chunk-RPYYZK6K.js → chunk-7OBI7V4O.js} +96 -40
  6. package/chunk-7OBI7V4O.js.map +1 -0
  7. package/{chunk-SISEWEDH.js → chunk-BSFDG7MC.js} +2 -2
  8. package/{chunk-7U3FWIOP.js → chunk-F6JKPYD2.js} +2 -2
  9. package/{chunk-CMTIFAL7.js → chunk-MNHYBPQB.js} +4 -4
  10. package/{chunk-YHVB66HI.js → chunk-OTH23BP4.js} +2 -2
  11. package/{chunk-ES2FTLAP.js → chunk-SXD7ESWU.js} +7 -71
  12. package/chunk-SXD7ESWU.js.map +1 -0
  13. package/{chunk-7JATDT76.js → chunk-TV6RSLOX.js} +20 -2
  14. package/{chunk-7JATDT76.js.map → chunk-TV6RSLOX.js.map} +1 -1
  15. package/{chunk-OVTYR6LM.js → chunk-X6PT2M2I.js} +2 -2
  16. package/{computer-use-SLXQQH6Q.js → computer-use-C7D4GLBU.js} +4 -4
  17. package/{connector-KVBWTIAC.js → connector-FW3TFVAJ.js} +7 -7
  18. package/{credit-RNDNLWHJ.js → credit-YDQVARRO.js} +5 -5
  19. package/{developer-support-CFRQKOWQ.js → developer-support-NPRGXXF2.js} +4 -4
  20. package/{doctor-FAAS4UMJ.js → doctor-D7DAFSV3.js} +5 -5
  21. package/{esm-GOCEMHJO.js → esm-IFLVLSSI.js} +102 -74
  22. package/esm-IFLVLSSI.js.map +1 -0
  23. package/{feishu-RLVDQZZT.js → feishu-UDSN4AVE.js} +4 -4
  24. package/{finance-SASI7YWY.js → finance-O7WTSZ7W.js} +4 -4
  25. package/{generate-TTD32HUK.js → generate-ERHBA3S5.js} +5 -5
  26. package/{github-5TLXNMQW.js → github-LFJ6JXXJ.js} +4 -4
  27. package/{goal-XLBFOMEC.js → goal-GFUDKA42.js} +4 -4
  28. package/{host-G2TQRV4H.js → host-4NPMKE4M.js} +4 -4
  29. package/{logs-YB3S2OWH.js → logs-IAMPNPZU.js} +5 -5
  30. package/{mail-446A7J5Y.js → mail-KZJLXDSP.js} +6 -6
  31. package/{maps-5WELBNFI.js → maps-QC6LW3XN.js} +4 -4
  32. package/{model-WTBLQPBE.js → model-ZCBZUROI.js} +5 -5
  33. package/{model-provider-DFU346QW.js → model-provider-KHT4TJAD.js} +5 -5
  34. package/{org-DPZYCCSA.js → org-PGERW5HL.js} +4 -4
  35. package/package.json +1 -1
  36. package/{people-search-OI637MVP.js → people-search-KOWVJQ7J.js} +4 -4
  37. package/{phone-JJBH46SC.js → phone-UDZRVU4K.js} +4 -4
  38. package/{preference-WDN7V4ZO.js → preference-CW4D6H22.js} +4 -4
  39. package/{resource-QZJY6YQN.js → resource-UTBKHQYI.js} +122 -121
  40. package/resource-UTBKHQYI.js.map +1 -0
  41. package/{scrape-BNBCWLIJ.js → scrape-HSJGZHJP.js} +4 -4
  42. package/{search-BK4RVQZI.js → search-E3XYG3EQ.js} +5 -5
  43. package/{secret-74X2Y5XO.js → secret-FHYLUY5C.js} +4 -4
  44. package/{slack-HHZLW2WS.js → slack-KNNFCXQL.js} +4 -4
  45. package/{teams-SPHFPBB3.js → teams-SE2UBCFO.js} +4 -4
  46. package/{telegram-QXFDSGQX.js → telegram-MBCYOZOW.js} +4 -4
  47. package/{upgrade-IXKNUAPA.js → upgrade-HCODAAIE.js} +3 -3
  48. package/{variable-HTV3JLS7.js → variable-VK42DTQ3.js} +4 -4
  49. package/{video-AVKB4NEL.js → video-5HT4OTPO.js} +3 -3
  50. package/{weather-GAER2LFF.js → weather-JYVT7MJV.js} +4 -4
  51. package/{web-PF3ZHXHX.js → web-4ZYLQGTN.js} +4 -4
  52. package/{web-search-ZPAQX3HG.js → web-search-BUSZ7LN5.js} +4 -4
  53. package/{whoami-WPZMQHJF.js → whoami-DD32L4F2.js} +6 -6
  54. package/{workflow-M5KSFXFM.js → workflow-SW7Q4HHX.js} +4 -4
  55. package/zero.js +42 -42
  56. package/chunk-ES2FTLAP.js.map +0 -1
  57. package/chunk-RPYYZK6K.js.map +0 -1
  58. package/esm-GOCEMHJO.js.map +0 -1
  59. package/resource-QZJY6YQN.js.map +0 -1
  60. /package/{agent-RMGI2J4J.js.map → agent-NSQIRPVB.js.map} +0 -0
  61. /package/{banking-MY3UOHLJ.js.map → banking-IQ7MX2B4.js.map} +0 -0
  62. /package/{chat-YXUYGE6R.js.map → chat-SC5PGHDZ.js.map} +0 -0
  63. /package/{chunk-5SWLOAHS.js.map → chunk-4MPNBXFO.js.map} +0 -0
  64. /package/{chunk-SISEWEDH.js.map → chunk-BSFDG7MC.js.map} +0 -0
  65. /package/{chunk-7U3FWIOP.js.map → chunk-F6JKPYD2.js.map} +0 -0
  66. /package/{chunk-CMTIFAL7.js.map → chunk-MNHYBPQB.js.map} +0 -0
  67. /package/{chunk-YHVB66HI.js.map → chunk-OTH23BP4.js.map} +0 -0
  68. /package/{chunk-OVTYR6LM.js.map → chunk-X6PT2M2I.js.map} +0 -0
  69. /package/{computer-use-SLXQQH6Q.js.map → computer-use-C7D4GLBU.js.map} +0 -0
  70. /package/{connector-KVBWTIAC.js.map → connector-FW3TFVAJ.js.map} +0 -0
  71. /package/{credit-RNDNLWHJ.js.map → credit-YDQVARRO.js.map} +0 -0
  72. /package/{developer-support-CFRQKOWQ.js.map → developer-support-NPRGXXF2.js.map} +0 -0
  73. /package/{doctor-FAAS4UMJ.js.map → doctor-D7DAFSV3.js.map} +0 -0
  74. /package/{feishu-RLVDQZZT.js.map → feishu-UDSN4AVE.js.map} +0 -0
  75. /package/{finance-SASI7YWY.js.map → finance-O7WTSZ7W.js.map} +0 -0
  76. /package/{generate-TTD32HUK.js.map → generate-ERHBA3S5.js.map} +0 -0
  77. /package/{github-5TLXNMQW.js.map → github-LFJ6JXXJ.js.map} +0 -0
  78. /package/{goal-XLBFOMEC.js.map → goal-GFUDKA42.js.map} +0 -0
  79. /package/{host-G2TQRV4H.js.map → host-4NPMKE4M.js.map} +0 -0
  80. /package/{logs-YB3S2OWH.js.map → logs-IAMPNPZU.js.map} +0 -0
  81. /package/{mail-446A7J5Y.js.map → mail-KZJLXDSP.js.map} +0 -0
  82. /package/{maps-5WELBNFI.js.map → maps-QC6LW3XN.js.map} +0 -0
  83. /package/{model-WTBLQPBE.js.map → model-ZCBZUROI.js.map} +0 -0
  84. /package/{model-provider-DFU346QW.js.map → model-provider-KHT4TJAD.js.map} +0 -0
  85. /package/{org-DPZYCCSA.js.map → org-PGERW5HL.js.map} +0 -0
  86. /package/{people-search-OI637MVP.js.map → people-search-KOWVJQ7J.js.map} +0 -0
  87. /package/{phone-JJBH46SC.js.map → phone-UDZRVU4K.js.map} +0 -0
  88. /package/{preference-WDN7V4ZO.js.map → preference-CW4D6H22.js.map} +0 -0
  89. /package/{scrape-BNBCWLIJ.js.map → scrape-HSJGZHJP.js.map} +0 -0
  90. /package/{search-BK4RVQZI.js.map → search-E3XYG3EQ.js.map} +0 -0
  91. /package/{secret-74X2Y5XO.js.map → secret-FHYLUY5C.js.map} +0 -0
  92. /package/{slack-HHZLW2WS.js.map → slack-KNNFCXQL.js.map} +0 -0
  93. /package/{teams-SPHFPBB3.js.map → teams-SE2UBCFO.js.map} +0 -0
  94. /package/{telegram-QXFDSGQX.js.map → telegram-MBCYOZOW.js.map} +0 -0
  95. /package/{upgrade-IXKNUAPA.js.map → upgrade-HCODAAIE.js.map} +0 -0
  96. /package/{variable-HTV3JLS7.js.map → variable-VK42DTQ3.js.map} +0 -0
  97. /package/{video-AVKB4NEL.js.map → video-5HT4OTPO.js.map} +0 -0
  98. /package/{weather-GAER2LFF.js.map → weather-JYVT7MJV.js.map} +0 -0
  99. /package/{web-PF3ZHXHX.js.map → web-4ZYLQGTN.js.map} +0 -0
  100. /package/{web-search-ZPAQX3HG.js.map → web-search-BUSZ7LN5.js.map} +0 -0
  101. /package/{whoami-WPZMQHJF.js.map → whoami-DD32L4F2.js.map} +0 -0
  102. /package/{workflow-M5KSFXFM.js.map → workflow-SW7Q4HHX.js.map} +0 -0
@@ -13,13 +13,13 @@ import {
13
13
  } from "./chunk-UG5XA6KU.js";
14
14
  import {
15
15
  getRegistryResourceDownload
16
- } from "./chunk-RPYYZK6K.js";
17
- import "./chunk-5SWLOAHS.js";
16
+ } from "./chunk-7OBI7V4O.js";
17
+ import "./chunk-4MPNBXFO.js";
18
18
  import "./chunk-SB7EZ2ZO.js";
19
19
  import {
20
20
  source_default,
21
21
  withErrorHandler
22
- } from "./chunk-7JATDT76.js";
22
+ } from "./chunk-TV6RSLOX.js";
23
23
  import "./chunk-D4OTAABD.js";
24
24
  import {
25
25
  Command
@@ -35,7 +35,7 @@ import { mkdir, mkdtemp, rm, writeFile } from "fs/promises";
35
35
  import { tmpdir } from "os";
36
36
  import path from "path";
37
37
 
38
- // ../../node_modules/.pnpm/tar@7.5.20/node_modules/tar/dist/esm/index.min.js
38
+ // ../../node_modules/.pnpm/tar@7.5.22/node_modules/tar/dist/esm/index.min.js
39
39
  init_esm_shims();
40
40
  import Qr from "events";
41
41
  import I from "fs";
@@ -52,7 +52,7 @@ import * as Ps from "zlib";
52
52
  import en from "zlib";
53
53
  import { posix as Zt } from "path";
54
54
  import { basename as _n } from "path";
55
- import ui from "fs";
55
+ import mi from "fs";
56
56
  import X from "fs";
57
57
  import js from "path";
58
58
  import { win32 as Pn } from "path";
@@ -60,7 +60,7 @@ import ar from "path";
60
60
  import Br from "fs";
61
61
  import co from "assert";
62
62
  import { randomBytes as Mr } from "crypto";
63
- import m from "fs";
63
+ import u from "fs";
64
64
  import R from "path";
65
65
  import pr from "fs";
66
66
  import wi from "fs";
@@ -418,7 +418,7 @@ var Jr = I.writev;
418
418
  var ht = /* @__PURE__ */ Symbol("_autoClose");
419
419
  var H = /* @__PURE__ */ Symbol("_close");
420
420
  var te = /* @__PURE__ */ Symbol("_ended");
421
- var u = /* @__PURE__ */ Symbol("_fd");
421
+ var m = /* @__PURE__ */ Symbol("_fd");
422
422
  var Ni = /* @__PURE__ */ Symbol("_finished");
423
423
  var tt = /* @__PURE__ */ Symbol("_flags");
424
424
  var Ai = /* @__PURE__ */ Symbol("_flush");
@@ -445,7 +445,7 @@ var Me = /* @__PURE__ */ Symbol("_defaultFlag");
445
445
  var bt = /* @__PURE__ */ Symbol("_errored");
446
446
  var _t = class extends A {
447
447
  [bt] = false;
448
- [u];
448
+ [m];
449
449
  [U];
450
450
  [Ci];
451
451
  [j] = false;
@@ -454,10 +454,10 @@ var _t = class extends A {
454
454
  [ht];
455
455
  constructor(t, e) {
456
456
  if (e = e || {}, super(e), this.readable = true, this.writable = false, typeof t != "string") throw new TypeError("path must be a string");
457
- this[bt] = false, this[u] = typeof e.fd == "number" ? e.fd : void 0, this[U] = t, this[Ci] = e.readSize || 16 * 1024 * 1024, this[j] = false, this[Fi] = typeof e.size == "number" ? e.size : 1 / 0, this[ee] = this[Fi], this[ht] = typeof e.autoClose == "boolean" ? e.autoClose : true, typeof this[u] == "number" ? this[zt]() : this[at]();
457
+ this[bt] = false, this[m] = typeof e.fd == "number" ? e.fd : void 0, this[U] = t, this[Ci] = e.readSize || 16 * 1024 * 1024, this[j] = false, this[Fi] = typeof e.size == "number" ? e.size : 1 / 0, this[ee] = this[Fi], this[ht] = typeof e.autoClose == "boolean" ? e.autoClose : true, typeof this[m] == "number" ? this[zt]() : this[at]();
458
458
  }
459
459
  get fd() {
460
- return this[u];
460
+ return this[m];
461
461
  }
462
462
  get path() {
463
463
  return this[U];
@@ -472,7 +472,7 @@ var _t = class extends A {
472
472
  I.open(this[U], "r", (t, e) => this[Ht](t, e));
473
473
  }
474
474
  [Ht](t, e) {
475
- t ? this[Ut](t) : (this[u] = e, this.emit("open", e), this[zt]());
475
+ t ? this[Ut](t) : (this[m] = e, this.emit("open", e), this[zt]());
476
476
  }
477
477
  [vi]() {
478
478
  return Buffer.allocUnsafe(Math.min(this[Ci], this[ee]));
@@ -482,16 +482,16 @@ var _t = class extends A {
482
482
  this[j] = true;
483
483
  let t = this[vi]();
484
484
  if (t.length === 0) return process.nextTick(() => this[Ii](null, 0, t));
485
- I.read(this[u], t, 0, t.length, null, (e, i, r) => this[Ii](e, i, r));
485
+ I.read(this[m], t, 0, t.length, null, (e, i, r) => this[Ii](e, i, r));
486
486
  }
487
487
  }
488
488
  [Ii](t, e, i) {
489
489
  this[j] = false, t ? this[Ut](t) : this[ki](e, i) && this[zt]();
490
490
  }
491
491
  [H]() {
492
- if (this[ht] && typeof this[u] == "number") {
493
- let t = this[u];
494
- this[u] = void 0, I.close(t, (e) => e ? this.emit("error", e) : this.emit("close"));
492
+ if (this[ht] && typeof this[m] == "number") {
493
+ let t = this[m];
494
+ this[m] = void 0, I.close(t, (e) => e ? this.emit("error", e) : this.emit("close"));
495
495
  }
496
496
  }
497
497
  [Ut](t) {
@@ -507,7 +507,7 @@ var _t = class extends A {
507
507
  case "finish":
508
508
  return false;
509
509
  case "drain":
510
- return typeof this[u] == "number" && this[zt](), false;
510
+ return typeof this[m] == "number" && this[zt](), false;
511
511
  case "error":
512
512
  return this[bt] ? false : (this[bt] = true, super.emit(t, ...e));
513
513
  default:
@@ -530,7 +530,7 @@ var Be = class extends _t {
530
530
  if (!this[j]) {
531
531
  this[j] = true;
532
532
  do {
533
- let e = this[vi](), i = e.length === 0 ? 0 : I.readSync(this[u], e, 0, e.length, null);
533
+ let e = this[vi](), i = e.length === 0 ? 0 : I.readSync(this[m], e, 0, e.length, null);
534
534
  if (!this[ki](i, e)) break;
535
535
  } while (true);
536
536
  this[j] = false;
@@ -541,9 +541,9 @@ var Be = class extends _t {
541
541
  }
542
542
  }
543
543
  [H]() {
544
- if (this[ht] && typeof this[u] == "number") {
545
- let t = this[u];
546
- this[u] = void 0, I.closeSync(t), this.emit("close");
544
+ if (this[ht] && typeof this[m] == "number") {
545
+ let t = this[m];
546
+ this[m] = void 0, I.closeSync(t), this.emit("close");
547
547
  }
548
548
  }
549
549
  };
@@ -558,15 +558,15 @@ var et = class extends Qr {
558
558
  [U];
559
559
  [ie];
560
560
  [ht];
561
- [u];
561
+ [m];
562
562
  [Me];
563
563
  [tt];
564
564
  [Ni] = false;
565
565
  [ot];
566
566
  constructor(t, e) {
567
- e = e || {}, super(e), this[U] = t, this[u] = typeof e.fd == "number" ? e.fd : void 0, this[ie] = e.mode === void 0 ? 438 : e.mode, this[ot] = typeof e.start == "number" ? e.start : void 0, this[ht] = typeof e.autoClose == "boolean" ? e.autoClose : true;
567
+ e = e || {}, super(e), this[U] = t, this[m] = typeof e.fd == "number" ? e.fd : void 0, this[ie] = e.mode === void 0 ? 438 : e.mode, this[ot] = typeof e.start == "number" ? e.start : void 0, this[ht] = typeof e.autoClose == "boolean" ? e.autoClose : true;
568
568
  let i = this[ot] !== void 0 ? "r+" : "w";
569
- this[Me] = e.flags === void 0, this[tt] = e.flags === void 0 ? i : e.flags, this[u] === void 0 && this[at]();
569
+ this[Me] = e.flags === void 0, this[tt] = e.flags === void 0 ? i : e.flags, this[m] === void 0 && this[at]();
570
570
  }
571
571
  emit(t, ...e) {
572
572
  if (t === "error") {
@@ -576,7 +576,7 @@ var et = class extends Qr {
576
576
  return super.emit(t, ...e);
577
577
  }
578
578
  get fd() {
579
- return this[u];
579
+ return this[m];
580
580
  }
581
581
  get path() {
582
582
  return this[U];
@@ -588,16 +588,16 @@ var et = class extends Qr {
588
588
  I.open(this[U], this[tt], this[ie], (t, e) => this[Ht](t, e));
589
589
  }
590
590
  [Ht](t, e) {
591
- this[Me] && this[tt] === "r+" && t && t.code === "ENOENT" ? (this[tt] = "w", this[at]()) : t ? this[Ut](t) : (this[u] = e, this.emit("open", e), this[gt] || this[Ai]());
591
+ this[Me] && this[tt] === "r+" && t && t.code === "ENOENT" ? (this[tt] = "w", this[at]()) : t ? this[Ut](t) : (this[m] = e, this.emit("open", e), this[gt] || this[Ai]());
592
592
  }
593
593
  end(t, e) {
594
- return t && this.write(t, e), this[te] = true, !this[gt] && !this[Y].length && typeof this[u] == "number" && this[Pt](null, 0), this;
594
+ return t && this.write(t, e), this[te] = true, !this[gt] && !this[Y].length && typeof this[m] == "number" && this[Pt](null, 0), this;
595
595
  }
596
596
  write(t, e) {
597
- return typeof t == "string" && (t = Buffer.from(t, e)), this[te] ? (this.emit("error", new Error("write() after end()")), false) : this[u] === void 0 || this[gt] || this[Y].length ? (this[Y].push(t), this[ke] = true, false) : (this[gt] = true, this[ve](t), true);
597
+ return typeof t == "string" && (t = Buffer.from(t, e)), this[te] ? (this.emit("error", new Error("write() after end()")), false) : this[m] === void 0 || this[gt] || this[Y].length ? (this[Y].push(t), this[ke] = true, false) : (this[gt] = true, this[ve](t), true);
598
598
  }
599
599
  [ve](t) {
600
- I.write(this[u], t, 0, t.length, this[ot], (e, i) => this[Pt](e, i));
600
+ I.write(this[m], t, 0, t.length, this[ot], (e, i) => this[Pt](e, i));
601
601
  }
602
602
  [Pt](t, e) {
603
603
  t ? this[Ut](t) : (this[ot] !== void 0 && typeof e == "number" && (this[ot] += e), this[Y].length ? this[Ai]() : (this[gt] = false, this[te] && !this[Ni] ? (this[Ni] = true, this[H](), this.emit("finish")) : this[ke] && (this[ke] = false, this.emit("drain"))));
@@ -607,13 +607,13 @@ var et = class extends Qr {
607
607
  else if (this[Y].length === 1) this[ve](this[Y].pop());
608
608
  else {
609
609
  let t = this[Y];
610
- this[Y] = [], Jr(this[u], t, this[ot], (e, i) => this[Pt](e, i));
610
+ this[Y] = [], Jr(this[m], t, this[ot], (e, i) => this[Pt](e, i));
611
611
  }
612
612
  }
613
613
  [H]() {
614
- if (this[ht] && typeof this[u] == "number") {
615
- let t = this[u];
616
- this[u] = void 0, I.close(t, (e) => e ? this.emit("error", e) : this.emit("close"));
614
+ if (this[ht] && typeof this[m] == "number") {
615
+ let t = this[m];
616
+ this[m] = void 0, I.close(t, (e) => e ? this.emit("error", e) : this.emit("close"));
617
617
  }
618
618
  }
619
619
  };
@@ -630,15 +630,15 @@ var Wt = class extends et {
630
630
  this[Ht](null, t);
631
631
  }
632
632
  [H]() {
633
- if (this[ht] && typeof this[u] == "number") {
634
- let t = this[u];
635
- this[u] = void 0, I.closeSync(t), this.emit("close");
633
+ if (this[ht] && typeof this[m] == "number") {
634
+ let t = this[m];
635
+ this[m] = void 0, I.closeSync(t), this.emit("close");
636
636
  }
637
637
  }
638
638
  [ve](t) {
639
639
  let e = true;
640
640
  try {
641
- this[Pt](null, I.writeSync(this[u], t, 0, t.length, this[ot])), e = false;
641
+ this[Pt](null, I.writeSync(this[m], t, 0, t.length, this[ot])), e = false;
642
642
  } finally {
643
643
  if (e) try {
644
644
  this[H]();
@@ -897,7 +897,7 @@ var dn = (s3) => Ve.has(s3);
897
897
  var Ui = /* @__PURE__ */ new Set(["0", "", "1", "2", "3", "4", "5", "6", "7", "D"]);
898
898
  var oe = /* @__PURE__ */ new Map([["0", "File"], ["", "OldFile"], ["1", "Link"], ["2", "SymbolicLink"], ["3", "CharacterDevice"], ["4", "BlockDevice"], ["5", "Directory"], ["6", "FIFO"], ["7", "ContiguousFile"], ["g", "GlobalExtendedHeader"], ["x", "ExtendedHeader"], ["A", "SolarisACL"], ["D", "GNUDumpDir"], ["I", "Inode"], ["K", "NextFileHasLongLinkpath"], ["L", "NextFileHasLongPath"], ["M", "ContinuationFile"], ["N", "OldGnuLongPath"], ["S", "SparseFile"], ["V", "TapeVolumeHeader"], ["X", "OldExtendedHeader"]]);
899
899
  var Ve = new Map(Array.from(oe).map((s3) => [s3[1], s3[0]]));
900
- var mn = (s3) => s3 === void 0 || s3 < 0 ? void 0 : s3;
900
+ var un = (s3) => s3 === void 0 || s3 < 0 ? void 0 : s3;
901
901
  var F = class {
902
902
  cksumValid = false;
903
903
  needPax = false;
@@ -926,7 +926,7 @@ var F = class {
926
926
  decode(t, e, i, r) {
927
927
  if (e || (e = 0), !t || !(t.length >= e + 512)) throw new Error("need 512 bytes for header");
928
928
  let n = xt(t, e + 156, 1), o = Ui.has(n), h = o ? i : void 0, a = o ? r : void 0;
929
- if (this.path = h?.path ?? xt(t, e, 100), this.mode = h?.mode ?? a?.mode ?? lt(t, e + 100, 8), this.uid = h?.uid ?? a?.uid ?? lt(t, e + 108, 8), this.gid = h?.gid ?? a?.gid ?? lt(t, e + 116, 8), this.size = mn(h?.size ?? a?.size ?? lt(t, e + 124, 12)), this.mtime = h?.mtime ?? a?.mtime ?? Wi(t, e + 136, 12), this.cksum = lt(t, e + 148, 12), a && this.#i(a, true), h && this.#i(h), ne(n) && (this.#t = n || "0"), this.#t === "0" && this.path.slice(-1) === "/" && (this.#t = "5"), this.#t === "5" && (this.size = 0), this.linkpath = xt(t, e + 157, 100), t.subarray(e + 257, e + 265).toString() === "ustar\x0000") if (this.uname = h?.uname ?? a?.uname ?? xt(t, e + 265, 32), this.gname = h?.gname ?? a?.gname ?? xt(t, e + 297, 32), this.devmaj = h?.devmaj ?? a?.devmaj ?? lt(t, e + 329, 8) ?? 0, this.devmin = h?.devmin ?? a?.devmin ?? lt(t, e + 337, 8) ?? 0, t[e + 475] !== 0) {
929
+ if (this.path = h?.path ?? xt(t, e, 100), this.mode = h?.mode ?? a?.mode ?? lt(t, e + 100, 8), this.uid = h?.uid ?? a?.uid ?? lt(t, e + 108, 8), this.gid = h?.gid ?? a?.gid ?? lt(t, e + 116, 8), this.size = un(h?.size ?? a?.size ?? lt(t, e + 124, 12)), this.mtime = h?.mtime ?? a?.mtime ?? Wi(t, e + 136, 12), this.cksum = lt(t, e + 148, 12), a && this.#i(a, true), h && this.#i(h), ne(n) && (this.#t = n || "0"), this.#t === "0" && this.path.slice(-1) === "/" && (this.#t = "5"), this.#t === "5" && (this.size = 0), this.linkpath = xt(t, e + 157, 100), t.subarray(e + 257, e + 265).toString() === "ustar\x0000") if (this.uname = h?.uname ?? a?.uname ?? xt(t, e + 265, 32), this.gname = h?.gname ?? a?.gname ?? xt(t, e + 297, 32), this.devmaj = h?.devmaj ?? a?.devmaj ?? lt(t, e + 329, 8) ?? 0, this.devmin = h?.devmin ?? a?.devmin ?? lt(t, e + 337, 8) ?? 0, t[e + 475] !== 0) {
930
930
  let c = xt(t, e + 345, 155);
931
931
  this.path = c + "/" + this.path;
932
932
  } else {
@@ -943,7 +943,7 @@ var F = class {
943
943
  }
944
944
  encode(t, e = 0) {
945
945
  if (t || (t = this.block = Buffer.alloc(512)), this.#t === "Unsupported" && (this.#t = "0"), !(t.length >= e + 512)) throw new Error("need 512 bytes for header");
946
- let i = this.ctime || this.atime ? 130 : 155, r = un(this.path || "", i), n = r[0], o = r[1];
946
+ let i = this.ctime || this.atime ? 130 : 155, r = mn(this.path || "", i), n = r[0], o = r[1];
947
947
  this.needPax = !!r[2], this.needPax = Lt(t, e, 100, n) || this.needPax, this.needPax = ct(t, e + 100, 8, this.mode) || this.needPax, this.needPax = ct(t, e + 108, 8, this.uid) || this.needPax, this.needPax = ct(t, e + 116, 8, this.gid) || this.needPax, this.needPax = ct(t, e + 124, 12, this.size) || this.needPax, this.needPax = Gi(t, e + 136, 12, this.mtime) || this.needPax, t[e + 156] = Number(this.#t.codePointAt(0)), this.needPax = Lt(t, e + 157, 100, this.linkpath) || this.needPax, t.write("ustar\x0000", e + 257, 8), this.needPax = Lt(t, e + 265, 32, this.uname) || this.needPax, this.needPax = Lt(t, e + 297, 32, this.gname) || this.needPax, this.needPax = ct(t, e + 329, 8, this.devmaj) || this.needPax, this.needPax = ct(t, e + 337, 8, this.devmin) || this.needPax, this.needPax = Lt(t, e + 345, i, o) || this.needPax, t[e + 475] !== 0 ? this.needPax = Lt(t, e + 345, 155, o) || this.needPax : (this.needPax = Lt(t, e + 345, 130, o) || this.needPax, this.needPax = Gi(t, e + 476, 12, this.atime) || this.needPax, this.needPax = Gi(t, e + 488, 12, this.ctime) || this.needPax);
948
948
  let h = 256;
949
949
  for (let a = e; a < e + 148; a++) h += t[a];
@@ -963,7 +963,7 @@ var F = class {
963
963
  else throw new TypeError("invalid entry type: " + t);
964
964
  }
965
965
  };
966
- var un = (s3, t) => {
966
+ var mn = (s3, t) => {
967
967
  let i = s3, r = "", n, o = Zt.parse(s3).root || ".";
968
968
  if (Buffer.byteLength(i) < 100) n = [i, r, false];
969
969
  else {
@@ -1156,7 +1156,7 @@ var dt = /* @__PURE__ */ Symbol("meta");
1156
1156
  var Ys = /* @__PURE__ */ Symbol("emitMeta");
1157
1157
  var p = /* @__PURE__ */ Symbol("buffer");
1158
1158
  var st = /* @__PURE__ */ Symbol("queue");
1159
- var mt = /* @__PURE__ */ Symbol("ended");
1159
+ var ut = /* @__PURE__ */ Symbol("ended");
1160
1160
  var Yi = /* @__PURE__ */ Symbol("emittedEnd");
1161
1161
  var At = /* @__PURE__ */ Symbol("emit");
1162
1162
  var w = /* @__PURE__ */ Symbol("unzip");
@@ -1198,7 +1198,7 @@ var rt = class extends Dn {
1198
1198
  [dt] = "";
1199
1199
  [V];
1200
1200
  [he];
1201
- [mt] = false;
1201
+ [ut] = false;
1202
1202
  [w];
1203
1203
  [$] = false;
1204
1204
  [It];
@@ -1336,7 +1336,7 @@ var rt = class extends Dn {
1336
1336
  }
1337
1337
  }
1338
1338
  let h = this.brotli === void 0 && !o;
1339
- if (this[w] === false && h) if (t.length < 512) if (this[mt]) this.brotli = true;
1339
+ if (this[w] === false && h) if (t.length < 512) if (this[ut]) this.brotli = true;
1340
1340
  else return this[p] = t, i?.(), true;
1341
1341
  else try {
1342
1342
  new F(t.subarray(0, 512)), this.brotli = false;
@@ -1344,13 +1344,13 @@ var rt = class extends Dn {
1344
1344
  this.brotli = true;
1345
1345
  }
1346
1346
  if (this[w] === void 0 || this[w] === false && (this.brotli || o)) {
1347
- let a = this[mt];
1348
- this[mt] = false, this[w] = this[w] === void 0 ? new Ue({}) : o ? new Ke({}) : new Ge({}), this[w].on("data", (c) => {
1347
+ let a = this[ut];
1348
+ this[ut] = false, this[w] = this[w] === void 0 ? new Ue({}) : o ? new Ke({}) : new Ge({}), this[w].on("data", (c) => {
1349
1349
  this[Xs](c) && this[Xe](c);
1350
1350
  }), this[w].on("error", (c) => {
1351
1351
  this[$] || this.abort(c);
1352
1352
  }), this[w].on("end", () => {
1353
- this[mt] = true, this[Xe]();
1353
+ this[ut] = true, this[Xe]();
1354
1354
  }), this[Yt] = true, this[le] += t.length;
1355
1355
  let l = !!this[w][a ? "end" : "write"](t);
1356
1356
  return this[Yt] = false, i?.(), l;
@@ -1364,7 +1364,7 @@ var rt = class extends Dn {
1364
1364
  t && !this[$] && (this[p] = this[p] ? Buffer.concat([this[p], t]) : t);
1365
1365
  }
1366
1366
  [Qe]() {
1367
- if (this[mt] && !this[Yi] && !this[$] && !this[ae]) {
1367
+ if (this[ut] && !this[Yi] && !this[$] && !this[ae]) {
1368
1368
  this[Yi] = true;
1369
1369
  let t = this[Nt];
1370
1370
  if (t?.blockRemain) {
@@ -1389,7 +1389,7 @@ var rt = class extends Dn {
1389
1389
  }
1390
1390
  this[ae] = false;
1391
1391
  }
1392
- (!this[p] || this[mt]) && this[Qe]();
1392
+ (!this[p] || this[ut]) && this[Qe]();
1393
1393
  }
1394
1394
  [qe](t) {
1395
1395
  let e = 0, i = t.length;
@@ -1411,10 +1411,10 @@ var rt = class extends Dn {
1411
1411
  e < i && (this[p] = this[p] ? Buffer.concat([t.subarray(e), this[p]]) : t.subarray(e));
1412
1412
  }
1413
1413
  end(t, e, i) {
1414
- return typeof t == "function" && (i = t, e = void 0, t = void 0), typeof e == "function" && (i = e, e = void 0), typeof t == "string" && (t = Buffer.from(t, e)), i && this.once("finish", i), this[$] || (this[w] ? (t && (this[le] += t.length, this[w].write(t)), this[w].end()) : (this[mt] = true, (this.brotli === void 0 || this.zstd === void 0) && (t = t || Buffer.alloc(0)), t && this.write(t), this[Qe]())), this;
1414
+ return typeof t == "function" && (i = t, e = void 0, t = void 0), typeof e == "function" && (i = e, e = void 0), typeof t == "string" && (t = Buffer.from(t, e)), i && this.once("finish", i), this[$] || (this[w] ? (t && (this[le] += t.length, this[w].write(t)), this[w].end()) : (this[ut] = true, (this.brotli === void 0 || this.zstd === void 0) && (t = t || Buffer.alloc(0)), t && this.write(t), this[Qe]())), this;
1415
1415
  }
1416
1416
  };
1417
- var ut = (s3) => {
1417
+ var mt = (s3) => {
1418
1418
  let t = s3.length - 1, e = -1;
1419
1419
  for (; t > -1 && s3.charAt(t) === "/"; ) e = t, t--;
1420
1420
  return e === -1 ? s3 : s3.slice(0, e);
@@ -1426,16 +1426,17 @@ var vn = (s3) => {
1426
1426
  } : (e) => e.resume();
1427
1427
  };
1428
1428
  var Qi = (s3, t) => {
1429
- let e = new Map(t.map((n) => [ut(n), true])), i = s3.filter, r = (n, o = "") => {
1430
- let h = o || kn(n).root || ".", a;
1431
- if (n === h) a = false;
1429
+ let e = new Map(t.map((o) => [mt(o), true])), i = s3.filter, r = 100, n = (o, h = "", a = 0) => {
1430
+ if (a >= r) return e.set(o, false), false;
1431
+ let l = h || kn(o).root || ".", c;
1432
+ if (o === l) c = false;
1432
1433
  else {
1433
- let l = e.get(n);
1434
- a = l !== void 0 ? l : r(Fn(n), h);
1434
+ let d = e.get(o);
1435
+ c = d !== void 0 ? d : n(Fn(o), l, a + 1);
1435
1436
  }
1436
- return e.set(n, a), a;
1437
+ return e.set(o, c), c;
1437
1438
  };
1438
- s3.filter = i ? (n, o) => i(n, o) && r(ut(n)) : (n) => r(ut(n));
1439
+ s3.filter = i ? (o, h) => i(o, h) && n(mt(o)) : (o) => n(mt(o));
1439
1440
  };
1440
1441
  var Mn = (s3) => {
1441
1442
  let t = new rt(s3), e = s3.file, i;
@@ -1492,7 +1493,7 @@ var Un = new Map(ei.map((s3, t) => [s3, ji[t]]));
1492
1493
  var Hn = new Map(ji.map((s3, t) => [s3, ei[t]]));
1493
1494
  var ts = (s3) => ei.reduce((t, e) => t.split(e).join(Un.get(e)), s3);
1494
1495
  var Qs = (s3) => ji.reduce((t, e) => t.split(e).join(Hn.get(e)), s3);
1495
- var rr = (s3, t) => t ? (s3 = f(s3).replace(/^\.(\/|$)/, ""), ut(t) + "/" + s3) : f(s3);
1496
+ var rr = (s3, t) => t ? (s3 = f(s3).replace(/^\.(\/|$)/, ""), mt(t) + "/" + s3) : f(s3);
1496
1497
  var Wn = 16 * 1024 * 1024;
1497
1498
  var tr = /* @__PURE__ */ Symbol("process");
1498
1499
  var er = /* @__PURE__ */ Symbol("file");
@@ -1919,16 +1920,16 @@ var hi = class s2 {
1919
1920
  }
1920
1921
  };
1921
1922
  function Zn(s3, t, e) {
1922
- let i = t, r = t ? t.next : s3.head, n = new me(e, i, r, s3);
1923
+ let i = t, r = t ? t.next : s3.head, n = new ue(e, i, r, s3);
1923
1924
  return n.next === void 0 && (s3.tail = n), n.prev === void 0 && (s3.head = n), s3.length++, n;
1924
1925
  }
1925
1926
  function Yn(s3, t) {
1926
- s3.tail = new me(t, s3.tail, void 0, s3), s3.head || (s3.head = s3.tail), s3.length++;
1927
+ s3.tail = new ue(t, s3.tail, void 0, s3), s3.head || (s3.head = s3.tail), s3.length++;
1927
1928
  }
1928
1929
  function Kn(s3, t) {
1929
- s3.head = new me(t, void 0, s3.head, s3), s3.tail || (s3.tail = s3.head), s3.length++;
1930
+ s3.head = new ue(t, void 0, s3.head, s3), s3.tail || (s3.tail = s3.head), s3.length++;
1930
1931
  }
1931
- var me = class {
1932
+ var ue = class {
1932
1933
  list;
1933
1934
  next;
1934
1935
  prev;
@@ -1953,7 +1954,7 @@ var pi = class {
1953
1954
  };
1954
1955
  var nr = Buffer.alloc(1024);
1955
1956
  var li = /* @__PURE__ */ Symbol("onStat");
1956
- var ue = /* @__PURE__ */ Symbol("ended");
1957
+ var me = /* @__PURE__ */ Symbol("ended");
1957
1958
  var W = /* @__PURE__ */ Symbol("queue");
1958
1959
  var pe = /* @__PURE__ */ Symbol("pendingLinks");
1959
1960
  var Et = /* @__PURE__ */ Symbol("current");
@@ -1965,12 +1966,12 @@ var ls = /* @__PURE__ */ Symbol("jobDone");
1965
1966
  var ci = /* @__PURE__ */ Symbol("addFSEntry");
1966
1967
  var or = /* @__PURE__ */ Symbol("addTarEntry");
1967
1968
  var ds = /* @__PURE__ */ Symbol("stat");
1968
- var ms = /* @__PURE__ */ Symbol("readdir");
1969
+ var us = /* @__PURE__ */ Symbol("readdir");
1969
1970
  var fi = /* @__PURE__ */ Symbol("onreaddir");
1970
1971
  var di = /* @__PURE__ */ Symbol("pipe");
1971
1972
  var hr = /* @__PURE__ */ Symbol("entry");
1972
1973
  var cs = /* @__PURE__ */ Symbol("entryOpt");
1973
- var mi = /* @__PURE__ */ Symbol("writeEntryClass");
1974
+ var ui = /* @__PURE__ */ Symbol("writeEntryClass");
1974
1975
  var lr = /* @__PURE__ */ Symbol("write");
1975
1976
  var fs = /* @__PURE__ */ Symbol("ondrain");
1976
1977
  var wt = class extends A {
@@ -1994,21 +1995,21 @@ var wt = class extends A {
1994
1995
  mtime;
1995
1996
  filter;
1996
1997
  jobs;
1997
- [mi];
1998
+ [ui];
1998
1999
  onWriteEntry;
1999
2000
  [W];
2000
2001
  [pe] = /* @__PURE__ */ new Map();
2001
2002
  [G] = 0;
2002
2003
  [Ee] = false;
2003
- [ue] = false;
2004
+ [me] = false;
2004
2005
  constructor(t = {}) {
2005
- if (super(), this.opt = t, this.file = t.file || "", this.cwd = t.cwd || process.cwd(), this.maxReadSize = t.maxReadSize, this.preservePaths = !!t.preservePaths, this.strict = !!t.strict, this.noPax = !!t.noPax, this.prefix = f(t.prefix || ""), this.linkCache = t.linkCache || /* @__PURE__ */ new Map(), this.statCache = t.statCache || /* @__PURE__ */ new Map(), this.readdirCache = t.readdirCache || /* @__PURE__ */ new Map(), this.onWriteEntry = t.onWriteEntry, this[mi] = de, typeof t.onwarn == "function" && this.on("warn", t.onwarn), this.portable = !!t.portable, t.gzip || t.brotli || t.zstd) {
2006
+ if (super(), this.opt = t, this.file = t.file || "", this.cwd = t.cwd || process.cwd(), this.maxReadSize = t.maxReadSize, this.preservePaths = !!t.preservePaths, this.strict = !!t.strict, this.noPax = !!t.noPax, this.prefix = f(t.prefix || ""), this.linkCache = t.linkCache || /* @__PURE__ */ new Map(), this.statCache = t.statCache || /* @__PURE__ */ new Map(), this.readdirCache = t.readdirCache || /* @__PURE__ */ new Map(), this.onWriteEntry = t.onWriteEntry, this[ui] = de, typeof t.onwarn == "function" && this.on("warn", t.onwarn), this.portable = !!t.portable, t.gzip || t.brotli || t.zstd) {
2006
2007
  if ((t.gzip ? 1 : 0) + (t.brotli ? 1 : 0) + (t.zstd ? 1 : 0) > 1) throw new TypeError("gzip, brotli, zstd are mutually exclusive");
2007
2008
  if (t.gzip && (typeof t.gzip != "object" && (t.gzip = {}), this.portable && (t.gzip.portable = true), this.zip = new ze(t.gzip)), t.brotli && (typeof t.brotli != "object" && (t.brotli = {}), this.zip = new We(t.brotli)), t.zstd && (typeof t.zstd != "object" && (t.zstd = {}), this.zip = new Ye(t.zstd)), !this.zip) throw new Error("impossible");
2008
2009
  let e = this.zip;
2009
2010
  e.on("data", (i) => super.write(i)), e.on("end", () => super.end()), e.on("drain", () => this[fs]()), this.on("resume", () => e.resume());
2010
2011
  } else this.on("drain", this[fs]);
2011
- this.noDirRecurse = !!t.noDirRecurse, this.follow = !!t.follow, this.noMtime = !!t.noMtime, t.mtime && (this.mtime = t.mtime), this.filter = typeof t.filter == "function" ? t.filter : () => true, this[W] = new hi(), this[G] = 0, this.jobs = Number(t.jobs) || 4, this[Ee] = false, this[ue] = false;
2012
+ this.noDirRecurse = !!t.noDirRecurse, this.follow = !!t.follow, this.noMtime = !!t.noMtime, t.mtime && (this.mtime = t.mtime), this.filter = typeof t.filter == "function" ? t.filter : () => true, this[W] = new hi(), this[G] = 0, this.jobs = Number(t.jobs) || 4, this[Ee] = false, this[me] = false;
2012
2013
  }
2013
2014
  [lr](t) {
2014
2015
  return super.write(t);
@@ -2017,10 +2018,10 @@ var wt = class extends A {
2017
2018
  return this.write(t), this;
2018
2019
  }
2019
2020
  end(t, e, i) {
2020
- return typeof t == "function" && (i = t, t = void 0), typeof e == "function" && (i = e, e = void 0), t && this.add(t), this[ue] = true, this[Ft](), i && i(), this;
2021
+ return typeof t == "function" && (i = t, t = void 0), typeof e == "function" && (i = e, e = void 0), t && this.add(t), this[me] = true, this[Ft](), i && i(), this;
2021
2022
  }
2022
2023
  write(t) {
2023
- if (this[ue]) throw new Error("write after end");
2024
+ if (this[me]) throw new Error("write after end");
2024
2025
  return typeof t == "string" ? this[ci](t) : this[or](t), this.flowing;
2025
2026
  }
2026
2027
  [or](t) {
@@ -2039,7 +2040,7 @@ var wt = class extends A {
2039
2040
  [ds](t) {
2040
2041
  t.pending = true, this[G] += 1;
2041
2042
  let e = this.follow ? "stat" : "lstat";
2042
- ui[e](t.absolute, (i, r) => {
2043
+ mi[e](t.absolute, (i, r) => {
2043
2044
  t.pending = false, this[G] -= 1, i ? this.emit("error", i) : this[li](t, r);
2044
2045
  });
2045
2046
  }
@@ -2052,8 +2053,8 @@ var wt = class extends A {
2052
2053
  }
2053
2054
  this[Ft]();
2054
2055
  }
2055
- [ms](t) {
2056
- t.pending = true, this[G] += 1, ui.readdir(t.absolute, (e, i) => {
2056
+ [us](t) {
2057
+ t.pending = true, this[G] += 1, mi.readdir(t.absolute, (e, i) => {
2057
2058
  if (t.pending = false, this[G] -= 1, e) return this.emit("error", e);
2058
2059
  this[fi](t, i);
2059
2060
  });
@@ -2068,7 +2069,7 @@ var wt = class extends A {
2068
2069
  let e = t.next;
2069
2070
  this[W].removeNode(t), t.next = e;
2070
2071
  }
2071
- this[Ee] = false, this[ue] && this[W].length === 0 && this[G] === 0 && (this.zip ? this.zip.end(nr) : (super.write(nr), super.end()));
2072
+ this[Ee] = false, this[me] && this[W].length === 0 && this[G] === 0 && (this.zip ? this.zip.end(nr) : (super.write(nr), super.end()));
2072
2073
  }
2073
2074
  }
2074
2075
  get [Et]() {
@@ -2099,7 +2100,7 @@ var wt = class extends A {
2099
2100
  if (t.stat && !t.ignore) {
2100
2101
  if (!this.noDirRecurse && t.stat.isDirectory() && !t.readdir) {
2101
2102
  let e = this.readdirCache.get(t.absolute);
2102
- if (e ? this[fi](t, e) : this[ms](t), !t.readdir) return;
2103
+ if (e ? this[fi](t, e) : this[us](t), !t.readdir) return;
2103
2104
  }
2104
2105
  if (t.entry = this[hr](t), !t.entry) {
2105
2106
  t.ignore = true;
@@ -2115,7 +2116,7 @@ var wt = class extends A {
2115
2116
  [hr](t) {
2116
2117
  this[G] += 1;
2117
2118
  try {
2118
- return new this[mi](t.path, this[cs](t)).on("end", () => this[ls](t)).on("error", (i) => this.emit("error", i));
2119
+ return new this[ui](t.path, this[cs](t)).on("end", () => this[ls](t)).on("error", (i) => this.emit("error", i));
2119
2120
  } catch (e) {
2120
2121
  this.emit("error", e);
2121
2122
  }
@@ -2146,7 +2147,7 @@ var wt = class extends A {
2146
2147
  var kt = class extends wt {
2147
2148
  sync = true;
2148
2149
  constructor(t) {
2149
- super(t), this[mi] = ni;
2150
+ super(t), this[ui] = ni;
2150
2151
  }
2151
2152
  pause() {
2152
2153
  }
@@ -2154,10 +2155,10 @@ var kt = class extends wt {
2154
2155
  }
2155
2156
  [ds](t) {
2156
2157
  let e = this.follow ? "statSync" : "lstatSync";
2157
- this[li](t, ui[e](t.absolute));
2158
+ this[li](t, mi[e](t.absolute));
2158
2159
  }
2159
- [ms](t) {
2160
- this[fi](t, ui.readdirSync(t.absolute));
2160
+ [us](t) {
2161
+ this[fi](t, mi.readdirSync(t.absolute));
2161
2162
  }
2162
2163
  [di](t) {
2163
2164
  let e = t.entry, i = this.zip;
@@ -2208,13 +2209,13 @@ var Qn = K(Vn, $n, Xn, qn, (s3, t) => {
2208
2209
  });
2209
2210
  var Jn = process.env.__FAKE_PLATFORM__ || process.platform;
2210
2211
  var Er = Jn === "win32";
2211
- var { O_CREAT: wr, O_NOFOLLOW: mr, O_TRUNC: Sr, O_WRONLY: yr } = pr.constants;
2212
+ var { O_CREAT: wr, O_NOFOLLOW: ur, O_TRUNC: Sr, O_WRONLY: yr } = pr.constants;
2212
2213
  var Rr = Number(process.env.__FAKE_FS_O_FILENAME__) || pr.constants.UV_FS_O_FILEMAP || 0;
2213
2214
  var jn = Er && !!Rr;
2214
2215
  var to = 512 * 1024;
2215
2216
  var eo = Rr | Sr | wr | yr;
2216
- var ur = !Er && typeof mr == "number" ? mr | Sr | wr | yr : null;
2217
- var us = ur !== null ? () => ur : jn ? (s3) => s3 < to ? eo : "w" : () => "w";
2217
+ var mr = !Er && typeof ur == "number" ? ur | Sr | wr | yr : null;
2218
+ var ms = mr !== null ? () => mr : jn ? (s3) => s3 < to ? eo : "w" : () => "w";
2218
2219
  var ps = (s3, t, e) => {
2219
2220
  try {
2220
2221
  return wi.lchownSync(s3, t, e);
@@ -2382,7 +2383,7 @@ var yi = class {
2382
2383
  #i = /* @__PURE__ */ new Map();
2383
2384
  #s = /* @__PURE__ */ new Set();
2384
2385
  reserve(t, e) {
2385
- t = ao ? ["win32 parallelization disabled"] : t.map((r) => ut(xr(Tr(r))));
2386
+ t = ao ? ["win32 parallelization disabled"] : t.map((r) => mt(xr(Tr(r))));
2386
2387
  let i = new Set(t.map((r) => lo(r)).reduce((r, n) => r.concat(n)));
2387
2388
  this.#i.set(e, { dirs: i, paths: t });
2388
2389
  for (let r of t) {
@@ -2470,19 +2471,19 @@ var _e = /* @__PURE__ */ Symbol("gid");
2470
2471
  var Oe = /* @__PURE__ */ Symbol("checkedCwd");
2471
2472
  var fo = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
2472
2473
  var Te = fo === "win32";
2473
- var mo = 1024;
2474
- var uo = (s3, t) => {
2475
- if (!Te) return m.unlink(s3, t);
2474
+ var uo = 1024;
2475
+ var mo = (s3, t) => {
2476
+ if (!Te) return u.unlink(s3, t);
2476
2477
  let e = s3 + ".DELETE." + Mr(16).toString("hex");
2477
- m.rename(s3, e, (i) => {
2478
+ u.rename(s3, e, (i) => {
2478
2479
  if (i) return t(i);
2479
- m.unlink(e, t);
2480
+ u.unlink(e, t);
2480
2481
  });
2481
2482
  };
2482
2483
  var po = (s3) => {
2483
- if (!Te) return m.unlinkSync(s3);
2484
+ if (!Te) return u.unlinkSync(s3);
2484
2485
  let t = s3 + ".DELETE." + Mr(16).toString("hex");
2485
- m.renameSync(s3, t), m.unlinkSync(t);
2486
+ u.renameSync(s3, t), u.unlinkSync(t);
2486
2487
  };
2487
2488
  var vr = (s3, t, e) => s3 !== void 0 && s3 === s3 >>> 0 ? s3 : t !== void 0 && t === t >>> 0 ? t : e;
2488
2489
  var Xt = class extends rt {
@@ -2522,7 +2523,7 @@ var Xt = class extends rt {
2522
2523
  if (t.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
2523
2524
  this.uid = t.uid, this.gid = t.gid, this.setOwner = true;
2524
2525
  } else this.uid = void 0, this.gid = void 0, this.setOwner = false;
2525
- this.preserveOwner = t.preserveOwner === void 0 && typeof t.uid != "number" ? process.getuid?.() === 0 : !!t.preserveOwner, this.processUid = (this.preserveOwner || this.setOwner) && process.getuid ? process.getuid() : void 0, this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ? process.getgid() : void 0, this.maxDepth = typeof t.maxDepth == "number" ? t.maxDepth : mo, this.forceChown = t.forceChown === true, this.win32 = !!t.win32 || Te, this.newer = !!t.newer, this.keep = !!t.keep, this.noMtime = !!t.noMtime, this.preservePaths = !!t.preservePaths, this.unlink = !!t.unlink, this.cwd = f(R.resolve(t.cwd || process.cwd())), this.strip = Number(t.strip) || 0, this.processUmask = this.chmod ? typeof t.processUmask == "number" ? t.processUmask : Lr() : 0, this.umask = typeof t.umask == "number" ? t.umask : this.processUmask, this.dmode = t.dmode || 511 & ~this.umask, this.fmode = t.fmode || 438 & ~this.umask, this.on("entry", (e) => this[Dr](e));
2526
+ this.preserveOwner = t.preserveOwner === void 0 && typeof t.uid != "number" ? process.getuid?.() === 0 : !!t.preserveOwner, this.processUid = (this.preserveOwner || this.setOwner) && process.getuid ? process.getuid() : void 0, this.processGid = (this.preserveOwner || this.setOwner) && process.getgid ? process.getgid() : void 0, this.maxDepth = typeof t.maxDepth == "number" ? t.maxDepth : uo, this.forceChown = t.forceChown === true, this.win32 = !!t.win32 || Te, this.newer = !!t.newer, this.keep = !!t.keep, this.noMtime = !!t.noMtime, this.preservePaths = !!t.preservePaths, this.unlink = !!t.unlink, this.cwd = f(R.resolve(t.cwd || process.cwd())), this.strip = Number(t.strip) || 0, this.processUmask = this.chmod ? typeof t.processUmask == "number" ? t.processUmask : Lr() : 0, this.umask = typeof t.umask == "number" ? t.umask : this.processUmask, this.dmode = t.dmode || 511 & ~this.umask, this.fmode = t.fmode || 438 & ~this.umask, this.on("entry", (e) => this[Dr](e));
2526
2527
  }
2527
2528
  warn(t, e, i = {}) {
2528
2529
  return (t === "TAR_BAD_ARCHIVE" || t === "TAR_ABORT") && (i.recoverable = false), super.warn(t, e, i);
@@ -2596,18 +2597,18 @@ var Xt = class extends rt {
2596
2597
  return vr(this.gid, t.gid, this.processGid);
2597
2598
  }
2598
2599
  [Ts](t, e) {
2599
- let i = typeof t.mode == "number" ? t.mode & 4095 : this.fmode, r = new et(String(t.absolute), { flags: us(t.size), mode: i, autoClose: false });
2600
+ let i = typeof t.mode == "number" ? t.mode & 4095 : this.fmode, r = new et(String(t.absolute), { flags: ms(t.size), mode: i, autoClose: false });
2600
2601
  r.on("error", (a) => {
2601
- r.fd && m.close(r.fd, () => {
2602
+ r.fd && u.close(r.fd, () => {
2602
2603
  }), r.write = () => true, this[O](a, t), e();
2603
2604
  });
2604
2605
  let n = 1, o = (a) => {
2605
2606
  if (a) {
2606
- r.fd && m.close(r.fd, () => {
2607
+ r.fd && u.close(r.fd, () => {
2607
2608
  }), this[O](a, t), e();
2608
2609
  return;
2609
2610
  }
2610
- --n === 0 && r.fd !== void 0 && m.close(r.fd, (l) => {
2611
+ --n === 0 && r.fd !== void 0 && u.close(r.fd, (l) => {
2611
2612
  l ? this[O](l, t) : this[$t](), e();
2612
2613
  });
2613
2614
  };
@@ -2616,12 +2617,12 @@ var Xt = class extends rt {
2616
2617
  if (typeof l == "number" && t.mtime && !this.noMtime) {
2617
2618
  n++;
2618
2619
  let c = t.atime || /* @__PURE__ */ new Date(), d = t.mtime;
2619
- m.futimes(l, c, d, (y) => y ? m.utimes(a, c, d, (T) => o(T && y)) : o());
2620
+ u.futimes(l, c, d, (y) => y ? u.utimes(a, c, d, (T) => o(T && y)) : o());
2620
2621
  }
2621
2622
  if (typeof l == "number" && this[ge](t)) {
2622
2623
  n++;
2623
2624
  let c = this[be](t), d = this[_e](t);
2624
- typeof c == "number" && typeof d == "number" && m.fchown(l, c, d, (y) => y ? m.chown(a, c, d, (T) => o(T && y)) : o());
2625
+ typeof c == "number" && typeof d == "number" && u.fchown(l, c, d, (y) => y ? u.chown(a, c, d, (T) => o(T && y)) : o());
2625
2626
  }
2626
2627
  o();
2627
2628
  });
@@ -2640,7 +2641,7 @@ var Xt = class extends rt {
2640
2641
  let n = 1, o = () => {
2641
2642
  --n === 0 && (e(), this[$t](), t.resume());
2642
2643
  };
2643
- t.mtime && !this.noMtime && (n++, m.utimes(String(t.absolute), t.atime || /* @__PURE__ */ new Date(), t.mtime, o)), this[ge](t) && (n++, m.chown(String(t.absolute), Number(this[be](t)), Number(this[_e](t)), o)), o();
2644
+ t.mtime && !this.noMtime && (n++, u.utimes(String(t.absolute), t.atime || /* @__PURE__ */ new Date(), t.mtime, o)), this[ge](t) && (n++, u.chown(String(t.absolute), Number(this[be](t)), Number(this[_e](t)), o)), o();
2644
2645
  });
2645
2646
  }
2646
2647
  [Cr](t) {
@@ -2662,7 +2663,7 @@ var Xt = class extends rt {
2662
2663
  let o = i.shift();
2663
2664
  if (this.preservePaths || o === void 0) return r();
2664
2665
  let h = R.resolve(e, o);
2665
- m.lstat(h, (a, l) => {
2666
+ u.lstat(h, (a, l) => {
2666
2667
  if (a) return r();
2667
2668
  if (l?.isSymbolicLink()) return n(new St(h, R.resolve(h, i.join("/"))));
2668
2669
  this[Re](t, h, i, r, n);
@@ -2709,7 +2710,7 @@ var Xt = class extends rt {
2709
2710
  }
2710
2711
  o();
2711
2712
  }, o = () => {
2712
- m.lstat(String(t.absolute), (h, a) => {
2713
+ u.lstat(String(t.absolute), (h, a) => {
2713
2714
  if (a && (this.keep || this.newer && a.mtime > (t.mtime ?? a.mtime))) {
2714
2715
  this[Ls](t), i();
2715
2716
  return;
@@ -2718,12 +2719,12 @@ var Xt = class extends rt {
2718
2719
  if (a.isDirectory()) {
2719
2720
  if (t.type === "Directory") {
2720
2721
  let l = this.chmod && t.mode && (a.mode & 4095) !== t.mode, c = (d) => this[P](d ?? null, t, i);
2721
- return l ? m.chmod(String(t.absolute), Number(t.mode), c) : c();
2722
+ return l ? u.chmod(String(t.absolute), Number(t.mode), c) : c();
2722
2723
  }
2723
- if (t.absolute !== this.cwd) return m.rmdir(String(t.absolute), (l) => this[P](l ?? null, t, i));
2724
+ if (t.absolute !== this.cwd) return u.rmdir(String(t.absolute), (l) => this[P](l ?? null, t, i));
2724
2725
  }
2725
2726
  if (t.absolute === this.cwd) return this[P](null, t, i);
2726
- uo(String(t.absolute), (l) => this[P](l ?? null, t, i));
2727
+ mo(String(t.absolute), (l) => this[P](l ?? null, t, i));
2727
2728
  });
2728
2729
  };
2729
2730
  this[Oe] ? n() : r();
@@ -2748,7 +2749,7 @@ var Xt = class extends rt {
2748
2749
  }
2749
2750
  }
2750
2751
  [gi](t, e, i, r) {
2751
- m[i](e, String(t.absolute), (n) => {
2752
+ u[i](e, String(t.absolute), (n) => {
2752
2753
  n ? this[O](n, t) : (this[$t](), t.resume()), r();
2753
2754
  });
2754
2755
  }
@@ -2779,17 +2780,17 @@ var xe = class extends Xt {
2779
2780
  if (o) return this[O](o, t);
2780
2781
  }
2781
2782
  }
2782
- let [e, i] = ye(() => m.lstatSync(String(t.absolute)));
2783
+ let [e, i] = ye(() => u.lstatSync(String(t.absolute)));
2783
2784
  if (i && (this.keep || this.newer && i.mtime > (t.mtime ?? i.mtime))) return this[Ls](t);
2784
2785
  if (e || this[Os](t, i)) return this[P](null, t);
2785
2786
  if (i.isDirectory()) {
2786
2787
  if (t.type === "Directory") {
2787
2788
  let o = this.chmod && t.mode && (i.mode & 4095) !== t.mode, [h] = o ? ye(() => {
2788
- m.chmodSync(String(t.absolute), Number(t.mode));
2789
+ u.chmodSync(String(t.absolute), Number(t.mode));
2789
2790
  }) : [];
2790
2791
  return this[P](h, t);
2791
2792
  }
2792
- let [n] = ye(() => m.rmdirSync(String(t.absolute)));
2793
+ let [n] = ye(() => u.rmdirSync(String(t.absolute)));
2793
2794
  this[P](n, t);
2794
2795
  }
2795
2796
  let [r] = t.absolute === this.cwd ? [] : ye(() => po(String(t.absolute)));
@@ -2799,21 +2800,21 @@ var xe = class extends Xt {
2799
2800
  let i = typeof t.mode == "number" ? t.mode & 4095 : this.fmode, r = (h) => {
2800
2801
  let a;
2801
2802
  try {
2802
- m.closeSync(n);
2803
+ u.closeSync(n);
2803
2804
  } catch (l) {
2804
2805
  a = l;
2805
2806
  }
2806
2807
  (h || a) && this[O](h || a, t), e();
2807
2808
  }, n;
2808
2809
  try {
2809
- n = m.openSync(String(t.absolute), us(t.size), i);
2810
+ n = u.openSync(String(t.absolute), ms(t.size), i);
2810
2811
  } catch (h) {
2811
2812
  return r(h);
2812
2813
  }
2813
2814
  let o = this.transform && this.transform(t) || t;
2814
2815
  o !== t && (o.on("error", (h) => this[O](h, t)), t.pipe(o)), o.on("data", (h) => {
2815
2816
  try {
2816
- m.writeSync(n, h, 0, h.length);
2817
+ u.writeSync(n, h, 0, h.length);
2817
2818
  } catch (a) {
2818
2819
  r(a);
2819
2820
  }
@@ -2822,10 +2823,10 @@ var xe = class extends Xt {
2822
2823
  if (t.mtime && !this.noMtime) {
2823
2824
  let a = t.atime || /* @__PURE__ */ new Date(), l = t.mtime;
2824
2825
  try {
2825
- m.futimesSync(n, a, l);
2826
+ u.futimesSync(n, a, l);
2826
2827
  } catch (c) {
2827
2828
  try {
2828
- m.utimesSync(String(t.absolute), a, l);
2829
+ u.utimesSync(String(t.absolute), a, l);
2829
2830
  } catch {
2830
2831
  h = c;
2831
2832
  }
@@ -2834,10 +2835,10 @@ var xe = class extends Xt {
2834
2835
  if (this[ge](t)) {
2835
2836
  let a = this[be](t), l = this[_e](t);
2836
2837
  try {
2837
- m.fchownSync(n, Number(a), Number(l));
2838
+ u.fchownSync(n, Number(a), Number(l));
2838
2839
  } catch (c) {
2839
2840
  try {
2840
- m.chownSync(String(t.absolute), Number(a), Number(l));
2841
+ u.chownSync(String(t.absolute), Number(a), Number(l));
2841
2842
  } catch {
2842
2843
  h = h || c;
2843
2844
  }
@@ -2853,11 +2854,11 @@ var xe = class extends Xt {
2853
2854
  return;
2854
2855
  }
2855
2856
  if (t.mtime && !this.noMtime) try {
2856
- m.utimesSync(String(t.absolute), t.atime || /* @__PURE__ */ new Date(), t.mtime);
2857
+ u.utimesSync(String(t.absolute), t.atime || /* @__PURE__ */ new Date(), t.mtime);
2857
2858
  } catch {
2858
2859
  }
2859
2860
  if (this[ge](t)) try {
2860
- m.chownSync(String(t.absolute), Number(this[be](t)), Number(this[_e](t)));
2861
+ u.chownSync(String(t.absolute), Number(this[be](t)), Number(this[_e](t)));
2861
2862
  } catch {
2862
2863
  }
2863
2864
  e(), t.resume();
@@ -2874,7 +2875,7 @@ var xe = class extends Xt {
2874
2875
  let o = e;
2875
2876
  for (let h of i) {
2876
2877
  o = R.resolve(o, h);
2877
- let [a, l] = ye(() => m.lstatSync(o));
2878
+ let [a, l] = ye(() => u.lstatSync(o));
2878
2879
  if (a) return r();
2879
2880
  if (l.isSymbolicLink()) return n(new St(o, R.resolve(e, i.join("/"))));
2880
2881
  }
@@ -2883,7 +2884,7 @@ var xe = class extends Xt {
2883
2884
  [gi](t, e, i, r) {
2884
2885
  let n = `${i}Sync`;
2885
2886
  try {
2886
- m[n](e, String(t.absolute)), r(), t.resume();
2887
+ u[n](e, String(t.absolute)), r(), t.resume();
2887
2888
  } catch (o) {
2888
2889
  return this[O](o, t);
2889
2890
  }
@@ -3109,4 +3110,4 @@ export {
3109
3110
  findRegistryResourceForPull,
3110
3111
  zeroResourceCommand
3111
3112
  };
3112
- //# sourceMappingURL=resource-QZJY6YQN.js.map
3113
+ //# sourceMappingURL=resource-UTBKHQYI.js.map