minimal-forge-work-pack-sync 0.1.9 → 0.1.10

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 (2) hide show
  1. package/dist/index.js +168 -161
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -7478,7 +7478,7 @@ import * as Ps from "zlib";
7478
7478
  import en from "zlib";
7479
7479
  import { posix as Zt } from "node:path";
7480
7480
  import { basename as _n } from "node:path";
7481
- import ui from "fs";
7481
+ import mi from "fs";
7482
7482
  import X from "fs";
7483
7483
  import js from "path";
7484
7484
  import { win32 as Pn } from "node:path";
@@ -7486,7 +7486,7 @@ import ar from "path";
7486
7486
  import Br from "node:fs";
7487
7487
  import co from "node:assert";
7488
7488
  import { randomBytes as Mr } from "node:crypto";
7489
- import m from "node:fs";
7489
+ import u from "node:fs";
7490
7490
  import R from "node:path";
7491
7491
  import pr from "fs";
7492
7492
  import wi from "node:fs";
@@ -7525,7 +7525,7 @@ var _ = /* @__PURE__ */ Symbol("bufferLength");
7525
7525
  var bi = /* @__PURE__ */ Symbol("bufferPush");
7526
7526
  var Ie = /* @__PURE__ */ Symbol("bufferShift");
7527
7527
  var L = /* @__PURE__ */ Symbol("objectMode");
7528
- var w = /* @__PURE__ */ Symbol("destroyed");
7528
+ var S = /* @__PURE__ */ Symbol("destroyed");
7529
7529
  var _i = /* @__PURE__ */ Symbol("error");
7530
7530
  var Oi = /* @__PURE__ */ Symbol("emitData");
7531
7531
  var Is = /* @__PURE__ */ Symbol("emitEnd");
