piral-cli 1.10.2-beta.66829fb → 1.10.2-beta.7ba6b3f

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.
@@ -49461,7 +49461,7 @@ var _i = class extends Ie {
49461
49461
  this.src.removeListener("error", this.proxyErrors), super.unpipe();
49462
49462
  }
49463
49463
  constructor(t, e, i) {
49464
- super(t, e, i), this.proxyErrors = (r) => e.emit("error", r), t.on("error", this.proxyErrors);
49464
+ super(t, e, i), this.proxyErrors = (r) => this.dest.emit("error", r), t.on("error", this.proxyErrors);
49465
49465
  }
49466
49466
  };
49467
49467
  var zr = (s3) => !!s3.objectMode;
@@ -49713,6 +49713,7 @@ var A = class extends import_node_events.EventEmitter {
49713
49713
  });
49714
49714
  }, throw: e, return: e, [Symbol.asyncIterator]() {
49715
49715
  return this;
49716
+ }, [Symbol.asyncDispose]: async () => {
49716
49717
  } };
49717
49718
  }
49718
49719
  [Symbol.iterator]() {
@@ -49724,6 +49725,7 @@ var A = class extends import_node_events.EventEmitter {
49724
49725
  };
49725
49726
  return this.once("end", e), this.once(yi, e), this.once(w, e), { next: i, throw: e, return: e, [Symbol.iterator]() {
49726
49727
  return this;
49728
+ }, [Symbol.dispose]: () => {
49727
49729
  } };
49728
49730
  }
49729
49731
  destroy(t) {
@@ -51787,16 +51789,15 @@ var qt = class extends st {
51787
51789
  [ps](t, e) {
51788
51790
  let i = t[e], { type: r } = t;
51789
51791
  if (!i || this.preservePaths) return true;
51790
- let n = i.split("/");
51791
- if (n.includes("..") || Oe && /^[a-z]:\.\.$/i.test(n[0] ?? "")) {
51792
+ let [n, o] = ce(i), h = o.replace(/\\/g, "/").split("/");
51793
+ if (h.includes("..") || Oe && /^[a-z]:\.\.$/i.test(h[0] ?? "")) {
51792
51794
  if (e === "path" || r === "Link") return this.warn("TAR_ENTRY_ERROR", `${e} contains '..'`, { entry: t, [e]: i }), false;
51793
51795
  {
51794
51796
  let a = import_node_path5.default.posix.dirname(t.path), l = import_node_path5.default.posix.normalize(import_node_path5.default.posix.join(a, i));
51795
51797
  if (l.startsWith("../") || l === "..") return this.warn("TAR_ENTRY_ERROR", `${e} escapes extraction directory`, { entry: t, [e]: i }), false;
51796
51798
  }
51797
51799
  }
51798
- let [o, h] = ce(i);
51799
- return o && (t[e] = String(h), this.warn("TAR_ENTRY_INFO", `stripping ${o} from absolute ${e}`, { entry: t, [e]: i })), true;
51800
+ return n && (t[e] = String(o), this.warn("TAR_ENTRY_INFO", `stripping ${n} from absolute ${e}`, { entry: t, [e]: i })), true;
51800
51801
  }
51801
51802
  [_r](t) {
51802
51803
  let e = f(t.path), i = e.split("/");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "piral-cli",
3
- "version": "1.10.2-beta.66829fb",
3
+ "version": "1.10.2-beta.7ba6b3f",
4
4
  "description": "The standard CLI for creating and building a Piral instance or a Pilet.",
5
5
  "keywords": [
6
6
  "portal",
@@ -78,5 +78,5 @@
78
78
  "open": "^10",
79
79
  "typescript": "^5"
80
80
  },
81
- "gitHead": "66829fb35d509ca63c7ee7da5c791ce16a3410fb"
81
+ "gitHead": "7ba6b3f91288120a883429da720ea4e361c0cde1"
82
82
  }