@pipelab/plugin-nvpatch 1.0.0-beta.18 → 1.0.0-beta.19

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.cjs CHANGED
@@ -793,7 +793,7 @@ const handleCommand$1 = (filePath, rawArguments, rawOptions) => {
793
793
  var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
794
794
  module.exports = isexe;
795
795
  isexe.sync = sync;
796
- var fs$38 = require("fs");
796
+ var fs$37 = require("fs");
797
797
  function checkPathExt(path, options) {
798
798
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
799
799
  if (!pathext) return true;
@@ -810,12 +810,12 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
810
810
  return checkPathExt(path, options);
811
811
  }
812
812
  function isexe(path, options, cb) {
813
- fs$38.stat(path, function(er, stat) {
813
+ fs$37.stat(path, function(er, stat) {
814
814
  cb(er, er ? false : checkStat(stat, path, options));
815
815
  });
816
816
  }
817
817
  function sync(path, options) {
818
- return checkStat(fs$38.statSync(path), path, options);
818
+ return checkStat(fs$37.statSync(path), path, options);
819
819
  }
820
820
  }));
821
821
  //#endregion
@@ -823,14 +823,14 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
823
823
  var require_mode = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
824
824
  module.exports = isexe;
825
825
  isexe.sync = sync;
826
- var fs$37 = require("fs");
826
+ var fs$36 = require("fs");
827
827
  function isexe(path, options, cb) {
828
- fs$37.stat(path, function(er, stat) {
828
+ fs$36.stat(path, function(er, stat) {
829
829
  cb(er, er ? false : checkStat(stat, options));
830
830
  });
831
831
  }
832
832
  function sync(path, options) {
833
- return checkStat(fs$37.statSync(path), options);
833
+ return checkStat(fs$36.statSync(path), options);
834
834
  }
835
835
  function checkStat(stat, options) {
836
836
  return stat.isFile() && checkMode(stat, options);
@@ -894,7 +894,7 @@ var require_isexe = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
894
894
  //#region ../../node_modules/which/which.js
895
895
  var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
896
896
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
897
- const path$46 = require("path");
897
+ const path$45 = require("path");
898
898
  const COLON = isWindows ? ";" : ":";
899
899
  const isexe = require_isexe();
900
900
  const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -924,7 +924,7 @@ var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
924
924
  if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
925
925
  const ppRaw = pathEnv[i];
926
926
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
927
- const pCmd = path$46.join(pathPart, cmd);
927
+ const pCmd = path$45.join(pathPart, cmd);
928
928
  resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i, 0));
929
929
  });