@@ -7583,7 +7583,7 @@ var A = class extends Di {
7583
7583
  [Ne] = false;
7584
7584
  [qt] = null;
7585
7585
  [_] = 0;
7586
- [w] = false;
7586
+ [S] = false;
7587
7587
  [Jt];
7588
7588
  [Ce] = false;
7589
7589
  [Rt] = 0;
@@ -7632,7 +7632,7 @@ var A = class extends Di {
7632
7632
  write(t, e, i) {
7633
7633
  if (this[Ce]) return false;
7634
7634
  if (this[Q]) throw new Error("write after end");
7635
- if (this[w]) return this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
7635
+ if (this[S]) return this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
7636
7636
  typeof e == "function" && (i = e, e = "utf8"), e || (e = "utf8");
7637
7637
  let r = this[Z] ? jt : Yr;
7638
7638
  if (!this[L] && !Buffer.isBuffer(t)) {
@@ -7643,7 +7643,7 @@ var A = class extends Di {
7643
7643
  return this[L] ? (this[g] && this[_] !== 0 && this[Ae](true), this[g] ? this.emit("data", t) : this[bi](t), this[_] !== 0 && this.emit("readable"), i && r(i), this[g]) : t.length ? (typeof t == "string" && !(e === this[z] && !this[Mt]?.lastNeed) && (t = Buffer.from(t, e)), Buffer.isBuffer(t) && this[z] && (t = this[Mt].write(t)), this[g] && this[_] !== 0 && this[Ae](true), this[g] ? this.emit("data", t) : this[bi](t), this[_] !== 0 && this.emit("readable"), i && r(i), this[g]) : (this[_] !== 0 && this.emit("readable"), i && r(i), this[g]);
7644
7644
  }
7645
7645
  read(t) {
7646
- if (this[w]) return null;
7646
+ if (this[S]) return null;
7647
7647
  if (this[C] = false, this[_] === 0 || t === 0 || t && t > this[_]) return this[J](), null;
7648
7648
  this[L] && (t = null), this[b].length > 1 && !this[L] && (this[b] = [this[z] ? this[b].join("") : Buffer.concat(this[b], this[_])]);
7649
7649
  let e = this[Ns](t || null, this[b][0]);
@@ -7661,7 +7661,7 @@ var A = class extends Di {
7661
7661
  return typeof t == "function" && (i = t, t = void 0), typeof e == "function" && (i = e, e = "utf8"), t !== void 0 && this.write(t, e), i && this.once("end", i), this[Q] = true, this.writable = false, (this[g] || !this[Qt]) && this[J](), this;
7662
7662
  }
7663
7663
  [Bt]() {
7664
- this[w] || (!this[Rt] && !this[N].length && (this[C] = true), this[Qt] = false, this[g] = true, this.emit("resume"), this[b].length ? this[Ae]() : this[Q] ? this[J]() : this.emit("drain"));
7664
+ this[S] || (!this[Rt] && !this[N].length && (this[C] = true), this[Qt] = false, this[g] = true, this.emit("resume"), this[b].length ? this[Ae]() : this[Q] ? this[J]() : this.emit("drain"));
7665
7665
  }
7666
7666
  resume() {
7667
7667
  return this[Bt]();
@@ -7670,7 +7670,7 @@ var A = class extends Di {
7670
7670
  this[g] = false, this[Qt] = true, this[C] = false;
7671
7671
  }
7672
7672
  get destroyed() {
7673
- return this[w];
7673
+ return this[S];
7674
7674
  }
7675
7675
  get flowing() {
7676
7676
  return this[g];
@@ -7694,7 +7694,7 @@ var A = class extends Di {
7694
7694
  return this.emit("data", t), this[g];
7695
7695
  }
7696
7696
  pipe(t, e) {
7697
- if (this[w]) return t;
7697
+ if (this[S]) return t;
7698
7698
  this[C] = false;
7699
7699
  let i = this[nt];
7700
7700
  return e = e || {}, t === Ds.stdout || t === Ds.stderr ? e.end = false : e.end = e.end !== false, e.proxyErrors = !!e.proxyErrors, i ? e.end && t.end() : (this[N].push(e.proxyErrors ? new Li(this, t, e) : new Fe(this, t, e)), this[Z] ? jt(() => this[Bt]()) : this[Bt]()), t;
@@ -7732,15 +7732,15 @@ var A = class extends Di {
7732
7732
  return this[nt];
7733
7733
  }
7734
7734
  [J]() {
7735
- !this[De] && !this[nt] && !this[w] && this[b].length === 0 && this[Q] && (this[De] = true, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[Ne] && this.emit("close"), this[De] = false);
7735
+ !this[De] && !this[nt] && !this[S] && this[b].length === 0 && this[Q] && (this[De] = true, this.emit("end"), this.emit("prefinish"), this.emit("finish"), this[Ne] && this.emit("close"), this[De] = false);
7736
7736
  }
7737
7737
  emit(t, ...e) {
7738
7738
  let i = e[0];
7739
- if (t !== "error" && t !== "close" && t !== w && this[w]) return false;
7739
+ if (t !== "error" && t !== "close" && t !== S && this[S]) return false;
7740
7740
  if (t === "data") return !this[L] && !i ? false : this[Z] ? (jt(() => this[Oi](i)), true) : this[Oi](i);
7741
7741
  if (t === "end") return this[Is]();
7742
7742
  if (t === "close") {
7743
- if (this[Ne] = true, !this[nt] && !this[w]) return false;
7743
+ if (this[Ne] = true, !this[nt] && !this[S]) return false;
7744
7744
  let n = super.emit("close");
7745
7745
  return this.removeAllListeners("close"), n;
7746
7746
  } else if (t === "error") {
@@ -7792,7 +7792,7 @@ var A = class extends Di {
7792
7792
  }
7793
7793
  async promise() {
7794
7794
  return new Promise((t, e) => {
7795
- this.on(w, () => e(new Error("stream destroyed"))), this.on("error", (i) => e(i)), this.on("end", () => t());
7795
+ this.on(S, () => e(new Error("stream destroyed"))), this.on("error", (i) => e(i)), this.on("end", () => t());
7796
7796
  });
7797
7797
  }
7798
7798
  [Symbol.asyncIterator]() {
@@ -7804,14 +7804,14 @@ var A = class extends Di {
7804
7804
  if (r !== null) return Promise.resolve({ done: false, value: r });
7805
7805
  if (this[Q]) return e();
7806
7806
  let n, o, h = (d) => {
7807
- this.off("data", a), this.off("end", l), this.off(w, c), e(), o(d);
7807
+ this.off("data", a), this.off("end", l), this.off(S, c), e(), o(d);
7808
7808
  }, a = (d) => {
7809
- this.off("error", h), this.off("end", l), this.off(w, c), this.pause(), n({ value: d, done: !!this[Q] });
7809
+ this.off("error", h), this.off("end", l), this.off(S, c), this.pause(), n({ value: d, done: !!this[Q] });
7810
7810
  }, l = () => {
7811
- this.off("error", h), this.off("data", a), this.off(w, c), e(), n({ done: true, value: void 0 });
7811
+ this.off("error", h), this.off("data", a), this.off(S, c), e(), n({ done: true, value: void 0 });
7812
7812
  }, c = () => h(new Error("stream destroyed"));
7813
- return new Promise((d, S) => {
7814
- o = S, n = d, this.once(w, c), this.once("error", h), this.once("end", l), this.once("data", a);
7813
+ return new Promise((d, y) => {
7814
+ o = y, n = d, this.once(S, c), this.once("error", h), this.once("end", l), this.once("data", a);
7815
7815
  });
7816
7816
  }, throw: e, return: e, [Symbol.asyncIterator]() {
7817
7817
  return this;
@@ -7820,21 +7820,21 @@ var A = class extends Di {
7820
7820
  }
7821
7821
  [Symbol.iterator]() {
7822
7822
  this[C] = false;
7823
- let t = false, e = () => (this.pause(), this.off(_i, e), this.off(w, e), this.off("end", e), t = true, { done: true, value: void 0 }), i = () => {
7823
+ let t = false, e = () => (this.pause(), this.off(_i, e), this.off(S, e), this.off("end", e), t = true, { done: true, value: void 0 }), i = () => {
7824
7824
  if (t) return e();
7825
7825
  let r = this.read();
7826
7826
  return r === null ? e() : { done: false, value: r };
7827
7827
  };
7828
- return this.once("end", e), this.once(_i, e), this.once(w, e), { next: i, throw: e, return: e, [Symbol.iterator]() {
7828
+ return this.once("end", e), this.once(_i, e), this.once(S, e), { next: i, throw: e, return: e, [Symbol.iterator]() {
7829
7829
  return this;
7830
7830
  }, [Symbol.dispose]: () => {
7831
7831
  } };
7832
7832
  }
7833
7833
  destroy(t) {
7834
- if (this[w]) return t ? this.emit("error", t) : this.emit(w), this;
7835
- this[w] = true, this[C] = true, this[b].length = 0, this[_] = 0;
7834
+ if (this[S]) return t ? this.emit("error", t) : this.emit(S), this;
7835
+ this[S] = true, this[C] = true, this[b].length = 0, this[_] = 0;
7836
7836
  let e = this;
7837
- return typeof e.close == "function" && !this[Ne] && e.close(), t ? this.emit("error", t) : this.emit(w), this;
7837
+ return typeof e.close == "function" && !this[Ne] && e.close(), t ? this.emit("error", t) : this.emit(S), this;
7838
7838
  }
7839
7839
  static get isStream() {
7840
7840
  return Wr;
@@ -7844,7 +7844,7 @@ var Jr = I.writev;
7844
7844
  var ht = /* @__PURE__ */ Symbol("_autoClose");
7845
7845
  var H = /* @__PURE__ */ Symbol("_close");
7846
7846
  var te = /* @__PURE__ */ Symbol("_ended");
7847
- var u = /* @__PURE__ */ Symbol("_fd");
7847
+ var m = /* @__PURE__ */ Symbol("_fd");
7848
7848
  var Ni = /* @__PURE__ */ Symbol("_finished");
7849
7849
  var tt = /* @__PURE__ */ Symbol("_flags");
7850
7850
  var Ai = /* @__PURE__ */ Symbol("_flush");
@@ -7871,7 +7871,7 @@ var Me = /* @__PURE__ */ Symbol("_defaultFlag");
7871
7871
  var bt = /* @__PURE__ */ Symbol("_errored");
7872
7872
  var _t = class extends A {
7873
7873
  [bt] = false;
7874
- [u];
7874
+ [m];
7875
7875
  [U];
7876
7876
  [Ci];
7877
7877
  [j] = false;
@@ -7880,10 +7880,10 @@ var _t = class extends A {
7880
7880
  [ht];
7881
7881
  constructor(t, e) {
7882
7882
  if (e = e || {}, super(e), this.readable = true, this.writable = false, typeof t != "string") throw new TypeError("path must be a string");
7883
- 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]();
7883
+ 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]();
7884
7884
  }
7885
7885
  get fd() {
7886
- return this[u];
7886
+ return this[m];
7887
7887
  }
7888
7888
  get path() {
7889
7889
  return this[U];
@@ -7898,7 +7898,7 @@ var _t = class extends A {
7898
7898
  I.open(this[U], "r", (t, e) => this[Ht](t, e));
7899
7899
  }
7900
7900
  [Ht](t, e) {
7901
- t ? this[Ut](t) : (this[u] = e, this.emit("open", e), this[zt]());
7901
+ t ? this[Ut](t) : (this[m] = e, this.emit("open", e), this[zt]());
7902
7902
  }
7903
7903
  [vi]() {
7904
7904
  return Buffer.allocUnsafe(Math.min(this[Ci], this[ee]));
@@ -7908,16 +7908,16 @@ var _t = class extends A {
7908
7908
  this[j] = true;
7909
7909
  let t = this[vi]();
7910
7910
  if (t.length === 0) return process.nextTick(() => this[Ii](null, 0, t));
7911
- I.read(this[u], t, 0, t.length, null, (e, i, r) => this[Ii](e, i, r));
7911
+ I.read(this[m], t, 0, t.length, null, (e, i, r) => this[Ii](e, i, r));
7912
7912
  }
7913
7913
  }
7914
7914
  [Ii](t, e, i) {
7915
7915
  this[j] = false, t ? this[Ut](t) : this[ki](e, i) && this[zt]();
7916
7916
  }
7917
7917
  [H]() {
7918
- if (this[ht] && typeof this[u] == "number") {
7919
- let t = this[u];
7920
- this[u] = void 0, I.close(t, (e) => e ? this.emit("error", e) : this.emit("close"));
7918
+ if (this[ht] && typeof this[m] == "number") {
7919
+ let t = this[m];
7920
+ this[m] = void 0, I.close(t, (e) => e ? this.emit("error", e) : this.emit("close"));
7921
7921
  }
7922
7922
  }
7923
7923
  [Ut](t) {
@@ -7933,7 +7933,7 @@ var _t = class extends A {
7933
7933
  case "finish":
7934
7934
  return false;
7935
7935
  case "drain":
7936
- return typeof this[u] == "number" && this[zt](), false;
7936
+ return typeof this[m] == "number" && this[zt](), false;
7937
7937
  case "error":
7938
7938
  return this[bt] ? false : (this[bt] = true, super.emit(t, ...e));
7939
7939
  default:
@@ -7956,7 +7956,7 @@ var Be = class extends _t {
7956
7956
  if (!this[j]) {
7957
7957
  this[j] = true;
7958
7958
  do {
7959
- let e = this[vi](), i = e.length === 0 ? 0 : I.readSync(this[u], e, 0, e.length, null);
7959
+ let e = this[vi](), i = e.length === 0 ? 0 : I.readSync(this[m], e, 0, e.length, null);
7960
7960
  if (!this[ki](i, e)) break;
7961
7961
  } while (true);
7962
7962
  this[j] = false;
@@ -7967,9 +7967,9 @@ var Be = class extends _t {
7967
7967
  }
7968
7968
  }
7969
7969
  [H]() {
7970
- if (this[ht] && typeof this[u] == "number") {
7971
- let t = this[u];
7972
- this[u] = void 0, I.closeSync(t), this.emit("close");
7970
+ if (this[ht] && typeof this[m] == "number") {
7971
+ let t = this[m];
7972
+ this[m] = void 0, I.closeSync(t), this.emit("close");
7973
7973
  }
7974
7974
  }
7975
7975
  };
@@ -7984,15 +7984,15 @@ var et = class extends Qr {
7984
7984
  [U];
7985
7985
  [ie];
7986
7986
  [ht];
7987
- [u];
7987
+ [m];
7988
7988
  [Me];
7989
7989
  [tt];
7990
7990
  [Ni] = false;
7991
7991
  [ot];
7992
7992
  constructor(t, e) {
7993
- 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;
7993
+ 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;
7994
7994
  let i = this[ot] !== void 0 ? "r+" : "w";
7995
- this[Me] = e.flags === void 0, this[tt] = e.flags === void 0 ? i : e.flags, this[u] === void 0 && this[at]();
7995
+ this[Me] = e.flags === void 0, this[tt] = e.flags === void 0 ? i : e.flags, this[m] === void 0 && this[at]();
7996
7996
  }
7997
7997
  emit(t, ...e) {
7998
7998
  if (t === "error") {
@@ -8002,7 +8002,7 @@ var et = class extends Qr {
8002
8002
  return super.emit(t, ...e);
8003
8003
  }
8004
8004
  get fd() {
8005
- return this[u];
8005
+ return this[m];
8006
8006
  }
8007
8007
  get path() {
8008
8008
  return this[U];
@@ -8014,16 +8014,16 @@ var et = class extends Qr {
8014
8014
  I.open(this[U], this[tt], this[ie], (t, e) => this[Ht](t, e));
8015
8015
  }
8016
8016
  [Ht](t, e) {
8017
- 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]());
8017
+ 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]());
8018
8018
  }
8019
8019
  end(t, e) {
8020
- return t && this.write(t, e), this[te] = true, !this[gt] && !this[Y].length && typeof this[u] == "number" && this[Pt](null, 0), this;
8020
+ return t && this.write(t, e), this[te] = true, !this[gt] && !this[Y].length && typeof this[m] == "number" && this[Pt](null, 0), this;
8021
8021
  }
8022
8022
  write(t, e) {
8023
- 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);
8023
+ 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);
8024
8024
  }
8025
8025
  [ve](t) {
8026
- I.write(this[u], t, 0, t.length, this[ot], (e, i) => this[Pt](e, i));
8026
+ I.write(this[m], t, 0, t.length, this[ot], (e, i) => this[Pt](e, i));
8027
8027
  }
8028
8028
  [Pt](t, e) {
8029
8029
  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"))));
@@ -8033,13 +8033,13 @@ var et = class extends Qr {
8033
8033
  else if (this[Y].length === 1) this[ve](this[Y].pop());
8034
8034
  else {
8035
8035
  let t = this[Y];
8036
- this[Y] = [], Jr(this[u], t, this[ot], (e, i) => this[Pt](e, i));
8036
+ this[Y] = [], Jr(this[m], t, this[ot], (e, i) => this[Pt](e, i));
8037
8037
  }
8038
8038
  }
8039
8039
  [H]() {
8040
- if (this[ht] && typeof this[u] == "number") {
8041
- let t = this[u];
8042
- this[u] = void 0, I.close(t, (e) => e ? this.emit("error", e) : this.emit("close"));
8040
+ if (this[ht] && typeof this[m] == "number") {
8041
+ let t = this[m];
8042
+ this[m] = void 0, I.close(t, (e) => e ? this.emit("error", e) : this.emit("close"));
8043
8043
  }
8044
8044
  }
8045
8045
  };
@@ -8056,15 +8056,15 @@ var Wt = class extends et {
8056
8056
  this[Ht](null, t);
8057
8057
  }
8058
8058
  [H]() {
8059
- if (this[ht] && typeof this[u] == "number") {
8060
- let t = this[u];
8061
- this[u] = void 0, I.closeSync(t), this.emit("close");
8059
+ if (this[ht] && typeof this[m] == "number") {
8060
+ let t = this[m];
8061
+ this[m] = void 0, I.closeSync(t), this.emit("close");
8062
8062
  }
8063
8063
  }
8064
8064
  [ve](t) {
8065
8065
  let e = true;
8066
8066
  try {
8067
- this[Pt](null, I.writeSync(this[u], t, 0, t.length, this[ot])), e = false;
8067
+ this[Pt](null, I.writeSync(this[m], t, 0, t.length, this[ot])), e = false;
8068
8068
  } finally {
8069
8069
  if (e) try {
8070
8070
  this[H]();
@@ -8323,7 +8323,7 @@ var dn = (s3) => Ve.has(s3);
8323
8323
  var Ui = /* @__PURE__ */ new Set(["0", "", "1", "2", "3", "4", "5", "6", "7", "D"]);
8324
8324
  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"]]);
8325
8325
  var Ve = new Map(Array.from(oe).map((s3) => [s3[1], s3[0]]));
8326
- var mn = (s3) => s3 === void 0 || s3 < 0 ? void 0 : s3;
8326
+ var un = (s3) => s3 === void 0 || s3 < 0 ? void 0 : s3;
8327
8327
  var F = class {
8328
8328
  cksumValid = false;
8329
8329
  needPax = false;
@@ -8352,7 +8352,7 @@ var F = class {
8352
8352
  decode(t, e, i, r) {
8353
8353
  if (e || (e = 0), !t || !(t.length >= e + 512)) throw new Error("need 512 bytes for header");
8354
8354
  let n = xt(t, e + 156, 1), o = Ui.has(n), h = o ? i : void 0, a = o ? r : void 0;
8355
- 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) {
8355
+ 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) {
8356
8356
  let c = xt(t, e + 345, 155);
8357
8357
  this.path = c + "/" + this.path;
8358
8358
  } else {
@@ -8369,7 +8369,7 @@ var F = class {
8369
8369
  }
8370
8370
  encode(t, e = 0) {
8371
8371
  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");
8372
- let i = this.ctime || this.atime ? 130 : 155, r = un(this.path || "", i), n = r[0], o = r[1];
8372
+ let i = this.ctime || this.atime ? 130 : 155, r = mn(this.path || "", i), n = r[0], o = r[1];
8373
8373
  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);
8374
8374
  let h = 256;
8375
8375
  for (let a = e; a < e + 148; a++) h += t[a];
@@ -8389,7 +8389,7 @@ var F = class {
8389
8389
  else throw new TypeError("invalid entry type: " + t);
8390
8390
  }
8391
8391
  };
8392
- var un = (s3, t) => {
8392
+ var mn = (s3, t) => {
8393
8393
  let i = s3, r = "", n, o = Zt.parse(s3).root || ".";
8394
8394
  if (Buffer.byteLength(i) < 100) n = [i, r, false];
8395
8395
  else {
@@ -8582,10 +8582,10 @@ var dt = /* @__PURE__ */ Symbol("meta");
8582
8582
  var Ys = /* @__PURE__ */ Symbol("emitMeta");
8583
8583
  var p = /* @__PURE__ */ Symbol("buffer");
8584
8584
  var st = /* @__PURE__ */ Symbol("queue");
8585
- var mt = /* @__PURE__ */ Symbol("ended");
8585
+ var ut = /* @__PURE__ */ Symbol("ended");
8586
8586
  var Yi = /* @__PURE__ */ Symbol("emittedEnd");
8587
8587
  var At = /* @__PURE__ */ Symbol("emit");
8588
- var y = /* @__PURE__ */ Symbol("unzip");
8588
+ var w = /* @__PURE__ */ Symbol("unzip");
8589
8589
  var Xe = /* @__PURE__ */ Symbol("consumeChunk");
8590
8590
  var qe = /* @__PURE__ */ Symbol("consumeChunkSub");
8591
8591
  var Ki = /* @__PURE__ */ Symbol("consumeBody");
@@ -8624,8 +8624,8 @@ var rt = class extends Dn {
8624
8624
  [dt] = "";
8625
8625
  [V];
8626
8626
  [he];
8627
- [mt] = false;
8628
- [y];
8627
+ [ut] = false;
8628
+ [w];
8629
8629
  [$] = false;
8630
8630
  [It];
8631
8631
  [je] = false;
@@ -8735,7 +8735,13 @@ var rt = class extends Dn {
8735
8735
  }
8736
8736
  }
8737
8737
  abort(t) {
8738
- this[$] || (this[$] = true, this.emit("abort", t), this.warn("TAR_ABORT", t, { recoverable: false }));
8738
+ if (!this[$]) {
8739
+ if (this[w]) {
8740
+ let e = this[w];
8741
+ e.write = () => true, e.end = () => e, e.emit = () => false, e.destroy?.();
8742
+ }
8743
+ this[$] = true, this.emit("abort", t), this.warn("TAR_ABORT", t, { recoverable: false });
8744
+ }
8739
8745
  }
8740
8746
  [Xs](t) {
8741
8747
  this[$i] += t.length;
@@ -8744,11 +8750,11 @@ var rt = class extends Dn {
8744
8750
  }
8745
8751
  write(t, e, i) {
8746
8752
  if (typeof e == "function" && (i = e, e = void 0), typeof t == "string" && (t = Buffer.from(t, typeof e == "string" ? e : "utf8")), this[$]) return i?.(), false;
8747
- if ((this[y] === void 0 || this.brotli === void 0 && this[y] === false) && t) {
8753
+ if ((this[w] === void 0 || this.brotli === void 0 && this[w] === false) && t) {
8748
8754
  if (this[p] && (t = Buffer.concat([this[p], t]), this[p] = void 0), t.length < An) return this[p] = t, i?.(), true;
8749
- for (let a = 0; this[y] === void 0 && a < Xi.length; a++) t[a] !== Xi[a] && (this[y] = false);
8755
+ for (let a = 0; this[w] === void 0 && a < Xi.length; a++) t[a] !== Xi[a] && (this[w] = false);
8750
8756
  let o = false;
8751
- if (this[y] === false && this.zstd !== false) {
8757
+ if (this[w] === false && this.zstd !== false) {
8752
8758
  o = true;
8753
8759
  for (let a = 0; a < qi.length; a++) if (t[a] !== qi[a]) {
8754
8760
  o = false;
@@ -8756,27 +8762,27 @@ var rt = class extends Dn {
8756
8762
  }
8757
8763
  }
8758
8764
  let h = this.brotli === void 0 && !o;
8759
- if (this[y] === false && h) if (t.length < 512) if (this[mt]) this.brotli = true;
8765
+ if (this[w] === false && h) if (t.length < 512) if (this[ut]) this.brotli = true;
8760
8766
  else return this[p] = t, i?.(), true;
8761
8767
  else try {
8762
8768
  new F(t.subarray(0, 512)), this.brotli = false;
8763
8769
  } catch {
8764
8770
  this.brotli = true;
8765
8771
  }
8766
- if (this[y] === void 0 || this[y] === false && (this.brotli || o)) {
8767
- let a = this[mt];
8768
- this[mt] = false, this[y] = this[y] === void 0 ? new Ue({}) : o ? new Ke({}) : new Ge({}), this[y].on("data", (c) => {
8772
+ if (this[w] === void 0 || this[w] === false && (this.brotli || o)) {
8773
+ let a = this[ut];
8774
+ this[ut] = false, this[w] = this[w] === void 0 ? new Ue({}) : o ? new Ke({}) : new Ge({}), this[w].on("data", (c) => {
8769
8775
  this[Xs](c) && this[Xe](c);
8770
- }), this[y].on("error", (c) => {
8776
+ }), this[w].on("error", (c) => {
8771
8777
  this[$] || this.abort(c);
8772
- }), this[y].on("end", () => {
8773
- this[mt] = true, this[Xe]();
8778
+ }), this[w].on("end", () => {
8779
+ this[ut] = true, this[Xe]();
8774
8780
  }), this[Yt] = true, this[le] += t.length;
8775
- let l = !!this[y][a ? "end" : "write"](t);
8781
+ let l = !!this[w][a ? "end" : "write"](t);
8776
8782
  return this[Yt] = false, i?.(), l;
8777
8783
  }
8778
8784
  }
8779
- this[Yt] = true, this[y] ? (this[le] += t.length, this[y].write(t)) : this[Xe](t), this[Yt] = false;
8785
+ this[Yt] = true, this[w] ? (this[le] += t.length, this[w].write(t)) : this[Xe](t), this[Yt] = false;
8780
8786
  let n = this[st].length > 0 ? false : this[it] ? this[it].flowing : true;
8781
8787
  return !n && this[st].length === 0 && this[it]?.once("drain", () => this.emit("drain")), i?.(), n;
8782
8788
  }
@@ -8784,7 +8790,7 @@ var rt = class extends Dn {
8784
8790
  t && !this[$] && (this[p] = this[p] ? Buffer.concat([this[p], t]) : t);
8785
8791
  }
8786
8792
  [Qe]() {
8787
- if (this[mt] && !this[Yi] && !this[$] && !this[ae]) {
8793
+ if (this[ut] && !this[Yi] && !this[$] && !this[ae]) {
8788
8794
  this[Yi] = true;
8789
8795
  let t = this[Nt];
8790
8796
  if (t?.blockRemain) {
@@ -8809,7 +8815,7 @@ var rt = class extends Dn {
8809
8815
  }
8810
8816
  this[ae] = false;
8811
8817
  }
8812
- (!this[p] || this[mt]) && this[Qe]();
8818
+ (!this[p] || this[ut]) && this[Qe]();
8813
8819
  }
8814
8820
  [qe](t) {
8815
8821
  let e = 0, i = t.length;
@@ -8831,10 +8837,10 @@ var rt = class extends Dn {
8831
8837
  e < i && (this[p] = this[p] ? Buffer.concat([t.subarray(e), this[p]]) : t.subarray(e));
8832
8838
  }
8833
8839
  end(t, e, i) {
8834
- 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[y] ? (t && (this[le] += t.length, this[y].write(t)), this[y].end()) : (this[mt] = true, (this.brotli === void 0 || this.zstd === void 0) && (t = t || Buffer.alloc(0)), t && this.write(t), this[Qe]())), this;
8840
+ 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;
8835
8841
  }
8836
8842
  };
8837
- var ut = (s3) => {
8843
+ var mt = (s3) => {
8838
8844
  let t = s3.length - 1, e = -1;
8839
8845
  for (; t > -1 && s3.charAt(t) === "/"; ) e = t, t--;
8840
8846
  return e === -1 ? s3 : s3.slice(0, e);
@@ -8846,16 +8852,17 @@ var vn = (s3) => {
8846
8852
  } : (e) => e.resume();
8847
8853
  };
8848
8854
  var Qi = (s3, t) => {
8849
- let e = new Map(t.map((n) => [ut(n), true])), i = s3.filter, r = (n, o = "") => {
8850
- let h = o || kn(n).root || ".", a;
8851
- if (n === h) a = false;
8855
+ let e = new Map(t.map((o) => [mt(o), true])), i = s3.filter, r = 100, n = (o, h = "", a = 0) => {
8856
+ if (a >= r) return e.set(o, false), false;
8857
+ let l = h || kn(o).root || ".", c;
8858
+ if (o === l) c = false;
8852
8859
  else {
8853
- let l = e.get(n);
8854
- a = l !== void 0 ? l : r(Fn(n), h);
8860
+ let d = e.get(o);
8861
+ c = d !== void 0 ? d : n(Fn(o), l, a + 1);
8855
8862
  }
8856
- return e.set(n, a), a;
8863
+ return e.set(o, c), c;
8857
8864
  };
8858
- s3.filter = i ? (n, o) => i(n, o) && r(ut(n)) : (n) => r(ut(n));
8865
+ s3.filter = i ? (o, h) => i(o, h) && n(mt(o)) : (o) => n(mt(o));
8859
8866
  };
8860
8867
  var Mn = (s3) => {
8861
8868
  let t = new rt(s3), e = s3.file, i;
@@ -8912,7 +8919,7 @@ var Un = new Map(ei.map((s3, t) => [s3, ji[t]]));
8912
8919
  var Hn = new Map(ji.map((s3, t) => [s3, ei[t]]));
8913
8920
  var ts = (s3) => ei.reduce((t, e) => t.split(e).join(Un.get(e)), s3);
8914
8921
  var Qs = (s3) => ji.reduce((t, e) => t.split(e).join(Hn.get(e)), s3);
8915
- var rr = (s3, t) => t ? (s3 = f(s3).replace(/^\.(\/|$)/, ""), ut(t) + "/" + s3) : f(s3);
8922
+ var rr = (s3, t) => t ? (s3 = f(s3).replace(/^\.(\/|$)/, ""), mt(t) + "/" + s3) : f(s3);
8916
8923
  var Wn = 16 * 1024 * 1024;
8917
8924
  var tr = /* @__PURE__ */ Symbol("process");
8918
8925
  var er = /* @__PURE__ */ Symbol("file");
@@ -9339,16 +9346,16 @@ var hi = class s2 {
9339
9346
  }
9340
9347
  };
9341
9348
  function Zn(s3, t, e) {
9342
- let i = t, r = t ? t.next : s3.head, n = new me(e, i, r, s3);
9349
+ let i = t, r = t ? t.next : s3.head, n = new ue(e, i, r, s3);
9343
9350
  return n.next === void 0 && (s3.tail = n), n.prev === void 0 && (s3.head = n), s3.length++, n;
9344
9351
  }
9345
9352
  function Yn(s3, t) {
9346
- s3.tail = new me(t, s3.tail, void 0, s3), s3.head || (s3.head = s3.tail), s3.length++;
9353
+ s3.tail = new ue(t, s3.tail, void 0, s3), s3.head || (s3.head = s3.tail), s3.length++;
9347
9354
  }
9348
9355
  function Kn(s3, t) {
9349
- s3.head = new me(t, void 0, s3.head, s3), s3.tail || (s3.tail = s3.head), s3.length++;
9356
+ s3.head = new ue(t, void 0, s3.head, s3), s3.tail || (s3.tail = s3.head), s3.length++;
9350
9357
  }
9351
- var me = class {
9358
+ var ue = class {
9352
9359
  list;
9353
9360
  next;
9354
9361
  prev;
@@ -9373,7 +9380,7 @@ var pi = class {
9373
9380
  };
9374
9381
  var nr = Buffer.alloc(1024);
9375
9382
  var li = /* @__PURE__ */ Symbol("onStat");
9376
- var ue = /* @__PURE__ */ Symbol("ended");
9383
+ var me = /* @__PURE__ */ Symbol("ended");
9377
9384
  var W = /* @__PURE__ */ Symbol("queue");
9378
9385
  var pe = /* @__PURE__ */ Symbol("pendingLinks");
9379
9386
  var Et = /* @__PURE__ */ Symbol("current");
@@ -9385,12 +9392,12 @@ var ls = /* @__PURE__ */ Symbol("jobDone");
9385
9392
  var ci = /* @__PURE__ */ Symbol("addFSEntry");
9386
9393
  var or = /* @__PURE__ */ Symbol("addTarEntry");
9387
9394
  var ds = /* @__PURE__ */ Symbol("stat");
9388
- var ms = /* @__PURE__ */ Symbol("readdir");
9395
+ var us = /* @__PURE__ */ Symbol("readdir");
9389
9396
  var fi = /* @__PURE__ */ Symbol("onreaddir");
9390
9397
  var di = /* @__PURE__ */ Symbol("pipe");
9391
9398
  var hr = /* @__PURE__ */ Symbol("entry");
9392
9399
  var cs = /* @__PURE__ */ Symbol("entryOpt");
9393
- var mi = /* @__PURE__ */ Symbol("writeEntryClass");
9400
+ var ui = /* @__PURE__ */ Symbol("writeEntryClass");
9394
9401
  var lr = /* @__PURE__ */ Symbol("write");
9395
9402
  var fs = /* @__PURE__ */ Symbol("ondrain");
9396
9403
  var wt = class extends A {
@@ -9414,21 +9421,21 @@ var wt = class extends A {
9414
9421
  mtime;
9415
9422
  filter;
9416
9423
  jobs;
9417
- [mi];
9424
+ [ui];
9418
9425
  onWriteEntry;
9419
9426
  [W];
9420
9427
  [pe] = /* @__PURE__ */ new Map();
9421
9428
  [G] = 0;
9422
9429
  [Ee] = false;
9423
- [ue] = false;
9430
+ [me] = false;
9424
9431
  constructor(t = {}) {
9425
- 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) {
9432
+ 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) {
9426
9433
  if ((t.gzip ? 1 : 0) + (t.brotli ? 1 : 0) + (t.zstd ? 1 : 0) > 1) throw new TypeError("gzip, brotli, zstd are mutually exclusive");
9427
9434
  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");
9428
9435
  let e = this.zip;
9429
9436
  e.on("data", (i) => super.write(i)), e.on("end", () => super.end()), e.on("drain", () => this[fs]()), this.on("resume", () => e.resume());
9430
9437
  } else this.on("drain", this[fs]);
9431
- 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;
9438
+ 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;
9432
9439
  }
9433
9440
  [lr](t) {
9434
9441
  return super.write(t);
@@ -9437,10 +9444,10 @@ var wt = class extends A {
9437
9444
  return this.write(t), this;
9438
9445
  }
9439
9446
  end(t, e, i) {
9440
- 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;
9447
+ 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;
9441
9448
  }
9442
9449
  write(t) {
9443
- if (this[ue]) throw new Error("write after end");
9450
+ if (this[me]) throw new Error("write after end");
9444
9451
  return typeof t == "string" ? this[ci](t) : this[or](t), this.flowing;
9445
9452
  }
9446
9453
  [or](t) {
@@ -9459,7 +9466,7 @@ var wt = class extends A {
9459
9466
  [ds](t) {
9460
9467
  t.pending = true, this[G] += 1;
9461
9468
  let e = this.follow ? "stat" : "lstat";
9462
- ui[e](t.absolute, (i, r) => {
9469
+ mi[e](t.absolute, (i, r) => {
9463
9470
  t.pending = false, this[G] -= 1, i ? this.emit("error", i) : this[li](t, r);
9464
9471
  });
9465
9472
  }
@@ -9472,8 +9479,8 @@ var wt = class extends A {
9472
9479
  }
9473
9480
  this[Ft]();
9474
9481
  }
9475
- [ms](t) {
9476
- t.pending = true, this[G] += 1, ui.readdir(t.absolute, (e, i) => {
9482
+ [us](t) {
9483
+ t.pending = true, this[G] += 1, mi.readdir(t.absolute, (e, i) => {
9477
9484
  if (t.pending = false, this[G] -= 1, e) return this.emit("error", e);
9478
9485
  this[fi](t, i);
9479
9486
  });
@@ -9488,7 +9495,7 @@ var wt = class extends A {
9488
9495
  let e = t.next;
9489
9496
  this[W].removeNode(t), t.next = e;
9490
9497
  }
9491
- this[Ee] = false, this[ue] && this[W].length === 0 && this[G] === 0 && (this.zip ? this.zip.end(nr) : (super.write(nr), super.end()));
9498
+ this[Ee] = false, this[me] && this[W].length === 0 && this[G] === 0 && (this.zip ? this.zip.end(nr) : (super.write(nr), super.end()));
9492
9499
  }
9493
9500
  }
9494
9501
  get [Et]() {
@@ -9519,7 +9526,7 @@ var wt = class extends A {
9519
9526
  if (t.stat && !t.ignore) {
9520
9527
  if (!this.noDirRecurse && t.stat.isDirectory() && !t.readdir) {
9521
9528
  let e = this.readdirCache.get(t.absolute);
9522
- if (e ? this[fi](t, e) : this[ms](t), !t.readdir) return;
9529
+ if (e ? this[fi](t, e) : this[us](t), !t.readdir) return;
9523
9530
  }
9524
9531
  if (t.entry = this[hr](t), !t.entry) {
9525
9532
  t.ignore = true;
@@ -9535,7 +9542,7 @@ var wt = class extends A {
9535
9542
  [hr](t) {
9536
9543
  this[G] += 1;
9537
9544
  try {
9538
- return new this[mi](t.path, this[cs](t)).on("end", () => this[ls](t)).on("error", (i) => this.emit("error", i));
9545
+ return new this[ui](t.path, this[cs](t)).on("end", () => this[ls](t)).on("error", (i) => this.emit("error", i));
9539
9546
  } catch (e) {
9540
9547
  this.emit("error", e);
9541
9548
  }
@@ -9566,7 +9573,7 @@ var wt = class extends A {
9566
9573
  var kt = class extends wt {
9567
9574
  sync = true;
9568
9575
  constructor(t) {
9569
- super(t), this[mi] = ni;
9576
+ super(t), this[ui] = ni;
9570
9577
  }
9571
9578
  pause() {
9572
9579
  }
@@ -9574,10 +9581,10 @@ var kt = class extends wt {
9574
9581
  }
9575
9582
  [ds](t) {
9576
9583
  let e = this.follow ? "statSync" : "lstatSync";
9577
- this[li](t, ui[e](t.absolute));
9584
+ this[li](t, mi[e](t.absolute));
9578
9585
  }
9579
- [ms](t) {
9580
- this[fi](t, ui.readdirSync(t.absolute));
9586
+ [us](t) {
9587
+ this[fi](t, mi.readdirSync(t.absolute));
9581
9588
  }
9582
9589
  [di](t) {
9583
9590
  let e = t.entry, i = this.zip;
@@ -9628,13 +9635,13 @@ var Qn = K(Vn, $n, Xn, qn, (s3, t) => {
9628
9635
  });
9629
9636
  var Jn = process.env.__FAKE_PLATFORM__ || process.platform;
9630
9637
  var Er = Jn === "win32";
9631
- var { O_CREAT: wr, O_NOFOLLOW: mr, O_TRUNC: Sr, O_WRONLY: yr } = pr.constants;
9638
+ var { O_CREAT: wr, O_NOFOLLOW: ur, O_TRUNC: Sr, O_WRONLY: yr } = pr.constants;
9632
9639
  var Rr = Number(process.env.__FAKE_FS_O_FILENAME__) || pr.constants.UV_FS_O_FILEMAP || 0;
9633
9640
  var jn = Er && !!Rr;
9634
9641
  var to = 512 * 1024;
9635
9642
  var eo = Rr | Sr | wr | yr;
9636
- var ur = !Er && typeof mr == "number" ? mr | Sr | wr | yr : null;
9637
- var us = ur !== null ? () => ur : jn ? (s3) => s3 < to ? eo : "w" : () => "w";
9643
+ var mr = !Er && typeof ur == "number" ? ur | Sr | wr | yr : null;
9644
+ var ms = mr !== null ? () => mr : jn ? (s3) => s3 < to ? eo : "w" : () => "w";
9638
9645
  var ps = (s3, t, e) => {
9639
9646
  try {
9640
9647
  return wi.lchownSync(s3, t, e);
@@ -9720,13 +9727,13 @@ var no = (s3, t) => {
9720
9727
  };
9721
9728
  var gr = (s3, t, e) => {
9722
9729
  s3 = f(s3);
9723
- let i = t.umask ?? 18, r = t.mode | 448, n = (r & i) !== 0, o = t.uid, h = t.gid, a = typeof o == "number" && typeof h == "number" && (o !== t.processUid || h !== t.processGid), l = t.preserve, c = t.unlink, d = f(t.cwd), S = (E, x) => {
9724
- E ? e(E) : x && a ? Es(x, o, h, (Le) => S(Le)) : n ? k.chmod(s3, r, e) : e();
9730
+ let i = t.umask ?? 18, r = t.mode | 448, n = (r & i) !== 0, o = t.uid, h = t.gid, a = typeof o == "number" && typeof h == "number" && (o !== t.processUid || h !== t.processGid), l = t.preserve, c = t.unlink, d = f(t.cwd), y = (E, x) => {
9731
+ E ? e(E) : x && a ? Es(x, o, h, (Le) => y(Le)) : n ? k.chmod(s3, r, e) : e();
9725
9732
  };
9726
- if (s3 === d) return no(s3, S);
9727
- if (l) return ro.mkdir(s3, { mode: r, recursive: true }).then((E) => S(null, E ?? void 0), S);
9733
+ if (s3 === d) return no(s3, y);
9734
+ if (l) return ro.mkdir(s3, { mode: r, recursive: true }).then((E) => y(null, E ?? void 0), y);
9728
9735
  let D = f(Si.relative(d, s3)).split("/");
9729
- Ss(d, D, r, c, d, void 0, S);
9736
+ Ss(d, D, r, c, d, void 0, y);
9730
9737
  };
9731
9738
  var Ss = (s3, t, e, i, r, n, o) => {
9732
9739
  if (t.length === 0) return o(null, n);
@@ -9802,7 +9809,7 @@ var yi = class {
9802
9809
  #i = /* @__PURE__ */ new Map();
9803
9810
  #s = /* @__PURE__ */ new Set();
9804
9811
  reserve(t, e) {
9805
- t = ao ? ["win32 parallelization disabled"] : t.map((r) => ut(xr(Tr(r))));
9812
+ t = ao ? ["win32 parallelization disabled"] : t.map((r) => mt(xr(Tr(r))));
9806
9813
  let i = new Set(t.map((r) => lo(r)).reduce((r, n) => r.concat(n)));
9807
9814
  this.#i.set(e, { dirs: i, paths: t });
9808
9815
  for (let r of t) {
@@ -9890,19 +9897,19 @@ var _e = /* @__PURE__ */ Symbol("gid");
9890
9897
  var Oe = /* @__PURE__ */ Symbol("checkedCwd");
9891
9898
  var fo = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
9892
9899
  var Te = fo === "win32";
9893
- var mo = 1024;
9894
- var uo = (s3, t) => {
9895
- if (!Te) return m.unlink(s3, t);
9900
+ var uo = 1024;
9901
+ var mo = (s3, t) => {
9902
+ if (!Te) return u.unlink(s3, t);
9896
9903
  let e = s3 + ".DELETE." + Mr(16).toString("hex");
9897
- m.rename(s3, e, (i) => {
9904
+ u.rename(s3, e, (i) => {
9898
9905
  if (i) return t(i);
9899
- m.unlink(e, t);
9906
+ u.unlink(e, t);
9900
9907
  });
9901
9908
  };
9902
9909
  var po = (s3) => {
9903
- if (!Te) return m.unlinkSync(s3);
9910
+ if (!Te) return u.unlinkSync(s3);
9904
9911
  let t = s3 + ".DELETE." + Mr(16).toString("hex");
9905
- m.renameSync(s3, t), m.unlinkSync(t);
9912
+ u.renameSync(s3, t), u.unlinkSync(t);
9906
9913
  };
9907
9914
  var vr = (s3, t, e) => s3 !== void 0 && s3 === s3 >>> 0 ? s3 : t !== void 0 && t === t >>> 0 ? t : e;
9908
9915
  var Xt = class extends rt {
@@ -9942,7 +9949,7 @@ var Xt = class extends rt {
9942
9949
  if (t.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
9943
9950
  this.uid = t.uid, this.gid = t.gid, this.setOwner = true;
9944
9951
  } else this.uid = void 0, this.gid = void 0, this.setOwner = false;
9945
- 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));
9952
+ 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));
9946
9953
  }
9947
9954
  warn(t, e, i = {}) {
9948
9955
  return (t === "TAR_BAD_ARCHIVE" || t === "TAR_ABORT") && (i.recoverable = false), super.warn(t, e, i);
@@ -10016,18 +10023,18 @@ var Xt = class extends rt {
10016
10023
  return vr(this.gid, t.gid, this.processGid);
10017
10024
  }
10018
10025
  [Ts](t, e) {
10019
- 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 });
10026
+ 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 });
10020
10027
  r.on("error", (a) => {
10021
- r.fd && m.close(r.fd, () => {
10028
+ r.fd && u.close(r.fd, () => {
10022
10029
  }), r.write = () => true, this[O](a, t), e();
10023
10030
  });
10024
10031
  let n = 1, o = (a) => {
10025
10032
  if (a) {
10026
- r.fd && m.close(r.fd, () => {
10033
+ r.fd && u.close(r.fd, () => {
10027
10034
  }), this[O](a, t), e();
10028
10035
  return;
10029
10036
  }
10030
- --n === 0 && r.fd !== void 0 && m.close(r.fd, (l) => {
10037
+ --n === 0 && r.fd !== void 0 && u.close(r.fd, (l) => {
10031
10038
  l ? this[O](l, t) : this[$t](), e();
10032
10039
  });
10033
10040
  };
@@ -10036,12 +10043,12 @@ var Xt = class extends rt {
10036
10043
  if (typeof l == "number" && t.mtime && !this.noMtime) {
10037
10044
  n++;
10038
10045
  let c = t.atime || /* @__PURE__ */ new Date(), d = t.mtime;
10039
- m.futimes(l, c, d, (S) => S ? m.utimes(a, c, d, (T) => o(T && S)) : o());
10046
+ u.futimes(l, c, d, (y) => y ? u.utimes(a, c, d, (T) => o(T && y)) : o());
10040
10047
  }
10041
10048
  if (typeof l == "number" && this[ge](t)) {
10042
10049
  n++;
10043
10050
  let c = this[be](t), d = this[_e](t);
10044
- typeof c == "number" && typeof d == "number" && m.fchown(l, c, d, (S) => S ? m.chown(a, c, d, (T) => o(T && S)) : o());
10051
+ typeof c == "number" && typeof d == "number" && u.fchown(l, c, d, (y) => y ? u.chown(a, c, d, (T) => o(T && y)) : o());
10045
10052
  }
10046
10053
  o();
10047
10054
  });
@@ -10060,7 +10067,7 @@ var Xt = class extends rt {
10060
10067
  let n = 1, o = () => {
10061
10068
  --n === 0 && (e(), this[$t](), t.resume());
10062
10069
  };
10063
- 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();
10070
+ 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();
10064
10071
  });
10065
10072
  }
10066
10073
  [Cr](t) {
@@ -10082,7 +10089,7 @@ var Xt = class extends rt {
10082
10089
  let o = i.shift();
10083
10090
  if (this.preservePaths || o === void 0) return r();
10084
10091
  let h = R.resolve(e, o);
10085
- m.lstat(h, (a, l) => {
10092
+ u.lstat(h, (a, l) => {
10086
10093
  if (a) return r();
10087
10094
  if (l?.isSymbolicLink()) return n(new St(h, R.resolve(h, i.join("/"))));
10088
10095
  this[Re](t, h, i, r, n);
@@ -10129,7 +10136,7 @@ var Xt = class extends rt {
10129
10136
  }
10130
10137
  o();
10131
10138
  }, o = () => {
10132
- m.lstat(String(t.absolute), (h, a) => {
10139
+ u.lstat(String(t.absolute), (h, a) => {
10133
10140
  if (a && (this.keep || this.newer && a.mtime > (t.mtime ?? a.mtime))) {
10134
10141
  this[Ls](t), i();
10135
10142
  return;
@@ -10138,12 +10145,12 @@ var Xt = class extends rt {
10138
10145
  if (a.isDirectory()) {
10139
10146
  if (t.type === "Directory") {
10140
10147
  let l = this.chmod && t.mode && (a.mode & 4095) !== t.mode, c = (d) => this[P](d ?? null, t, i);
10141
- return l ? m.chmod(String(t.absolute), Number(t.mode), c) : c();
10148
+ return l ? u.chmod(String(t.absolute), Number(t.mode), c) : c();
10142
10149
  }
10143
- if (t.absolute !== this.cwd) return m.rmdir(String(t.absolute), (l) => this[P](l ?? null, t, i));
10150
+ if (t.absolute !== this.cwd) return u.rmdir(String(t.absolute), (l) => this[P](l ?? null, t, i));
10144
10151
  }
10145
10152
  if (t.absolute === this.cwd) return this[P](null, t, i);
10146
- uo(String(t.absolute), (l) => this[P](l ?? null, t, i));
10153
+ mo(String(t.absolute), (l) => this[P](l ?? null, t, i));
10147
10154
  });
10148
10155
  };
10149
10156
  this[Oe] ? n() : r();
@@ -10168,7 +10175,7 @@ var Xt = class extends rt {
10168
10175
  }
10169
10176
  }
10170
10177
  [gi](t, e, i, r) {
10171
- m[i](e, String(t.absolute), (n) => {
10178
+ u[i](e, String(t.absolute), (n) => {
10172
10179
  n ? this[O](n, t) : (this[$t](), t.resume()), r();
10173
10180
  });
10174
10181
  }
@@ -10199,17 +10206,17 @@ var xe = class extends Xt {
10199
10206
  if (o) return this[O](o, t);
10200
10207
  }
10201
10208
  }
10202
- let [e, i] = ye(() => m.lstatSync(String(t.absolute)));
10209
+ let [e, i] = ye(() => u.lstatSync(String(t.absolute)));
10203
10210
  if (i && (this.keep || this.newer && i.mtime > (t.mtime ?? i.mtime))) return this[Ls](t);
10204
10211
  if (e || this[Os](t, i)) return this[P](null, t);
10205
10212
  if (i.isDirectory()) {
10206
10213
  if (t.type === "Directory") {
10207
10214
  let o = this.chmod && t.mode && (i.mode & 4095) !== t.mode, [h] = o ? ye(() => {
10208
- m.chmodSync(String(t.absolute), Number(t.mode));
10215
+ u.chmodSync(String(t.absolute), Number(t.mode));
10209
10216
  }) : [];
10210
10217
  return this[P](h, t);
10211
10218
  }
10212
- let [n] = ye(() => m.rmdirSync(String(t.absolute)));
10219
+ let [n] = ye(() => u.rmdirSync(String(t.absolute)));
10213
10220
  this[P](n, t);
10214
10221
  }
10215
10222
  let [r] = t.absolute === this.cwd ? [] : ye(() => po(String(t.absolute)));
@@ -10219,21 +10226,21 @@ var xe = class extends Xt {
10219
10226
  let i = typeof t.mode == "number" ? t.mode & 4095 : this.fmode, r = (h) => {
10220
10227
  let a;
10221
10228
  try {
10222
- m.closeSync(n);
10229
+ u.closeSync(n);
10223
10230
  } catch (l) {
10224
10231
  a = l;
10225
10232
  }
10226
10233
  (h || a) && this[O](h || a, t), e();
10227
10234
  }, n;
10228
10235
  try {
10229
- n = m.openSync(String(t.absolute), us(t.size), i);
10236
+ n = u.openSync(String(t.absolute), ms(t.size), i);
10230
10237
  } catch (h) {
10231
10238
  return r(h);
10232
10239
  }
10233
10240
  let o = this.transform && this.transform(t) || t;
10234
10241
  o !== t && (o.on("error", (h) => this[O](h, t)), t.pipe(o)), o.on("data", (h) => {
10235
10242
  try {
10236
- m.writeSync(n, h, 0, h.length);
10243
+ u.writeSync(n, h, 0, h.length);
10237
10244
  } catch (a) {
10238
10245
  r(a);
10239
10246
  }
@@ -10242,10 +10249,10 @@ var xe = class extends Xt {
10242
10249
  if (t.mtime && !this.noMtime) {
10243
10250
  let a = t.atime || /* @__PURE__ */ new Date(), l = t.mtime;
10244
10251
  try {
10245
- m.futimesSync(n, a, l);
10252
+ u.futimesSync(n, a, l);
10246
10253
  } catch (c) {
10247
10254
  try {
10248
- m.utimesSync(String(t.absolute), a, l);
10255
+ u.utimesSync(String(t.absolute), a, l);
10249
10256
  } catch {
10250
10257
  h = c;
10251
10258
  }
@@ -10254,10 +10261,10 @@ var xe = class extends Xt {
10254
10261
  if (this[ge](t)) {
10255
10262
  let a = this[be](t), l = this[_e](t);
10256
10263
  try {
10257
- m.fchownSync(n, Number(a), Number(l));
10264
+ u.fchownSync(n, Number(a), Number(l));
10258
10265
  } catch (c) {
10259
10266
  try {
10260
- m.chownSync(String(t.absolute), Number(a), Number(l));
10267
+ u.chownSync(String(t.absolute), Number(a), Number(l));
10261
10268
  } catch {
10262
10269
  h = h || c;
10263
10270
  }
@@ -10273,11 +10280,11 @@ var xe = class extends Xt {
10273
10280
  return;
10274
10281
  }
10275
10282
  if (t.mtime && !this.noMtime) try {
10276
- m.utimesSync(String(t.absolute), t.atime || /* @__PURE__ */ new Date(), t.mtime);
10283
+ u.utimesSync(String(t.absolute), t.atime || /* @__PURE__ */ new Date(), t.mtime);
10277
10284
  } catch {
10278
10285
  }
10279
10286
  if (this[ge](t)) try {
10280
- m.chownSync(String(t.absolute), Number(this[be](t)), Number(this[_e](t)));
10287
+ u.chownSync(String(t.absolute), Number(this[be](t)), Number(this[_e](t)));
10281
10288
  } catch {
10282
10289
  }
10283
10290
  e(), t.resume();
@@ -10294,7 +10301,7 @@ var xe = class extends Xt {
10294
10301
  let o = e;
10295
10302
  for (let h of i) {
10296
10303
  o = R.resolve(o, h);
10297
- let [a, l] = ye(() => m.lstatSync(o));
10304
+ let [a, l] = ye(() => u.lstatSync(o));
10298
10305
  if (a) return r();
10299
10306
  if (l.isSymbolicLink()) return n(new St(o, R.resolve(e, i.join("/"))));
10300
10307
  }
@@ -10303,7 +10310,7 @@ var xe = class extends Xt {
10303
10310
  [gi](t, e, i, r) {
10304
10311
  let n = `${i}Sync`;
10305
10312
  try {
10306
- m[n](e, String(t.absolute)), r(), t.resume();
10313
+ u[n](e, String(t.absolute)), r(), t.resume();
10307
10314
  } catch (o) {
10308
10315
  return this[O](o, t);
10309
10316
  }
@@ -10368,27 +10375,27 @@ var go = (s3, t) => {
10368
10375
  T ? v.close(n, (E) => h(T)) : h(null, D);
10369
10376
  }, l = 0;
10370
10377
  if (o === 0) return a(null, 0);
10371
- let c = 0, d = Buffer.alloc(512), S = (T, D) => {
10378
+ let c = 0, d = Buffer.alloc(512), y = (T, D) => {
10372
10379
  if (T || D === void 0) return a(T);
10373
- if (c += D, c < 512 && D) return v.read(n, d, c, d.length - c, l + c, S);
10380
+ if (c += D, c < 512 && D) return v.read(n, d, c, d.length - c, l + c, y);
10374
10381
  if (l === 0 && d[0] === 31 && d[1] === 139) return a(new Error("cannot append to compressed archives"));
10375
10382
  if (c < 512) return a(null, l);
10376
10383
  let E = new F(d);
10377
10384
  if (!E.cksumValid) return a(null, l);
10378
10385
  let x = 512 * Math.ceil((E.size ?? 0) / 512);
10379
10386
  if (l + x + 512 > o || (l += x + 512, l >= o)) return a(null, l);
10380
- s3.mtimeCache && E.mtime && s3.mtimeCache.set(String(E.path), E.mtime), c = 0, v.read(n, d, 0, 512, l, S);
10387
+ s3.mtimeCache && E.mtime && s3.mtimeCache.set(String(E.path), E.mtime), c = 0, v.read(n, d, 0, 512, l, y);
10381
10388
  };
10382
- v.read(n, d, 0, 512, l, S);
10389
+ v.read(n, d, 0, 512, l, y);
10383
10390
  };
10384
10391
  return new Promise((n, o) => {
10385
10392
  e.on("error", o);
10386
10393
  let h = "r+", a = (l, c) => {
10387
10394
  if (l && l.code === "ENOENT" && h === "r+") return h = "w+", v.open(s3.file, h, a);
10388
10395
  if (l || !c) return o(l);
10389
- v.fstat(c, (d, S) => {
10396
+ v.fstat(c, (d, y) => {
10390
10397
  if (d) return v.close(c, () => o(d));
10391
- i(c, S.size, (T, D) => {
10398
+ i(c, y.size, (T, D) => {
10392
10399
  if (T) return o(T);
10393
10400
  let E = new et(s3.file, { fd: c, start: D });
10394
10401
  e.pipe(E), E.on("error", o), E.on("close", n), _o(e, t);
@@ -10600,7 +10607,7 @@ var DEFAULT_DEBUG_TRACE_LIMITS = {
10600
10607
  };
10601
10608
 
10602
10609
  // packages/shared/src/contracts/settings.ts
10603
- var WORK_PACK_SYNC_PLUGIN_VERSION = "0.1.9";
10610
+ var WORK_PACK_SYNC_PLUGIN_VERSION = "0.1.10";
10604
10611
  var WORK_PACK_SYNC_PLUGIN_PACKAGE = `minimal-forge-work-pack-sync@${WORK_PACK_SYNC_PLUGIN_VERSION}`;
10605
10612
  var WORK_PACK_SYNC_PLUGIN_FILENAME = `minimal-forge-work-pack-sync-${WORK_PACK_SYNC_PLUGIN_VERSION}.tgz`;
10606
10613
 
@@ -11530,7 +11537,7 @@ async function writeTextAtomic(filePath, content) {
11530
11537
  }
11531
11538
 
11532
11539
  // packages/cli/src/workPackSyncPlugin.ts
11533
- var PLUGIN_VERSION = "0.1.9";
11540
+ var PLUGIN_VERSION = "0.1.10";
11534
11541
  var STATUS_FILENAME = "work-pack-startup-status.json";
11535
11542
  var activeSync = /* @__PURE__ */ new Map();
11536
11543
  var ForgeWorkPackSyncServer = async (_input, options) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "minimal-forge-work-pack-sync",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "Minimal Forge Work Pack startup synchronization for OpenCode and OpenWork.",
5
5
  "license": "UNLICENSED",
6
6
  "repository": {