npm-pkg-lint 4.6.0 → 4.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -7691,48 +7691,48 @@ function isBlacklisted(filename2) {
7691
7691
  import fs3 from "node:fs";
7692
7692
 
7693
7693
  // node_modules/tar/dist/esm/index.min.js
7694
- import Ur from "events";
7694
+ import Kr from "events";
7695
7695
  import I from "fs";
7696
7696
  import { EventEmitter as Ti } from "node:events";
7697
7697
  import Ns from "node:stream";
7698
- import { StringDecoder as Dr } from "node:string_decoder";
7698
+ import { StringDecoder as Mr } from "node:string_decoder";
7699
7699
  import nr from "node:path";
7700
7700
  import Vt from "node:fs";
7701
- import { dirname as Rn, parse as bn } from "path";
7702
- import { EventEmitter as En } from "events";
7701
+ import { dirname as xn, parse as Ln } from "path";
7702
+ import { EventEmitter as _n } from "events";
7703
7703
  import Mi from "assert";
7704
7704
  import { Buffer as gt } from "buffer";
7705
7705
  import * as ks from "zlib";
7706
- import Zr from "zlib";
7706
+ import qr from "zlib";
7707
7707
  import { posix as Zt } from "node:path";
7708
- import { basename as fn } from "node:path";
7708
+ import { basename as wn } from "node:path";
7709
7709
  import fi from "fs";
7710
7710
  import $2 from "fs";
7711
7711
  import $s from "path";
7712
- import { win32 as Tn } from "node:path";
7712
+ import { win32 as In } from "node:path";
7713
7713
  import sr from "path";
7714
- import xr from "node:fs";
7715
- import eo from "node:assert";
7716
- import { randomBytes as Tr } from "node:crypto";
7714
+ import Cr from "node:fs";
7715
+ import so from "node:assert";
7716
+ import { randomBytes as Ir } from "node:crypto";
7717
7717
  import u from "node:fs";
7718
7718
  import R from "node:path";
7719
- import ar from "fs";
7719
+ import cr from "fs";
7720
7720
  import mi from "node:fs";
7721
7721
  import Ee from "node:path";
7722
7722
  import k from "node:fs";
7723
- import Xn from "node:fs/promises";
7723
+ import jn from "node:fs/promises";
7724
7724
  import pi from "node:path";
7725
- import { join as pr } from "node:path";
7725
+ import { join as br } from "node:path";
7726
7726
  import v from "node:fs";
7727
- import Lr from "node:path";
7728
- var Nr = Object.defineProperty;
7729
- var Ar = (s3, t) => {
7730
- for (var e in t) Nr(s3, e, { get: t[e], enumerable: true });
7727
+ import Fr from "node:path";
7728
+ var kr = Object.defineProperty;
7729
+ var vr = (s3, t) => {
7730
+ for (var e in t) kr(s3, e, { get: t[e], enumerable: true });
7731
7731
  };
7732
7732
  var Os = typeof process == "object" && process ? process : { stdout: null, stderr: null };
7733
- var Ir = (s3) => !!s3 && typeof s3 == "object" && (s3 instanceof D || s3 instanceof Ns || Cr(s3) || Fr(s3));
7734
- var Cr = (s3) => !!s3 && typeof s3 == "object" && s3 instanceof Ti && typeof s3.pipe == "function" && s3.pipe !== Ns.Writable.prototype.pipe;
7735
- var Fr = (s3) => !!s3 && typeof s3 == "object" && s3 instanceof Ti && typeof s3.write == "function" && typeof s3.end == "function";
7733
+ var Br = (s3) => !!s3 && typeof s3 == "object" && (s3 instanceof D || s3 instanceof Ns || Pr(s3) || zr(s3));
7734
+ var Pr = (s3) => !!s3 && typeof s3 == "object" && s3 instanceof Ti && typeof s3.pipe == "function" && s3.pipe !== Ns.Writable.prototype.pipe;
7735
+ var zr = (s3) => !!s3 && typeof s3 == "object" && s3 instanceof Ti && typeof s3.write == "function" && typeof s3.end == "function";
7736
7736
  var q = /* @__PURE__ */ Symbol("EOF");
7737
7737
  var j = /* @__PURE__ */ Symbol("maybeEmitEnd");
7738
7738
  var rt = /* @__PURE__ */ Symbol("emittedEnd");
@@ -7765,10 +7765,10 @@ var Jt = /* @__PURE__ */ Symbol("signal");
7765
7765
  var yt = /* @__PURE__ */ Symbol("dataListeners");
7766
7766
  var C = /* @__PURE__ */ Symbol("discarded");
7767
7767
  var te = (s3) => Promise.resolve().then(s3);
7768
- var kr = (s3) => s3();
7769
- var vr = (s3) => s3 === "end" || s3 === "finish" || s3 === "prefinish";
7770
- var Mr = (s3) => s3 instanceof ArrayBuffer || !!s3 && typeof s3 == "object" && s3.constructor && s3.constructor.name === "ArrayBuffer" && s3.byteLength >= 0;
7771
- var Br = (s3) => !Buffer.isBuffer(s3) && ArrayBuffer.isView(s3);
7768
+ var Ur = (s3) => s3();
7769
+ var Hr = (s3) => s3 === "end" || s3 === "finish" || s3 === "prefinish";
7770
+ var Wr = (s3) => s3 instanceof ArrayBuffer || !!s3 && typeof s3 == "object" && s3.constructor && s3.constructor.name === "ArrayBuffer" && s3.byteLength >= 0;
7771
+ var Gr = (s3) => !Buffer.isBuffer(s3) && ArrayBuffer.isView(s3);
7772
7772
  var Ce = class {
7773
7773
  src;
7774
7774
  dest;
@@ -7794,8 +7794,8 @@ var Oi = class extends Ce {
7794
7794
  super(t, e, i), this.proxyErrors = (r) => this.dest.emit("error", r), t.on("error", this.proxyErrors);
7795
7795
  }
7796
7796
  };
7797
- var Pr = (s3) => !!s3.objectMode;
7798
- var zr = (s3) => !s3.objectMode && !!s3.encoding && s3.encoding !== "buffer";
7797
+ var Zr = (s3) => !!s3.objectMode;
7798
+ var Yr = (s3) => !s3.objectMode && !!s3.encoding && s3.encoding !== "buffer";
7799
7799
  var D = class extends Ti {
7800
7800
  [b] = false;
7801
7801
  [Qt] = false;
@@ -7821,7 +7821,7 @@ var D = class extends Ti {
7821
7821
  constructor(...t) {
7822
7822
  let e = t[0] || {};
7823
7823
  if (super(), e.objectMode && typeof e.encoding == "string") throw new TypeError("Encoding and objectMode may not be used together");
7824
- Pr(e) ? (this[L] = true, this[z] = null) : zr(e) ? (this[z] = e.encoding, this[L] = false) : (this[L] = false, this[z] = null), this[Z] = !!e.async, this[Mt] = this[z] ? new Dr(this[z]) : null, e && e.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[_] }), e && e.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[A] });
7824
+ Zr(e) ? (this[L] = true, this[z] = null) : Yr(e) ? (this[z] = e.encoding, this[L] = false) : (this[L] = false, this[z] = null), this[Z] = !!e.async, this[Mt] = this[z] ? new Mr(this[z]) : null, e && e.debugExposeBuffer === true && Object.defineProperty(this, "buffer", { get: () => this[_] }), e && e.debugExposePipes === true && Object.defineProperty(this, "pipes", { get: () => this[A] });
7825
7825
  let { signal: i } = e;
7826
7826
  i && (this[Jt] = i, i.aborted ? this[gi]() : i.addEventListener("abort", () => this[gi]()));
7827
7827
  }
@@ -7862,10 +7862,10 @@ var D = class extends Ti {
7862
7862
  if (this[q]) throw new Error("write after end");
7863
7863
  if (this[w]) return this.emit("error", Object.assign(new Error("Cannot call write after a stream was destroyed"), { code: "ERR_STREAM_DESTROYED" })), true;
7864
7864
  typeof e == "function" && (i = e, e = "utf8"), e || (e = "utf8");
7865
- let r = this[Z] ? te : kr;
7865
+ let r = this[Z] ? te : Ur;
7866
7866
  if (!this[L] && !Buffer.isBuffer(t)) {
7867
- if (Br(t)) t = Buffer.from(t.buffer, t.byteOffset, t.byteLength);
7868
- else if (Mr(t)) t = Buffer.from(t);
7867
+ if (Gr(t)) t = Buffer.from(t.buffer, t.byteOffset, t.byteLength);
7868
+ else if (Wr(t)) t = Buffer.from(t);
7869
7869
  else if (typeof t != "string") throw new Error("Non-contiguous data written to non-objectMode stream");
7870
7870
  }
7871
7871
  return this[L] ? (this[b] && this[g] !== 0 && this[Ae](true), this[b] ? this.emit("data", t) : this[yi](t), this[g] !== 0 && this.emit("readable"), i && r(i), this[b]) : 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[b] && this[g] !== 0 && this[Ae](true), this[b] ? this.emit("data", t) : this[yi](t), this[g] !== 0 && this.emit("readable"), i && r(i), this[b]) : (this[g] !== 0 && this.emit("readable"), i && r(i), this[b]);
@@ -7938,7 +7938,7 @@ var D = class extends Ti {
7938
7938
  let i = super.on(t, e);
7939
7939
  if (t === "data") this[C] = false, this[yt]++, !this[A].length && !this[b] && this[Bt]();
7940
7940
  else if (t === "readable" && this[g] !== 0) super.emit("readable");
7941
- else if (vr(t) && this[rt]) super.emit(t), this.removeAllListeners(t);
7941
+ else if (Hr(t) && this[rt]) super.emit(t), this.removeAllListeners(t);
7942
7942
  else if (t === "error" && this[jt]) {
7943
7943
  let r = e;
7944
7944
  this[Z] ? te(() => r.call(this, this[jt])) : r.call(this, this[jt]);
@@ -8065,10 +8065,10 @@ var D = class extends Ti {
8065
8065
  return typeof e.close == "function" && !this[Ne] && e.close(), t ? this.emit("error", t) : this.emit(w), this;
8066
8066
  }
8067
8067
  static get isStream() {
8068
- return Ir;
8068
+ return Br;
8069
8069
  }
8070
8070
  };
8071
- var Hr = I.writev;
8071
+ var Vr = I.writev;
8072
8072
  var ot = /* @__PURE__ */ Symbol("_autoClose");
8073
8073
  var H = /* @__PURE__ */ Symbol("_close");
8074
8074
  var ee = /* @__PURE__ */ Symbol("_ended");
@@ -8201,7 +8201,7 @@ var Me = class extends _t {
8201
8201
  }
8202
8202
  }