930
930
  const subStep = (p, i, ii) => new Promise((resolve, reject) => {
@@ -945,7 +945,7 @@ var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
945
945
  for (let i = 0; i < pathEnv.length; i++) {
946
946
  const ppRaw = pathEnv[i];
947
947
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
948
- const pCmd = path$46.join(pathPart, cmd);
948
+ const pCmd = path$45.join(pathPart, cmd);
949
949
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
950
950
  for (let j = 0; j < pathExt.length; j++) {
951
951
  const cur = p + pathExt[j];
@@ -976,7 +976,7 @@ var require_path_key = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
976
976
  //#endregion
977
977
  //#region ../../node_modules/cross-spawn/lib/util/resolveCommand.js
978
978
  var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
979
- const path$45 = require("path");
979
+ const path$44 = require("path");
980
980
  const which = require_which$1();
981
981
  const getPathKey = require_path_key();
982
982
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -991,12 +991,12 @@ var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
991
991
  try {
992
992
  resolved = which.sync(parsed.command, {
993
993
  path: env[getPathKey({ env })],
994
- pathExt: withoutPathExt ? path$45.delimiter : void 0
994
+ pathExt: withoutPathExt ? path$44.delimiter : void 0
995
995
  });
996
996
  } catch (e) {} finally {
997
997
  if (shouldSwitchCwd) process.chdir(cwd);
998
998
  }
999
- if (resolved) resolved = path$45.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
999
+ if (resolved) resolved = path$44.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
1000
1000
  return resolved;
1001
1001
  }
1002
1002
  function resolveCommand(parsed) {
@@ -1045,16 +1045,16 @@ var require_shebang_command = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
1045
1045
  //#endregion
1046
1046
  //#region ../../node_modules/cross-spawn/lib/util/readShebang.js
1047
1047
  var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
1048
- const fs$36 = require("fs");
1048
+ const fs$35 = require("fs");
1049
1049
  const shebangCommand = require_shebang_command();
1050
1050
  function readShebang(command) {
1051
1051
  const size = 150;
1052
1052
  const buffer = Buffer.alloc(size);
1053
1053
  let fd;
1054
1054
  try {
1055
- fd = fs$36.openSync(command, "r");
1056
- fs$36.readSync(fd, buffer, 0, size, 0);
1057
- fs$36.closeSync(fd);
1055
+ fd = fs$35.openSync(command, "r");
1056
+ fs$35.readSync(fd, buffer, 0, size, 0);
1057
+ fs$35.closeSync(fd);
1058
1058
  } catch (e) {}
1059
1059
  return shebangCommand(buffer.toString());
1060
1060
  }
@@ -1063,7 +1063,7 @@ var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
1063
1063
  //#endregion
1064
1064
  //#region ../../node_modules/cross-spawn/lib/parse.js
1065
1065
  var require_parse$6 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
1066
- const path$44 = require("path");
1066
+ const path$43 = require("path");
1067
1067
  const resolveCommand = require_resolveCommand();
1068
1068
  const escape = require_escape$4();
1069
1069
  const readShebang = require_readShebang();
@@ -1086,7 +1086,7 @@ var require_parse$6 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
1086
1086
  const needsShell = !isExecutableRegExp.test(commandFile);
1087
1087
  if (parsed.options.forceShell || needsShell) {
1088
1088
  const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
1089
- parsed.command = path$44.normalize(parsed.command);
1089
+ parsed.command = path$43.normalize(parsed.command);
1090
1090
  parsed.command = escape.command(parsed.command);
1091
1091
  parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
1092
1092
  parsed.args = [
@@ -9628,7 +9628,7 @@ const settingsMigratorInternal = createMigrator();
9628
9628
  const defaultAppSettings = settingsMigratorInternal.createDefault({
9629
9629
  locale: "en-US",
9630
9630
  theme: "light",
9631
- version: "8.0.0",
9631
+ version: "7.0.0",
9632
9632
  autosave: true,
9633
9633
  agents: [],
9634
9634
  tours: {
@@ -9641,11 +9641,6 @@ const defaultAppSettings = settingsMigratorInternal.createDefault({
9641
9641
  completed: false
9642
9642
  }
9643
9643
  },
9644
- buildHistory: { retentionPolicy: {
9645
- enabled: false,
9646
- maxEntries: 50,
9647
- maxAge: 30
9648
- } },
9649
9644
  plugins: DEFAULT_PLUGINS,
9650
9645
  isInternalMigrationBannerClosed: false
9651
9646
  });
@@ -9702,18 +9697,13 @@ settingsMigratorInternal.createMigrations({
9702
9697
  return {
9703
9698
  ...rest,
9704
9699
  agents: [],
9705
- buildHistory: { retentionPolicy: {
9706
- enabled: false,
9707
- maxEntries: 50,
9708
- maxAge: 30
9709
- } },
9710
9700
  plugins: DEFAULT_PLUGINS,
9711
9701
  isInternalMigrationBannerClosed: false
9712
9702
  };
9713
9703
  }
9714
9704
  }),
9715
9705
  createMigration({
9716
- version: "8.0.0",
9706
+ version: "7.0.0",
9717
9707
  up: finalVersion
9718
9708
  })
9719
9709
  ]
@@ -9732,7 +9722,7 @@ connectionsMigratorInternal.createMigrations({
9732
9722
  });
9733
9723
  const fileRepoMigratorInternal = createMigrator();
9734
9724
  const defaultFileRepo = fileRepoMigratorInternal.createDefault({
9735
- version: "2.0.0",
9725
+ version: "3.0.0",
9736
9726
  projects: [{
9737
9727
  id: "main",
9738
9728
  name: "Default project",
@@ -9742,30 +9732,39 @@ const defaultFileRepo = fileRepoMigratorInternal.createDefault({
9742
9732
  });
9743
9733
  fileRepoMigratorInternal.createMigrations({
9744
9734
  defaultValue: defaultFileRepo,
9745
- migrations: [createMigration({
9746
- version: "1.0.0",
9747
- up: (state) => {
9748
- const pipelines = Object.entries(state.data || {}).map(([id, file]) => {
9735
+ migrations: [
9736
+ createMigration({
9737
+ version: "1.0.0",
9738
+ up: (state) => {
9739
+ const pipelines = Object.entries(state.data || {}).map(([id, file]) => {
9740
+ return {
9741
+ ...file,
9742
+ id,
9743
+ project: "main"
9744
+ };
9745
+ });
9749
9746
  return {
9750
- ...file,
9751
- id,
9752
- project: "main"
9747
+ ...state,
9748
+ projects: [{
9749
+ id: "main",
9750
+ name: "Default project",
9751
+ description: "The initial default project"
9752
+ }],
9753
+ pipelines
9753
9754
  };
9754
- });
9755
- return {
9756
- ...state,
9757
- projects: [{
9758
- id: "main",
9759
- name: "Default project",
9760
- description: "The initial default project"
9761
- }],
9762
- pipelines
9763
- };
9764
- }
9765
- }), createMigration({
9766
- version: "2.0.0",
9767
- up: finalVersion
9768
- })]
9755
+ }
9756
+ }),
9757
+ createMigration({
9758
+ version: "2.0.0",
9759
+ up: (state) => {
9760
+ return { ...state };
9761
+ }
9762
+ }),
9763
+ createMigration({
9764
+ version: "3.0.0",
9765
+ up: finalVersion
9766
+ })
9767
+ ]
9769
9768
  });
9770
9769
  const savedFileMigratorInternal = createMigrator();
9771
9770
  const savedFileDefaultValue = savedFileMigratorInternal.createDefault({
@@ -9926,14 +9925,19 @@ object({
9926
9925
  version: literal("1.0.0"),
9927
9926
  data: optional(record(string(), SaveLocationValidator), {})
9928
9927
  });
9929
- const FileRepoProjectValidatorV2$1 = object({
9928
+ const FileRepoProjectValidatorV2 = object({
9930
9929
  id: string(),
9931
9930
  name: string(),
9932
9931
  description: string()
9933
9932
  });
9934
9933
  object({
9935
9934
  version: literal("2.0.0"),
9936
- projects: array(FileRepoProjectValidatorV2$1),
9935
+ projects: array(FileRepoProjectValidatorV2),
9936
+ pipelines: optional(array(SaveLocationValidator), [])
9937
+ });
9938
+ object({
9939
+ version: literal("3.0.0"),
9940
+ projects: array(FileRepoProjectValidatorV2),
9937
9941
  pipelines: optional(array(SaveLocationValidator), [])
9938
9942
  });
9939
9943
  object({
@@ -10042,44 +10046,6 @@ object({
10042
10046
  name: string(),
10043
10047
  url: string()
10044
10048
  })),
10045
- buildHistory: object({ retentionPolicy: object({
10046
- enabled: boolean(),
10047
- maxEntries: number(),
10048
- maxAge: number()
10049
- }) })
10050
- });
10051
- object({
10052
- theme: union([literal("light"), literal("dark")]),
10053
- version: literal("8.0.0"),
10054
- locale: union([
10055
- literal("en-US"),
10056
- literal("fr-FR"),
10057
- literal("pt-BR"),
10058
- literal("zh-CN"),
10059
- literal("es-ES"),
10060
- literal("de-DE")
10061
- ]),
10062
- tours: object({
10063
- dashboard: object({
10064
- step: number(),
10065
- completed: boolean()
10066
- }),
10067
- editor: object({
10068
- step: number(),
10069
- completed: boolean()
10070
- })
10071
- }),
10072
- autosave: boolean(),
10073
- agents: array(object({
10074
- id: string(),
10075
- name: string(),
10076
- url: string()
10077
- })),
10078
- buildHistory: object({ retentionPolicy: object({
10079
- enabled: boolean(),
10080
- maxEntries: number(),
10081
- maxAge: number()
10082
- }) }),
10083
10049
  plugins: array(object({
10084
10050
  name: string(),
10085
10051
  enabled: boolean(),
@@ -52933,20 +52899,6 @@ var WebSocketError = class extends Error {
52933
52899
  const isWebSocketRequestMessage = (message) => {
52934
52900
  return message && typeof message.channel === "string" && message.requestId;
52935
52901
  };
52936
- object({
52937
- version: literal("1.0.0"),
52938
- data: optional(record(string(), SaveLocationValidator), {})
52939
- });
52940
- const FileRepoProjectValidatorV2 = object({
52941
- id: string(),
52942
- name: string(),
52943
- description: string()
52944
- });
52945
- object({
52946
- version: literal("2.0.0"),
52947
- projects: array(FileRepoProjectValidatorV2),
52948
- pipelines: optional(array(SaveLocationValidator), [])
52949
- });
52950
52902
  //#endregion
52951
52903
  //#region ../../packages/constants/src/index.ts
52952
52904
  const websocketPort = 33753;
@@ -62470,10 +62422,10 @@ var require_header = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
62470
62422
  if (!(buf.length >= off + 512)) throw new Error("need 512 bytes for header");
62471
62423
  const prefixSize = this.ctime || this.atime ? 130 : 155;
62472
62424
  const split = splitPrefix(this.path || "", prefixSize);
62473
- const path$97 = split[0];
62425
+ const path$96 = split[0];
62474
62426
  const prefix = split[1];
62475
62427
  this.needPax = split[2];
62476
- this.needPax = encString(buf, off, 100, path$97) || this.needPax;
62428
+ this.needPax = encString(buf, off, 100, path$96) || this.needPax;
62477
62429
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
62478
62430
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
62479
62431
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -62576,7 +62528,7 @@ var require_header = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
62576
62528
  //#region ../../node_modules/tar/lib/pax.js
62577
62529
  var require_pax = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
62578
62530
  const Header = require_header();
62579
- const path$35 = require("path");
62531
+ const path$34 = require("path");
62580
62532
  var Pax = class {
62581
62533
  constructor(obj, global) {
62582
62534
  this.atime = obj.atime || null;
@@ -62604,7 +62556,7 @@ var require_pax = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
62604
62556
  const buf = Buffer.allocUnsafe(bufLen);
62605
62557
  for (let i = 0; i < 512; i++) buf[i] = 0;
62606
62558
  new Header({
62607
- path: ("PaxHeader/" + path$35.basename(this.path)).slice(0, 99),
62559
+ path: ("PaxHeader/" + path$34.basename(this.path)).slice(0, 99),
62608
62560
  mode: this.mode || 420,
62609
62561
  uid: this.uid || null,
62610
62562
  gid: this.gid || null,
@@ -62707,16 +62659,16 @@ var require_winchars = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
62707
62659
  //#region ../../node_modules/tar/lib/strip-absolute-path.js
62708
62660
  var require_strip_absolute_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
62709
62661
  const { isAbsolute: isAbsolute$3, parse: parse$3 } = require("path").win32;
62710
- module.exports = (path$96) => {
62662
+ module.exports = (path$95) => {
62711
62663
  let r = "";
62712
- let parsed = parse$3(path$96);
62713
- while (isAbsolute$3(path$96) || parsed.root) {
62714
- const root = path$96.charAt(0) === "/" && path$96.slice(0, 4) !== "//?/" ? "/" : parsed.root;
62715
- path$96 = path$96.slice(root.length);
62664
+ let parsed = parse$3(path$95);
62665
+ while (isAbsolute$3(path$95) || parsed.root) {
62666
+ const root = path$95.charAt(0) === "/" && path$95.slice(0, 4) !== "//?/" ? "/" : parsed.root;
62667
+ path$95 = path$95.slice(root.length);
62716
62668
  r += root;
62717
- parsed = parse$3(path$96);
62669
+ parsed = parse$3(path$95);
62718
62670
  }
62719
- return [r, path$96];
62671
+ return [r, path$95];
62720
62672
  };
62721
62673
  }));
62722
62674
  //#endregion
@@ -62739,14 +62691,14 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62739
62691
  const { Minipass } = require_minipass$4();
62740
62692
  const Pax = require_pax();
62741
62693
  const Header = require_header();
62742
- const fs$35 = require("fs");
62743
- const path$34 = require("path");
62694
+ const fs$34 = require("fs");
62695
+ const path$33 = require("path");
62744
62696
  const normPath = require_normalize_windows_path();
62745
62697
  const stripSlash = require_strip_trailing_slashes();
62746
- const prefixPath = (path$93, prefix) => {
62747
- if (!prefix) return normPath(path$93);
62748
- path$93 = normPath(path$93).replace(/^\.(\/|$)/, "");
62749
- return stripSlash(prefix) + "/" + path$93;
62698
+ const prefixPath = (path$92, prefix) => {
62699
+ if (!prefix) return normPath(path$92);
62700
+ path$92 = normPath(path$92).replace(/^\.(\/|$)/, "");
62701
+ return stripSlash(prefix) + "/" + path$92;
62750
62702
  };
62751
62703
  const maxReadSize = 16 * 1024 * 1024;
62752
62704
  const PROCESS = Symbol("process");
@@ -62813,7 +62765,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62813
62765
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
62814
62766
  p = p.replace(/\\/g, "/");
62815
62767
  }
62816
- this.absolute = normPath(opt.absolute || path$34.resolve(this.cwd, p));
62768
+ this.absolute = normPath(opt.absolute || path$33.resolve(this.cwd, p));
62817
62769
  if (this.path === "") this.path = "./";
62818
62770
  if (pathWarn) this.warn("TAR_ENTRY_INFO", `stripping ${pathWarn} from absolute path`, {
62819
62771
  entry: this,
@@ -62827,7 +62779,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62827
62779
  return super.emit(ev, ...data);
62828
62780
  }
62829
62781
  [LSTAT]() {
62830
- fs$35.lstat(this.absolute, (er, stat) => {
62782
+ fs$34.lstat(this.absolute, (er, stat) => {
62831
62783
  if (er) return this.emit("error", er);
62832
62784
  this[ONLSTAT](stat);
62833
62785
  });
@@ -62851,8 +62803,8 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62851
62803
  [MODE](mode) {
62852
62804
  return modeFix(mode, this.type === "Directory", this.portable);
62853
62805
  }
62854
- [PREFIX](path$94) {
62855
- return prefixPath(path$94, this.prefix);
62806
+ [PREFIX](path$93) {
62807
+ return prefixPath(path$93, this.prefix);
62856
62808
  }
62857
62809
  [HEADER]() {
62858
62810
  if (this.type === "Directory" && this.portable) this.noMtime = true;
@@ -62892,7 +62844,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62892
62844
  this.end();
62893
62845
  }
62894
62846
  [SYMLINK]() {
62895
- fs$35.readlink(this.absolute, (er, linkpath) => {
62847
+ fs$34.readlink(this.absolute, (er, linkpath) => {
62896
62848
  if (er) return this.emit("error", er);
62897
62849
  this[ONREADLINK](linkpath);
62898
62850
  });
@@ -62904,7 +62856,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62904
62856
  }
62905
62857
  [HARDLINK](linkpath) {
62906
62858
  this.type = "Link";
62907
- this.linkpath = normPath(path$34.relative(this.cwd, linkpath));
62859
+ this.linkpath = normPath(path$33.relative(this.cwd, linkpath));
62908
62860
  this.stat.size = 0;
62909
62861
  this[HEADER]();
62910
62862
  this.end();
@@ -62923,7 +62875,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62923
62875
  this[OPENFILE]();
62924
62876
  }
62925
62877
  [OPENFILE]() {
62926
- fs$35.open(this.absolute, "r", (er, fd) => {
62878
+ fs$34.open(this.absolute, "r", (er, fd) => {
62927
62879
  if (er) return this.emit("error", er);
62928
62880
  this[ONOPENFILE](fd);
62929
62881
  });
@@ -62943,13 +62895,13 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62943
62895
  }
62944
62896
  [READ]() {
62945
62897
  const { fd, buf, offset, length, pos } = this;
62946
- fs$35.read(fd, buf, offset, length, pos, (er, bytesRead) => {
62898
+ fs$34.read(fd, buf, offset, length, pos, (er, bytesRead) => {
62947
62899
  if (er) return this[CLOSE](() => this.emit("error", er));
62948
62900
  this[ONREAD](bytesRead);
62949
62901
  });
62950
62902
  }
62951
62903
  [CLOSE](cb) {
62952
- fs$35.close(this.fd, cb);
62904
+ fs$34.close(this.fd, cb);
62953
62905
  }
62954
62906
  [ONREAD](bytesRead) {
62955
62907
  if (bytesRead <= 0 && this.remain > 0) {
@@ -63005,19 +62957,19 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
63005
62957
  });
63006
62958
  var WriteEntrySync = class extends WriteEntry {
63007
62959
  [LSTAT]() {
63008
- this[ONLSTAT](fs$35.lstatSync(this.absolute));
62960
+ this[ONLSTAT](fs$34.lstatSync(this.absolute));
63009
62961
  }
63010
62962
  [SYMLINK]() {
63011
- this[ONREADLINK](fs$35.readlinkSync(this.absolute));
62963
+ this[ONREADLINK](fs$34.readlinkSync(this.absolute));
63012
62964
  }
63013
62965
  [OPENFILE]() {
63014
- this[ONOPENFILE](fs$35.openSync(this.absolute, "r"));
62966
+ this[ONOPENFILE](fs$34.openSync(this.absolute, "r"));
63015
62967
  }
63016
62968
  [READ]() {
63017
62969
  let threw = true;
63018
62970
  try {
63019
62971
  const { fd, buf, offset, length, pos } = this;
63020
- const bytesRead = fs$35.readSync(fd, buf, offset, length, pos);
62972
+ const bytesRead = fs$34.readSync(fd, buf, offset, length, pos);
63021
62973
  this[ONREAD](bytesRead);
63022
62974
  threw = false;
63023
62975
  } finally {
@@ -63030,7 +62982,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
63030
62982
  cb();
63031
62983
  }
63032
62984
  [CLOSE](cb) {
63033
- fs$35.closeSync(this.fd);
62985
+ fs$34.closeSync(this.fd);
63034
62986
  cb();
63035
62987
  }
63036
62988
  };
@@ -63103,8 +63055,8 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
63103
63055
  super.write(this.header.block);
63104
63056
  readEntry.pipe(this);
63105
63057
  }
63106
- [PREFIX](path$95) {
63107
- return prefixPath(path$95, this.prefix);
63058
+ [PREFIX](path$94) {
63059
+ return prefixPath(path$94, this.prefix);
63108
63060
  }
63109
63061
  [MODE](mode) {
63110
63062
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -63388,8 +63340,8 @@ var require_yallist = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
63388
63340
  //#region ../../node_modules/tar/lib/pack.js
63389
63341
  var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
63390
63342
  var PackJob = class {
63391
- constructor(path$89, absolute) {
63392
- this.path = path$89 || "./";
63343
+ constructor(path$88, absolute) {
63344
+ this.path = path$88 || "./";
63393
63345
  this.absolute = absolute;
63394
63346
  this.entry = null;
63395
63347
  this.stat = null;
@@ -63427,8 +63379,8 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
63427
63379
  const WRITEENTRYCLASS = Symbol("writeEntryClass");
63428
63380
  const WRITE = Symbol("write");
63429
63381
  const ONDRAIN = Symbol("ondrain");
63430
- const fs$34 = require("fs");
63431
- const path$33 = require("path");
63382
+ const fs$33 = require("fs");
63383
+ const path$32 = require("path");
63432
63384
  const warner = require_warn_mixin();
63433
63385
  const normPath = require_normalize_windows_path();
63434
63386
  const Pack = warner(class Pack extends Minipass {
@@ -63480,24 +63432,24 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
63480
63432
  [WRITE](chunk) {
63481
63433
  return super.write(chunk);
63482
63434
  }
63483
- add(path$90) {
63484
- this.write(path$90);
63435
+ add(path$89) {
63436
+ this.write(path$89);
63485
63437
  return this;
63486
63438
  }
63487
- end(path$91) {
63488
- if (path$91) this.write(path$91);
63439
+ end(path$90) {
63440
+ if (path$90) this.write(path$90);
63489
63441
  this[ENDED] = true;
63490
63442
  this[PROCESS]();
63491
63443
  return this;
63492
63444
  }
63493
- write(path$92) {
63445
+ write(path$91) {
63494
63446
  if (this[ENDED]) throw new Error("write after end");
63495
- if (path$92 instanceof ReadEntry) this[ADDTARENTRY](path$92);
63496
- else this[ADDFSENTRY](path$92);
63447
+ if (path$91 instanceof ReadEntry) this[ADDTARENTRY](path$91);
63448
+ else this[ADDFSENTRY](path$91);
63497
63449
  return this.flowing;
63498
63450
  }
63499
63451
  [ADDTARENTRY](p) {
63500
- const absolute = normPath(path$33.resolve(this.cwd, p.path));
63452
+ const absolute = normPath(path$32.resolve(this.cwd, p.path));
63501
63453
  if (!this.filter(p.path, p)) p.resume();
63502
63454
  else {
63503
63455
  const job = new PackJob(p.path, absolute, false);
@@ -63509,14 +63461,14 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
63509
63461
  this[PROCESS]();
63510
63462
  }
63511
63463
  [ADDFSENTRY](p) {
63512
- const absolute = normPath(path$33.resolve(this.cwd, p));
63464
+ const absolute = normPath(path$32.resolve(this.cwd, p));
63513
63465
  this[QUEUE].push(new PackJob(p, absolute));
63514
63466
  this[PROCESS]();
63515
63467
  }
63516
63468
  [STAT](job) {
63517
63469
  job.pending = true;
63518
63470
  this[JOBS] += 1;
63519
- fs$34[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
63471
+ fs$33[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
63520
63472
  job.pending = false;
63521
63473
  this[JOBS] -= 1;
63522
63474
  if (er) this.emit("error", er);
@@ -63532,7 +63484,7 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
63532
63484
  [READDIR](job) {
63533
63485
  job.pending = true;
63534
63486
  this[JOBS] += 1;
63535
- fs$34.readdir(job.absolute, (er, entries) => {
63487
+ fs$33.readdir(job.absolute, (er, entries) => {
63536
63488
  job.pending = false;
63537
63489
  this[JOBS] -= 1;
63538
63490
  if (er) return this.emit("error", er);
@@ -63650,10 +63602,10 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
63650
63602
  resume() {}
63651
63603
  [STAT](job) {
63652
63604
  const stat = this.follow ? "statSync" : "lstatSync";
63653
- this[ONSTAT](job, fs$34[stat](job.absolute));
63605
+ this[ONSTAT](job, fs$33[stat](job.absolute));
63654
63606
  }
63655
63607
  [READDIR](job, stat) {
63656
- this[ONREADDIR](job, fs$34.readdirSync(job.absolute));
63608
+ this[ONREADDIR](job, fs$33.readdirSync(job.absolute));
63657
63609
  }
63658
63610
  [PIPE](job) {
63659
63611
  const source = job.entry;
@@ -64109,8 +64061,8 @@ while (this[FLUSHCHUNK](this[BUFFERSHIFT]()));
64109
64061
  var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
64110
64062
  const MiniPass = require_minipass$2();
64111
64063
  const EE$11 = require("events").EventEmitter;
64112
- const fs$33 = require("fs");
64113
- let writev = fs$33.writev;
64064
+ const fs$32 = require("fs");
64065
+ let writev = fs$32.writev;
64114
64066
  /* istanbul ignore next */
64115
64067
  if (!writev) {
64116
64068
  const binding = process.binding("fs");
@@ -64181,7 +64133,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64181
64133
  throw new TypeError("this is a readable stream");
64182
64134
  }
64183
64135
  [_open]() {
64184
- fs$33.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
64136
+ fs$32.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
64185
64137
  }
64186
64138
  [_onopen](er, fd) {
64187
64139
  if (er) this[_onerror](er);
@@ -64200,7 +64152,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64200
64152
  const buf = this[_makeBuf]();
64201
64153
  /* istanbul ignore if */
64202
64154
  if (buf.length === 0) return process.nextTick(() => this[_onread](null, 0, buf));
64203
- fs$33.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
64155
+ fs$32.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
64204
64156
  }
64205
64157
  }
64206
64158
  [_onread](er, br, buf) {
@@ -64212,7 +64164,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64212
64164
  if (this[_autoClose] && typeof this[_fd] === "number") {
64213
64165
  const fd = this[_fd];
64214
64166
  this[_fd] = null;
64215
- fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
64167
+ fs$32.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
64216
64168
  }
64217
64169
  }
64218
64170
  [_onerror](er) {
@@ -64250,7 +64202,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64250
64202
  [_open]() {
64251
64203
  let threw = true;
64252
64204
  try {
64253
- this[_onopen](null, fs$33.openSync(this[_path], "r"));
64205
+ this[_onopen](null, fs$32.openSync(this[_path], "r"));
64254
64206
  threw = false;
64255
64207
  } finally {
64256
64208
  if (threw) this[_close]();
@@ -64264,7 +64216,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64264
64216
  do {
64265
64217
  const buf = this[_makeBuf]();
64266
64218
  /* istanbul ignore next */
64267
- const br = buf.length === 0 ? 0 : fs$33.readSync(this[_fd], buf, 0, buf.length, null);
64219
+ const br = buf.length === 0 ? 0 : fs$32.readSync(this[_fd], buf, 0, buf.length, null);
64268
64220
  if (!this[_handleChunk](br, buf)) break;
64269
64221
  } while (true);
64270
64222
  this[_reading] = false;
@@ -64278,7 +64230,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64278
64230
  if (this[_autoClose] && typeof this[_fd] === "number") {
64279
64231
  const fd = this[_fd];
64280
64232
  this[_fd] = null;
64281
- fs$33.closeSync(fd);
64233
+ fs$32.closeSync(fd);
64282
64234
  this.emit("close");
64283
64235
  }
64284
64236
  }
@@ -64323,7 +64275,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64323
64275
  this.emit("error", er);
64324
64276
  }
64325
64277
  [_open]() {
64326
- fs$33.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
64278
+ fs$32.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
64327
64279
  }
64328
64280
  [_onopen](er, fd) {
64329
64281
  if (this[_defaultFlag] && this[_flags] === "r+" && er && er.code === "ENOENT") {
@@ -64358,7 +64310,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64358
64310
  return true;
64359
64311
  }
64360
64312
  [_write](buf) {
64361
- fs$33.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
64313
+ fs$32.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
64362
64314
  }
64363
64315
  [_onwrite](er, bw) {
64364
64316
  if (er) this[_onerror](er);
@@ -64392,7 +64344,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64392
64344
  if (this[_autoClose] && typeof this[_fd] === "number") {
64393
64345
  const fd = this[_fd];
64394
64346
  this[_fd] = null;
64395
- fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
64347
+ fs$32.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
64396
64348
  }
64397
64349
  }
64398
64350
  };
@@ -64400,28 +64352,28 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
64400
64352
  [_open]() {
64401
64353
  let fd;
64402
64354
  if (this[_defaultFlag] && this[_flags] === "r+") try {
64403
- fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
64355
+ fd = fs$32.openSync(this[_path], this[_flags], this[_mode]);
64404
64356
  } catch (er) {
64405
64357
  if (er.code === "ENOENT") {
64406
64358
  this[_flags] = "w";
64407
64359
  return this[_open]();
64408
64360
  } else throw er;
64409
64361
  }
64410
- else fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
64362
+ else fd = fs$32.openSync(this[_path], this[_flags], this[_mode]);
64411
64363
  this[_onopen](null, fd);
64412
64364
  }
64413
64365
  [_close]() {
64414
64366
  if (this[_autoClose] && typeof this[_fd] === "number") {
64415
64367
  const fd = this[_fd];
64416
64368
  this[_fd] = null;
64417
- fs$33.closeSync(fd);
64369
+ fs$32.closeSync(fd);
64418
64370
  this.emit("close");
64419
64371
  }
64420
64372
  }
64421
64373
  [_write](buf) {
64422
64374
  let threw = true;
64423
64375
  try {
64424
- this[_onwrite](null, fs$33.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
64376
+ this[_onwrite](null, fs$32.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
64425
64377
  threw = false;
64426
64378
  } finally {
64427
64379
  if (threw) try {
@@ -64786,9 +64738,9 @@ while (this[PROCESSENTRY](this[QUEUE].shift()));
64786
64738
  var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
64787
64739
  const hlo = require_high_level_opt();
64788
64740
  const Parser = require_parse$3();
64789
- const fs$32 = require("fs");
64741
+ const fs$31 = require("fs");
64790
64742
  const fsm = require_fs_minipass();
64791
- const path$32 = require("path");
64743
+ const path$31 = require("path");
64792
64744
  const stripSlash = require_strip_trailing_slashes();
64793
64745
  module.exports = (opt_, files, cb) => {
64794
64746
  if (typeof opt_ === "function") cb = opt_, files = null, opt_ = {};
@@ -64814,8 +64766,8 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
64814
64766
  const map = new Map(files.map((f) => [stripSlash(f), true]));
64815
64767
  const filter = opt.filter;
64816
64768
  const mapHas = (file, r) => {
64817
- const root = r || path$32.parse(file).root || ".";
64818
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$32.dirname(file), root);
64769
+ const root = r || path$31.parse(file).root || ".";
64770
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$31.dirname(file), root);
64819
64771
  map.set(file, ret);
64820
64772
  return ret;
64821
64773
  };
@@ -64827,15 +64779,15 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
64827
64779
  let threw = true;
64828
64780
  let fd;
64829
64781
  try {
64830
- const stat = fs$32.statSync(file);
64782
+ const stat = fs$31.statSync(file);
64831
64783
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
64832
- if (stat.size < readSize) p.end(fs$32.readFileSync(file));
64784
+ if (stat.size < readSize) p.end(fs$31.readFileSync(file));
64833
64785
  else {
64834
64786
  let pos = 0;
64835
64787
  const buf = Buffer.allocUnsafe(readSize);
64836
- fd = fs$32.openSync(file, "r");
64788
+ fd = fs$31.openSync(file, "r");
64837
64789
  while (pos < stat.size) {
64838
- const bytesRead = fs$32.readSync(fd, buf, 0, readSize, pos);
64790
+ const bytesRead = fs$31.readSync(fd, buf, 0, readSize, pos);
64839
64791
  pos += bytesRead;
64840
64792
  p.write(buf.slice(0, bytesRead));
64841
64793
  }
@@ -64844,7 +64796,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
64844
64796
  threw = false;
64845
64797
  } finally {
64846
64798
  if (threw && fd) try {
64847
- fs$32.closeSync(fd);
64799
+ fs$31.closeSync(fd);
64848
64800
  } catch (er) {}
64849
64801
  }
64850
64802
  };
@@ -64855,7 +64807,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
64855
64807
  const p = new Promise((resolve, reject) => {
64856
64808
  parse.on("error", reject);
64857
64809
  parse.on("end", resolve);
64858
- fs$32.stat(file, (er, stat) => {
64810
+ fs$31.stat(file, (er, stat) => {
64859
64811
  if (er) reject(er);
64860
64812
  else {
64861
64813
  const stream = new fsm.ReadStream(file, {
@@ -64878,7 +64830,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
64878
64830
  const Pack = require_pack$1();
64879
64831
  const fsm = require_fs_minipass();
64880
64832
  const t = require_list();
64881
- const path$31 = require("path");
64833
+ const path$30 = require("path");
64882
64834
  module.exports = (opt_, files, cb) => {
64883
64835
  if (typeof files === "function") cb = files;
64884
64836
  if (Array.isArray(opt_)) files = opt_, opt_ = {};
@@ -64910,7 +64862,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
64910
64862
  const addFilesSync = (p, files) => {
64911
64863
  files.forEach((file) => {
64912
64864
  if (file.charAt(0) === "@") t({
64913
- file: path$31.resolve(p.cwd, file.slice(1)),
64865
+ file: path$30.resolve(p.cwd, file.slice(1)),
64914
64866
  sync: true,
64915
64867
  noResume: true,
64916
64868
  onentry: (entry) => p.add(entry)
@@ -64923,7 +64875,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
64923
64875
  while (files.length) {
64924
64876
  const file = files.shift();
64925
64877
  if (file.charAt(0) === "@") return t({
64926
- file: path$31.resolve(p.cwd, file.slice(1)),
64878
+ file: path$30.resolve(p.cwd, file.slice(1)),
64927
64879
  noResume: true,
64928
64880
  onentry: (entry) => p.add(entry)
64929
64881
  }).then((_) => addFilesAsync(p, files));
@@ -64947,10 +64899,10 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
64947
64899
  var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
64948
64900
  const hlo = require_high_level_opt();
64949
64901
  const Pack = require_pack$1();
64950
- const fs$31 = require("fs");
64902
+ const fs$30 = require("fs");
64951
64903
  const fsm = require_fs_minipass();
64952
64904
  const t = require_list();
64953
- const path$30 = require("path");
64905
+ const path$29 = require("path");
64954
64906
  const Header = require_header();
64955
64907
  module.exports = (opt_, files, cb) => {
64956
64908
  const opt = hlo(opt_);
@@ -64967,16 +64919,16 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
64967
64919
  let position;
64968
64920
  try {
64969
64921
  try {
64970
- fd = fs$31.openSync(opt.file, "r+");
64922
+ fd = fs$30.openSync(opt.file, "r+");
64971
64923
  } catch (er) {
64972
- if (er.code === "ENOENT") fd = fs$31.openSync(opt.file, "w+");
64924
+ if (er.code === "ENOENT") fd = fs$30.openSync(opt.file, "w+");
64973
64925
  else throw er;
64974
64926
  }
64975
- const st = fs$31.fstatSync(fd);
64927
+ const st = fs$30.fstatSync(fd);
64976
64928
  const headBuf = Buffer.alloc(512);
64977
64929
  POSITION: for (position = 0; position < st.size; position += 512) {
64978
64930
  for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
64979
- bytes = fs$31.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
64931
+ bytes = fs$30.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
64980
64932
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) throw new Error("cannot append to compressed archives");
64981
64933
  if (!bytes) break POSITION;
64982
64934
  }
@@ -64991,7 +64943,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
64991
64943
  streamSync(opt, p, position, fd, files);
64992
64944
  } finally {
64993
64945
  if (threw) try {
64994
- fs$31.closeSync(fd);
64946
+ fs$30.closeSync(fd);
64995
64947
  } catch (er) {}
64996
64948
  }
64997
64949
  };
@@ -65008,7 +64960,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
65008
64960
  const p = new Pack(opt);
65009
64961
  const getPos = (fd, size, cb_) => {
65010
64962
  const cb = (er, pos) => {
65011
- if (er) fs$31.close(fd, (_) => cb_(er));
64963
+ if (er) fs$30.close(fd, (_) => cb_(er));
65012
64964
  else cb_(null, pos);
65013
64965
  };
65014
64966
  let position = 0;
@@ -65018,7 +64970,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
65018
64970
  const onread = (er, bytes) => {
65019
64971
  if (er) return cb(er);
65020
64972
  bufPos += bytes;
65021
- if (bufPos < 512 && bytes) return fs$31.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
64973
+ if (bufPos < 512 && bytes) return fs$30.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
65022
64974
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) return cb(/* @__PURE__ */ new Error("cannot append to compressed archives"));
65023
64975
  if (bufPos < 512) return cb(null, position);
65024
64976
  const h = new Header(headBuf);
@@ -65029,9 +64981,9 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
65029
64981
  if (position >= size) return cb(null, position);
65030
64982
  if (opt.mtimeCache) opt.mtimeCache.set(h.path, h.mtime);
65031
64983
  bufPos = 0;
65032
- fs$31.read(fd, headBuf, 0, 512, position, onread);
64984
+ fs$30.read(fd, headBuf, 0, 512, position, onread);
65033
64985
  };
65034
- fs$31.read(fd, headBuf, 0, 512, position, onread);
64986
+ fs$30.read(fd, headBuf, 0, 512, position, onread);
65035
64987
  };
65036
64988
  const promise = new Promise((resolve, reject) => {
65037
64989
  p.on("error", reject);
@@ -65039,11 +64991,11 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
65039
64991
  const onopen = (er, fd) => {
65040
64992
  if (er && er.code === "ENOENT" && flag === "r+") {
65041
64993
  flag = "w+";
65042
- return fs$31.open(opt.file, flag, onopen);
64994
+ return fs$30.open(opt.file, flag, onopen);
65043
64995
  }
65044
64996
  if (er) return reject(er);
65045
- fs$31.fstat(fd, (er, st) => {
65046
- if (er) return fs$31.close(fd, () => reject(er));
64997
+ fs$30.fstat(fd, (er, st) => {
64998
+ if (er) return fs$30.close(fd, () => reject(er));
65047
64999
  getPos(fd, st.size, (er, position) => {
65048
65000
  if (er) return reject(er);
65049
65001
  const stream = new fsm.WriteStream(opt.file, {
@@ -65057,14 +65009,14 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
65057
65009
  });
65058
65010
  });
65059
65011
  };
65060
- fs$31.open(opt.file, flag, onopen);
65012
+ fs$30.open(opt.file, flag, onopen);
65061
65013
  });
65062
65014
  return cb ? promise.then(cb, cb) : promise;
65063
65015
  };
65064
65016
  const addFilesSync = (p, files) => {
65065
65017
  files.forEach((file) => {
65066
65018
  if (file.charAt(0) === "@") t({
65067
- file: path$30.resolve(p.cwd, file.slice(1)),
65019
+ file: path$29.resolve(p.cwd, file.slice(1)),
65068
65020
  sync: true,
65069
65021
  noResume: true,
65070
65022
  onentry: (entry) => p.add(entry)
@@ -65077,7 +65029,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
65077
65029
  while (files.length) {
65078
65030
  const file = files.shift();
65079
65031
  if (file.charAt(0) === "@") return t({
65080
- file: path$30.resolve(p.cwd, file.slice(1)),
65032
+ file: path$29.resolve(p.cwd, file.slice(1)),
65081
65033
  noResume: true,
65082
65034
  onentry: (entry) => p.add(entry)
65083
65035
  }).then((_) => addFilesAsync(p, files));
@@ -65110,32 +65062,32 @@ var require_update = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65110
65062
  //#region ../../node_modules/mkdirp/lib/opts-arg.js
65111
65063
  var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
65112
65064
  const { promisify: promisify$1 } = require("util");
65113
- const fs$30 = require("fs");
65065
+ const fs$29 = require("fs");
65114
65066
  const optsArg = (opts) => {
65115
65067
  if (!opts) opts = {
65116
65068
  mode: 511,
65117
- fs: fs$30
65069
+ fs: fs$29
65118
65070
  };
65119
65071
  else if (typeof opts === "object") opts = {
65120
65072
  mode: 511,
65121
- fs: fs$30,
65073
+ fs: fs$29,
65122
65074
  ...opts
65123
65075
  };
65124
65076
  else if (typeof opts === "number") opts = {
65125
65077
  mode: opts,
65126
- fs: fs$30
65078
+ fs: fs$29
65127
65079
  };
65128
65080
  else if (typeof opts === "string") opts = {
65129
65081
  mode: parseInt(opts, 8),
65130
- fs: fs$30
65082
+ fs: fs$29
65131
65083
  };
65132
65084
  else throw new TypeError("invalid options argument");
65133
- opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$30.mkdir;
65085
+ opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$29.mkdir;
65134
65086
  opts.mkdirAsync = promisify$1(opts.mkdir);
65135
- opts.stat = opts.stat || opts.fs.stat || fs$30.stat;
65087
+ opts.stat = opts.stat || opts.fs.stat || fs$29.stat;
65136
65088
  opts.statAsync = promisify$1(opts.stat);
65137
- opts.statSync = opts.statSync || opts.fs.statSync || fs$30.statSync;
65138
- opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$30.mkdirSync;
65089
+ opts.statSync = opts.statSync || opts.fs.statSync || fs$29.statSync;
65090
+ opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$29.mkdirSync;
65139
65091
  return opts;
65140
65092
  };
65141
65093
  module.exports = optsArg;
@@ -65145,21 +65097,21 @@ var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
65145
65097
  var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
65146
65098
  const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
65147
65099
  const { resolve: resolve$13, parse: parse$2 } = require("path");
65148
- const pathArg = (path$88) => {
65149
- if (/\0/.test(path$88)) throw Object.assign(/* @__PURE__ */ new TypeError("path must be a string without null bytes"), {
65150
- path: path$88,
65100
+ const pathArg = (path$87) => {
65101
+ if (/\0/.test(path$87)) throw Object.assign(/* @__PURE__ */ new TypeError("path must be a string without null bytes"), {
65102
+ path: path$87,
65151
65103
  code: "ERR_INVALID_ARG_VALUE"
65152
65104
  });
65153
- path$88 = resolve$13(path$88);
65105
+ path$87 = resolve$13(path$87);
65154
65106
  if (platform === "win32") {
65155
65107
  const badWinChars = /[*|"<>?:]/;
65156
- const { root } = parse$2(path$88);
65157
- if (badWinChars.test(path$88.substr(root.length))) throw Object.assign(/* @__PURE__ */ new Error("Illegal characters in path."), {
65158
- path: path$88,
65108
+ const { root } = parse$2(path$87);
65109
+ if (badWinChars.test(path$87.substr(root.length))) throw Object.assign(/* @__PURE__ */ new Error("Illegal characters in path."), {
65110
+ path: path$87,
65159
65111
  code: "EINVAL"
65160
65112
  });
65161
65113
  }
65162
- return path$88;
65114
+ return path$87;
65163
65115
  };
65164
65116
  module.exports = pathArg;
65165
65117
  }));
@@ -65167,14 +65119,14 @@ var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
65167
65119
  //#region ../../node_modules/mkdirp/lib/find-made.js
65168
65120
  var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
65169
65121
  const { dirname: dirname$13 } = require("path");
65170
- const findMade = (opts, parent, path$86 = void 0) => {
65171
- if (path$86 === parent) return Promise.resolve();
65172
- return opts.statAsync(parent).then((st) => st.isDirectory() ? path$86 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$13(parent), parent) : void 0);
65122
+ const findMade = (opts, parent, path$85 = void 0) => {
65123
+ if (path$85 === parent) return Promise.resolve();
65124
+ return opts.statAsync(parent).then((st) => st.isDirectory() ? path$85 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$13(parent), parent) : void 0);
65173
65125
  };
65174
- const findMadeSync = (opts, parent, path$87 = void 0) => {
65175
- if (path$87 === parent) return void 0;
65126
+ const findMadeSync = (opts, parent, path$86 = void 0) => {
65127
+ if (path$86 === parent) return void 0;
65176
65128
  try {
65177
- return opts.statSync(parent).isDirectory() ? path$87 : void 0;
65129
+ return opts.statSync(parent).isDirectory() ? path$86 : void 0;
65178
65130
  } catch (er) {
65179
65131
  return er.code === "ENOENT" ? findMadeSync(opts, dirname$13(parent), parent) : void 0;
65180
65132
  }
@@ -65188,16 +65140,16 @@ var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
65188
65140
  //#region ../../node_modules/mkdirp/lib/mkdirp-manual.js
65189
65141
  var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
65190
65142
  const { dirname: dirname$12 } = require("path");
65191
- const mkdirpManual = (path$84, opts, made) => {
65143
+ const mkdirpManual = (path$83, opts, made) => {
65192
65144
  opts.recursive = false;
65193
- const parent = dirname$12(path$84);
65194
- if (parent === path$84) return opts.mkdirAsync(path$84, opts).catch((er) => {
65145
+ const parent = dirname$12(path$83);
65146
+ if (parent === path$83) return opts.mkdirAsync(path$83, opts).catch((er) => {
65195
65147
  if (er.code !== "EISDIR") throw er;
65196
65148
  });
65197
- return opts.mkdirAsync(path$84, opts).then(() => made || path$84, (er) => {
65198
- if (er.code === "ENOENT") return mkdirpManual(parent, opts).then((made) => mkdirpManual(path$84, opts, made));
65149
+ return opts.mkdirAsync(path$83, opts).then(() => made || path$83, (er) => {
65150
+ if (er.code === "ENOENT") return mkdirpManual(parent, opts).then((made) => mkdirpManual(path$83, opts, made));
65199
65151
  if (er.code !== "EEXIST" && er.code !== "EROFS") throw er;
65200
- return opts.statAsync(path$84).then((st) => {
65152
+ return opts.statAsync(path$83).then((st) => {
65201
65153
  if (st.isDirectory()) return made;
65202
65154
  else throw er;
65203
65155
  }, () => {
@@ -65205,23 +65157,23 @@ var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((export
65205
65157
  });
65206
65158
  });
65207
65159
  };
65208
- const mkdirpManualSync = (path$85, opts, made) => {
65209
- const parent = dirname$12(path$85);
65160
+ const mkdirpManualSync = (path$84, opts, made) => {
65161
+ const parent = dirname$12(path$84);
65210
65162
  opts.recursive = false;
65211
- if (parent === path$85) try {
65212
- return opts.mkdirSync(path$85, opts);
65163
+ if (parent === path$84) try {
65164
+ return opts.mkdirSync(path$84, opts);
65213
65165
  } catch (er) {
65214
65166
  if (er.code !== "EISDIR") throw er;
65215
65167
  else return;
65216
65168
  }
65217
65169
  try {
65218
- opts.mkdirSync(path$85, opts);
65219
- return made || path$85;
65170
+ opts.mkdirSync(path$84, opts);
65171
+ return made || path$84;
65220
65172
  } catch (er) {
65221
- if (er.code === "ENOENT") return mkdirpManualSync(path$85, opts, mkdirpManualSync(parent, opts, made));
65173
+ if (er.code === "ENOENT") return mkdirpManualSync(path$84, opts, mkdirpManualSync(parent, opts, made));
65222
65174
  if (er.code !== "EEXIST" && er.code !== "EROFS") throw er;
65223
65175
  try {
65224
- if (!opts.statSync(path$85).isDirectory()) throw er;
65176
+ if (!opts.statSync(path$84).isDirectory()) throw er;
65225
65177
  } catch (_) {
65226
65178
  throw er;
65227
65179
  }
@@ -65238,23 +65190,23 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
65238
65190
  const { dirname: dirname$11 } = require("path");
65239
65191
  const { findMade, findMadeSync } = require_find_made();
65240
65192
  const { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
65241
- const mkdirpNative = (path$82, opts) => {
65193
+ const mkdirpNative = (path$81, opts) => {
65242
65194
  opts.recursive = true;
65243
- if (dirname$11(path$82) === path$82) return opts.mkdirAsync(path$82, opts);
65244
- return findMade(opts, path$82).then((made) => opts.mkdirAsync(path$82, opts).then(() => made).catch((er) => {
65245
- if (er.code === "ENOENT") return mkdirpManual(path$82, opts);
65195
+ if (dirname$11(path$81) === path$81) return opts.mkdirAsync(path$81, opts);
65196
+ return findMade(opts, path$81).then((made) => opts.mkdirAsync(path$81, opts).then(() => made).catch((er) => {
65197
+ if (er.code === "ENOENT") return mkdirpManual(path$81, opts);
65246
65198
  else throw er;
65247
65199
  }));
65248
65200
  };
65249
- const mkdirpNativeSync = (path$83, opts) => {
65201
+ const mkdirpNativeSync = (path$82, opts) => {
65250
65202
  opts.recursive = true;
65251
- if (dirname$11(path$83) === path$83) return opts.mkdirSync(path$83, opts);
65252
- const made = findMadeSync(opts, path$83);
65203
+ if (dirname$11(path$82) === path$82) return opts.mkdirSync(path$82, opts);
65204
+ const made = findMadeSync(opts, path$82);
65253
65205
  try {
65254
- opts.mkdirSync(path$83, opts);
65206
+ opts.mkdirSync(path$82, opts);
65255
65207
  return made;
65256
65208
  } catch (er) {
65257
- if (er.code === "ENOENT") return mkdirpManualSync(path$83, opts);
65209
+ if (er.code === "ENOENT") return mkdirpManualSync(path$82, opts);
65258
65210
  else throw er;
65259
65211
  }
65260
65212
  };
@@ -65266,12 +65218,12 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
65266
65218
  //#endregion
65267
65219
  //#region ../../node_modules/mkdirp/lib/use-native.js
65268
65220
  var require_use_native = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
65269
- const fs$29 = require("fs");
65221
+ const fs$28 = require("fs");
65270
65222
  const versArr = (process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version).replace(/^v/, "").split(".");
65271
65223
  const hasNative = +versArr[0] > 10 || +versArr[0] === 10 && +versArr[1] >= 12;
65272
65224
  module.exports = {
65273
- useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$29.mkdir,
65274
- useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$29.mkdirSync
65225
+ useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$28.mkdir,
65226
+ useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$28.mkdirSync
65275
65227
  };
65276
65228
  }));
65277
65229
  //#endregion
@@ -65302,64 +65254,64 @@ var require_mkdirp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65302
65254
  //#endregion
65303
65255
  //#region ../../node_modules/chownr/chownr.js
65304
65256
  var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
65305
- const fs$28 = require("fs");
65306
- const path$29 = require("path");
65257
+ const fs$27 = require("fs");
65258
+ const path$28 = require("path");
65307
65259
  /* istanbul ignore next */
65308
- const LCHOWN = fs$28.lchown ? "lchown" : "chown";
65260
+ const LCHOWN = fs$27.lchown ? "lchown" : "chown";
65309
65261
  /* istanbul ignore next */
65310
- const LCHOWNSYNC = fs$28.lchownSync ? "lchownSync" : "chownSync";
65262
+ const LCHOWNSYNC = fs$27.lchownSync ? "lchownSync" : "chownSync";
65311
65263
  /* istanbul ignore next */
65312
- const needEISDIRHandled = fs$28.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
65313
- const lchownSync = (path$74, uid, gid) => {
65264
+ const needEISDIRHandled = fs$27.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
65265
+ const lchownSync = (path$73, uid, gid) => {
65314
65266
  try {
65315
- return fs$28[LCHOWNSYNC](path$74, uid, gid);
65267
+ return fs$27[LCHOWNSYNC](path$73, uid, gid);
65316
65268
  } catch (er) {
65317
65269
  if (er.code !== "ENOENT") throw er;
65318
65270
  }
65319
65271
  };
65320
65272
  /* istanbul ignore next */
65321
- const chownSync = (path$75, uid, gid) => {
65273
+ const chownSync = (path$74, uid, gid) => {
65322
65274
  try {
65323
- return fs$28.chownSync(path$75, uid, gid);
65275
+ return fs$27.chownSync(path$74, uid, gid);
65324
65276
  } catch (er) {
65325
65277
  if (er.code !== "ENOENT") throw er;
65326
65278
  }
65327
65279
  };
65328
65280
  /* istanbul ignore next */
65329
- const handleEISDIR = needEISDIRHandled ? (path$76, uid, gid, cb) => (er) => {
65281
+ const handleEISDIR = needEISDIRHandled ? (path$75, uid, gid, cb) => (er) => {
65330
65282
  if (!er || er.code !== "EISDIR") cb(er);
65331
- else fs$28.chown(path$76, uid, gid, cb);
65283
+ else fs$27.chown(path$75, uid, gid, cb);
65332
65284
  } : (_, __, ___, cb) => cb;
65333
65285
  /* istanbul ignore next */
65334
- const handleEISDirSync = needEISDIRHandled ? (path$77, uid, gid) => {
65286
+ const handleEISDirSync = needEISDIRHandled ? (path$76, uid, gid) => {
65335
65287
  try {
65336
- return lchownSync(path$77, uid, gid);
65288
+ return lchownSync(path$76, uid, gid);
65337
65289
  } catch (er) {
65338
65290
  if (er.code !== "EISDIR") throw er;
65339
- chownSync(path$77, uid, gid);
65291
+ chownSync(path$76, uid, gid);
65340
65292
  }
65341
- } : (path$78, uid, gid) => lchownSync(path$78, uid, gid);
65293
+ } : (path$77, uid, gid) => lchownSync(path$77, uid, gid);
65342
65294
  const nodeVersion = process.version;
65343
- let readdir = (path$79, options, cb) => fs$28.readdir(path$79, options, cb);
65344
- let readdirSync = (path$80, options) => fs$28.readdirSync(path$80, options);
65295
+ let readdir = (path$78, options, cb) => fs$27.readdir(path$78, options, cb);
65296
+ let readdirSync = (path$79, options) => fs$27.readdirSync(path$79, options);
65345
65297
  /* istanbul ignore next */
65346
- if (/^v4\./.test(nodeVersion)) readdir = (path$81, options, cb) => fs$28.readdir(path$81, cb);
65298
+ if (/^v4\./.test(nodeVersion)) readdir = (path$80, options, cb) => fs$27.readdir(path$80, cb);
65347
65299
  const chown = (cpath, uid, gid, cb) => {
65348
- fs$28[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
65300
+ fs$27[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
65349
65301
  cb(er && er.code !== "ENOENT" ? er : null);
65350
65302
  }));
65351
65303
  };
65352
65304
  const chownrKid = (p, child, uid, gid, cb) => {
65353
- if (typeof child === "string") return fs$28.lstat(path$29.resolve(p, child), (er, stats) => {
65305
+ if (typeof child === "string") return fs$27.lstat(path$28.resolve(p, child), (er, stats) => {
65354
65306
  if (er) return cb(er.code !== "ENOENT" ? er : null);
65355
65307
  stats.name = child;
65356
65308
  chownrKid(p, stats, uid, gid, cb);
65357
65309
  });
65358
- if (child.isDirectory()) chownr(path$29.resolve(p, child.name), uid, gid, (er) => {
65310
+ if (child.isDirectory()) chownr(path$28.resolve(p, child.name), uid, gid, (er) => {
65359
65311
  if (er) return cb(er);
65360
- chown(path$29.resolve(p, child.name), uid, gid, cb);
65312
+ chown(path$28.resolve(p, child.name), uid, gid, cb);
65361
65313
  });
65362
- else chown(path$29.resolve(p, child.name), uid, gid, cb);
65314
+ else chown(path$28.resolve(p, child.name), uid, gid, cb);
65363
65315
  };
65364
65316
  const chownr = (p, uid, gid, cb) => {
65365
65317
  readdir(p, { withFileTypes: true }, (er, children) => {
@@ -65380,15 +65332,15 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65380
65332
  };
65381
65333
  const chownrKidSync = (p, child, uid, gid) => {
65382
65334
  if (typeof child === "string") try {
65383
- const stats = fs$28.lstatSync(path$29.resolve(p, child));
65335
+ const stats = fs$27.lstatSync(path$28.resolve(p, child));
65384
65336
  stats.name = child;
65385
65337
  child = stats;
65386
65338
  } catch (er) {
65387
65339
  if (er.code === "ENOENT") return;
65388
65340
  else throw er;
65389
65341
  }
65390
- if (child.isDirectory()) chownrSync(path$29.resolve(p, child.name), uid, gid);
65391
- handleEISDirSync(path$29.resolve(p, child.name), uid, gid);
65342
+ if (child.isDirectory()) chownrSync(path$28.resolve(p, child.name), uid, gid);
65343
+ handleEISDirSync(path$28.resolve(p, child.name), uid, gid);
65392
65344
  };
65393
65345
  const chownrSync = (p, uid, gid) => {
65394
65346
  let children;
@@ -65409,14 +65361,14 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65409
65361
  //#region ../../node_modules/tar/lib/mkdir.js
65410
65362
  var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
65411
65363
  const mkdirp = require_mkdirp();
65412
- const fs$27 = require("fs");
65413
- const path$28 = require("path");
65364
+ const fs$26 = require("fs");
65365
+ const path$27 = require("path");
65414
65366
  const chownr = require_chownr();
65415
65367
  const normPath = require_normalize_windows_path();
65416
65368
  var SymlinkError = class extends Error {
65417
- constructor(symlink, path$72) {
65369
+ constructor(symlink, path$71) {
65418
65370
  super("Cannot extract through symbolic link");
65419
- this.path = path$72;
65371
+ this.path = path$71;
65420
65372
  this.symlink = symlink;
65421
65373
  }
65422
65374
  get name() {
@@ -65424,9 +65376,9 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
65424
65376
  }
65425
65377
  };
65426
65378
  var CwdError = class extends Error {
65427
- constructor(path$73, code) {
65428
- super(code + ": Cannot cd into '" + path$73 + "'");
65429
- this.path = path$73;
65379
+ constructor(path$72, code) {
65380
+ super(code + ": Cannot cd into '" + path$72 + "'");
65381
+ this.path = path$72;
65430
65382
  this.code = code;
65431
65383
  }
65432
65384
  get name() {
@@ -65436,7 +65388,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
65436
65388
  const cGet = (cache, key) => cache.get(normPath(key));
65437
65389
  const cSet = (cache, key, val) => cache.set(normPath(key), val);
65438
65390
  const checkCwd = (dir, cb) => {
65439
- fs$27.stat(dir, (er, st) => {
65391
+ fs$26.stat(dir, (er, st) => {
65440
65392
  if (er || !st.isDirectory()) er = new CwdError(dir, er && er.code || "ENOTDIR");
65441
65393
  cb(er);
65442
65394
  });
@@ -65458,31 +65410,31 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
65458
65410
  else {
65459
65411
  cSet(cache, dir, true);
65460
65412
  if (created && doChown) chownr(created, uid, gid, (er) => done(er));
65461
- else if (needChmod) fs$27.chmod(dir, mode, cb);
65413
+ else if (needChmod) fs$26.chmod(dir, mode, cb);
65462
65414
  else cb();
65463
65415
  }
65464
65416
  };
65465
65417
  if (cache && cGet(cache, dir) === true) return done();
65466
65418
  if (dir === cwd) return checkCwd(dir, done);
65467
65419
  if (preserve) return mkdirp(dir, { mode }).then((made) => done(null, made), done);
65468
- mkdir_(cwd, normPath(path$28.relative(cwd, dir)).split("/"), mode, cache, unlink, cwd, null, done);
65420
+ mkdir_(cwd, normPath(path$27.relative(cwd, dir)).split("/"), mode, cache, unlink, cwd, null, done);
65469
65421
  };
65470
65422
  const mkdir_ = (base, parts, mode, cache, unlink, cwd, created, cb) => {
65471
65423
  if (!parts.length) return cb(null, created);
65472
65424
  const p = parts.shift();
65473
- const part = normPath(path$28.resolve(base + "/" + p));
65425
+ const part = normPath(path$27.resolve(base + "/" + p));
65474
65426
  if (cGet(cache, part)) return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
65475
- fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
65427
+ fs$26.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
65476
65428
  };
65477
65429
  const onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => (er) => {
65478
- if (er) fs$27.lstat(part, (statEr, st) => {
65430
+ if (er) fs$26.lstat(part, (statEr, st) => {
65479
65431
  if (statEr) {
65480
65432
  statEr.path = statEr.path && normPath(statEr.path);
65481
65433
  cb(statEr);
65482
65434
  } else if (st.isDirectory()) mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
65483
- else if (unlink) fs$27.unlink(part, (er) => {
65435
+ else if (unlink) fs$26.unlink(part, (er) => {
65484
65436
  if (er) return cb(er);
65485
- fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
65437
+ fs$26.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
65486
65438
  });
65487
65439
  else if (st.isSymbolicLink()) return cb(new SymlinkError(part, part + "/" + parts.join("/")));
65488
65440
  else cb(er);
@@ -65496,7 +65448,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
65496
65448
  let ok = false;
65497
65449
  let code = "ENOTDIR";
65498
65450
  try {
65499
- ok = fs$27.statSync(dir).isDirectory();
65451
+ ok = fs$26.statSync(dir).isDirectory();
65500
65452
  } catch (er) {
65501
65453
  code = er.code;
65502
65454
  } finally {
@@ -65518,7 +65470,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
65518
65470
  const done = (created) => {
65519
65471
  cSet(cache, dir, true);
65520
65472
  if (created && doChown) chownr.sync(created, uid, gid);
65521
- if (needChmod) fs$27.chmodSync(dir, mode);
65473
+ if (needChmod) fs$26.chmodSync(dir, mode);
65522
65474
  };
65523
65475
  if (cache && cGet(cache, dir) === true) return done();
65524
65476
  if (dir === cwd) {
@@ -65526,23 +65478,23 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
65526
65478
  return done();
65527
65479
  }
65528
65480
  if (preserve) return done(mkdirp.sync(dir, mode));
65529
- const parts = normPath(path$28.relative(cwd, dir)).split("/");
65481
+ const parts = normPath(path$27.relative(cwd, dir)).split("/");
65530
65482
  let created = null;
65531
65483
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
65532
- part = normPath(path$28.resolve(part));
65484
+ part = normPath(path$27.resolve(part));
65533
65485
  if (cGet(cache, part)) continue;
65534
65486
  try {
65535
- fs$27.mkdirSync(part, mode);
65487
+ fs$26.mkdirSync(part, mode);
65536
65488
  created = created || part;
65537
65489
  cSet(cache, part, true);
65538
65490
  } catch (er) {
65539
- const st = fs$27.lstatSync(part);
65491
+ const st = fs$26.lstatSync(part);
65540
65492
  if (st.isDirectory()) {
65541
65493
  cSet(cache, part, true);
65542
65494
  continue;
65543
65495
  } else if (unlink) {
65544
- fs$27.unlinkSync(part);
65545
- fs$27.mkdirSync(part, mode);
65496
+ fs$26.unlinkSync(part);
65497
+ fs$26.mkdirSync(part, mode);
65546
65498
  created = created || part;
65547
65499
  cSet(cache, part, true);
65548
65500
  continue;
@@ -65568,15 +65520,15 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
65568
65520
  const assert$1 = require("assert");
65569
65521
  const normalize = require_normalize_unicode();
65570
65522
  const stripSlashes = require_strip_trailing_slashes();
65571
- const { join: join$18 } = require("path");
65523
+ const { join: join$16 } = require("path");
65572
65524
  const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
65573
65525
  module.exports = () => {
65574
65526
  const queues = /* @__PURE__ */ new Map();
65575
65527
  const reservations = /* @__PURE__ */ new Map();
65576
- const getDirs = (path$65) => {
65577
- return path$65.split("/").slice(0, -1).reduce((set, path$66) => {
65578
- if (set.length) path$66 = join$18(set[set.length - 1], path$66);
65579
- set.push(path$66 || "/");
65528
+ const getDirs = (path$64) => {
65529
+ return path$64.split("/").slice(0, -1).reduce((set, path$65) => {
65530
+ if (set.length) path$65 = join$16(set[set.length - 1], path$65);
65531
+ set.push(path$65 || "/");
65580
65532
  return set;
65581
65533
  }, []);
65582
65534
  };
@@ -65586,8 +65538,8 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
65586
65538
  /* istanbul ignore if - unpossible */
65587
65539
  if (!res) throw new Error("function does not have any path reservations");
65588
65540
  return {
65589
- paths: res.paths.map((path$67) => queues.get(path$67)),
65590
- dirs: [...res.dirs].map((path$68) => queues.get(path$68))
65541
+ paths: res.paths.map((path$66) => queues.get(path$66)),
65542
+ dirs: [...res.dirs].map((path$67) => queues.get(path$67))
65591
65543
  };
65592
65544
  };
65593
65545
  const check = (fn) => {
@@ -65604,10 +65556,10 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
65604
65556
  if (!running.has(fn)) return false;
65605
65557
  const { paths, dirs } = reservations.get(fn);
65606
65558
  const next = /* @__PURE__ */ new Set();
65607
- paths.forEach((path$69) => {
65608
- const q = queues.get(path$69);
65559
+ paths.forEach((path$68) => {
65560
+ const q = queues.get(path$68);
65609
65561
  assert$1.equal(q[0], fn);
65610
- if (q.length === 1) queues.delete(path$69);
65562
+ if (q.length === 1) queues.delete(path$68);
65611
65563
  else {
65612
65564
  q.shift();
65613
65565
  if (typeof q[0] === "function") next.add(q[0]);
@@ -65629,16 +65581,16 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
65629
65581
  };
65630
65582
  const reserve = (paths, fn) => {
65631
65583
  paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p) => {
65632
- return stripSlashes(join$18(normalize(p))).toLowerCase();
65584
+ return stripSlashes(join$16(normalize(p))).toLowerCase();
65633
65585
  });
65634
- const dirs = new Set(paths.map((path$70) => getDirs(path$70)).reduce((a, b) => a.concat(b)));
65586
+ const dirs = new Set(paths.map((path$69) => getDirs(path$69)).reduce((a, b) => a.concat(b)));
65635
65587
  reservations.set(fn, {
65636
65588
  dirs,
65637
65589
  paths
65638
65590
  });
65639
- paths.forEach((path$71) => {
65640
- const q = queues.get(path$71);
65641
- if (!q) queues.set(path$71, [fn]);
65591
+ paths.forEach((path$70) => {
65592
+ const q = queues.get(path$70);
65593
+ if (!q) queues.set(path$70, [fn]);
65642
65594
  else q.push(fn);
65643
65595
  });
65644
65596
  dirs.forEach((dir) => {
@@ -65671,9 +65623,9 @@ var require_get_write_flag = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
65671
65623
  var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
65672
65624
  const assert = require("assert");
65673
65625
  const Parser = require_parse$3();
65674
- const fs$26 = require("fs");
65626
+ const fs$25 = require("fs");
65675
65627
  const fsm = require_fs_minipass();
65676
- const path$27 = require("path");
65628
+ const path$26 = require("path");
65677
65629
  const mkdir = require_mkdir();
65678
65630
  const wc = require_winchars();
65679
65631
  const pathReservations = require_path_reservations();
@@ -65711,28 +65663,28 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65711
65663
  const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
65712
65664
  const DEFAULT_MAX_DEPTH = 1024;
65713
65665
  /* istanbul ignore next */
65714
- const unlinkFile = (path$61, cb) => {
65715
- if (!isWindows) return fs$26.unlink(path$61, cb);
65716
- const name = path$61 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
65717
- fs$26.rename(path$61, name, (er) => {
65666
+ const unlinkFile = (path$60, cb) => {
65667
+ if (!isWindows) return fs$25.unlink(path$60, cb);
65668
+ const name = path$60 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
65669
+ fs$25.rename(path$60, name, (er) => {
65718
65670
  if (er) return cb(er);
65719
- fs$26.unlink(name, cb);
65671
+ fs$25.unlink(name, cb);
65720
65672
  });
65721
65673
  };
65722
65674
  /* istanbul ignore next */
65723
- const unlinkFileSync = (path$62) => {
65724
- if (!isWindows) return fs$26.unlinkSync(path$62);
65725
- const name = path$62 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
65726
- fs$26.renameSync(path$62, name);
65727
- fs$26.unlinkSync(name);
65675
+ const unlinkFileSync = (path$61) => {
65676
+ if (!isWindows) return fs$25.unlinkSync(path$61);
65677
+ const name = path$61 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
65678
+ fs$25.renameSync(path$61, name);
65679
+ fs$25.unlinkSync(name);
65728
65680
  };
65729
65681
  const uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
65730
- const cacheKeyNormalize = (path$63) => stripSlash(normPath(normalize(path$63))).toLowerCase();
65682
+ const cacheKeyNormalize = (path$62) => stripSlash(normPath(normalize(path$62))).toLowerCase();
65731
65683
  const pruneCache = (cache, abs) => {
65732
65684
  abs = cacheKeyNormalize(abs);
65733
- for (const path$64 of cache.keys()) {
65734
- const pnorm = cacheKeyNormalize(path$64);
65735
- if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) cache.delete(path$64);
65685
+ for (const path$63 of cache.keys()) {
65686
+ const pnorm = cacheKeyNormalize(path$63);
65687
+ if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) cache.delete(path$63);
65736
65688
  }
65737
65689
  };
65738
65690
  const dropCache = (cache) => {
@@ -65777,7 +65729,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65777
65729
  this.noMtime = !!opt.noMtime;
65778
65730
  this.preservePaths = !!opt.preservePaths;
65779
65731
  this.unlink = !!opt.unlink;
65780
- this.cwd = normPath(path$27.resolve(opt.cwd || process.cwd()));
65732
+ this.cwd = normPath(path$26.resolve(opt.cwd || process.cwd()));
65781
65733
  this.strip = +opt.strip || 0;
65782
65734
  this.processUmask = opt.noChmod ? 0 : process.umask();
65783
65735
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -65835,8 +65787,8 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65835
65787
  });
65836
65788
  }
65837
65789
  }
65838
- if (path$27.isAbsolute(entry.path)) entry.absolute = normPath(path$27.resolve(entry.path));
65839
- else entry.absolute = normPath(path$27.resolve(this.cwd, entry.path));
65790
+ if (path$26.isAbsolute(entry.path)) entry.absolute = normPath(path$26.resolve(entry.path));
65791
+ else entry.absolute = normPath(path$26.resolve(this.cwd, entry.path));
65840
65792
  /* istanbul ignore if - defense in depth */
65841
65793
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
65842
65794
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
@@ -65849,9 +65801,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65849
65801
  }
65850
65802
  if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir") return false;
65851
65803
  if (this.win32) {
65852
- const { root: aRoot } = path$27.win32.parse(entry.absolute);
65804
+ const { root: aRoot } = path$26.win32.parse(entry.absolute);
65853
65805
  entry.absolute = aRoot + wc.encode(entry.absolute.slice(aRoot.length));
65854
- const { root: pRoot } = path$27.win32.parse(entry.path);
65806
+ const { root: pRoot } = path$26.win32.parse(entry.path);
65855
65807
  entry.path = pRoot + wc.encode(entry.path.slice(pRoot.length));
65856
65808
  }
65857
65809
  return true;
@@ -65910,7 +65862,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65910
65862
  autoClose: false
65911
65863
  });
65912
65864
  stream.on("error", (er) => {
65913
- if (stream.fd) fs$26.close(stream.fd, () => {});
65865
+ if (stream.fd) fs$25.close(stream.fd, () => {});
65914
65866
  stream.write = () => true;
65915
65867
  this[ONERROR](er, entry);
65916
65868
  fullyDone();
@@ -65919,12 +65871,12 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65919
65871
  const done = (er) => {
65920
65872
  if (er) {
65921
65873
  /* istanbul ignore else - we should always have a fd by now */
65922
- if (stream.fd) fs$26.close(stream.fd, () => {});
65874
+ if (stream.fd) fs$25.close(stream.fd, () => {});
65923
65875
  this[ONERROR](er, entry);
65924
65876
  fullyDone();
65925
65877
  return;
65926
65878
  }
65927
- if (--actions === 0) fs$26.close(stream.fd, (er) => {
65879
+ if (--actions === 0) fs$25.close(stream.fd, (er) => {
65928
65880
  if (er) this[ONERROR](er, entry);
65929
65881
  else this[UNPEND]();
65930
65882
  fullyDone();
@@ -65937,13 +65889,13 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65937
65889
  actions++;
65938
65890
  const atime = entry.atime || /* @__PURE__ */ new Date();
65939
65891
  const mtime = entry.mtime;
65940
- fs$26.futimes(fd, atime, mtime, (er) => er ? fs$26.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
65892
+ fs$25.futimes(fd, atime, mtime, (er) => er ? fs$25.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
65941
65893
  }
65942
65894
  if (this[DOCHOWN](entry)) {
65943
65895
  actions++;
65944
65896
  const uid = this[UID](entry);
65945
65897
  const gid = this[GID](entry);
65946
- fs$26.fchown(fd, uid, gid, (er) => er ? fs$26.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
65898
+ fs$25.fchown(fd, uid, gid, (er) => er ? fs$25.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
65947
65899
  }
65948
65900
  done();
65949
65901
  });
@@ -65975,11 +65927,11 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65975
65927
  };
65976
65928
  if (entry.mtime && !this.noMtime) {
65977
65929
  actions++;
65978
- fs$26.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
65930
+ fs$25.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
65979
65931
  }
65980
65932
  if (this[DOCHOWN](entry)) {
65981
65933
  actions++;
65982
- fs$26.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
65934
+ fs$25.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
65983
65935
  }
65984
65936
  done();
65985
65937
  });
@@ -65993,7 +65945,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
65993
65945
  this[LINK](entry, entry.linkpath, "symlink", done);
65994
65946
  }
65995
65947
  [HARDLINK](entry, done) {
65996
- const linkpath = normPath(path$27.resolve(this.cwd, entry.linkpath));
65948
+ const linkpath = normPath(path$26.resolve(this.cwd, entry.linkpath));
65997
65949
  this[LINK](entry, linkpath, "link", done);
65998
65950
  }
65999
65951
  [PEND]() {
@@ -66039,7 +65991,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66039
65991
  };
66040
65992
  const start = () => {
66041
65993
  if (entry.absolute !== this.cwd) {
66042
- const parent = normPath(path$27.dirname(entry.absolute));
65994
+ const parent = normPath(path$26.dirname(entry.absolute));
66043
65995
  if (parent !== this.cwd) return this[MKDIR](parent, this.dmode, (er) => {
66044
65996
  if (er) {
66045
65997
  this[ONERROR](er, entry);
@@ -66052,7 +66004,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66052
66004
  afterMakeParent();
66053
66005
  };
66054
66006
  const afterMakeParent = () => {
66055
- fs$26.lstat(entry.absolute, (lstatEr, st) => {
66007
+ fs$25.lstat(entry.absolute, (lstatEr, st) => {
66056
66008
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) {
66057
66009
  this[SKIP](entry);
66058
66010
  done();
@@ -66064,9 +66016,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66064
66016
  const needChmod = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode;
66065
66017
  const afterChmod = (er) => this[MAKEFS](er, entry, done);
66066
66018
  if (!needChmod) return afterChmod();
66067
- return fs$26.chmod(entry.absolute, entry.mode, afterChmod);
66019
+ return fs$25.chmod(entry.absolute, entry.mode, afterChmod);
66068
66020
  }
66069
- if (entry.absolute !== this.cwd) return fs$26.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
66021
+ if (entry.absolute !== this.cwd) return fs$25.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
66070
66022
  }
66071
66023
  if (entry.absolute === this.cwd) return this[MAKEFS](null, entry, done);
66072
66024
  unlinkFile(entry.absolute, (er) => this[MAKEFS](er, entry, done));
@@ -66092,7 +66044,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66092
66044
  }
66093
66045
  }
66094
66046
  [LINK](entry, linkpath, link, done) {
66095
- fs$26[link](linkpath, entry.absolute, (er) => {
66047
+ fs$25[link](linkpath, entry.absolute, (er) => {
66096
66048
  if (er) this[ONERROR](er, entry);
66097
66049
  else {
66098
66050
  this[UNPEND]();
@@ -66121,23 +66073,23 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66121
66073
  this[CHECKED_CWD] = true;
66122
66074
  }
66123
66075
  if (entry.absolute !== this.cwd) {
66124
- const parent = normPath(path$27.dirname(entry.absolute));
66076
+ const parent = normPath(path$26.dirname(entry.absolute));
66125
66077
  if (parent !== this.cwd) {
66126
66078
  const mkParent = this[MKDIR](parent, this.dmode);
66127
66079
  if (mkParent) return this[ONERROR](mkParent, entry);
66128
66080
  }
66129
66081
  }
66130
- const [lstatEr, st] = callSync(() => fs$26.lstatSync(entry.absolute));
66082
+ const [lstatEr, st] = callSync(() => fs$25.lstatSync(entry.absolute));
66131
66083
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) return this[SKIP](entry);
66132
66084
  if (lstatEr || this[ISREUSABLE](entry, st)) return this[MAKEFS](null, entry);
66133
66085
  if (st.isDirectory()) {
66134
66086
  if (entry.type === "Directory") {
66135
66087
  const [er] = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode ? callSync(() => {
66136
- fs$26.chmodSync(entry.absolute, entry.mode);
66088
+ fs$25.chmodSync(entry.absolute, entry.mode);
66137
66089
  }) : [];
66138
66090
  return this[MAKEFS](er, entry);
66139
66091
  }
66140
- const [er] = callSync(() => fs$26.rmdirSync(entry.absolute));
66092
+ const [er] = callSync(() => fs$25.rmdirSync(entry.absolute));
66141
66093
  this[MAKEFS](er, entry);
66142
66094
  }
66143
66095
  const [er] = entry.absolute === this.cwd ? [] : callSync(() => unlinkFileSync(entry.absolute));
@@ -66148,7 +66100,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66148
66100
  const oner = (er) => {
66149
66101
  let closeError;
66150
66102
  try {
66151
- fs$26.closeSync(fd);
66103
+ fs$25.closeSync(fd);
66152
66104
  } catch (e) {
66153
66105
  closeError = e;
66154
66106
  }
@@ -66157,7 +66109,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66157
66109
  };
66158
66110
  let fd;
66159
66111
  try {
66160
- fd = fs$26.openSync(entry.absolute, getFlag(entry.size), mode);
66112
+ fd = fs$25.openSync(entry.absolute, getFlag(entry.size), mode);
66161
66113
  } catch (er) {
66162
66114
  return oner(er);
66163
66115
  }
@@ -66168,7 +66120,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66168
66120
  }
66169
66121
  tx.on("data", (chunk) => {
66170
66122
  try {
66171
- fs$26.writeSync(fd, chunk, 0, chunk.length);
66123
+ fs$25.writeSync(fd, chunk, 0, chunk.length);
66172
66124
  } catch (er) {
66173
66125
  oner(er);
66174
66126
  }
@@ -66179,10 +66131,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66179
66131
  const atime = entry.atime || /* @__PURE__ */ new Date();
66180
66132
  const mtime = entry.mtime;
66181
66133
  try {
66182
- fs$26.futimesSync(fd, atime, mtime);
66134
+ fs$25.futimesSync(fd, atime, mtime);
66183
66135
  } catch (futimeser) {
66184
66136
  try {
66185
- fs$26.utimesSync(entry.absolute, atime, mtime);
66137
+ fs$25.utimesSync(entry.absolute, atime, mtime);
66186
66138
  } catch (utimeser) {
66187
66139
  er = futimeser;
66188
66140
  }
@@ -66192,10 +66144,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66192
66144
  const uid = this[UID](entry);
66193
66145
  const gid = this[GID](entry);
66194
66146
  try {
66195
- fs$26.fchownSync(fd, uid, gid);
66147
+ fs$25.fchownSync(fd, uid, gid);
66196
66148
  } catch (fchowner) {
66197
66149
  try {
66198
- fs$26.chownSync(entry.absolute, uid, gid);
66150
+ fs$25.chownSync(entry.absolute, uid, gid);
66199
66151
  } catch (chowner) {
66200
66152
  er = er || fchowner;
66201
66153
  }
@@ -66213,10 +66165,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66213
66165
  return;
66214
66166
  }
66215
66167
  if (entry.mtime && !this.noMtime) try {
66216
- fs$26.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
66168
+ fs$25.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
66217
66169
  } catch (er) {}
66218
66170
  if (this[DOCHOWN](entry)) try {
66219
- fs$26.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
66171
+ fs$25.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
66220
66172
  } catch (er) {}
66221
66173
  done();
66222
66174
  entry.resume();
@@ -66241,7 +66193,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66241
66193
  }
66242
66194
  [LINK](entry, linkpath, link, done) {
66243
66195
  try {
66244
- fs$26[link + "Sync"](linkpath, entry.absolute);
66196
+ fs$25[link + "Sync"](linkpath, entry.absolute);
66245
66197
  done();
66246
66198
  entry.resume();
66247
66199
  } catch (er) {
@@ -66257,9 +66209,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
66257
66209
  var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
66258
66210
  const hlo = require_high_level_opt();
66259
66211
  const Unpack = require_unpack();
66260
- const fs$25 = require("fs");
66212
+ const fs$24 = require("fs");
66261
66213
  const fsm = require_fs_minipass();
66262
- const path$26 = require("path");
66214
+ const path$25 = require("path");
66263
66215
  const stripSlash = require_strip_trailing_slashes();
66264
66216
  module.exports = (opt_, files, cb) => {
66265
66217
  if (typeof opt_ === "function") cb = opt_, files = null, opt_ = {};
@@ -66277,8 +66229,8 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
66277
66229
  const map = new Map(files.map((f) => [stripSlash(f), true]));
66278
66230
  const filter = opt.filter;
66279
66231
  const mapHas = (file, r) => {
66280
- const root = r || path$26.parse(file).root || ".";
66281
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$26.dirname(file), root);
66232
+ const root = r || path$25.parse(file).root || ".";
66233
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$25.dirname(file), root);
66282
66234
  map.set(file, ret);
66283
66235
  return ret;
66284
66236
  };
@@ -66287,7 +66239,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
66287
66239
  const extractFileSync = (opt) => {
66288
66240
  const u = new Unpack.Sync(opt);
66289
66241
  const file = opt.file;
66290
- const stat = fs$25.statSync(file);
66242
+ const stat = fs$24.statSync(file);
66291
66243
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
66292
66244
  new fsm.ReadStreamSync(file, {
66293
66245
  readSize,
@@ -66301,7 +66253,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
66301
66253
  const p = new Promise((resolve, reject) => {
66302
66254
  u.on("error", reject);
66303
66255
  u.on("close", resolve);
66304
- fs$25.stat(file, (er, stat) => {
66256
+ fs$24.stat(file, (er, stat) => {
66305
66257
  if (er) reject(er);
66306
66258
  else {
66307
66259
  const stream = new fsm.ReadStream(file, {
@@ -66384,7 +66336,7 @@ var require_pend = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
66384
66336
  //#endregion
66385
66337
  //#region ../../node_modules/fd-slicer/index.js
66386
66338
  var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
66387
- var fs$24 = require("fs");
66339
+ var fs$23 = require("fs");
66388
66340
  var util$9 = require("util");
66389
66341
  var stream$1 = require("stream");
66390
66342
  var Readable = stream$1.Readable;
@@ -66409,7 +66361,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
66409
66361
  FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
66410
66362
  var self = this;
66411
66363
  self.pend.go(function(cb) {
66412
- fs$24.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
66364
+ fs$23.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
66413
66365
  cb();
66414
66366
  callback(err, bytesRead, buffer);
66415
66367
  });
@@ -66418,7 +66370,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
66418
66370
  FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
66419
66371
  var self = this;
66420
66372
  self.pend.go(function(cb) {
66421
- fs$24.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
66373
+ fs$23.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
66422
66374
  cb();
66423
66375
  callback(err, written, buffer);
66424
66376
  });
@@ -66438,7 +66390,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
66438
66390
  self.refCount -= 1;
66439
66391
  if (self.refCount > 0) return;
66440
66392
  if (self.refCount < 0) throw new Error("invalid unref");
66441
- if (self.autoClose) fs$24.close(self.fd, onCloseDone);
66393
+ if (self.autoClose) fs$23.close(self.fd, onCloseDone);
66442
66394
  function onCloseDone(err) {
66443
66395
  if (err) self.emit("error", err);
66444
66396
  else self.emit("close");
@@ -66469,7 +66421,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
66469
66421
  self.context.pend.go(function(cb) {
66470
66422
  if (self.destroyed) return cb();
66471
66423
  var buffer = new Buffer(toRead);
66472
- fs$24.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
66424
+ fs$23.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
66473
66425
  if (err) self.destroy(err);
66474
66426
  else if (bytesRead === 0) {
66475
66427
  self.destroyed = true;
@@ -66515,7 +66467,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
66515
66467
  }
66516
66468
  self.context.pend.go(function(cb) {
66517
66469
  if (self.destroyed) return cb();
66518
- fs$24.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
66470
+ fs$23.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
66519
66471
  if (err) {
66520
66472
  self.destroy();
66521
66473
  cb();
@@ -68097,13 +68049,13 @@ var require_minimatch$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
68097
68049
  //#region ../../node_modules/readdir-glob/index.js
68098
68050
  var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
68099
68051
  module.exports = readdirGlob;
68100
- const fs$22 = require("fs");
68052
+ const fs$21 = require("fs");
68101
68053
  const { EventEmitter } = require("events");
68102
68054
  const { Minimatch } = require_minimatch$1();
68103
68055
  const { resolve: resolve$12 } = require("path");
68104
68056
  function readdir(dir, strict) {
68105
68057
  return new Promise((resolve, reject) => {
68106
- fs$22.readdir(dir, { withFileTypes: true }, (err, files) => {
68058
+ fs$21.readdir(dir, { withFileTypes: true }, (err, files) => {
68107
68059
  if (err) switch (err.code) {
68108
68060
  case "ENOTDIR":
68109
68061
  if (strict) reject(err);
@@ -68125,7 +68077,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
68125
68077
  }
68126
68078
  function stat(file, followSymlinks) {
68127
68079
  return new Promise((resolve, reject) => {
68128
- (followSymlinks ? fs$22.stat : fs$22.lstat)(file, (err, stats) => {
68080
+ (followSymlinks ? fs$21.stat : fs$21.lstat)(file, (err, stats) => {
68129
68081
  if (err) switch (err.code) {
68130
68082
  case "ENOENT":
68131
68083
  if (followSymlinks) resolve(stat(file, false));
@@ -68139,8 +68091,8 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
68139
68091
  });
68140
68092
  });
68141
68093
  }
68142
- async function* exploreWalkAsync(dir, path$59, followSymlinks, useStat, shouldSkip, strict) {
68143
- let files = await readdir(path$59 + dir, strict);
68094
+ async function* exploreWalkAsync(dir, path$58, followSymlinks, useStat, shouldSkip, strict) {
68095
+ let files = await readdir(path$58 + dir, strict);
68144
68096
  for (const file of files) {
68145
68097
  let name = file.name;
68146
68098
  if (name === void 0) {
@@ -68149,7 +68101,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
68149
68101
  }
68150
68102
  const filename = dir + "/" + name;
68151
68103
  const relative = filename.slice(1);
68152
- const absolute = path$59 + "/" + relative;
68104
+ const absolute = path$58 + "/" + relative;
68153
68105
  let stats = null;
68154
68106
  if (useStat || followSymlinks) stats = await stat(absolute, followSymlinks);
68155
68107
  if (!stats && file.name !== void 0) stats = file;
@@ -68161,7 +68113,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
68161
68113
  absolute,
68162
68114
  stats
68163
68115
  };
68164
- yield* exploreWalkAsync(filename, path$59, followSymlinks, useStat, shouldSkip, false);
68116
+ yield* exploreWalkAsync(filename, path$58, followSymlinks, useStat, shouldSkip, false);
68165
68117
  }
68166
68118
  } else yield {
68167
68119
  relative,
@@ -68170,8 +68122,8 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
68170
68122
  };
68171
68123
  }
68172
68124
  }
68173
- async function* explore(path$60, followSymlinks, useStat, shouldSkip) {
68174
- yield* exploreWalkAsync("", path$60, followSymlinks, useStat, shouldSkip, true);
68125
+ async function* explore(path$59, followSymlinks, useStat, shouldSkip) {
68126
+ yield* exploreWalkAsync("", path$59, followSymlinks, useStat, shouldSkip, true);
68175
68127
  }
68176
68128
  function readOptions(options) {
68177
68129
  return {
@@ -74164,7 +74116,7 @@ var require_clone$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
74164
74116
  //#endregion
74165
74117
  //#region ../../node_modules/graceful-fs/graceful-fs.js
74166
74118
  var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
74167
- var fs$21 = require("fs");
74119
+ var fs$20 = require("fs");
74168
74120
  var polyfills = require_polyfills();
74169
74121
  var legacy = require_legacy_streams();
74170
74122
  var clone = require_clone$1();
@@ -74193,36 +74145,36 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
74193
74145
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
74194
74146
  console.error(m);
74195
74147
  };
74196
- if (!fs$21[gracefulQueue]) {
74197
- publishQueue(fs$21, global[gracefulQueue] || []);
74198
- fs$21.close = (function(fs$close) {
74148
+ if (!fs$20[gracefulQueue]) {
74149
+ publishQueue(fs$20, global[gracefulQueue] || []);
74150
+ fs$20.close = (function(fs$close) {
74199
74151
  function close(fd, cb) {
74200
- return fs$close.call(fs$21, fd, function(err) {
74152
+ return fs$close.call(fs$20, fd, function(err) {
74201
74153
  if (!err) resetQueue();
74202
74154
  if (typeof cb === "function") cb.apply(this, arguments);
74203
74155
  });
74204
74156
  }
74205
74157
  Object.defineProperty(close, previousSymbol, { value: fs$close });
74206
74158
  return close;
74207
- })(fs$21.close);
74208
- fs$21.closeSync = (function(fs$closeSync) {
74159
+ })(fs$20.close);
74160
+ fs$20.closeSync = (function(fs$closeSync) {
74209
74161
  function closeSync(fd) {
74210
- fs$closeSync.apply(fs$21, arguments);
74162
+ fs$closeSync.apply(fs$20, arguments);
74211
74163
  resetQueue();
74212
74164
  }
74213
74165
  Object.defineProperty(closeSync, previousSymbol, { value: fs$closeSync });
74214
74166
  return closeSync;
74215
- })(fs$21.closeSync);
74167
+ })(fs$20.closeSync);
74216
74168
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) process.on("exit", function() {
74217
- debug(fs$21[gracefulQueue]);
74218
- require("assert").equal(fs$21[gracefulQueue].length, 0);
74169
+ debug(fs$20[gracefulQueue]);
74170
+ require("assert").equal(fs$20[gracefulQueue].length, 0);
74219
74171
  });
74220
74172
  }
74221
- if (!global[gracefulQueue]) publishQueue(global, fs$21[gracefulQueue]);
74222
- module.exports = patch(clone(fs$21));
74223
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$21.__patched) {
74224
- module.exports = patch(fs$21);
74225
- fs$21.__patched = true;
74173
+ if (!global[gracefulQueue]) publishQueue(global, fs$20[gracefulQueue]);
74174
+ module.exports = patch(clone(fs$20));
74175
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$20.__patched) {
74176
+ module.exports = patch(fs$20);
74177
+ fs$20.__patched = true;
74226
74178
  }
74227
74179
  function patch(fs) {
74228
74180
  polyfills(fs);
@@ -74477,23 +74429,23 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
74477
74429
  }
74478
74430
  function enqueue(elem) {
74479
74431
  debug("ENQUEUE", elem[0].name, elem[1]);
74480
- fs$21[gracefulQueue].push(elem);
74432
+ fs$20[gracefulQueue].push(elem);
74481
74433
  retry();
74482
74434
  }
74483
74435
  var retryTimer;
74484
74436
  function resetQueue() {
74485
74437
  var now = Date.now();
74486
- for (var i = 0; i < fs$21[gracefulQueue].length; ++i) if (fs$21[gracefulQueue][i].length > 2) {
74487
- fs$21[gracefulQueue][i][3] = now;
74488
- fs$21[gracefulQueue][i][4] = now;
74438
+ for (var i = 0; i < fs$20[gracefulQueue].length; ++i) if (fs$20[gracefulQueue][i].length > 2) {
74439
+ fs$20[gracefulQueue][i][3] = now;
74440
+ fs$20[gracefulQueue][i][4] = now;
74489
74441
  }
74490
74442
  retry();
74491
74443
  }
74492
74444
  function retry() {
74493
74445
  clearTimeout(retryTimer);
74494
74446
  retryTimer = void 0;
74495
- if (fs$21[gracefulQueue].length === 0) return;
74496
- var elem = fs$21[gracefulQueue].shift();
74447
+ if (fs$20[gracefulQueue].length === 0) return;
74448
+ var elem = fs$20[gracefulQueue].shift();
74497
74449
  var fn = elem[0];
74498
74450
  var args = elem[1];
74499
74451
  var err = elem[2];
@@ -74512,7 +74464,7 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
74512
74464
  if (sinceAttempt >= Math.min(sinceStart * 1.2, 100)) {
74513
74465
  debug("RETRY", fn.name, args);
74514
74466
  fn.apply(null, args.concat([startTime]));
74515
- } else fs$21[gracefulQueue].push(elem);
74467
+ } else fs$20[gracefulQueue].push(elem);
74516
74468
  }
74517
74469
  if (retryTimer === void 0) retryTimer = setTimeout(retry, 0);
74518
74470
  }
@@ -89638,7 +89590,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
89638
89590
  * https://github.com/archiverjs/node-archiver/blob/master/LICENSE-MIT
89639
89591
  */
89640
89592
  var fs = require_graceful_fs();
89641
- var path$25 = require("path");
89593
+ var path$24 = require("path");
89642
89594
  var flatten = require_flatten();
89643
89595
  var difference = require_difference();
89644
89596
  var union = require_union();
@@ -89658,7 +89610,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
89658
89610
  return result;
89659
89611
  };
89660
89612
  file.exists = function() {
89661
- var filepath = path$25.join.apply(path$25, arguments);
89613
+ var filepath = path$24.join.apply(path$24, arguments);
89662
89614
  return fs.existsSync(filepath);
89663
89615
  };
89664
89616
  file.expand = function(...args) {
@@ -89669,7 +89621,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
89669
89621
  return glob.sync(pattern, options);
89670
89622
  });
89671
89623
  if (options.filter) matches = matches.filter(function(filepath) {
89672
- filepath = path$25.join(options.cwd || "", filepath);
89624
+ filepath = path$24.join(options.cwd || "", filepath);
89673
89625
  try {
89674
89626
  if (typeof options.filter === "function") return options.filter(filepath);
89675
89627
  else return fs.statSync(filepath)[options.filter]();
@@ -89681,16 +89633,16 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
89681
89633
  };
89682
89634
  file.expandMapping = function(patterns, destBase, options) {
89683
89635
  options = Object.assign({ rename: function(destBase, destPath) {
89684
- return path$25.join(destBase || "", destPath);
89636
+ return path$24.join(destBase || "", destPath);
89685
89637
  } }, options);
89686
89638
  var files = [];
89687
89639
  var fileByDest = {};
89688
89640
  file.expand(options, patterns).forEach(function(src) {
89689
89641
  var destPath = src;
89690
- if (options.flatten) destPath = path$25.basename(destPath);
89642
+ if (options.flatten) destPath = path$24.basename(destPath);
89691
89643
  if (options.ext) destPath = destPath.replace(/(\.[^\/]*)?$/, options.ext);
89692
89644
  var dest = options.rename(destBase, destPath, options);
89693
- if (options.cwd) src = path$25.join(options.cwd, src);
89645
+ if (options.cwd) src = path$24.join(options.cwd, src);
89694
89646
  dest = dest.replace(pathSeparatorRe, "/");
89695
89647
  src = src.replace(pathSeparatorRe, "/");
89696
89648
  if (fileByDest[dest]) fileByDest[dest].src.push(src);
@@ -89765,7 +89717,7 @@ var require_archiver_utils = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
89765
89717
  * https://github.com/archiverjs/archiver-utils/blob/master/LICENSE
89766
89718
  */
89767
89719
  var fs = require_graceful_fs();
89768
- var path$24 = require("path");
89720
+ var path$23 = require("path");
89769
89721
  var isStream = require_is_stream$1();
89770
89722
  var lazystream = require_lazystream();
89771
89723
  var normalizePath = require_normalize_path();
@@ -89841,11 +89793,11 @@ var require_archiver_utils = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
89841
89793
  (function next() {
89842
89794
  file = list[i++];
89843
89795
  if (!file) return callback(null, results);
89844
- filepath = path$24.join(dirpath, file);
89796
+ filepath = path$23.join(dirpath, file);
89845
89797
  fs.stat(filepath, function(err, stats) {
89846
89798
  results.push({
89847
89799
  path: filepath,
89848
- relative: path$24.relative(base, filepath).replace(/\\/g, "/"),
89800
+ relative: path$23.relative(base, filepath).replace(/\\/g, "/"),
89849
89801
  stats
89850
89802
  });
89851
89803
  if (stats && stats.isDirectory()) utils.walkdir(filepath, base, function(err, res) {
@@ -89909,10 +89861,10 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
89909
89861
  * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
89910
89862
  * @copyright (c) 2012-2014 Chris Talkington, contributors.
89911
89863
  */
89912
- var fs$20 = require("fs");
89864
+ var fs$19 = require("fs");
89913
89865
  var glob = require_readdir_glob();
89914
89866
  var async = require_async();
89915
- var path$23 = require("path");
89867
+ var path$22 = require("path");
89916
89868
  var util = require_archiver_utils();
89917
89869
  var inherits$5 = require("util").inherits;
89918
89870
  var ArchiverError = require_error$10();
@@ -89986,7 +89938,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
89986
89938
  data.sourcePath = filepath;
89987
89939
  task.data = data;
89988
89940
  this._entriesCount++;
89989
- if (data.stats && data.stats instanceof fs$20.Stats) {
89941
+ if (data.stats && data.stats instanceof fs$19.Stats) {
89990
89942
  task = this._updateQueueTaskWithStats(task, data.stats);
89991
89943
  if (task) {
89992
89944
  if (data.stats.size) this._fsEntriesTotalBytes += data.stats.size;
@@ -90216,7 +90168,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
90216
90168
  callback();
90217
90169
  return;
90218
90170
  }
90219
- fs$20.lstat(task.filepath, function(err, stats) {
90171
+ fs$19.lstat(task.filepath, function(err, stats) {
90220
90172
  if (this._state.aborted) {
90221
90173
  setImmediate(callback);
90222
90174
  return;
@@ -90282,10 +90234,10 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
90282
90234
  task.data.sourceType = "buffer";
90283
90235
  task.source = Buffer.concat([]);
90284
90236
  } else if (stats.isSymbolicLink() && this._moduleSupports("symlink")) {
90285
- var linkPath = fs$20.readlinkSync(task.filepath);
90286
- var dirName = path$23.dirname(task.filepath);
90237
+ var linkPath = fs$19.readlinkSync(task.filepath);
90238
+ var dirName = path$22.dirname(task.filepath);
90287
90239
  task.data.type = "symlink";
90288
- task.data.linkname = path$23.relative(dirName, path$23.resolve(dirName, linkPath));
90240
+ task.data.linkname = path$22.relative(dirName, path$22.resolve(dirName, linkPath));
90289
90241
  task.data.sourceType = "buffer";
90290
90242
  task.source = Buffer.concat([]);
90291
90243
  } else {
@@ -100956,7 +100908,7 @@ var require_index_min$3 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
100956
100908
  //#region ../../node_modules/@npmcli/promise-spawn/node_modules/which/lib/index.js
100957
100909
  var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
100958
100910
  const { isexe, sync: isexeSync } = require_index_min$3();
100959
- const { join: join$15, delimiter: delimiter$3, sep: sep$4, posix: posix$1 } = require("path");
100911
+ const { join: join$13, delimiter: delimiter$3, sep: sep$4, posix: posix$1 } = require("path");
100960
100912
  const isWindows = process.platform === "win32";
100961
100913
  /* istanbul ignore next */
100962
100914
  const rSlash = new RegExp(`[${posix$1.sep}${sep$4 === posix$1.sep ? "" : sep$4}]`.replace(/(\\)/g, "\\$1"));
@@ -100986,7 +100938,7 @@ var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
100986
100938
  };
100987
100939
  const getPathPart = (raw, cmd) => {
100988
100940
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
100989
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$15(pathPart, cmd);
100941
+ return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$13(pathPart, cmd);
100990
100942
  };
100991
100943
  const which = async (cmd, opt = {}) => {
100992
100944
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
@@ -101735,7 +101687,7 @@ var require_index_min$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
101735
101687
  //#region ../../node_modules/@npmcli/git/node_modules/which/lib/index.js
101736
101688
  var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101737
101689
  const { isexe, sync: isexeSync } = require_index_min$2();
101738
- const { join: join$14, delimiter: delimiter$2, sep: sep$3, posix } = require("path");
101690
+ const { join: join$12, delimiter: delimiter$2, sep: sep$3, posix } = require("path");
101739
101691
  const isWindows = process.platform === "win32";
101740
101692
  /* istanbul ignore next */
101741
101693
  const rSlash = new RegExp(`[${posix.sep}${sep$3 === posix.sep ? "" : sep$3}]`.replace(/(\\)/g, "\\$1"));
@@ -101765,7 +101717,7 @@ var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
101765
101717
  };
101766
101718
  const getPathPart = (raw, cmd) => {
101767
101719
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
101768
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$14(pathPart, cmd);
101720
+ return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$12(pathPart, cmd);
101769
101721
  };
101770
101722
  const which = async (cmd, opt = {}) => {
101771
101723
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
@@ -102646,7 +102598,7 @@ var require_lib$22 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
102646
102598
  //#endregion
102647
102599
  //#region ../../node_modules/npm-normalize-package-bin/lib/index.js
102648
102600
  var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
102649
- const { join: join$13, basename: basename$4 } = require("path");
102601
+ const { join: join$11, basename: basename$4 } = require("path");
102650
102602
  const normalize = (pkg) => !pkg.bin ? removeBin(pkg) : typeof pkg.bin === "string" ? normalizeString(pkg) : Array.isArray(pkg.bin) ? normalizeArray(pkg) : typeof pkg.bin === "object" ? normalizeObject(pkg) : removeBin(pkg);
102651
102603
  const normalizeString = (pkg) => {
102652
102604
  if (!pkg.name) return removeBin(pkg);
@@ -102669,9 +102621,9 @@ var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
102669
102621
  const clean = {};
102670
102622
  let hasBins = false;
102671
102623
  Object.keys(orig).forEach((binKey) => {
102672
- const base = join$13("/", basename$4(binKey.replace(/\\|:/g, "/"))).slice(1);
102624
+ const base = join$11("/", basename$4(binKey.replace(/\\|:/g, "/"))).slice(1);
102673
102625
  if (typeof orig[binKey] !== "string" || !base) return;
102674
- const binTarget = join$13("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
102626
+ const binTarget = join$11("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
102675
102627
  if (!binTarget) return;
102676
102628
  clean[base] = binTarget;
102677
102629
  hasBins = true;
@@ -104744,7 +104696,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
104744
104696
  const { ERR_FS_CP_DIR_TO_NON_DIR, ERR_FS_CP_EEXIST, ERR_FS_CP_EINVAL, ERR_FS_CP_FIFO_PIPE, ERR_FS_CP_NON_DIR_TO_DIR, ERR_FS_CP_SOCKET, ERR_FS_CP_SYMLINK_TO_SUBDIRECTORY, ERR_FS_CP_UNKNOWN, ERR_FS_EISDIR, ERR_INVALID_ARG_TYPE } = require_errors$3();
104745
104697
  const { constants: { errno: { EEXIST, EISDIR, EINVAL, ENOTDIR } } } = require("os");
104746
104698
  const { chmod: chmod$2, copyFile, lstat: lstat$2, mkdir: mkdir$8, readdir: readdir$6, readlink, stat: stat$5, symlink, unlink, utimes } = require("fs/promises");
104747
- const { dirname: dirname$8, isAbsolute: isAbsolute$2, join: join$12, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
104699
+ const { dirname: dirname$8, isAbsolute: isAbsolute$2, join: join$10, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
104748
104700
  const { fileURLToPath } = require("url");
104749
104701
  const defaultOptions = {
104750
104702
  dereference: false,
@@ -104851,7 +104803,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
104851
104803
  });
104852
104804
  return checkParentPaths(src, srcStat, destParent);
104853
104805
  }
104854
- const normalizePathToArray = (path$58) => resolve$10(path$58).split(sep$2).filter(Boolean);
104806
+ const normalizePathToArray = (path$57) => resolve$10(path$57).split(sep$2).filter(Boolean);
104855
104807
  function isSrcSubdir(src, dest) {
104856
104808
  const srcArr = normalizePathToArray(src);
104857
104809
  const destArr = normalizePathToArray(dest);
@@ -104953,8 +104905,8 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
104953
104905
  const dir = await readdir$6(src);
104954
104906
  for (let i = 0; i < dir.length; i++) {
104955
104907
  const item = dir[i];
104956
- const srcItem = join$12(src, item);
104957
- const destItem = join$12(dest, item);
104908
+ const srcItem = join$10(src, item);
104909
+ const destItem = join$10(dest, item);
104958
104910
  const { destStat } = await checkPaths(srcItem, destItem, opts);
104959
104911
  await startCopy(destStat, srcItem, destItem, opts);
104960
104912
  }
@@ -105018,13 +104970,13 @@ var require_cp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
105018
104970
  //#endregion
105019
104971
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/with-temp-dir.js
105020
104972
  var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
105021
- const { join: join$11, sep: sep$1 } = require("path");
104973
+ const { join: join$9, sep: sep$1 } = require("path");
105022
104974
  const getOptions = require_get_options();
105023
- const { mkdir: mkdir$7, mkdtemp, rm: rm$7 } = require("fs/promises");
104975
+ const { mkdir: mkdir$7, mkdtemp, rm: rm$8 } = require("fs/promises");
105024
104976
  const withTempDir = async (root, fn, opts) => {
105025
104977
  const options = getOptions(opts, { copy: ["tmpPrefix"] });
105026
104978
  await mkdir$7(root, { recursive: true });
105027
- const target = await mkdtemp(join$11(`${root}${sep$1}`, options.tmpPrefix || ""));
104979
+ const target = await mkdtemp(join$9(`${root}${sep$1}`, options.tmpPrefix || ""));
105028
104980
  let err;
105029
104981
  let result;
105030
104982
  try {
@@ -105033,7 +104985,7 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
105033
104985
  err = _err;
105034
104986
  }
105035
104987
  try {
105036
- await rm$7(target, {
104988
+ await rm$8(target, {
105037
104989
  force: true,
105038
104990
  recursive: true
105039
104991
  });
@@ -105047,10 +104999,10 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
105047
104999
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/readdir-scoped.js
105048
105000
  var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
105049
105001
  const { readdir: readdir$5 } = require("fs/promises");
105050
- const { join: join$10 } = require("path");
105002
+ const { join: join$8 } = require("path");
105051
105003
  const readdirScoped = async (dir) => {
105052
105004
  const results = [];
105053
- for (const item of await readdir$5(dir)) if (item.startsWith("@")) for (const scopedItem of await readdir$5(join$10(dir, item))) results.push(join$10(item, scopedItem));
105005
+ for (const item of await readdir$5(dir)) if (item.startsWith("@")) for (const scopedItem of await readdir$5(join$8(dir, item))) results.push(join$8(item, scopedItem));
105054
105006
  else results.push(item);
105055
105007
  return results;
105056
105008
  };
@@ -105059,11 +105011,11 @@ var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
105059
105011
  //#endregion
105060
105012
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/move-file.js
105061
105013
  var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
105062
- const { dirname: dirname$7, join: join$9, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
105014
+ const { dirname: dirname$7, join: join$7, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
105063
105015
  const fs$12 = require("fs/promises");
105064
- const pathExists = async (path$57) => {
105016
+ const pathExists = async (path$56) => {
105065
105017
  try {
105066
- await fs$12.access(path$57);
105018
+ await fs$12.access(path$56);
105067
105019
  return true;
105068
105020
  } catch (er) {
105069
105021
  return er.code !== "ENOENT";
@@ -105084,7 +105036,7 @@ var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
105084
105036
  const sourceStat = await fs$12.lstat(source);
105085
105037
  if (sourceStat.isDirectory()) {
105086
105038
  const files = await fs$12.readdir(source);
105087
- await Promise.all(files.map((file) => moveFile(join$9(source, file), join$9(destination, file), options, false, symlinks)));
105039
+ await Promise.all(files.map((file) => moveFile(join$7(source, file), join$7(destination, file), options, false, symlinks)));
105088
105040
  } else if (sourceStat.isSymbolicLink()) symlinks.push({
105089
105041
  source,
105090
105042
  destination
@@ -105260,7 +105212,7 @@ var require_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
105260
105212
  //#region ../../node_modules/cacache/lib/entry-index.js
105261
105213
  var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
105262
105214
  const crypto$1 = require("crypto");
105263
- const { appendFile, mkdir: mkdir$6, readFile: readFile$7, readdir: readdir$4, rm: rm$6, writeFile: writeFile$2 } = require("fs/promises");
105215
+ const { appendFile, mkdir: mkdir$6, readFile: readFile$7, readdir: readdir$4, rm: rm$7, writeFile: writeFile$2 } = require("fs/promises");
105264
105216
  const { Minipass } = require_commonjs$10();
105265
105217
  const path$14 = require("path");
105266
105218
  const ssri = require_lib$17();
@@ -105301,7 +105253,7 @@ var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
105301
105253
  };
105302
105254
  };
105303
105255
  const teardown = async (tmp) => {
105304
- if (!tmp.moved) return rm$6(tmp.target, {
105256
+ if (!tmp.moved) return rm$7(tmp.target, {
105305
105257
  recursive: true,
105306
105258
  force: true
105307
105259
  });
@@ -105357,7 +105309,7 @@ var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
105357
105309
  module.exports.delete = del;
105358
105310
  function del(cache, key, opts = {}) {
105359
105311
  if (!opts.removeFully) return insert(cache, key, null, opts);
105360
- return rm$6(bucketPath(cache, key), {
105312
+ return rm$7(bucketPath(cache, key), {
105361
105313
  recursive: true,
105362
105314
  force: true
105363
105315
  });
@@ -110119,7 +110071,7 @@ var require_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
110119
110071
  const { glob } = require_index_min$1();
110120
110072
  const path$12 = require("path");
110121
110073
  const globify = (pattern) => pattern.split(path$12.win32.sep).join(path$12.posix.sep);
110122
- module.exports = (path$56, options) => glob(globify(path$56), options);
110074
+ module.exports = (path$55, options) => glob(globify(path$55), options);
110123
110075
  }));
110124
110076
  //#endregion
110125
110077
  //#region ../../node_modules/cacache/lib/content/rm.js
@@ -110142,7 +110094,7 @@ var require_rm$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
110142
110094
  //#endregion
110143
110095
  //#region ../../node_modules/cacache/lib/rm.js
110144
110096
  var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
110145
- const { rm: rm$5 } = require("fs/promises");
110097
+ const { rm: rm$6 } = require("fs/promises");
110146
110098
  const glob = require_glob();
110147
110099
  const index = require_entry_index();
110148
110100
  const memo = require_memoization();
@@ -110166,7 +110118,7 @@ var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
110166
110118
  silent: true,
110167
110119
  nosort: true
110168
110120
  });
110169
- return Promise.all(paths.map((p) => rm$5(p, {
110121
+ return Promise.all(paths.map((p) => rm$6(p, {
110170
110122
  recursive: true,
110171
110123
  force: true
110172
110124
  })));
@@ -110175,7 +110127,7 @@ var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
110175
110127
  //#endregion
110176
110128
  //#region ../../node_modules/cacache/lib/verify.js
110177
110129
  var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
110178
- const { mkdir: mkdir$5, readFile: readFile$6, rm: rm$4, stat: stat$4, truncate, writeFile: writeFile$1 } = require("fs/promises");
110130
+ const { mkdir: mkdir$5, readFile: readFile$6, rm: rm$5, stat: stat$4, truncate, writeFile: writeFile$1 } = require("fs/promises");
110179
110131
  const contentPath = require_path();
110180
110132
  const fsm = require_lib$15();
110181
110133
  const glob = require_glob();
@@ -110272,7 +110224,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
110272
110224
  } else {
110273
110225
  stats.reclaimedCount++;
110274
110226
  const s = await stat$4(f);
110275
- await rm$4(f, {
110227
+ await rm$5(f, {
110276
110228
  recursive: true,
110277
110229
  force: true
110278
110230
  });
@@ -110295,7 +110247,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
110295
110247
  valid: false
110296
110248
  };
110297
110249
  if (err.code !== "EINTEGRITY") throw err;
110298
- await rm$4(filepath, {
110250
+ await rm$5(filepath, {
110299
110251
  recursive: true,
110300
110252
  force: true
110301
110253
  });
@@ -110356,7 +110308,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
110356
110308
  }
110357
110309
  function cleanTmp(cache, opts) {
110358
110310
  opts.log.silly("verify", "cleaning tmp directory");
110359
- return rm$4(path$10.join(cache, "tmp"), {
110311
+ return rm$5(path$10.join(cache, "tmp"), {
110360
110312
  recursive: true,
110361
110313
  force: true
110362
110314
  });
@@ -110917,14 +110869,14 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
110917
110869
  const { readFile: readFile$5, readdir: readdir$3, stat: stat$3 } = require("fs/promises");
110918
110870
  const { resolve: resolve$8, basename: basename$3, dirname: dirname$6 } = require("path");
110919
110871
  const normalizePackageBin = require_lib$21();
110920
- const readPackage = ({ path: path$52, packageJsonCache }) => packageJsonCache.has(path$52) ? Promise.resolve(packageJsonCache.get(path$52)) : readFile$5(path$52).then((json) => {
110872
+ const readPackage = ({ path: path$51, packageJsonCache }) => packageJsonCache.has(path$51) ? Promise.resolve(packageJsonCache.get(path$51)) : readFile$5(path$51).then((json) => {
110921
110873
  const pkg = normalizePackageBin(JSON.parse(json));
110922
- packageJsonCache.set(path$52, pkg);
110874
+ packageJsonCache.set(path$51, pkg);
110923
110875
  return pkg;
110924
110876
  }).catch(() => null);
110925
110877
  const normalized = Symbol("package data has been normalized");
110926
- const rpj = ({ path: path$53, packageJsonCache }) => readPackage({
110927
- path: path$53,
110878
+ const rpj = ({ path: path$52, packageJsonCache }) => readPackage({
110879
+ path: path$52,
110928
110880
  packageJsonCache
110929
110881
  }).then((pkg) => {
110930
110882
  if (!pkg || pkg[normalized]) return pkg;
@@ -110938,14 +110890,14 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
110938
110890
  pkg[normalized] = true;
110939
110891
  return pkg;
110940
110892
  });
110941
- const pkgContents = async ({ path: path$54, depth = 1, currentDepth = 0, pkg = null, result = null, packageJsonCache = null }) => {
110893
+ const pkgContents = async ({ path: path$53, depth = 1, currentDepth = 0, pkg = null, result = null, packageJsonCache = null }) => {
110942
110894
  if (!result) result = /* @__PURE__ */ new Set();
110943
110895
  if (!packageJsonCache) packageJsonCache = /* @__PURE__ */ new Map();
110944
110896
  if (pkg === true) return rpj({
110945
- path: path$54 + "/package.json",
110897
+ path: path$53 + "/package.json",
110946
110898
  packageJsonCache
110947
110899
  }).then((p) => pkgContents({
110948
- path: path$54,
110900
+ path: path$53,
110949
110901
  depth,
110950
110902
  currentDepth,
110951
110903
  pkg: p,
@@ -110954,7 +110906,7 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
110954
110906
  }));
110955
110907
  if (pkg) {
110956
110908
  if (pkg.bin) {
110957
- const dir = dirname$6(path$54);
110909
+ const dir = dirname$6(path$53);
110958
110910
  const scope = basename$3(dir);
110959
110911
  const nm = /^@.+/.test(scope) ? dirname$6(dir) : dir;
110960
110912
  const binFiles = [];
@@ -110966,21 +110918,21 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
110966
110918
  }
110967
110919
  }
110968
110920
  if (currentDepth >= depth) {
110969
- result.add(path$54);
110921
+ result.add(path$53);
110970
110922
  return result;
110971
110923
  }
110972
- const [dirEntries, bundleDeps] = await Promise.all([readdir$3(path$54, { withFileTypes: true }), currentDepth === 0 && pkg && pkg.bundleDependencies ? bundled({
110973
- path: path$54,
110924
+ const [dirEntries, bundleDeps] = await Promise.all([readdir$3(path$53, { withFileTypes: true }), currentDepth === 0 && pkg && pkg.bundleDependencies ? bundled({
110925
+ path: path$53,
110974
110926
  packageJsonCache
110975
110927
  }) : null]).catch(() => []);
110976
110928
  if (!dirEntries) return result;
110977
110929
  if (!dirEntries.length && !bundleDeps && currentDepth !== 0) {
110978
- result.add(path$54);
110930
+ result.add(path$53);
110979
110931
  return result;
110980
110932
  }
110981
110933
  const recursePromises = [];
110982
110934
  for (const entry of dirEntries) {
110983
- const p = resolve$8(path$54, entry.name);
110935
+ const p = resolve$8(path$53, entry.name);
110984
110936
  if (entry.isDirectory() === false) {
110985
110937
  result.add(p);
110986
110938
  continue;
@@ -110999,7 +110951,7 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
110999
110951
  }
111000
110952
  if (bundleDeps) recursePromises.push(...bundleDeps.map((dep) => {
111001
110953
  return pkgContents({
111002
- path: resolve$8(path$54, "node_modules", dep),
110954
+ path: resolve$8(path$53, "node_modules", dep),
111003
110955
  packageJsonCache,
111004
110956
  pkg: true,
111005
110957
  depth,
@@ -111010,8 +110962,8 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
111010
110962
  if (recursePromises.length) await Promise.all(recursePromises);
111011
110963
  return result;
111012
110964
  };
111013
- module.exports = ({ path: path$55, ...opts }) => pkgContents({
111014
- path: resolve$8(path$55),
110965
+ module.exports = ({ path: path$54, ...opts }) => pkgContents({
110966
+ path: resolve$8(path$54),
111015
110967
  ...opts,
111016
110968
  pkg: true
111017
110969
  }).then((results) => [...results]);
@@ -116447,7 +116399,7 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
116447
116399
  var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
116448
116400
  const { Walker: IgnoreWalker } = require_lib$10();
116449
116401
  const { lstatSync: lstat$1, readFileSync: readFile$4 } = require("fs");
116450
- const { basename: basename$2, dirname: dirname$5, extname: extname$1, join: join$8, relative, resolve: resolve$6, sep } = require("path");
116402
+ const { basename: basename$2, dirname: dirname$5, extname: extname$1, join: join$6, relative, resolve: resolve$6, sep } = require("path");
116451
116403
  const { log } = require_lib$29();
116452
116404
  const defaultRules = Symbol("npm-packlist.rules.default");
116453
116405
  const strictRules = Symbol("npm-packlist.rules.strict");
@@ -116477,10 +116429,10 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
116477
116429
  "/archived-packages/**"
116478
116430
  ];
116479
116431
  const strictDefaults = ["/.git"];
116480
- const normalizePath = (path$49) => path$49.split("\\").join("/");
116432
+ const normalizePath = (path$48) => path$48.split("\\").join("/");
116481
116433
  const readOutOfTreeIgnoreFiles = (root, rel, result = []) => {
116482
116434
  for (const file of [".npmignore", ".gitignore"]) try {
116483
- const ignoreContent = readFile$4(join$8(root, file), { encoding: "utf8" });
116435
+ const ignoreContent = readFile$4(join$6(root, file), { encoding: "utf8" });
116484
116436
  result.push(ignoreContent);
116485
116437
  break;
116486
116438
  } catch (err) {
@@ -116489,8 +116441,8 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
116489
116441
  }
116490
116442
  if (!rel) return result;
116491
116443
  const firstRel = rel.split(sep, 1)[0];
116492
- const newRoot = join$8(root, firstRel);
116493
- return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$8(root, rel)), result);
116444
+ const newRoot = join$6(root, firstRel);
116445
+ return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$6(root, rel)), result);
116494
116446
  };
116495
116447
  var PackWalker = class PackWalker extends IgnoreWalker {
116496
116448
  constructor(tree, opts) {
@@ -116514,14 +116466,14 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
116514
116466
  this.requiredFiles = options.requiredFiles || [];
116515
116467
  const additionalDefaults = [];
116516
116468
  if (options.prefix && options.workspaces) {
116517
- const path$50 = normalizePath(options.path);
116469
+ const path$49 = normalizePath(options.path);
116518
116470
  const prefix = normalizePath(options.prefix);
116519
116471
  const workspaces = options.workspaces.map((ws) => normalizePath(ws));
116520
116472
  // istanbul ignore else - this does nothing unless we need it to
116521
- if (path$50 !== prefix && workspaces.includes(path$50)) {
116473
+ if (path$49 !== prefix && workspaces.includes(path$49)) {
116522
116474
  const relpath = relative(options.prefix, dirname$5(options.path));
116523
116475
  additionalDefaults.push(...readOutOfTreeIgnoreFiles(options.prefix, relpath));
116524
- } else if (path$50 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
116476
+ } else if (path$49 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
116525
116477
  }
116526
116478
  this.injectRules(defaultRules, [...defaults, ...additionalDefaults]);
116527
116479
  if (!this.isPackage) this.injectRules(strictRules, [...strictDefaults, ...this.requiredFiles.map((file) => `!${file}`)]);
@@ -116557,7 +116509,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
116557
116509
  let ignoreFiles = null;
116558
116510
  if (this.tree.workspaces) {
116559
116511
  const workspaceDirs = [...this.tree.workspaces.values()].map((dir) => dir.replace(/\\/g, "/"));
116560
- const entryPath = join$8(this.path, entry).replace(/\\/g, "/");
116512
+ const entryPath = join$6(this.path, entry).replace(/\\/g, "/");
116561
116513
  if (workspaceDirs.includes(entryPath)) ignoreFiles = [
116562
116514
  defaultRules,
116563
116515
  "package.json",
@@ -116617,7 +116569,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
116617
116569
  if (file.endsWith("/*")) file += "*";
116618
116570
  const inverse = `!${file}`;
116619
116571
  try {
116620
- const stat = lstat$1(join$8(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
116572
+ const stat = lstat$1(join$6(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
116621
116573
  if (stat.isFile()) {
116622
116574
  strict.unshift(inverse);
116623
116575
  this.requiredFiles.push(file.startsWith("/") ? file.slice(1) : file);
@@ -116652,10 +116604,10 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
116652
116604
  if (!edge || edge.peer || edge.dev) continue;
116653
116605
  const node = this.tree.edgesOut.get(dep).to;
116654
116606
  if (!node) continue;
116655
- const path$51 = node.path;
116607
+ const path$50 = node.path;
116656
116608
  const tree = node.target;
116657
116609
  const walkerOpts = {
116658
- path: path$51,
116610
+ path: path$50,
116659
116611
  isPackage: true,
116660
116612
  ignoreFiles: [],
116661
116613
  seen: this.seen
@@ -116674,7 +116626,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
116674
116626
  walker.start();
116675
116627
  });
116676
116628
  const relativeFrom = relative(this.root, walker.path);
116677
- for (const file of bundled) this.result.add(join$8(relativeFrom, file).replace(/\\/g, "/"));
116629
+ for (const file of bundled) this.result.add(join$6(relativeFrom, file).replace(/\\/g, "/"));
116678
116630
  }
116679
116631
  }
116680
116632
  };
@@ -116732,7 +116684,7 @@ var require_make_spawn_args = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
116732
116684
  const { resolve: resolve$4 } = require("path");
116733
116685
  let npm_config_node_gyp;
116734
116686
  const makeSpawnArgs = (options) => {
116735
- const { args, binPaths, cmd, env, event, nodeGyp, path: path$48, scriptShell = true, stdio, stdioString } = options;
116687
+ const { args, binPaths, cmd, env, event, nodeGyp, path: path$47, scriptShell = true, stdio, stdioString } = options;
116736
116688
  if (nodeGyp) npm_config_node_gyp = nodeGyp;
116737
116689
  else if (env.npm_config_node_gyp) npm_config_node_gyp = env.npm_config_node_gyp;
116738
116690
  else npm_config_node_gyp = require.resolve("node-gyp/bin/node-gyp.js");
@@ -116740,17 +116692,17 @@ var require_make_spawn_args = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
116740
116692
  cmd,
116741
116693
  args,
116742
116694
  {
116743
- env: setPATH(path$48, binPaths, {
116695
+ env: setPATH(path$47, binPaths, {
116744
116696
  ...process.env,
116745
116697
  ...env,
116746
- npm_package_json: resolve$4(path$48, "package.json"),
116698
+ npm_package_json: resolve$4(path$47, "package.json"),
116747
116699
  npm_lifecycle_event: event,
116748
116700
  npm_lifecycle_script: cmd,
116749
116701
  npm_config_node_gyp
116750
116702
  }),
116751
116703
  stdioString,
116752
116704
  stdio,
116753
- cwd: path$48,
116705
+ cwd: path$47,
116754
116706
  shell: scriptShell
116755
116707
  }
116756
116708
  ];
@@ -146068,7 +146020,7 @@ var require_registry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
146068
146020
  //#region ../../node_modules/pacote/lib/fetcher.js
146069
146021
  var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
146070
146022
  const { basename: basename$1, dirname: dirname$3 } = require("node:path");
146071
- const { rm: rm$3, mkdir: mkdir$4 } = require("node:fs/promises");
146023
+ const { rm: rm$4, mkdir: mkdir$4 } = require("node:fs/promises");
146072
146024
  const PackageJson = require_lib$18();
146073
146025
  const cacache = require_lib$14();
146074
146026
  const fsm = require_lib$13();
@@ -146245,7 +146197,7 @@ var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
146245
146197
  return getContents({
146246
146198
  path,
146247
146199
  depth: 1
146248
- }).then((contents) => Promise.all(contents.map((entry) => rm$3(entry, {
146200
+ }).then((contents) => Promise.all(contents.map((entry) => rm$4(entry, {
146249
146201
  recursive: true,
146250
146202
  force: true
146251
146203
  }))));
@@ -154042,9 +153994,9 @@ var require_mime_types = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
154042
153994
  * @param {string} path
154043
153995
  * @return {boolean|string}
154044
153996
  */
154045
- function lookup(path$47) {
154046
- if (!path$47 || typeof path$47 !== "string") return false;
154047
- var extension = extname("x." + path$47).toLowerCase().substr(1);
153997
+ function lookup(path$46) {
153998
+ if (!path$46 || typeof path$46 !== "string") return false;
153999
+ var extension = extname("x." + path$46).toLowerCase().substr(1);
154048
154000
  if (!extension) return false;
154049
154001
  return exports.types[extension] || false;
154050
154002
  }
@@ -155150,7 +155102,7 @@ require_semver();
155150
155102
  require_lib();
155151
155103
  //#endregion
155152
155104
  //#region ../../packages/core-node/src/handler-func.ts
155153
- const { join: join$6 } = node_path.default;
155105
+ const { join: join$4 } = node_path.default;
155154
155106
  //#endregion
155155
155107
  //#region ../../packages/core-node/src/handlers/plugins.ts
155156
155108
  const localPluginsMap = /* @__PURE__ */ new Map();
@@ -155207,13 +155159,13 @@ var src_default = createNodeDefinition({ nodes: [{
155207
155159
  node: createAction({
155208
155160
  id: "nvpatch",
155209
155161
  name: "Patch binary",
155210
- description: "",
155162
+ description: "Apply a compatibility patch to an executable binary file.",
155211
155163
  icon: "",
155212
155164
  displayString: "`Patch binary ${fmt.param(params['input'], 'primary')}`",
155213
155165
  meta: {},
155214
155166
  params: { input: createPathParam("", {
155215
155167
  required: true,
155216
- label: "File to patch",
155168
+ label: "Binary file to patch",
155217
155169
  control: {
155218
155170
  type: "path",
155219
155171
  options: { properties: ["openFile"] }