8203
8203
  };
8204
- var tt2 = class extends Ur {
8204
+ var tt2 = class extends Kr {
8205
8205
  readable = false;
8206
8206
  writable = true;
8207
8207
  [bt] = false;
@@ -8261,7 +8261,7 @@ var tt2 = class extends Ur {
8261
8261
  else if (this[Y].length === 1) this[ke](this[Y].pop());
8262
8262
  else {
8263
8263
  let t = this[Y];
8264
- this[Y] = [], Hr(this[m], t, this[nt], (e, i) => this[Pt](e, i));
8264
+ this[Y] = [], Vr(this[m], t, this[nt], (e, i) => this[Pt](e, i));
8265
8265
  }
8266
8266
  }
8267
8267
  [H]() {
@@ -8301,21 +8301,21 @@ var Wt = class extends tt2 {
8301
8301
  }
8302
8302
  }
8303
8303
  };
8304
- var Wr = /* @__PURE__ */ new Map([["C", "cwd"], ["f", "file"], ["z", "gzip"], ["P", "preservePaths"], ["U", "unlink"], ["strip-components", "strip"], ["stripComponents", "strip"], ["keep-newer", "newer"], ["keepNewer", "newer"], ["keep-newer-files", "newer"], ["keepNewerFiles", "newer"], ["k", "keep"], ["keep-existing", "keep"], ["keepExisting", "keep"], ["m", "noMtime"], ["no-mtime", "noMtime"], ["p", "preserveOwner"], ["L", "follow"], ["h", "follow"], ["onentry", "onReadEntry"]]);
8304
+ var $r = /* @__PURE__ */ new Map([["C", "cwd"], ["f", "file"], ["z", "gzip"], ["P", "preservePaths"], ["U", "unlink"], ["strip-components", "strip"], ["stripComponents", "strip"], ["keep-newer", "newer"], ["keepNewer", "newer"], ["keep-newer-files", "newer"], ["keepNewerFiles", "newer"], ["k", "keep"], ["keep-existing", "keep"], ["keepExisting", "keep"], ["m", "noMtime"], ["no-mtime", "noMtime"], ["p", "preserveOwner"], ["L", "follow"], ["h", "follow"], ["onentry", "onReadEntry"]]);
8305
8305
  var As = (s3) => !!s3.sync && !!s3.file;
8306
8306
  var Ds = (s3) => !s3.sync && !!s3.file;
8307
8307
  var Is = (s3) => !!s3.sync && !s3.file;
8308
8308
  var Cs = (s3) => !s3.sync && !s3.file;
8309
8309
  var Fs = (s3) => !!s3.file;
8310
- var Gr = (s3) => {
8311
- let t = Wr.get(s3);
8310
+ var Xr = (s3) => {
8311
+ let t = $r.get(s3);
8312
8312
  return t || s3;
8313
8313
  };
8314
8314
  var re = (s3 = {}) => {
8315
8315
  if (!s3) return {};
8316
8316
  let t = {};
8317
8317
  for (let [e, i] of Object.entries(s3)) {
8318
- let r = Gr(e);
8318
+ let r = Xr(e);
8319
8319
  t[r] = i;
8320
8320
  }
8321
8321
  return t.chmod === void 0 && t.noChmod === false && (t.chmod = true), delete t.noChmod, t;
@@ -8338,13 +8338,13 @@ var K = (s3, t, e, i, r) => Object.assign((n = [], o, h) => {
8338
8338
  }
8339
8339
  throw new Error("impossible options??");
8340
8340
  }, { syncFile: s3, asyncFile: t, syncNoFile: e, asyncNoFile: i, validate: r });
8341
- var Yr = Zr.constants || { ZLIB_VERNUM: 4736 };
8342
- var M = Object.freeze(Object.assign(/* @__PURE__ */ Object.create(null), { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_MEM_ERROR: -4, Z_BUF_ERROR: -5, Z_VERSION_ERROR: -6, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, DEFLATE: 1, INFLATE: 2, GZIP: 3, GUNZIP: 4, DEFLATERAW: 5, INFLATERAW: 6, UNZIP: 7, BROTLI_DECODE: 8, BROTLI_ENCODE: 9, Z_MIN_WINDOWBITS: 8, Z_MAX_WINDOWBITS: 15, Z_DEFAULT_WINDOWBITS: 15, Z_MIN_CHUNK: 64, Z_MAX_CHUNK: 1 / 0, Z_DEFAULT_CHUNK: 16384, Z_MIN_MEMLEVEL: 1, Z_MAX_MEMLEVEL: 9, Z_DEFAULT_MEMLEVEL: 8, Z_MIN_LEVEL: -1, Z_MAX_LEVEL: 9, Z_DEFAULT_LEVEL: -1, BROTLI_OPERATION_PROCESS: 0, BROTLI_OPERATION_FLUSH: 1, BROTLI_OPERATION_FINISH: 2, BROTLI_OPERATION_EMIT_METADATA: 3, BROTLI_MODE_GENERIC: 0, BROTLI_MODE_TEXT: 1, BROTLI_MODE_FONT: 2, BROTLI_DEFAULT_MODE: 0, BROTLI_MIN_QUALITY: 0, BROTLI_MAX_QUALITY: 11, BROTLI_DEFAULT_QUALITY: 11, BROTLI_MIN_WINDOW_BITS: 10, BROTLI_MAX_WINDOW_BITS: 24, BROTLI_LARGE_MAX_WINDOW_BITS: 30, BROTLI_DEFAULT_WINDOW: 22, BROTLI_MIN_INPUT_BLOCK_BITS: 16, BROTLI_MAX_INPUT_BLOCK_BITS: 24, BROTLI_PARAM_MODE: 0, BROTLI_PARAM_QUALITY: 1, BROTLI_PARAM_LGWIN: 2, BROTLI_PARAM_LGBLOCK: 3, BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: 4, BROTLI_PARAM_SIZE_HINT: 5, BROTLI_PARAM_LARGE_WINDOW: 6, BROTLI_PARAM_NPOSTFIX: 7, BROTLI_PARAM_NDIRECT: 8, BROTLI_DECODER_RESULT_ERROR: 0, BROTLI_DECODER_RESULT_SUCCESS: 1, BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: 2, BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: 3, BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: 0, BROTLI_DECODER_PARAM_LARGE_WINDOW: 1, BROTLI_DECODER_NO_ERROR: 0, BROTLI_DECODER_SUCCESS: 1, BROTLI_DECODER_NEEDS_MORE_INPUT: 2, BROTLI_DECODER_NEEDS_MORE_OUTPUT: 3, BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: -1, BROTLI_DECODER_ERROR_FORMAT_RESERVED: -2, BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: -3, BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: -4, BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: -5, BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: -6, BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: -7, BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: -8, BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: -9, BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: -10, BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: -11, BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: -12, BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: -13, BROTLI_DECODER_ERROR_FORMAT_PADDING_1: -14, BROTLI_DECODER_ERROR_FORMAT_PADDING_2: -15, BROTLI_DECODER_ERROR_FORMAT_DISTANCE: -16, BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: -19, BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: -20, BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: -21, BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: -22, BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: -25, BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: -26, BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: -27, BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: -30, BROTLI_DECODER_ERROR_UNREACHABLE: -31 }, Yr));
8343
- var Kr = gt.concat;
8341
+ var jr = qr.constants || { ZLIB_VERNUM: 4736 };
8342
+ var M = Object.freeze(Object.assign(/* @__PURE__ */ Object.create(null), { Z_NO_FLUSH: 0, Z_PARTIAL_FLUSH: 1, Z_SYNC_FLUSH: 2, Z_FULL_FLUSH: 3, Z_FINISH: 4, Z_BLOCK: 5, Z_OK: 0, Z_STREAM_END: 1, Z_NEED_DICT: 2, Z_ERRNO: -1, Z_STREAM_ERROR: -2, Z_DATA_ERROR: -3, Z_MEM_ERROR: -4, Z_BUF_ERROR: -5, Z_VERSION_ERROR: -6, Z_NO_COMPRESSION: 0, Z_BEST_SPEED: 1, Z_BEST_COMPRESSION: 9, Z_DEFAULT_COMPRESSION: -1, Z_FILTERED: 1, Z_HUFFMAN_ONLY: 2, Z_RLE: 3, Z_FIXED: 4, Z_DEFAULT_STRATEGY: 0, DEFLATE: 1, INFLATE: 2, GZIP: 3, GUNZIP: 4, DEFLATERAW: 5, INFLATERAW: 6, UNZIP: 7, BROTLI_DECODE: 8, BROTLI_ENCODE: 9, Z_MIN_WINDOWBITS: 8, Z_MAX_WINDOWBITS: 15, Z_DEFAULT_WINDOWBITS: 15, Z_MIN_CHUNK: 64, Z_MAX_CHUNK: 1 / 0, Z_DEFAULT_CHUNK: 16384, Z_MIN_MEMLEVEL: 1, Z_MAX_MEMLEVEL: 9, Z_DEFAULT_MEMLEVEL: 8, Z_MIN_LEVEL: -1, Z_MAX_LEVEL: 9, Z_DEFAULT_LEVEL: -1, BROTLI_OPERATION_PROCESS: 0, BROTLI_OPERATION_FLUSH: 1, BROTLI_OPERATION_FINISH: 2, BROTLI_OPERATION_EMIT_METADATA: 3, BROTLI_MODE_GENERIC: 0, BROTLI_MODE_TEXT: 1, BROTLI_MODE_FONT: 2, BROTLI_DEFAULT_MODE: 0, BROTLI_MIN_QUALITY: 0, BROTLI_MAX_QUALITY: 11, BROTLI_DEFAULT_QUALITY: 11, BROTLI_MIN_WINDOW_BITS: 10, BROTLI_MAX_WINDOW_BITS: 24, BROTLI_LARGE_MAX_WINDOW_BITS: 30, BROTLI_DEFAULT_WINDOW: 22, BROTLI_MIN_INPUT_BLOCK_BITS: 16, BROTLI_MAX_INPUT_BLOCK_BITS: 24, BROTLI_PARAM_MODE: 0, BROTLI_PARAM_QUALITY: 1, BROTLI_PARAM_LGWIN: 2, BROTLI_PARAM_LGBLOCK: 3, BROTLI_PARAM_DISABLE_LITERAL_CONTEXT_MODELING: 4, BROTLI_PARAM_SIZE_HINT: 5, BROTLI_PARAM_LARGE_WINDOW: 6, BROTLI_PARAM_NPOSTFIX: 7, BROTLI_PARAM_NDIRECT: 8, BROTLI_DECODER_RESULT_ERROR: 0, BROTLI_DECODER_RESULT_SUCCESS: 1, BROTLI_DECODER_RESULT_NEEDS_MORE_INPUT: 2, BROTLI_DECODER_RESULT_NEEDS_MORE_OUTPUT: 3, BROTLI_DECODER_PARAM_DISABLE_RING_BUFFER_REALLOCATION: 0, BROTLI_DECODER_PARAM_LARGE_WINDOW: 1, BROTLI_DECODER_NO_ERROR: 0, BROTLI_DECODER_SUCCESS: 1, BROTLI_DECODER_NEEDS_MORE_INPUT: 2, BROTLI_DECODER_NEEDS_MORE_OUTPUT: 3, BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_NIBBLE: -1, BROTLI_DECODER_ERROR_FORMAT_RESERVED: -2, BROTLI_DECODER_ERROR_FORMAT_EXUBERANT_META_NIBBLE: -3, BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_ALPHABET: -4, BROTLI_DECODER_ERROR_FORMAT_SIMPLE_HUFFMAN_SAME: -5, BROTLI_DECODER_ERROR_FORMAT_CL_SPACE: -6, BROTLI_DECODER_ERROR_FORMAT_HUFFMAN_SPACE: -7, BROTLI_DECODER_ERROR_FORMAT_CONTEXT_MAP_REPEAT: -8, BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_1: -9, BROTLI_DECODER_ERROR_FORMAT_BLOCK_LENGTH_2: -10, BROTLI_DECODER_ERROR_FORMAT_TRANSFORM: -11, BROTLI_DECODER_ERROR_FORMAT_DICTIONARY: -12, BROTLI_DECODER_ERROR_FORMAT_WINDOW_BITS: -13, BROTLI_DECODER_ERROR_FORMAT_PADDING_1: -14, BROTLI_DECODER_ERROR_FORMAT_PADDING_2: -15, BROTLI_DECODER_ERROR_FORMAT_DISTANCE: -16, BROTLI_DECODER_ERROR_DICTIONARY_NOT_SET: -19, BROTLI_DECODER_ERROR_INVALID_ARGUMENTS: -20, BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MODES: -21, BROTLI_DECODER_ERROR_ALLOC_TREE_GROUPS: -22, BROTLI_DECODER_ERROR_ALLOC_CONTEXT_MAP: -25, BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_1: -26, BROTLI_DECODER_ERROR_ALLOC_RING_BUFFER_2: -27, BROTLI_DECODER_ERROR_ALLOC_BLOCK_TYPE_TREES: -30, BROTLI_DECODER_ERROR_UNREACHABLE: -31 }, jr));
8343
+ var Qr = gt.concat;
8344
8344
  var vs = Object.getOwnPropertyDescriptor(gt, "concat");
8345
- var Vr = (s3) => s3;
8345
+ var Jr = (s3) => s3;
8346
8346
  var ki = vs?.writable === true || vs?.set !== void 0 ? (s3) => {
8347
- gt.concat = s3 ? Vr : Kr;
8347
+ gt.concat = s3 ? Jr : Qr;
8348
8348
  } : (s3) => {
8349
8349
  };
8350
8350
  var Ot = /* @__PURE__ */ Symbol("_superWrite");
@@ -8505,15 +8505,15 @@ var Ye = class extends Ge {
8505
8505
  }
8506
8506
  };
8507
8507
  var Ms = (s3, t) => {
8508
- if (Number.isSafeInteger(s3)) s3 < 0 ? qr(s3, t) : Xr(s3, t);
8508
+ if (Number.isSafeInteger(s3)) s3 < 0 ? sn(s3, t) : en(s3, t);
8509
8509
  else throw Error("cannot encode number outside of javascript safe integer range");
8510
8510
  return t;
8511
8511
  };
8512
- var Xr = (s3, t) => {
8512
+ var en = (s3, t) => {
8513
8513
  t[0] = 128;
8514
8514
  for (var e = t.length; e > 1; e--) t[e - 1] = s3 & 255, s3 = Math.floor(s3 / 256);
8515
8515
  };
8516
- var qr = (s3, t) => {
8516
+ var sn = (s3, t) => {
8517
8517
  t[0] = 255;
8518
8518
  var e = false;
8519
8519
  s3 = s3 * -1;
@@ -8523,19 +8523,19 @@ var qr = (s3, t) => {
8523
8523
  }
8524
8524
  };
8525
8525
  var Bs = (s3) => {
8526
- let t = s3[0], e = t === 128 ? Qr(s3.subarray(1, s3.length)) : t === 255 ? jr(s3) : null;
8526
+ let t = s3[0], e = t === 128 ? nn(s3.subarray(1, s3.length)) : t === 255 ? rn(s3) : null;
8527
8527
  if (e === null) throw Error("invalid base256 encoding");
8528
8528
  if (!Number.isSafeInteger(e)) throw Error("parsed number outside of javascript safe integer range");
8529
8529
  return e;
8530
8530
  };
8531
- var jr = (s3) => {
8531
+ var rn = (s3) => {
8532
8532
  for (var t = s3.length, e = 0, i = false, r = t - 1; r > -1; r--) {
8533
8533
  var n = Number(s3[r]), o;
8534
8534
  i ? o = Ps(n) : n === 0 ? o = n : (i = true, o = zs(n)), o !== 0 && (e -= o * Math.pow(256, t - r - 1));
8535
8535
  }
8536
8536
  return e;
8537
8537
  };
8538
- var Qr = (s3) => {
8538
+ var nn = (s3) => {
8539
8539
  for (var t = s3.length, e = 0, i = t - 1; i > -1; i--) {
8540
8540
  var r = Number(s3[i]);
8541
8541
  r !== 0 && (e += r * Math.pow(256, t - i - 1));
@@ -8545,9 +8545,9 @@ var Qr = (s3) => {
8545
8545
  var Ps = (s3) => (255 ^ s3) & 255;
8546
8546
  var zs = (s3) => (255 ^ s3) + 1 & 255;
8547
8547
  var Bi = {};
8548
- Ar(Bi, { code: () => Ke, isCode: () => oe, isName: () => tn, name: () => he });
8548
+ vr(Bi, { code: () => Ke, isCode: () => oe, isName: () => hn, name: () => he });
8549
8549
  var oe = (s3) => he.has(s3);
8550
- var tn = (s3) => Ke.has(s3);
8550
+ var hn = (s3) => Ke.has(s3);
8551
8551
  var he = /* @__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"]]);
8552
8552
  var Ke = new Map(Array.from(he).map((s3) => [s3[1], s3[0]]));
8553
8553
  var F = class {
@@ -8596,7 +8596,7 @@ var F = class {
8596
8596
  }
8597
8597
  encode(t, e = 0) {
8598
8598
  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");
8599
- let i = this.ctime || this.atime ? 130 : 155, r = en(this.path || "", i), n = r[0], o = r[1];
8599
+ let i = this.ctime || this.atime ? 130 : 155, r = an(this.path || "", i), n = r[0], o = r[1];
8600
8600
  this.needPax = !!r[2], this.needPax = xt(t, e, 100, n) || this.needPax, this.needPax = lt(t, e + 100, 8, this.mode) || this.needPax, this.needPax = lt(t, e + 108, 8, this.uid) || this.needPax, this.needPax = lt(t, e + 116, 8, this.gid) || this.needPax, this.needPax = lt(t, e + 124, 12, this.size) || this.needPax, this.needPax = zi(t, e + 136, 12, this.mtime) || this.needPax, t[e + 156] = Number(this.#t.codePointAt(0)), this.needPax = xt(t, e + 157, 100, this.linkpath) || this.needPax, t.write("ustar\x0000", e + 257, 8), this.needPax = xt(t, e + 265, 32, this.uname) || this.needPax, this.needPax = xt(t, e + 297, 32, this.gname) || this.needPax, this.needPax = lt(t, e + 329, 8, this.devmaj) || this.needPax, this.needPax = lt(t, e + 337, 8, this.devmin) || this.needPax, this.needPax = xt(t, e + 345, i, o) || this.needPax, t[e + 475] !== 0 ? this.needPax = xt(t, e + 345, 155, o) || this.needPax : (this.needPax = xt(t, e + 345, 130, o) || this.needPax, this.needPax = zi(t, e + 476, 12, this.atime) || this.needPax, this.needPax = zi(t, e + 488, 12, this.ctime) || this.needPax);
8601
8601
  let h = 256;
8602
8602
  for (let a = e; a < e + 148; a++) h += t[a];
@@ -8616,7 +8616,7 @@ var F = class {
8616
8616
  else throw new TypeError("invalid entry type: " + t);
8617
8617
  }
8618
8618
  };
8619
- var en = (s3, t) => {
8619
+ var an = (s3, t) => {
8620
8620
  let i = s3, r = "", n, o = Zt.parse(s3).root || ".";
8621
8621
  if (Buffer.byteLength(i) < 100) n = [i, r, false];
8622
8622
  else {
@@ -8629,19 +8629,19 @@ var en = (s3, t) => {
8629
8629
  return n;
8630
8630
  };
8631
8631
  var Tt = (s3, t, e) => s3.subarray(t, t + e).toString("utf8").replace(/\0.*/, "");
8632
- var Pi = (s3, t, e) => sn(at(s3, t, e));
8633
- var sn = (s3) => s3 === void 0 ? void 0 : new Date(s3 * 1e3);
8634
- var at = (s3, t, e) => Number(s3[t]) & 128 ? Bs(s3.subarray(t, t + e)) : nn(s3, t, e);
8635
- var rn = (s3) => isNaN(s3) ? void 0 : s3;
8636
- var nn = (s3, t, e) => rn(parseInt(s3.subarray(t, t + e).toString("utf8").replace(/\0.*$/, "").trim(), 8));
8637
- var on = { 12: 8589934591, 8: 2097151 };
8638
- var lt = (s3, t, e, i) => i === void 0 ? false : i > on[e] || i < 0 ? (Ms(i, s3.subarray(t, t + e)), true) : (hn(s3, t, e, i), false);
8639
- var hn = (s3, t, e, i) => s3.write(an(i, e), t, e, "ascii");
8640
- var an = (s3, t) => ln(Math.floor(s3).toString(8), t);
8641
- var ln = (s3, t) => (s3.length === t - 1 ? s3 : new Array(t - s3.length - 1).join("0") + s3 + " ") + "\0";
8632
+ var Pi = (s3, t, e) => ln(at(s3, t, e));
8633
+ var ln = (s3) => s3 === void 0 ? void 0 : new Date(s3 * 1e3);
8634
+ var at = (s3, t, e) => Number(s3[t]) & 128 ? Bs(s3.subarray(t, t + e)) : fn(s3, t, e);
8635
+ var cn = (s3) => isNaN(s3) ? void 0 : s3;
8636
+ var fn = (s3, t, e) => cn(parseInt(s3.subarray(t, t + e).toString("utf8").replace(/\0.*$/, "").trim(), 8));
8637
+ var dn = { 12: 8589934591, 8: 2097151 };
8638
+ var lt = (s3, t, e, i) => i === void 0 ? false : i > dn[e] || i < 0 ? (Ms(i, s3.subarray(t, t + e)), true) : (un(s3, t, e, i), false);
8639
+ var un = (s3, t, e, i) => s3.write(mn(i, e), t, e, "ascii");
8640
+ var mn = (s3, t) => pn(Math.floor(s3).toString(8), t);
8641
+ var pn = (s3, t) => (s3.length === t - 1 ? s3 : new Array(t - s3.length - 1).join("0") + s3 + " ") + "\0";
8642
8642
  var zi = (s3, t, e, i) => i === void 0 ? false : lt(s3, t, e, i.getTime() / 1e3);
8643
- var cn = new Array(156).join("\0");
8644
- var xt = (s3, t, e, i) => i === void 0 ? false : (s3.write(i + cn, t, e, "utf8"), i.length !== Buffer.byteLength(i) || i.length > e);
8643
+ var En = new Array(156).join("\0");
8644
+ var xt = (s3, t, e, i) => i === void 0 ? false : (s3.write(i + En, t, e, "utf8"), i.length !== Buffer.byteLength(i) || i.length > e);
8645
8645
  var ct = class s {
8646
8646
  atime;
8647
8647
  mtime;
@@ -8668,7 +8668,7 @@ var ct = class s {
8668
8668
  if (t === "") return Buffer.allocUnsafe(0);
8669
8669
  let e = Buffer.byteLength(t), i = 512 * Math.ceil(1 + e / 512), r = Buffer.allocUnsafe(i);
8670
8670
  for (let n = 0; n < 512; n++) r[n] = 0;
8671
- new F({ path: ("PaxHeader/" + fn(this.path ?? "")).slice(0, 99), mode: this.mode || 420, uid: this.uid, gid: this.gid, size: e, mtime: this.mtime, type: this.global ? "GlobalExtendedHeader" : "ExtendedHeader", linkpath: "", uname: this.uname || "", gname: this.gname || "", devmaj: 0, devmin: 0, atime: this.atime, ctime: this.ctime }).encode(r), r.write(t, 512, e, "utf8");
8671
+ new F({ path: ("PaxHeader/" + wn(this.path ?? "")).slice(0, 99), mode: this.mode || 420, uid: this.uid, gid: this.gid, size: e, mtime: this.mtime, type: this.global ? "GlobalExtendedHeader" : "ExtendedHeader", linkpath: "", uname: this.uname || "", gname: this.gname || "", devmaj: 0, devmin: 0, atime: this.atime, ctime: this.ctime }).encode(r), r.write(t, 512, e, "utf8");
8672
8672
  for (let n = e + 512; n < r.length; n++) r[n] = 0;
8673
8673
  return r;
8674
8674
  }
@@ -8682,13 +8682,13 @@ var ct = class s {
8682
8682
  return n + o >= Math.pow(10, o) && (o += 1), o + n + r;
8683
8683
  }
8684
8684
  static parse(t, e, i = false) {
8685
- return new s(dn(un(t), e), i);
8685
+ return new s(Sn(yn(t), e), i);
8686
8686
  }
8687
8687
  };
8688
- var dn = (s3, t) => t ? Object.assign({}, t, s3) : s3;
8689
- var un = (s3) => s3.replace(/\n$/, "").split(`
8690
- `).reduce(mn, /* @__PURE__ */ Object.create(null));
8691
- var mn = (s3, t) => {
8688
+ var Sn = (s3, t) => t ? Object.assign({}, t, s3) : s3;
8689
+ var yn = (s3) => s3.replace(/\n$/, "").split(`
8690
+ `).reduce(Rn, /* @__PURE__ */ Object.create(null));
8691
+ var Rn = (s3, t) => {
8692
8692
  let e = parseInt(t, 10);
8693
8693
  if (e !== Buffer.byteLength(t) + 1) return s3;
8694
8694
  t = t.slice((e + " ").length);
@@ -8697,8 +8697,8 @@ var mn = (s3, t) => {
8697
8697
  let n = r.replace(/^SCHILY\.(dev|ino|nlink)/, "$1"), o = i.join("=");
8698
8698
  return s3[n] = /^([A-Z]+\.)?([mac]|birth|creation)time$/.test(n) ? new Date(Number(o) * 1e3) : /^[0-9]+$/.test(o) ? +o : o, s3;
8699
8699
  };
8700
- var pn = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
8701
- var f = pn !== "win32" ? (s3) => s3 : (s3) => s3 && s3.replaceAll(/\\/g, "/");
8700
+ var bn = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
8701
+ var f = bn !== "win32" ? (s3) => s3 : (s3) => s3 && s3.replaceAll(/\\/g, "/");
8702
8702
  var Yt = class extends D {
8703
8703
  extended;
8704
8704
  globalExtended;
@@ -8766,10 +8766,10 @@ var Yt = class extends D {
8766
8766
  var Lt = (s3, t, e, i = {}) => {
8767
8767
  s3.file && (i.file = s3.file), s3.cwd && (i.cwd = s3.cwd), i.code = e instanceof Error && e.code || t, i.tarCode = t, !s3.strict && i.recoverable !== false ? (e instanceof Error && (i = Object.assign(e, i), e = e.message), s3.emit("warn", t, e, i)) : e instanceof Error ? s3.emit("error", Object.assign(e, i)) : s3.emit("error", Object.assign(new Error(`${t}: ${e}`), i));
8768
8768
  };
8769
- var wn = 1024 * 1024;
8769
+ var gn = 1024 * 1024;
8770
8770
  var Zi = Buffer.from([31, 139]);
8771
8771
  var Yi = Buffer.from([40, 181, 47, 253]);
8772
- var Sn = Math.max(Zi.length, Yi.length);
8772
+ var On = Math.max(Zi.length, Yi.length);
8773
8773
  var B = /* @__PURE__ */ Symbol("state");
8774
8774
  var Nt = /* @__PURE__ */ Symbol("writeEntry");
8775
8775
  var et = /* @__PURE__ */ Symbol("readEntry");
@@ -8800,8 +8800,8 @@ var Dt = /* @__PURE__ */ Symbol("sawValidEntry");
8800
8800
  var je = /* @__PURE__ */ Symbol("sawNullBlock");
8801
8801
  var Qe = /* @__PURE__ */ Symbol("sawEOF");
8802
8802
  var Zs = /* @__PURE__ */ Symbol("closeStream");
8803
- var yn = () => true;
8804
- var st = class extends En {
8803
+ var Tn = () => true;
8804
+ var st = class extends _n {
8805
8805
  file;
8806
8806
  strict;
8807
8807
  maxMetaEntrySize;
@@ -8832,7 +8832,7 @@ var st = class extends En {
8832
8832
  (this[B] === "begin" || this[Dt] === false) && this.warn("TAR_BAD_ARCHIVE", "Unrecognized archive format");
8833
8833
  }), t.ondone ? this.on(qe, t.ondone) : this.on(qe, () => {
8834
8834
  this.emit("prefinish"), this.emit("finish"), this.emit("end");
8835
- }), this.strict = !!t.strict, this.maxMetaEntrySize = t.maxMetaEntrySize || wn, this.filter = typeof t.filter == "function" ? t.filter : yn;
8835
+ }), this.strict = !!t.strict, this.maxMetaEntrySize = t.maxMetaEntrySize || gn, this.filter = typeof t.filter == "function" ? t.filter : Tn;
8836
8836
  let e = t.file && (t.file.endsWith(".tar.br") || t.file.endsWith(".tbr"));
8837
8837
  this.brotli = !(t.gzip || t.zstd) && t.brotli !== void 0 ? t.brotli : e ? void 0 : false;
8838
8838
  let i = t.file && (t.file.endsWith(".tar.zst") || t.file.endsWith(".tzst"));
@@ -8932,7 +8932,7 @@ var st = class extends En {
8932
8932
  write(t, e, i) {
8933
8933
  if (typeof e == "function" && (i = e, e = void 0), typeof t == "string" && (t = Buffer.from(t, typeof e == "string" ? e : "utf8")), this[ut]) return i?.(), false;
8934
8934
  if ((this[y] === void 0 || this.brotli === void 0 && this[y] === false) && t) {
8935
- if (this[p] && (t = Buffer.concat([this[p], t]), this[p] = void 0), t.length < Sn) return this[p] = t, i?.(), true;
8935
+ if (this[p] && (t = Buffer.concat([this[p], t]), this[p] = void 0), t.length < On) return this[p] = t, i?.(), true;
8936
8936
  for (let a = 0; this[y] === void 0 && a < Zi.length; a++) t[a] !== Zi[a] && (this[y] = false);
8937
8937
  let o = false;
8938
8938
  if (this[y] === false && this.zstd !== false) {
@@ -9022,7 +9022,7 @@ var mt = (s3) => {
9022
9022
  for (; t > -1 && s3.charAt(t) === "/"; ) e = t, t--;
9023
9023
  return e === -1 ? s3 : s3.slice(0, e);
9024
9024
  };
9025
- var _n = (s3) => {
9025
+ var Nn = (s3) => {
9026
9026
  let t = s3.onReadEntry;
9027
9027
  s3.onReadEntry = t ? (e) => {
9028
9028
  t(e), e.resume();
@@ -9030,17 +9030,17 @@ var _n = (s3) => {
9030
9030
  };
9031
9031
  var Ki = (s3, t) => {
9032
9032
  let e = new Map(t.map((n) => [mt(n), true])), i = s3.filter, r = (n, o = "") => {
9033
- let h = o || bn(n).root || ".", a;
9033
+ let h = o || Ln(n).root || ".", a;
9034
9034
  if (n === h) a = false;
9035
9035
  else {
9036
9036
  let l = e.get(n);
9037
- a = l !== void 0 ? l : r(Rn(n), h);
9037
+ a = l !== void 0 ? l : r(xn(n), h);
9038
9038
  }
9039
9039
  return e.set(n, a), a;
9040
9040
  };
9041
9041
  s3.filter = i ? (n, o) => i(n, o) && r(mt(n)) : (n) => r(mt(n));
9042
9042
  };
9043
- var gn = (s3) => {
9043
+ var An = (s3) => {
9044
9044
  let t = new st(s3), e = s3.file, i;
9045
9045
  try {
9046
9046
  i = Vt.openSync(e, "r");
@@ -9064,7 +9064,7 @@ var gn = (s3) => {
9064
9064
  }
9065
9065
  }
9066
9066
  };
9067
- var On = (s3, t) => {
9067
+ var Dn = (s3, t) => {
9068
9068
  let e = new st(s3), i = s3.maxReadSize || 16 * 1024 * 1024, r = s3.file;
9069
9069
  return new Promise((o, h) => {
9070
9070
  e.on("error", h), e.on("end", o), Vt.stat(r, (a, l) => {
@@ -9076,14 +9076,14 @@ var On = (s3, t) => {
9076
9076
  });
9077
9077
  });
9078
9078
  };
9079
- var It = K(gn, On, (s3) => new st(s3), (s3) => new st(s3), (s3, t) => {
9080
- t?.length && Ki(s3, t), s3.noResume || _n(s3);
9079
+ var It = K(An, Dn, (s3) => new st(s3), (s3) => new st(s3), (s3, t) => {
9080
+ t?.length && Ki(s3, t), s3.noResume || Nn(s3);
9081
9081
  });
9082
9082
  var Vi = (s3, t, e) => (s3 &= 4095, e && (s3 = (s3 | 384) & -19), t && (s3 & 256 && (s3 |= 64), s3 & 32 && (s3 |= 8), s3 & 4 && (s3 |= 1)), s3);
9083
- var { isAbsolute: xn, parse: Ys } = Tn;
9083
+ var { isAbsolute: Cn, parse: Ys } = In;
9084
9084
  var ce = (s3) => {
9085
9085
  let t = "", e = Ys(s3);
9086
- for (; xn(s3) || e.root; ) {
9086
+ for (; Cn(s3) || e.root; ) {
9087
9087
  let i = s3.charAt(0) === "/" && s3.slice(0, 4) !== "//?/" ? "/" : e.root;
9088
9088
  s3 = s3.slice(i.length), t += i, e = Ys(s3);
9089
9089
  }
@@ -9091,12 +9091,12 @@ var ce = (s3) => {
9091
9091
  };
9092
9092
  var Je = ["|", "<", ">", "?", ":"];
9093
9093
  var $i = Je.map((s3) => String.fromCodePoint(61440 + Number(s3.codePointAt(0))));
9094
- var Ln = new Map(Je.map((s3, t) => [s3, $i[t]]));
9095
- var Nn = new Map($i.map((s3, t) => [s3, Je[t]]));
9096
- var Xi = (s3) => Je.reduce((t, e) => t.split(e).join(Ln.get(e)), s3);
9097
- var Ks = (s3) => $i.reduce((t, e) => t.split(e).join(Nn.get(e)), s3);
9094
+ var Fn = new Map(Je.map((s3, t) => [s3, $i[t]]));
9095
+ var kn = new Map($i.map((s3, t) => [s3, Je[t]]));
9096
+ var Xi = (s3) => Je.reduce((t, e) => t.split(e).join(Fn.get(e)), s3);
9097
+ var Ks = (s3) => $i.reduce((t, e) => t.split(e).join(kn.get(e)), s3);
9098
9098
  var Js = (s3, t) => t ? (s3 = f(s3).replace(/^\.(\/|$)/, ""), mt(t) + "/" + s3) : f(s3);
9099
- var An = 16 * 1024 * 1024;
9099
+ var vn = 16 * 1024 * 1024;
9100
9100
  var Xs = /* @__PURE__ */ Symbol("process");
9101
9101
  var qs = /* @__PURE__ */ Symbol("file");
9102
9102
  var js = /* @__PURE__ */ Symbol("directory");
@@ -9148,7 +9148,7 @@ var de = class extends D {
9148
9148
  #t = false;
9149
9149
  constructor(t, e = {}) {
9150
9150
  let i = re(e);
9151
- super(), this.path = f(t), this.portable = !!i.portable, this.maxReadSize = i.maxReadSize || An, this.linkCache = i.linkCache || /* @__PURE__ */ new Map(), this.statCache = i.statCache || /* @__PURE__ */ new Map(), this.preservePaths = !!i.preservePaths, this.cwd = f(i.cwd || process.cwd()), this.strict = !!i.strict, this.noPax = !!i.noPax, this.noMtime = !!i.noMtime, this.mtime = i.mtime, this.prefix = i.prefix ? f(i.prefix) : void 0, this.onWriteEntry = i.onWriteEntry, typeof i.onwarn == "function" && this.on("warn", i.onwarn);
9151
+ super(), this.path = f(t), this.portable = !!i.portable, this.maxReadSize = i.maxReadSize || vn, this.linkCache = i.linkCache || /* @__PURE__ */ new Map(), this.statCache = i.statCache || /* @__PURE__ */ new Map(), this.preservePaths = !!i.preservePaths, this.cwd = f(i.cwd || process.cwd()), this.strict = !!i.strict, this.noPax = !!i.noPax, this.noMtime = !!i.noMtime, this.mtime = i.mtime, this.prefix = i.prefix ? f(i.prefix) : void 0, this.onWriteEntry = i.onWriteEntry, typeof i.onwarn == "function" && this.on("warn", i.onwarn);
9152
9152
  let r = false;
9153
9153
  if (!this.preservePaths) {
9154
9154
  let [o, h] = ce(this.path);
@@ -9171,7 +9171,7 @@ var de = class extends D {
9171
9171
  });
9172
9172
  }
9173
9173
  [ei](t) {
9174
- this.statCache.set(this.absolute, t), this.stat = t, t.isFile() || (t.size = 0), this.type = Dn(t), this.emit("stat", t), this[Xs]();
9174
+ this.statCache.set(this.absolute, t), this.stat = t, t.isFile() || (t.size = 0), this.type = Mn(t), this.emit("stat", t), this[Xs]();
9175
9175
  }
9176
9176
  [Xs]() {
9177
9177
  switch (this.type) {
@@ -9377,7 +9377,7 @@ var ri = class extends D {
9377
9377
  return this.blockRemain && super.write(Buffer.alloc(this.blockRemain)), 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 ?? "utf8")), i && this.once("finish", i), t ? super.end(t, i) : super.end(i), this;
9378
9378
  }
9379
9379
  };
9380
- var Dn = (s3) => s3.isFile() ? "File" : s3.isDirectory() ? "Directory" : s3.isSymbolicLink() ? "SymbolicLink" : "Unsupported";
9380
+ var Mn = (s3) => s3.isFile() ? "File" : s3.isDirectory() ? "Directory" : s3.isSymbolicLink() ? "SymbolicLink" : "Unsupported";
9381
9381
  var ni = class s2 {
9382
9382
  tail;
9383
9383
  head;
@@ -9409,11 +9409,11 @@ var ni = class s2 {
9409
9409
  t.list = this, t.prev = e, e && (e.next = t), this.tail = t, this.head || (this.head = t), this.length++;
9410
9410
  }
9411
9411
  push(...t) {
9412
- for (let e = 0, i = t.length; e < i; e++) Cn(this, t[e]);
9412
+ for (let e = 0, i = t.length; e < i; e++) Pn(this, t[e]);
9413
9413
  return this.length;
9414
9414
  }
9415
9415
  unshift(...t) {
9416
- for (var e = 0, i = t.length; e < i; e++) Fn(this, t[e]);
9416
+ for (var e = 0, i = t.length; e < i; e++) zn(this, t[e]);
9417
9417
  return this.length;
9418
9418
  }
9419
9419
  pop() {
@@ -9509,7 +9509,7 @@ var ni = class s2 {
9509
9509
  let n = [];
9510
9510
  for (let o = 0; r && o < e; o++) n.push(r.value), r = this.removeNode(r);
9511
9511
  r ? r !== this.tail && (r = r.prev) : r = this.tail;
9512
- for (let o of i) r = In(this, r, o);
9512
+ for (let o of i) r = Bn(this, r, o);
9513
9513
  return n;
9514
9514
  }
9515
9515
  reverse() {
@@ -9521,14 +9521,14 @@ var ni = class s2 {
9521
9521
  return this.head = e, this.tail = t, this;
9522
9522
  }
9523
9523
  };
9524
- function In(s3, t, e) {
9524
+ function Bn(s3, t, e) {
9525
9525
  let i = t, r = t ? t.next : s3.head, n = new ue(e, i, r, s3);
9526
9526
  return n.next === void 0 && (s3.tail = n), n.prev === void 0 && (s3.head = n), s3.length++, n;
9527
9527
  }
9528
- function Cn(s3, t) {
9528
+ function Pn(s3, t) {
9529
9529
  s3.tail = new ue(t, s3.tail, void 0, s3), s3.head || (s3.head = s3.tail), s3.length++;
9530
9530
  }
9531
- function Fn(s3, t) {
9531
+ function zn(s3, t) {
9532
9532
  s3.head = new ue(t, void 0, s3.head, s3), s3.tail || (s3.tail = s3.head), s3.length++;
9533
9533
  }
9534
9534
  var ue = class {
@@ -9757,11 +9757,11 @@ var kt = class extends Et {
9757
9757
  });
9758
9758
  }
9759
9759
  };
9760
- var kn = (s3, t) => {
9760
+ var Un = (s3, t) => {
9761
9761
  let e = new kt(s3), i = new Wt(s3.file, { mode: s3.mode || 438 });
9762
9762
  e.pipe(i), or(e, t);
9763
9763
  };
9764
- var vn = (s3, t) => {
9764
+ var Hn = (s3, t) => {
9765
9765
  let e = new Et(s3), i = new tt2(s3.file, { mode: s3.mode || 438 });
9766
9766
  e.pipe(i);
9767
9767
  let r = new Promise((n, o) => {
@@ -9780,25 +9780,26 @@ var hr = async (s3, t) => {
9780
9780
  } }) : s3.add(e);
9781
9781
  s3.end();
9782
9782
  };
9783
- var Mn = (s3, t) => {
9783
+ var Wn = (s3, t) => {
9784
9784
  let e = new kt(s3);
9785
9785
  return or(e, t), e;
9786
9786
  };
9787
- var Bn = (s3, t) => {
9787
+ var Gn = (s3, t) => {
9788
9788
  let e = new Et(s3);
9789
9789
  return hr(e, t).catch((i) => e.emit("error", i)), e;
9790
9790
  };
9791
- var Pn = K(kn, vn, Mn, Bn, (s3, t) => {
9791
+ var Zn = K(Un, Hn, Wn, Gn, (s3, t) => {
9792
9792
  if (!t?.length) throw new TypeError("no paths specified to add to archive");
9793
9793
  });
9794
- var zn = process.env.__FAKE_PLATFORM__ || process.platform;
9795
- var Un = zn === "win32";
9796
- var { O_CREAT: Hn, O_TRUNC: Wn, O_WRONLY: Gn } = ar.constants;
9797
- var lr = Number(process.env.__FAKE_FS_O_FILENAME__) || ar.constants.UV_FS_O_FILEMAP || 0;
9798
- var Zn = Un && !!lr;
9799
- var Yn = 512 * 1024;
9800
- var Kn = lr | Wn | Hn | Gn;
9801
- var cs = Zn ? (s3) => s3 < Yn ? Kn : "w" : () => "w";
9794
+ var Yn = process.env.__FAKE_PLATFORM__ || process.platform;
9795
+ var fr = Yn === "win32";
9796
+ var { O_CREAT: dr, O_NOFOLLOW: ar, O_TRUNC: ur, O_WRONLY: mr } = cr.constants;
9797
+ var pr = Number(process.env.__FAKE_FS_O_FILENAME__) || cr.constants.UV_FS_O_FILEMAP || 0;
9798
+ var Kn = fr && !!pr;
9799
+ var Vn = 512 * 1024;
9800
+ var $n = pr | ur | dr | mr;
9801
+ var lr = !fr && typeof ar == "number" ? ar | ur | dr | mr : null;
9802
+ var cs = lr !== null ? () => lr : Kn ? (s3) => s3 < Vn ? $n : "w" : () => "w";
9802
9803
  var fs2 = (s3, t, e) => {
9803
9804
  try {
9804
9805
  return mi.lchownSync(s3, t, e);
@@ -9811,7 +9812,7 @@ var ui = (s3, t, e, i) => {
9811
9812
  i(r && r?.code !== "ENOENT" ? r : null);
9812
9813
  });
9813
9814
  };
9814
- var Vn = (s3, t, e, i, r) => {
9815
+ var Xn = (s3, t, e, i, r) => {
9815
9816
  if (t.isDirectory()) ds(Ee.resolve(s3, t.name), e, i, (n) => {
9816
9817
  if (n) return r(n);
9817
9818
  let o = Ee.resolve(s3, t.name);
@@ -9835,10 +9836,10 @@ var ds = (s3, t, e, i) => {
9835
9836
  if (--o === 0) return ui(s3, t, e, i);
9836
9837
  }
9837
9838
  };
9838
- for (let l of n) Vn(s3, l, t, e, a);
9839
+ for (let l of n) Xn(s3, l, t, e, a);
9839
9840
  });
9840
9841
  };
9841
- var $n = (s3, t, e, i) => {
9842
+ var qn = (s3, t, e, i) => {
9842
9843
  t.isDirectory() && us(Ee.resolve(s3, t.name), e, i), fs2(Ee.resolve(s3, t.name), e, i);
9843
9844
  };
9844
9845
  var us = (s3, t, e) => {
@@ -9851,7 +9852,7 @@ var us = (s3, t, e) => {
9851
9852
  if (n?.code === "ENOTDIR" || n?.code === "ENOTSUP") return fs2(s3, t, e);
9852
9853
  throw n;
9853
9854
  }
9854
- for (let r of i) $n(s3, r, t, e);
9855
+ for (let r of i) qn(s3, r, t, e);
9855
9856
  return fs2(s3, t, e);
9856
9857
  };
9857
9858
  var we = class extends Error {
@@ -9877,33 +9878,33 @@ var wt = class extends Error {
9877
9878
  return "SymlinkError";
9878
9879
  }
9879
9880
  };
9880
- var qn = (s3, t) => {
9881
+ var Qn = (s3, t) => {
9881
9882
  k.stat(s3, (e, i) => {
9882
9883
  (e || !i.isDirectory()) && (e = new we(s3, e?.code || "ENOTDIR")), t(e);
9883
9884
  });
9884
9885
  };
9885
- var cr = (s3, t, e) => {
9886
+ var Er = (s3, t, e) => {
9886
9887
  s3 = f(s3);
9887
9888
  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) => {
9888
9889
  E ? e(E) : x && a ? ds(x, o, h, (xe) => S(xe)) : n ? k.chmod(s3, r, e) : e();
9889
9890
  };
9890
- if (s3 === d) return qn(s3, S);
9891
- if (l) return Xn.mkdir(s3, { mode: r, recursive: true }).then((E) => S(null, E ?? void 0), S);
9891
+ if (s3 === d) return Qn(s3, S);
9892
+ if (l) return jn.mkdir(s3, { mode: r, recursive: true }).then((E) => S(null, E ?? void 0), S);
9892
9893
  let N = f(pi.relative(d, s3)).split("/");
9893
9894
  ms(d, N, r, c, d, void 0, S);
9894
9895
  };
9895
9896
  var ms = (s3, t, e, i, r, n, o) => {
9896
9897
  if (t.length === 0) return o(null, n);
9897
9898
  let h = t.shift(), a = f(pi.resolve(s3 + "/" + h));
9898
- k.mkdir(a, e, fr(a, t, e, i, r, n, o));
9899
+ k.mkdir(a, e, wr(a, t, e, i, r, n, o));
9899
9900
  };
9900
- var fr = (s3, t, e, i, r, n, o) => (h) => {
9901
+ var wr = (s3, t, e, i, r, n, o) => (h) => {
9901
9902
  h ? k.lstat(s3, (a, l) => {
9902
9903
  if (a) a.path = a.path && f(a.path), o(a);
9903
9904
  else if (l.isDirectory()) ms(s3, t, e, i, r, n, o);
9904
9905
  else if (i) k.unlink(s3, (c) => {
9905
9906
  if (c) return o(c);
9906
- k.mkdir(s3, e, fr(s3, t, e, i, r, n, o));
9907
+ k.mkdir(s3, e, wr(s3, t, e, i, r, n, o));
9907
9908
  });
9908
9909
  else {
9909
9910
  if (l.isSymbolicLink()) return o(new wt(s3, s3 + "/" + t.join("/")));
@@ -9911,7 +9912,7 @@ var fr = (s3, t, e, i, r, n, o) => (h) => {
9911
9912
  }
9912
9913
  }) : (n = n || s3, ms(s3, t, e, i, r, n, o));
9913
9914
  };
9914
- var jn = (s3) => {
9915
+ var Jn = (s3) => {
9915
9916
  let t = false, e;
9916
9917
  try {
9917
9918
  t = k.statSync(s3).isDirectory();
@@ -9921,12 +9922,12 @@ var jn = (s3) => {
9921
9922
  if (!t) throw new we(s3, e ?? "ENOTDIR");
9922
9923
  }
9923
9924
  };
9924
- var dr = (s3, t) => {
9925
+ var Sr = (s3, t) => {
9925
9926
  s3 = f(s3);
9926
9927
  let e = t.umask ?? 18, i = t.mode | 448, r = (i & e) !== 0, n = t.uid, o = t.gid, h = typeof n == "number" && typeof o == "number" && (n !== t.processUid || o !== t.processGid), a = t.preserve, l = t.unlink, c = f(t.cwd), d = (E) => {
9927
9928
  E && h && us(E, n, o), r && k.chmodSync(s3, i);
9928
9929
  };
9929
- if (s3 === c) return jn(c), d();
9930
+ if (s3 === c) return Jn(c), d();
9930
9931
  if (a) return d(k.mkdirSync(s3, { mode: i, recursive: true }) ?? void 0);
9931
9932
  let T = f(pi.relative(c, s3)).split("/"), N;
9932
9933
  for (let E = T.shift(), x = c; E && (x += "/" + E); E = T.shift()) {
@@ -9945,29 +9946,29 @@ var dr = (s3, t) => {
9945
9946
  return d(N);
9946
9947
  };
9947
9948
  var ps = /* @__PURE__ */ Object.create(null);
9948
- var ur = 1e4;
9949
+ var yr = 1e4;
9949
9950
  var $t = /* @__PURE__ */ new Set();
9950
- var mr = (s3) => {
9951
+ var Rr = (s3) => {
9951
9952
  $t.has(s3) ? $t.delete(s3) : ps[s3] = s3.normalize("NFD").toLocaleLowerCase("en").toLocaleUpperCase("en"), $t.add(s3);
9952
- let t = ps[s3], e = $t.size - ur;
9953
- if (e > ur / 10) {
9953
+ let t = ps[s3], e = $t.size - yr;
9954
+ if (e > yr / 10) {
9954
9955
  for (let i of $t) if ($t.delete(i), delete ps[i], --e <= 0) break;
9955
9956
  }
9956
9957
  return t;
9957
9958
  };
9958
- var Qn = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
9959
- var Jn = Qn === "win32";
9960
- var to = (s3) => s3.split("/").slice(0, -1).reduce((e, i) => {
9959
+ var to = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
9960
+ var eo = to === "win32";
9961
+ var io = (s3) => s3.split("/").slice(0, -1).reduce((e, i) => {
9961
9962
  let r = e.at(-1);
9962
- return r !== void 0 && (i = pr(r, i)), e.push(i || "/"), e;
9963
+ return r !== void 0 && (i = br(r, i)), e.push(i || "/"), e;
9963
9964
  }, []);
9964
9965
  var Ei = class {
9965
9966
  #t = /* @__PURE__ */ new Map();
9966
9967
  #i = /* @__PURE__ */ new Map();
9967
9968
  #s = /* @__PURE__ */ new Set();
9968
9969
  reserve(t, e) {
9969
- t = Jn ? ["win32 parallelization disabled"] : t.map((r) => mt(pr(mr(r))));
9970
- let i = new Set(t.map((r) => to(r)).reduce((r, n) => r.concat(n)));
9970
+ t = eo ? ["win32 parallelization disabled"] : t.map((r) => mt(br(Rr(r))));
9971
+ let i = new Set(t.map((r) => io(r)).reduce((r, n) => r.concat(n)));
9971
9972
  this.#i.set(e, { dirs: i, paths: t });
9972
9973
  for (let r of t) {
9973
9974
  let n = this.#t.get(r);
@@ -10025,25 +10026,25 @@ var Ei = class {
10025
10026
  return this.#s.delete(t), n.forEach((o) => this.#r(o)), true;
10026
10027
  }
10027
10028
  };
10028
- var Er = () => process.umask();
10029
- var wr = /* @__PURE__ */ Symbol("onEntry");
10029
+ var _r = () => process.umask();
10030
+ var gr = /* @__PURE__ */ Symbol("onEntry");
10030
10031
  var ys = /* @__PURE__ */ Symbol("checkFs");
10031
- var Sr = /* @__PURE__ */ Symbol("checkFs2");
10032
+ var Or = /* @__PURE__ */ Symbol("checkFs2");
10032
10033
  var Rs = /* @__PURE__ */ Symbol("isReusable");
10033
10034
  var P = /* @__PURE__ */ Symbol("makeFs");
10034
10035
  var bs = /* @__PURE__ */ Symbol("file");
10035
10036
  var _s = /* @__PURE__ */ Symbol("directory");
10036
10037
  var Si = /* @__PURE__ */ Symbol("link");
10037
- var yr = /* @__PURE__ */ Symbol("symlink");
10038
- var Rr = /* @__PURE__ */ Symbol("hardlink");
10038
+ var Tr = /* @__PURE__ */ Symbol("symlink");
10039
+ var xr = /* @__PURE__ */ Symbol("hardlink");
10039
10040
  var ye = /* @__PURE__ */ Symbol("ensureNoSymlink");
10040
- var br = /* @__PURE__ */ Symbol("unsupported");
10041
- var _r = /* @__PURE__ */ Symbol("checkPath");
10041
+ var Lr = /* @__PURE__ */ Symbol("unsupported");
10042
+ var Nr = /* @__PURE__ */ Symbol("checkPath");
10042
10043
  var Es = /* @__PURE__ */ Symbol("stripAbsolutePath");
10043
10044
  var St = /* @__PURE__ */ Symbol("mkdir");
10044
10045
  var O = /* @__PURE__ */ Symbol("onError");
10045
10046
  var wi = /* @__PURE__ */ Symbol("pending");
10046
- var gr = /* @__PURE__ */ Symbol("pend");
10047
+ var Ar = /* @__PURE__ */ Symbol("pend");
10047
10048
  var Xt = /* @__PURE__ */ Symbol("unpend");
10048
10049
  var ws = /* @__PURE__ */ Symbol("ended");
10049
10050
  var Ss = /* @__PURE__ */ Symbol("maybeClose");
@@ -10052,23 +10053,23 @@ var Re = /* @__PURE__ */ Symbol("doChown");
10052
10053
  var be = /* @__PURE__ */ Symbol("uid");
10053
10054
  var _e = /* @__PURE__ */ Symbol("gid");
10054
10055
  var ge = /* @__PURE__ */ Symbol("checkedCwd");
10055
- var io = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
10056
- var Oe = io === "win32";
10057
- var so = 1024;
10058
- var ro = (s3, t) => {
10056
+ var ro = process.env.TESTING_TAR_FAKE_PLATFORM || process.platform;
10057
+ var Oe = ro === "win32";
10058
+ var no = 1024;
10059
+ var oo = (s3, t) => {
10059
10060
  if (!Oe) return u.unlink(s3, t);
10060
- let e = s3 + ".DELETE." + Tr(16).toString("hex");
10061
+ let e = s3 + ".DELETE." + Ir(16).toString("hex");
10061
10062
  u.rename(s3, e, (i) => {
10062
10063
  if (i) return t(i);
10063
10064
  u.unlink(e, t);
10064
10065
  });
10065
10066
  };
10066
- var no = (s3) => {
10067
+ var ho = (s3) => {
10067
10068
  if (!Oe) return u.unlinkSync(s3);
10068
- let t = s3 + ".DELETE." + Tr(16).toString("hex");
10069
+ let t = s3 + ".DELETE." + Ir(16).toString("hex");
10069
10070
  u.renameSync(s3, t), u.unlinkSync(t);
10070
10071
  };
10071
- var Or = (s3, t, e) => s3 !== void 0 && s3 === s3 >>> 0 ? s3 : t !== void 0 && t === t >>> 0 ? t : e;
10072
+ var Dr = (s3, t, e) => s3 !== void 0 && s3 === s3 >>> 0 ? s3 : t !== void 0 && t === t >>> 0 ? t : e;
10072
10073
  var qt = class extends st {
10073
10074
  [ws] = false;
10074
10075
  [ge] = false;
@@ -10106,7 +10107,7 @@ var qt = class extends st {
10106
10107
  if (t.preserveOwner) throw new TypeError("cannot preserve owner in archive and also set owner explicitly");
10107
10108
  this.uid = t.uid, this.gid = t.gid, this.setOwner = true;
10108
10109
  } else this.uid = void 0, this.gid = void 0, this.setOwner = false;
10109
- this.preserveOwner = t.preserveOwner === void 0 && typeof t.uid != "number" ? !!(process.getuid && 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 : so, this.forceChown = t.forceChown === true, this.win32 = !!t.win32 || Oe, 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 : Er() : 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[wr](e));
10110
+ this.preserveOwner = t.preserveOwner === void 0 && typeof t.uid != "number" ? !!(process.getuid && 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 : no, this.forceChown = t.forceChown === true, this.win32 = !!t.win32 || Oe, 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 : _r() : 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[gr](e));
10110
10111
  }
10111
10112
  warn(t, e, i = {}) {
10112
10113
  return (t === "TAR_BAD_ARCHIVE" || t === "TAR_ABORT") && (i.recoverable = false), super.warn(t, e, i);
@@ -10125,7 +10126,7 @@ var qt = class extends st {
10125
10126
  }
10126
10127
  return n && (t[e] = String(o), this.warn("TAR_ENTRY_INFO", `stripping ${n} from absolute ${e}`, { entry: t, [e]: i })), true;
10127
10128
  }
10128
- [_r](t) {
10129
+ [Nr](t) {
10129
10130
  let e = f(t.path), i = e.split("/");
10130
10131
  if (this.strip) {
10131
10132
  if (i.length < this.strip) return false;
@@ -10148,9 +10149,9 @@ var qt = class extends st {
10148
10149
  }
10149
10150
  return true;
10150
10151
  }
10151
- [wr](t) {
10152
- if (!this[_r](t)) return t.resume();
10153
- switch (eo.equal(typeof t.absolute, "string"), t.type) {
10152
+ [gr](t) {
10153
+ if (!this[Nr](t)) return t.resume();
10154
+ switch (so.equal(typeof t.absolute, "string"), t.type) {
10154
10155
  case "Directory":
10155
10156
  case "GNUDumpDir":
10156
10157
  t.mode && (t.mode = t.mode | 448);
@@ -10161,23 +10162,23 @@ var qt = class extends st {
10161
10162
  case "SymbolicLink":
10162
10163
  return this[ys](t);
10163
10164
  default:
10164
- return this[br](t);
10165
+ return this[Lr](t);
10165
10166
  }
10166
10167
  }
10167
10168
  [O](t, e) {
10168
10169
  t.name === "CwdError" ? this.emit("error", t) : (this.warn("TAR_ENTRY_ERROR", t, { entry: e }), this[Xt](), e.resume());
10169
10170
  }
10170
10171
  [St](t, e, i) {
10171
- cr(f(t), { uid: this.uid, gid: this.gid, processUid: this.processUid, processGid: this.processGid, umask: this.processUmask, preserve: this.preservePaths, unlink: this.unlink, cwd: this.cwd, mode: e }, i);
10172
+ Er(f(t), { uid: this.uid, gid: this.gid, processUid: this.processUid, processGid: this.processGid, umask: this.processUmask, preserve: this.preservePaths, unlink: this.unlink, cwd: this.cwd, mode: e }, i);
10172
10173
  }
10173
10174
  [Re](t) {
10174
10175
  return this.forceChown || this.preserveOwner && (typeof t.uid == "number" && t.uid !== this.processUid || typeof t.gid == "number" && t.gid !== this.processGid) || typeof this.uid == "number" && this.uid !== this.processUid || typeof this.gid == "number" && this.gid !== this.processGid;
10175
10176
  }
10176
10177
  [be](t) {
10177
- return Or(this.uid, t.uid, this.processUid);
10178
+ return Dr(this.uid, t.uid, this.processUid);
10178
10179
  }
10179
10180
  [_e](t) {
10180
- return Or(this.gid, t.gid, this.processGid);
10181
+ return Dr(this.gid, t.gid, this.processGid);
10181
10182
  }
10182
10183
  [bs](t, e) {
10183
10184
  let i = typeof t.mode == "number" ? t.mode & 4095 : this.fmode, r = new tt2(String(t.absolute), { flags: cs(t.size), mode: i, autoClose: false });
@@ -10227,16 +10228,16 @@ var qt = class extends st {
10227
10228
  t.mtime && !this.noMtime && (n++, u.utimes(String(t.absolute), t.atime || /* @__PURE__ */ new Date(), t.mtime, o)), this[Re](t) && (n++, u.chown(String(t.absolute), Number(this[be](t)), Number(this[_e](t)), o)), o();
10228
10229
  });
10229
10230
  }
10230
- [br](t) {
10231
+ [Lr](t) {
10231
10232
  t.unsupported = true, this.warn("TAR_ENTRY_UNSUPPORTED", `unsupported entry type: ${t.type}`, { entry: t }), t.resume();
10232
10233
  }
10233
- [yr](t, e) {
10234
+ [Tr](t, e) {
10234
10235
  let i = f(R.relative(this.cwd, R.resolve(R.dirname(String(t.absolute)), String(t.linkpath)))).split("/");
10235
10236
  this[ye](t, this.cwd, i, () => this[Si](t, String(t.linkpath), "symlink", e), (r) => {
10236
10237
  this[O](r, t), e();
10237
10238
  });
10238
10239
  }
10239
- [Rr](t, e) {
10240
+ [xr](t, e) {
10240
10241
  let i = f(R.resolve(this.cwd, String(t.linkpath))), r = f(String(t.linkpath)).split("/");
10241
10242
  this[ye](t, this.cwd, r, () => this[Si](t, i, "link", e), (n) => {
10242
10243
  this[O](n, t), e();
@@ -10252,7 +10253,7 @@ var qt = class extends st {
10252
10253
  this[ye](t, h, i, r, n);
10253
10254
  });
10254
10255
  }
10255
- [gr]() {
10256
+ [Ar]() {
10256
10257
  this[wi]++;
10257
10258
  }
10258
10259
  [Xt]() {
@@ -10265,11 +10266,11 @@ var qt = class extends st {
10265
10266
  return t.type === "File" && !this.unlink && e.isFile() && e.nlink <= 1 && !Oe;
10266
10267
  }
10267
10268
  [ys](t) {
10268
- this[gr]();
10269
+ this[Ar]();
10269
10270
  let e = [t.path];
10270
- t.linkpath && e.push(t.linkpath), this.reservations.reserve(e, (i) => this[Sr](t, i));
10271
+ t.linkpath && e.push(t.linkpath), this.reservations.reserve(e, (i) => this[Or](t, i));
10271
10272
  }
10272
- [Sr](t, e) {
10273
+ [Or](t, e) {
10273
10274
  let i = (h) => {
10274
10275
  e(h);
10275
10276
  }, r = () => {
@@ -10307,7 +10308,7 @@ var qt = class extends st {
10307
10308
  if (t.absolute !== this.cwd) return u.rmdir(String(t.absolute), (l) => this[P](l ?? null, t, i));
10308
10309
  }
10309
10310
  if (t.absolute === this.cwd) return this[P](null, t, i);
10310
- ro(String(t.absolute), (l) => this[P](l ?? null, t, i));
10311
+ oo(String(t.absolute), (l) => this[P](l ?? null, t, i));
10311
10312
  });
10312
10313
  };
10313
10314
  this[ge] ? n() : r();
@@ -10323,9 +10324,9 @@ var qt = class extends st {
10323
10324
  case "ContiguousFile":
10324
10325
  return this[bs](e, i);
10325
10326
  case "Link":
10326
- return this[Rr](e, i);
10327
+ return this[xr](e, i);
10327
10328
  case "SymbolicLink":
10328
- return this[yr](e, i);
10329
+ return this[Tr](e, i);
10329
10330
  case "Directory":
10330
10331
  case "GNUDumpDir":
10331
10332
  return this[_s](e, i);
@@ -10376,7 +10377,7 @@ var Te = class extends qt {
10376
10377
  let [n] = Se(() => u.rmdirSync(String(t.absolute)));
10377
10378
  this[P](n, t);
10378
10379
  }
10379
- let [r] = t.absolute === this.cwd ? [] : Se(() => no(String(t.absolute)));
10380
+ let [r] = t.absolute === this.cwd ? [] : Se(() => ho(String(t.absolute)));
10380
10381
  this[P](r, t);
10381
10382
  }
10382
10383
  [bs](t, e) {
@@ -10448,7 +10449,7 @@ var Te = class extends qt {
10448
10449
  }
10449
10450
  [St](t, e) {
10450
10451
  try {
10451
- return dr(f(t), { uid: this.uid, gid: this.gid, processUid: this.processUid, processGid: this.processGid, umask: this.processUmask, preserve: this.preservePaths, unlink: this.unlink, cwd: this.cwd, mode: e });
10452
+ return Sr(f(t), { uid: this.uid, gid: this.gid, processUid: this.processUid, processGid: this.processGid, umask: this.processUmask, preserve: this.preservePaths, unlink: this.unlink, cwd: this.cwd, mode: e });
10452
10453
  } catch (i) {
10453
10454
  return i;
10454
10455
  }
@@ -10473,14 +10474,14 @@ var Te = class extends qt {
10473
10474
  }
10474
10475
  }
10475
10476
  };
10476
- var oo = (s3) => {
10477
- let t = new Te(s3), e = s3.file, i = xr.statSync(e), r = s3.maxReadSize || 16 * 1024 * 1024;
10477
+ var ao = (s3) => {
10478
+ let t = new Te(s3), e = s3.file, i = Cr.statSync(e), r = s3.maxReadSize || 16 * 1024 * 1024;
10478
10479
  new Me(e, { readSize: r, size: i.size }).pipe(t);
10479
10480
  };
10480
- var ho = (s3, t) => {
10481
+ var lo = (s3, t) => {
10481
10482
  let e = new qt(s3), i = s3.maxReadSize || 16 * 1024 * 1024, r = s3.file;
10482
10483
  return new Promise((o, h) => {
10483
- e.on("error", h), e.on("close", o), xr.stat(r, (a, l) => {
10484
+ e.on("error", h), e.on("close", o), Cr.stat(r, (a, l) => {
10484
10485
  if (a) h(a);
10485
10486
  else {
10486
10487
  let c = new _t(r, { readSize: i, size: l.size });
@@ -10489,10 +10490,10 @@ var ho = (s3, t) => {
10489
10490
  });
10490
10491
  });
10491
10492
  };
10492
- var ao = K(oo, ho, (s3) => new Te(s3), (s3) => new qt(s3), (s3, t) => {
10493
+ var co = K(ao, lo, (s3) => new Te(s3), (s3) => new qt(s3), (s3, t) => {
10493
10494
  t?.length && Ki(s3, t);
10494
10495
  });
10495
- var lo = (s3, t) => {
10496
+ var fo = (s3, t) => {
10496
10497
  let e = new kt(s3), i = true, r, n;
10497
10498
  try {
10498
10499
  try {
@@ -10513,7 +10514,7 @@ var lo = (s3, t) => {
10513
10514
  if (n + l + 512 > o.size) break;
10514
10515
  n += l, s3.mtimeCache && a.mtime && s3.mtimeCache.set(String(a.path), a.mtime);
10515
10516
  }
10516
- i = false, co(s3, e, n, r, t);
10517
+ i = false, uo(s3, e, n, r, t);
10517
10518
  } finally {
10518
10519
  if (i) try {
10519
10520
  v.closeSync(r);
@@ -10521,11 +10522,11 @@ var lo = (s3, t) => {
10521
10522
  }
10522
10523
  }
10523
10524
  };
10524
- var co = (s3, t, e, i, r) => {
10525
+ var uo = (s3, t, e, i, r) => {
10525
10526
  let n = new Wt(s3.file, { fd: i, start: e });
10526
- t.pipe(n), uo(t, r);
10527
+ t.pipe(n), po(t, r);
10527
10528
  };
10528
- var fo = (s3, t) => {
10529
+ var mo = (s3, t) => {
10529
10530
  t = Array.from(t);
10530
10531
  let e = new Et(s3), i = (n, o, h) => {
10531
10532
  let a = (T, N) => {
@@ -10555,23 +10556,23 @@ var fo = (s3, t) => {
10555
10556
  i(c, S.size, (T, N) => {
10556
10557
  if (T) return o(T);
10557
10558
  let E = new tt2(s3.file, { fd: c, start: N });
10558
- e.pipe(E), E.on("error", o), E.on("close", n), mo(e, t);
10559
+ e.pipe(E), E.on("error", o), E.on("close", n), Eo(e, t);
10559
10560
  });
10560
10561
  });
10561
10562
  };
10562
10563
  v.open(s3.file, h, a);
10563
10564
  });
10564
10565
  };
10565
- var uo = (s3, t) => {
10566
+ var po = (s3, t) => {
10566
10567
  t.forEach((e) => {
10567
- e.charAt(0) === "@" ? It({ file: Lr.resolve(s3.cwd, e.slice(1)), sync: true, noResume: true, onReadEntry: (i) => s3.add(i) }) : s3.add(e);
10568
+ e.charAt(0) === "@" ? It({ file: Fr.resolve(s3.cwd, e.slice(1)), sync: true, noResume: true, onReadEntry: (i) => s3.add(i) }) : s3.add(e);
10568
10569
  }), s3.end();
10569
10570
  };
10570
- var mo = async (s3, t) => {
10571
- for (let e of t) e.charAt(0) === "@" ? await It({ file: Lr.resolve(String(s3.cwd), e.slice(1)), noResume: true, onReadEntry: (i) => s3.add(i) }) : s3.add(e);
10571
+ var Eo = async (s3, t) => {
10572
+ for (let e of t) e.charAt(0) === "@" ? await It({ file: Fr.resolve(String(s3.cwd), e.slice(1)), noResume: true, onReadEntry: (i) => s3.add(i) }) : s3.add(e);
10572
10573
  s3.end();
10573
10574
  };
10574
- var vt = K(lo, fo, () => {
10575
+ var vt = K(fo, mo, () => {
10575
10576
  throw new TypeError("file is required");
10576
10577
  }, () => {
10577
10578
  throw new TypeError("file is required");
@@ -10580,10 +10581,10 @@ var vt = K(lo, fo, () => {
10580
10581
  if (s3.gzip || s3.brotli || s3.zstd || s3.file.endsWith(".br") || s3.file.endsWith(".tbr")) throw new TypeError("cannot append to compressed archives");
10581
10582
  if (!t?.length) throw new TypeError("no paths specified to add/replace");
10582
10583
  });
10583
- var po = K(vt.syncFile, vt.asyncFile, vt.syncNoFile, vt.asyncNoFile, (s3, t = []) => {
10584
- vt.validate?.(s3, t), Eo(s3);
10584
+ var wo = K(vt.syncFile, vt.asyncFile, vt.syncNoFile, vt.asyncNoFile, (s3, t = []) => {
10585
+ vt.validate?.(s3, t), So(s3);
10585
10586
  });
10586
- var Eo = (s3) => {
10587
+ var So = (s3) => {
10587
10588
  let t = s3.filter;
10588
10589
  s3.mtimeCache || (s3.mtimeCache = /* @__PURE__ */ new Map()), s3.filter = t ? (e, i) => t(e, i) && !((s3.mtimeCache?.get(e) ?? i.mtime ?? 0) > (i.mtime ?? 0)) : (e, i) => !((s3.mtimeCache?.get(e) ?? i.mtime ?? 0) > (i.mtime ?? 0));
10589
10590
  };
@@ -10923,7 +10924,7 @@ var escapeArgument = (argument) => escapeFile(escapeFile(`"${argument.replaceAll
10923
10924
  var escapeFile = (file) => file.replaceAll(/([()\][%!^"`<>&|;, *?])/g, "^$1");
10924
10925
 
10925
10926
  // node_modules/nano-spawn/source/result.js
10926
- import { once, on as on2 } from "node:events";
10927
+ import { once, on } from "node:events";
10927
10928
  import process6 from "node:process";
10928
10929
  var getResult = async (nodeChildProcess, { input }, context) => {
10929
10930
  const instance = await nodeChildProcess;
@@ -10944,7 +10945,7 @@ var getResult = async (nodeChildProcess, { input }, context) => {
10944
10945
  }
10945
10946
  };
10946
10947
  var onStreamError = async (stream) => {
10947
- for await (const [error] of on2(stream, "error")) {
10948
+ for await (const [error] of on(stream, "error")) {
10948
10949
  if (!["ERR_STREAM_PREMATURE_CLOSE", "EPIPE"].includes(error?.code)) {
10949
10950
  throw error;
10950
10951
  }
@@ -12209,6 +12210,9 @@ async function verifyPackageLock() {
12209
12210
  const { packages } = lockfile;
12210
12211
  const results = [];
12211
12212
  for (const [name, pkg] of Object.entries(packages)) {
12213
+ if (pkg.link) {
12214
+ continue;
12215
+ }
12212
12216
  if (!isValidResolved(pkg)) {
12213
12217
  const { line, column } = jsonLocation(ast, "value", "packages", name, "resolved");
12214
12218
  results.push({