@pipelab/plugin-steam 1.0.0-beta.17 → 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
@@ -2101,7 +2101,7 @@ const settingsMigratorInternal = createMigrator();
2101
2101
  const defaultAppSettings = settingsMigratorInternal.createDefault({
2102
2102
  locale: "en-US",
2103
2103
  theme: "light",
2104
- version: "8.0.0",
2104
+ version: "7.0.0",
2105
2105
  autosave: true,
2106
2106
  agents: [],
2107
2107
  tours: {
@@ -2114,11 +2114,6 @@ const defaultAppSettings = settingsMigratorInternal.createDefault({
2114
2114
  completed: false
2115
2115
  }
2116
2116
  },
2117
- buildHistory: { retentionPolicy: {
2118
- enabled: false,
2119
- maxEntries: 50,
2120
- maxAge: 30
2121
- } },
2122
2117
  plugins: DEFAULT_PLUGINS,
2123
2118
  isInternalMigrationBannerClosed: false
2124
2119
  });
@@ -2175,18 +2170,13 @@ settingsMigratorInternal.createMigrations({
2175
2170
  return {
2176
2171
  ...rest,
2177
2172
  agents: [],
2178
- buildHistory: { retentionPolicy: {
2179
- enabled: false,
2180
- maxEntries: 50,
2181
- maxAge: 30
2182
- } },
2183
2173
  plugins: DEFAULT_PLUGINS,
2184
2174
  isInternalMigrationBannerClosed: false
2185
2175
  };
2186
2176
  }
2187
2177
  }),
2188
2178
  createMigration({
2189
- version: "8.0.0",
2179
+ version: "7.0.0",
2190
2180
  up: finalVersion
2191
2181
  })
2192
2182
  ]
@@ -2205,7 +2195,7 @@ connectionsMigratorInternal.createMigrations({
2205
2195
  });
2206
2196
  const fileRepoMigratorInternal = createMigrator();
2207
2197
  const defaultFileRepo = fileRepoMigratorInternal.createDefault({
2208
- version: "2.0.0",
2198
+ version: "3.0.0",
2209
2199
  projects: [{
2210
2200
  id: "main",
2211
2201
  name: "Default project",
@@ -2215,30 +2205,39 @@ const defaultFileRepo = fileRepoMigratorInternal.createDefault({
2215
2205
  });
2216
2206
  fileRepoMigratorInternal.createMigrations({
2217
2207
  defaultValue: defaultFileRepo,
2218
- migrations: [createMigration({
2219
- version: "1.0.0",
2220
- up: (state) => {
2221
- const pipelines = Object.entries(state.data || {}).map(([id, file]) => {
2208
+ migrations: [
2209
+ createMigration({
2210
+ version: "1.0.0",
2211
+ up: (state) => {
2212
+ const pipelines = Object.entries(state.data || {}).map(([id, file]) => {
2213
+ return {
2214
+ ...file,
2215
+ id,
2216
+ project: "main"
2217
+ };
2218
+ });
2222
2219
  return {
2223
- ...file,
2224
- id,
2225
- project: "main"
2220
+ ...state,
2221
+ projects: [{
2222
+ id: "main",
2223
+ name: "Default project",
2224
+ description: "The initial default project"
2225
+ }],
2226
+ pipelines
2226
2227
  };
2227
- });
2228
- return {
2229
- ...state,
2230
- projects: [{
2231
- id: "main",
2232
- name: "Default project",
2233
- description: "The initial default project"
2234
- }],
2235
- pipelines
2236
- };
2237
- }
2238
- }), createMigration({
2239
- version: "2.0.0",
2240
- up: finalVersion
2241
- })]
2228
+ }
2229
+ }),
2230
+ createMigration({
2231
+ version: "2.0.0",
2232
+ up: (state) => {
2233
+ return { ...state };
2234
+ }
2235
+ }),
2236
+ createMigration({
2237
+ version: "3.0.0",
2238
+ up: finalVersion
2239
+ })
2240
+ ]
2242
2241
  });
2243
2242
  const savedFileMigratorInternal = createMigrator();
2244
2243
  const savedFileDefaultValue = savedFileMigratorInternal.createDefault({
@@ -2399,14 +2398,19 @@ object({
2399
2398
  version: literal("1.0.0"),
2400
2399
  data: optional(record(string(), SaveLocationValidator), {})
2401
2400
  });
2402
- const FileRepoProjectValidatorV2$1 = object({
2401
+ const FileRepoProjectValidatorV2 = object({
2403
2402
  id: string(),
2404
2403
  name: string(),
2405
2404
  description: string()
2406
2405
  });
2407
2406
  object({
2408
2407
  version: literal("2.0.0"),
2409
- projects: array(FileRepoProjectValidatorV2$1),
2408
+ projects: array(FileRepoProjectValidatorV2),
2409
+ pipelines: optional(array(SaveLocationValidator), [])
2410
+ });
2411
+ object({
2412
+ version: literal("3.0.0"),
2413
+ projects: array(FileRepoProjectValidatorV2),
2410
2414
  pipelines: optional(array(SaveLocationValidator), [])
2411
2415
  });
2412
2416
  object({
@@ -2515,44 +2519,6 @@ object({
2515
2519
  name: string(),
2516
2520
  url: string()
2517
2521
  })),
2518
- buildHistory: object({ retentionPolicy: object({
2519
- enabled: boolean(),
2520
- maxEntries: number(),
2521
- maxAge: number()
2522
- }) })
2523
- });
2524
- object({
2525
- theme: union([literal("light"), literal("dark")]),
2526
- version: literal("8.0.0"),
2527
- locale: union([
2528
- literal("en-US"),
2529
- literal("fr-FR"),
2530
- literal("pt-BR"),
2531
- literal("zh-CN"),
2532
- literal("es-ES"),
2533
- literal("de-DE")
2534
- ]),
2535
- tours: object({
2536
- dashboard: object({
2537
- step: number(),
2538
- completed: boolean()
2539
- }),
2540
- editor: object({
2541
- step: number(),
2542
- completed: boolean()
2543
- })
2544
- }),
2545
- autosave: boolean(),
2546
- agents: array(object({
2547
- id: string(),
2548
- name: string(),
2549
- url: string()
2550
- })),
2551
- buildHistory: object({ retentionPolicy: object({
2552
- enabled: boolean(),
2553
- maxEntries: number(),
2554
- maxAge: number()
2555
- }) }),
2556
2522
  plugins: array(object({
2557
2523
  name: string(),
2558
2524
  enabled: boolean(),
@@ -45416,20 +45382,6 @@ var WebSocketError = class extends Error {
45416
45382
  const isWebSocketRequestMessage = (message) => {
45417
45383
  return message && typeof message.channel === "string" && message.requestId;
45418
45384
  };
45419
- object({
45420
- version: literal("1.0.0"),
45421
- data: optional(record(string(), SaveLocationValidator), {})
45422
- });
45423
- const FileRepoProjectValidatorV2 = object({
45424
- id: string(),
45425
- name: string(),
45426
- description: string()
45427
- });
45428
- object({
45429
- version: literal("2.0.0"),
45430
- projects: array(FileRepoProjectValidatorV2),
45431
- pipelines: optional(array(SaveLocationValidator), [])
45432
- });
45433
45385
  //#endregion
45434
45386
  //#region ../../packages/constants/src/index.ts
45435
45387
  const websocketPort = 33753;
@@ -49969,7 +49921,7 @@ const handleCommand$1 = (filePath, rawArguments, rawOptions) => {
49969
49921
  var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
49970
49922
  module.exports = isexe;
49971
49923
  isexe.sync = sync;
49972
- var fs$38 = require("fs");
49924
+ var fs$37 = require("fs");
49973
49925
  function checkPathExt(path, options) {
49974
49926
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
49975
49927
  if (!pathext) return true;
@@ -49986,12 +49938,12 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
49986
49938
  return checkPathExt(path, options);
49987
49939
  }
49988
49940
  function isexe(path, options, cb) {
49989
- fs$38.stat(path, function(er, stat) {
49941
+ fs$37.stat(path, function(er, stat) {
49990
49942
  cb(er, er ? false : checkStat(stat, path, options));
49991
49943
  });
49992
49944
  }
49993
49945
  function sync(path, options) {
49994
- return checkStat(fs$38.statSync(path), path, options);
49946
+ return checkStat(fs$37.statSync(path), path, options);
49995
49947
  }
49996
49948
  }));
49997
49949
  //#endregion
@@ -49999,14 +49951,14 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
49999
49951
  var require_mode = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50000
49952
  module.exports = isexe;
50001
49953
  isexe.sync = sync;
50002
- var fs$37 = require("fs");
49954
+ var fs$36 = require("fs");
50003
49955
  function isexe(path, options, cb) {
50004
- fs$37.stat(path, function(er, stat) {
49956
+ fs$36.stat(path, function(er, stat) {
50005
49957
  cb(er, er ? false : checkStat(stat, options));
50006
49958
  });
50007
49959
  }
50008
49960
  function sync(path, options) {
50009
- return checkStat(fs$37.statSync(path), options);
49961
+ return checkStat(fs$36.statSync(path), options);
50010
49962
  }
50011
49963
  function checkStat(stat, options) {
50012
49964
  return stat.isFile() && checkMode(stat, options);
@@ -50070,7 +50022,7 @@ var require_isexe = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
50070
50022
  //#region ../../node_modules/which/which.js
50071
50023
  var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50072
50024
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
50073
- const path$46 = require("path");
50025
+ const path$45 = require("path");
50074
50026
  const COLON = isWindows ? ";" : ":";
50075
50027
  const isexe = require_isexe();
50076
50028
  const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -50100,7 +50052,7 @@ var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50100
50052
  if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
50101
50053
  const ppRaw = pathEnv[i];
50102
50054
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
50103
- const pCmd = path$46.join(pathPart, cmd);
50055
+ const pCmd = path$45.join(pathPart, cmd);
50104
50056
  resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i, 0));
50105
50057
  });
50106
50058
  const subStep = (p, i, ii) => new Promise((resolve, reject) => {
@@ -50121,7 +50073,7 @@ var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50121
50073
  for (let i = 0; i < pathEnv.length; i++) {
50122
50074
  const ppRaw = pathEnv[i];
50123
50075
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
50124
- const pCmd = path$46.join(pathPart, cmd);
50076
+ const pCmd = path$45.join(pathPart, cmd);
50125
50077
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
50126
50078
  for (let j = 0; j < pathExt.length; j++) {
50127
50079
  const cur = p + pathExt[j];
@@ -50152,7 +50104,7 @@ var require_path_key = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
50152
50104
  //#endregion
50153
50105
  //#region ../../node_modules/cross-spawn/lib/util/resolveCommand.js
50154
50106
  var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50155
- const path$45 = require("path");
50107
+ const path$44 = require("path");
50156
50108
  const which = require_which$1();
50157
50109
  const getPathKey = require_path_key();
50158
50110
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -50167,12 +50119,12 @@ var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
50167
50119
  try {
50168
50120
  resolved = which.sync(parsed.command, {
50169
50121
  path: env[getPathKey({ env })],
50170
- pathExt: withoutPathExt ? path$45.delimiter : void 0
50122
+ pathExt: withoutPathExt ? path$44.delimiter : void 0
50171
50123
  });
50172
50124
  } catch (e) {} finally {
50173
50125
  if (shouldSwitchCwd) process.chdir(cwd);
50174
50126
  }
50175
- if (resolved) resolved = path$45.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
50127
+ if (resolved) resolved = path$44.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
50176
50128
  return resolved;
50177
50129
  }
50178
50130
  function resolveCommand(parsed) {
@@ -50221,16 +50173,16 @@ var require_shebang_command = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
50221
50173
  //#endregion
50222
50174
  //#region ../../node_modules/cross-spawn/lib/util/readShebang.js
50223
50175
  var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50224
- const fs$36 = require("fs");
50176
+ const fs$35 = require("fs");
50225
50177
  const shebangCommand = require_shebang_command();
50226
50178
  function readShebang(command) {
50227
50179
  const size = 150;
50228
50180
  const buffer = Buffer.alloc(size);
50229
50181
  let fd;
50230
50182
  try {
50231
- fd = fs$36.openSync(command, "r");
50232
- fs$36.readSync(fd, buffer, 0, size, 0);
50233
- fs$36.closeSync(fd);
50183
+ fd = fs$35.openSync(command, "r");
50184
+ fs$35.readSync(fd, buffer, 0, size, 0);
50185
+ fs$35.closeSync(fd);
50234
50186
  } catch (e) {}
50235
50187
  return shebangCommand(buffer.toString());
50236
50188
  }
@@ -50239,7 +50191,7 @@ var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
50239
50191
  //#endregion
50240
50192
  //#region ../../node_modules/cross-spawn/lib/parse.js
50241
50193
  var require_parse$5 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50242
- const path$44 = require("path");
50194
+ const path$43 = require("path");
50243
50195
  const resolveCommand = require_resolveCommand();
50244
50196
  const escape = require_escape$4();
50245
50197
  const readShebang = require_readShebang();
@@ -50262,7 +50214,7 @@ var require_parse$5 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50262
50214
  const needsShell = !isExecutableRegExp.test(commandFile);
50263
50215
  if (parsed.options.forceShell || needsShell) {
50264
50216
  const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
50265
- parsed.command = path$44.normalize(parsed.command);
50217
+ parsed.command = path$43.normalize(parsed.command);
50266
50218
  parsed.command = escape.command(parsed.command);
50267
50219
  parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
50268
50220
  parsed.args = [
@@ -56918,10 +56870,10 @@ var require_header = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
56918
56870
  if (!(buf.length >= off + 512)) throw new Error("need 512 bytes for header");
56919
56871
  const prefixSize = this.ctime || this.atime ? 130 : 155;
56920
56872
  const split = splitPrefix(this.path || "", prefixSize);
56921
- const path$97 = split[0];
56873
+ const path$96 = split[0];
56922
56874
  const prefix = split[1];
56923
56875
  this.needPax = split[2];
56924
- this.needPax = encString(buf, off, 100, path$97) || this.needPax;
56876
+ this.needPax = encString(buf, off, 100, path$96) || this.needPax;
56925
56877
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
56926
56878
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
56927
56879
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -57024,7 +56976,7 @@ var require_header = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57024
56976
  //#region ../../node_modules/tar/lib/pax.js
57025
56977
  var require_pax = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57026
56978
  const Header = require_header();
57027
- const path$38 = require("path");
56979
+ const path$37 = require("path");
57028
56980
  var Pax = class {
57029
56981
  constructor(obj, global) {
57030
56982
  this.atime = obj.atime || null;
@@ -57052,7 +57004,7 @@ var require_pax = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
57052
57004
  const buf = Buffer.allocUnsafe(bufLen);
57053
57005
  for (let i = 0; i < 512; i++) buf[i] = 0;
57054
57006
  new Header({
57055
- path: ("PaxHeader/" + path$38.basename(this.path)).slice(0, 99),
57007
+ path: ("PaxHeader/" + path$37.basename(this.path)).slice(0, 99),
57056
57008
  mode: this.mode || 420,
57057
57009
  uid: this.uid || null,
57058
57010
  gid: this.gid || null,
@@ -57155,16 +57107,16 @@ var require_winchars = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
57155
57107
  //#region ../../node_modules/tar/lib/strip-absolute-path.js
57156
57108
  var require_strip_absolute_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57157
57109
  const { isAbsolute: isAbsolute$3, parse: parse$3 } = require("path").win32;
57158
- module.exports = (path$96) => {
57110
+ module.exports = (path$95) => {
57159
57111
  let r = "";
57160
- let parsed = parse$3(path$96);
57161
- while (isAbsolute$3(path$96) || parsed.root) {
57162
- const root = path$96.charAt(0) === "/" && path$96.slice(0, 4) !== "//?/" ? "/" : parsed.root;
57163
- path$96 = path$96.slice(root.length);
57112
+ let parsed = parse$3(path$95);
57113
+ while (isAbsolute$3(path$95) || parsed.root) {
57114
+ const root = path$95.charAt(0) === "/" && path$95.slice(0, 4) !== "//?/" ? "/" : parsed.root;
57115
+ path$95 = path$95.slice(root.length);
57164
57116
  r += root;
57165
- parsed = parse$3(path$96);
57117
+ parsed = parse$3(path$95);
57166
57118
  }
57167
- return [r, path$96];
57119
+ return [r, path$95];
57168
57120
  };
57169
57121
  }));
57170
57122
  //#endregion
@@ -57187,14 +57139,14 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57187
57139
  const { Minipass } = require_minipass$4();
57188
57140
  const Pax = require_pax();
57189
57141
  const Header = require_header();
57190
- const fs$35 = require("fs");
57191
- const path$37 = require("path");
57142
+ const fs$34 = require("fs");
57143
+ const path$36 = require("path");
57192
57144
  const normPath = require_normalize_windows_path();
57193
57145
  const stripSlash = require_strip_trailing_slashes();
57194
- const prefixPath = (path$93, prefix) => {
57195
- if (!prefix) return normPath(path$93);
57196
- path$93 = normPath(path$93).replace(/^\.(\/|$)/, "");
57197
- return stripSlash(prefix) + "/" + path$93;
57146
+ const prefixPath = (path$92, prefix) => {
57147
+ if (!prefix) return normPath(path$92);
57148
+ path$92 = normPath(path$92).replace(/^\.(\/|$)/, "");
57149
+ return stripSlash(prefix) + "/" + path$92;
57198
57150
  };
57199
57151
  const maxReadSize = 16 * 1024 * 1024;
57200
57152
  const PROCESS = Symbol("process");
@@ -57261,7 +57213,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57261
57213
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
57262
57214
  p = p.replace(/\\/g, "/");
57263
57215
  }
57264
- this.absolute = normPath(opt.absolute || path$37.resolve(this.cwd, p));
57216
+ this.absolute = normPath(opt.absolute || path$36.resolve(this.cwd, p));
57265
57217
  if (this.path === "") this.path = "./";
57266
57218
  if (pathWarn) this.warn("TAR_ENTRY_INFO", `stripping ${pathWarn} from absolute path`, {
57267
57219
  entry: this,
@@ -57275,7 +57227,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57275
57227
  return super.emit(ev, ...data);
57276
57228
  }
57277
57229
  [LSTAT]() {
57278
- fs$35.lstat(this.absolute, (er, stat) => {
57230
+ fs$34.lstat(this.absolute, (er, stat) => {
57279
57231
  if (er) return this.emit("error", er);
57280
57232
  this[ONLSTAT](stat);
57281
57233
  });
@@ -57299,8 +57251,8 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57299
57251
  [MODE](mode) {
57300
57252
  return modeFix(mode, this.type === "Directory", this.portable);
57301
57253
  }
57302
- [PREFIX](path$94) {
57303
- return prefixPath(path$94, this.prefix);
57254
+ [PREFIX](path$93) {
57255
+ return prefixPath(path$93, this.prefix);
57304
57256
  }
57305
57257
  [HEADER]() {
57306
57258
  if (this.type === "Directory" && this.portable) this.noMtime = true;
@@ -57340,7 +57292,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57340
57292
  this.end();
57341
57293
  }
57342
57294
  [SYMLINK]() {
57343
- fs$35.readlink(this.absolute, (er, linkpath) => {
57295
+ fs$34.readlink(this.absolute, (er, linkpath) => {
57344
57296
  if (er) return this.emit("error", er);
57345
57297
  this[ONREADLINK](linkpath);
57346
57298
  });
@@ -57352,7 +57304,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57352
57304
  }
57353
57305
  [HARDLINK](linkpath) {
57354
57306
  this.type = "Link";
57355
- this.linkpath = normPath(path$37.relative(this.cwd, linkpath));
57307
+ this.linkpath = normPath(path$36.relative(this.cwd, linkpath));
57356
57308
  this.stat.size = 0;
57357
57309
  this[HEADER]();
57358
57310
  this.end();
@@ -57371,7 +57323,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57371
57323
  this[OPENFILE]();
57372
57324
  }
57373
57325
  [OPENFILE]() {
57374
- fs$35.open(this.absolute, "r", (er, fd) => {
57326
+ fs$34.open(this.absolute, "r", (er, fd) => {
57375
57327
  if (er) return this.emit("error", er);
57376
57328
  this[ONOPENFILE](fd);
57377
57329
  });
@@ -57391,13 +57343,13 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57391
57343
  }
57392
57344
  [READ]() {
57393
57345
  const { fd, buf, offset, length, pos } = this;
57394
- fs$35.read(fd, buf, offset, length, pos, (er, bytesRead) => {
57346
+ fs$34.read(fd, buf, offset, length, pos, (er, bytesRead) => {
57395
57347
  if (er) return this[CLOSE](() => this.emit("error", er));
57396
57348
  this[ONREAD](bytesRead);
57397
57349
  });
57398
57350
  }
57399
57351
  [CLOSE](cb) {
57400
- fs$35.close(this.fd, cb);
57352
+ fs$34.close(this.fd, cb);
57401
57353
  }
57402
57354
  [ONREAD](bytesRead) {
57403
57355
  if (bytesRead <= 0 && this.remain > 0) {
@@ -57453,19 +57405,19 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57453
57405
  });
57454
57406
  var WriteEntrySync = class extends WriteEntry {
57455
57407
  [LSTAT]() {
57456
- this[ONLSTAT](fs$35.lstatSync(this.absolute));
57408
+ this[ONLSTAT](fs$34.lstatSync(this.absolute));
57457
57409
  }
57458
57410
  [SYMLINK]() {
57459
- this[ONREADLINK](fs$35.readlinkSync(this.absolute));
57411
+ this[ONREADLINK](fs$34.readlinkSync(this.absolute));
57460
57412
  }
57461
57413
  [OPENFILE]() {
57462
- this[ONOPENFILE](fs$35.openSync(this.absolute, "r"));
57414
+ this[ONOPENFILE](fs$34.openSync(this.absolute, "r"));
57463
57415
  }
57464
57416
  [READ]() {
57465
57417
  let threw = true;
57466
57418
  try {
57467
57419
  const { fd, buf, offset, length, pos } = this;
57468
- const bytesRead = fs$35.readSync(fd, buf, offset, length, pos);
57420
+ const bytesRead = fs$34.readSync(fd, buf, offset, length, pos);
57469
57421
  this[ONREAD](bytesRead);
57470
57422
  threw = false;
57471
57423
  } finally {
@@ -57478,7 +57430,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57478
57430
  cb();
57479
57431
  }
57480
57432
  [CLOSE](cb) {
57481
- fs$35.closeSync(this.fd);
57433
+ fs$34.closeSync(this.fd);
57482
57434
  cb();
57483
57435
  }
57484
57436
  };
@@ -57551,8 +57503,8 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57551
57503
  super.write(this.header.block);
57552
57504
  readEntry.pipe(this);
57553
57505
  }
57554
- [PREFIX](path$95) {
57555
- return prefixPath(path$95, this.prefix);
57506
+ [PREFIX](path$94) {
57507
+ return prefixPath(path$94, this.prefix);
57556
57508
  }
57557
57509
  [MODE](mode) {
57558
57510
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -57836,8 +57788,8 @@ var require_yallist = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
57836
57788
  //#region ../../node_modules/tar/lib/pack.js
57837
57789
  var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57838
57790
  var PackJob = class {
57839
- constructor(path$89, absolute) {
57840
- this.path = path$89 || "./";
57791
+ constructor(path$88, absolute) {
57792
+ this.path = path$88 || "./";
57841
57793
  this.absolute = absolute;
57842
57794
  this.entry = null;
57843
57795
  this.stat = null;
@@ -57875,8 +57827,8 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57875
57827
  const WRITEENTRYCLASS = Symbol("writeEntryClass");
57876
57828
  const WRITE = Symbol("write");
57877
57829
  const ONDRAIN = Symbol("ondrain");
57878
- const fs$34 = require("fs");
57879
- const path$36 = require("path");
57830
+ const fs$33 = require("fs");
57831
+ const path$35 = require("path");
57880
57832
  const warner = require_warn_mixin();
57881
57833
  const normPath = require_normalize_windows_path();
57882
57834
  const Pack = warner(class Pack extends Minipass {
@@ -57928,24 +57880,24 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57928
57880
  [WRITE](chunk) {
57929
57881
  return super.write(chunk);
57930
57882
  }
57931
- add(path$90) {
57932
- this.write(path$90);
57883
+ add(path$89) {
57884
+ this.write(path$89);
57933
57885
  return this;
57934
57886
  }
57935
- end(path$91) {
57936
- if (path$91) this.write(path$91);
57887
+ end(path$90) {
57888
+ if (path$90) this.write(path$90);
57937
57889
  this[ENDED] = true;
57938
57890
  this[PROCESS]();
57939
57891
  return this;
57940
57892
  }
57941
- write(path$92) {
57893
+ write(path$91) {
57942
57894
  if (this[ENDED]) throw new Error("write after end");
57943
- if (path$92 instanceof ReadEntry) this[ADDTARENTRY](path$92);
57944
- else this[ADDFSENTRY](path$92);
57895
+ if (path$91 instanceof ReadEntry) this[ADDTARENTRY](path$91);
57896
+ else this[ADDFSENTRY](path$91);
57945
57897
  return this.flowing;
57946
57898
  }
57947
57899
  [ADDTARENTRY](p) {
57948
- const absolute = normPath(path$36.resolve(this.cwd, p.path));
57900
+ const absolute = normPath(path$35.resolve(this.cwd, p.path));
57949
57901
  if (!this.filter(p.path, p)) p.resume();
57950
57902
  else {
57951
57903
  const job = new PackJob(p.path, absolute, false);
@@ -57957,14 +57909,14 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57957
57909
  this[PROCESS]();
57958
57910
  }
57959
57911
  [ADDFSENTRY](p) {
57960
- const absolute = normPath(path$36.resolve(this.cwd, p));
57912
+ const absolute = normPath(path$35.resolve(this.cwd, p));
57961
57913
  this[QUEUE].push(new PackJob(p, absolute));
57962
57914
  this[PROCESS]();
57963
57915
  }
57964
57916
  [STAT](job) {
57965
57917
  job.pending = true;
57966
57918
  this[JOBS] += 1;
57967
- fs$34[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
57919
+ fs$33[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
57968
57920
  job.pending = false;
57969
57921
  this[JOBS] -= 1;
57970
57922
  if (er) this.emit("error", er);
@@ -57980,7 +57932,7 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57980
57932
  [READDIR](job) {
57981
57933
  job.pending = true;
57982
57934
  this[JOBS] += 1;
57983
- fs$34.readdir(job.absolute, (er, entries) => {
57935
+ fs$33.readdir(job.absolute, (er, entries) => {
57984
57936
  job.pending = false;
57985
57937
  this[JOBS] -= 1;
57986
57938
  if (er) return this.emit("error", er);
@@ -58098,10 +58050,10 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
58098
58050
  resume() {}
58099
58051
  [STAT](job) {
58100
58052
  const stat = this.follow ? "statSync" : "lstatSync";
58101
- this[ONSTAT](job, fs$34[stat](job.absolute));
58053
+ this[ONSTAT](job, fs$33[stat](job.absolute));
58102
58054
  }
58103
58055
  [READDIR](job, stat) {
58104
- this[ONREADDIR](job, fs$34.readdirSync(job.absolute));
58056
+ this[ONREADDIR](job, fs$33.readdirSync(job.absolute));
58105
58057
  }
58106
58058
  [PIPE](job) {
58107
58059
  const source = job.entry;
@@ -58557,8 +58509,8 @@ while (this[FLUSHCHUNK](this[BUFFERSHIFT]()));
58557
58509
  var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
58558
58510
  const MiniPass = require_minipass$2();
58559
58511
  const EE$11 = require("events").EventEmitter;
58560
- const fs$33 = require("fs");
58561
- let writev = fs$33.writev;
58512
+ const fs$32 = require("fs");
58513
+ let writev = fs$32.writev;
58562
58514
  /* istanbul ignore next */
58563
58515
  if (!writev) {
58564
58516
  const binding = process.binding("fs");
@@ -58629,7 +58581,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58629
58581
  throw new TypeError("this is a readable stream");
58630
58582
  }
58631
58583
  [_open]() {
58632
- fs$33.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
58584
+ fs$32.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
58633
58585
  }
58634
58586
  [_onopen](er, fd) {
58635
58587
  if (er) this[_onerror](er);
@@ -58648,7 +58600,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58648
58600
  const buf = this[_makeBuf]();
58649
58601
  /* istanbul ignore if */
58650
58602
  if (buf.length === 0) return process.nextTick(() => this[_onread](null, 0, buf));
58651
- fs$33.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
58603
+ fs$32.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
58652
58604
  }
58653
58605
  }
58654
58606
  [_onread](er, br, buf) {
@@ -58660,7 +58612,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58660
58612
  if (this[_autoClose] && typeof this[_fd] === "number") {
58661
58613
  const fd = this[_fd];
58662
58614
  this[_fd] = null;
58663
- fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58615
+ fs$32.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58664
58616
  }
58665
58617
  }
58666
58618
  [_onerror](er) {
@@ -58698,7 +58650,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58698
58650
  [_open]() {
58699
58651
  let threw = true;
58700
58652
  try {
58701
- this[_onopen](null, fs$33.openSync(this[_path], "r"));
58653
+ this[_onopen](null, fs$32.openSync(this[_path], "r"));
58702
58654
  threw = false;
58703
58655
  } finally {
58704
58656
  if (threw) this[_close]();
@@ -58712,7 +58664,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58712
58664
  do {
58713
58665
  const buf = this[_makeBuf]();
58714
58666
  /* istanbul ignore next */
58715
- const br = buf.length === 0 ? 0 : fs$33.readSync(this[_fd], buf, 0, buf.length, null);
58667
+ const br = buf.length === 0 ? 0 : fs$32.readSync(this[_fd], buf, 0, buf.length, null);
58716
58668
  if (!this[_handleChunk](br, buf)) break;
58717
58669
  } while (true);
58718
58670
  this[_reading] = false;
@@ -58726,7 +58678,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58726
58678
  if (this[_autoClose] && typeof this[_fd] === "number") {
58727
58679
  const fd = this[_fd];
58728
58680
  this[_fd] = null;
58729
- fs$33.closeSync(fd);
58681
+ fs$32.closeSync(fd);
58730
58682
  this.emit("close");
58731
58683
  }
58732
58684
  }
@@ -58771,7 +58723,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58771
58723
  this.emit("error", er);
58772
58724
  }
58773
58725
  [_open]() {
58774
- fs$33.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
58726
+ fs$32.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
58775
58727
  }
58776
58728
  [_onopen](er, fd) {
58777
58729
  if (this[_defaultFlag] && this[_flags] === "r+" && er && er.code === "ENOENT") {
@@ -58806,7 +58758,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58806
58758
  return true;
58807
58759
  }
58808
58760
  [_write](buf) {
58809
- fs$33.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
58761
+ fs$32.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
58810
58762
  }
58811
58763
  [_onwrite](er, bw) {
58812
58764
  if (er) this[_onerror](er);
@@ -58840,7 +58792,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58840
58792
  if (this[_autoClose] && typeof this[_fd] === "number") {
58841
58793
  const fd = this[_fd];
58842
58794
  this[_fd] = null;
58843
- fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58795
+ fs$32.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58844
58796
  }
58845
58797
  }
58846
58798
  };
@@ -58848,28 +58800,28 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58848
58800
  [_open]() {
58849
58801
  let fd;
58850
58802
  if (this[_defaultFlag] && this[_flags] === "r+") try {
58851
- fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
58803
+ fd = fs$32.openSync(this[_path], this[_flags], this[_mode]);
58852
58804
  } catch (er) {
58853
58805
  if (er.code === "ENOENT") {
58854
58806
  this[_flags] = "w";
58855
58807
  return this[_open]();
58856
58808
  } else throw er;
58857
58809
  }
58858
- else fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
58810
+ else fd = fs$32.openSync(this[_path], this[_flags], this[_mode]);
58859
58811
  this[_onopen](null, fd);
58860
58812
  }
58861
58813
  [_close]() {
58862
58814
  if (this[_autoClose] && typeof this[_fd] === "number") {
58863
58815
  const fd = this[_fd];
58864
58816
  this[_fd] = null;
58865
- fs$33.closeSync(fd);
58817
+ fs$32.closeSync(fd);
58866
58818
  this.emit("close");
58867
58819
  }
58868
58820
  }
58869
58821
  [_write](buf) {
58870
58822
  let threw = true;
58871
58823
  try {
58872
- this[_onwrite](null, fs$33.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
58824
+ this[_onwrite](null, fs$32.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
58873
58825
  threw = false;
58874
58826
  } finally {
58875
58827
  if (threw) try {
@@ -59234,9 +59186,9 @@ while (this[PROCESSENTRY](this[QUEUE].shift()));
59234
59186
  var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59235
59187
  const hlo = require_high_level_opt();
59236
59188
  const Parser = require_parse$4();
59237
- const fs$32 = require("fs");
59189
+ const fs$31 = require("fs");
59238
59190
  const fsm = require_fs_minipass();
59239
- const path$35 = require("path");
59191
+ const path$34 = require("path");
59240
59192
  const stripSlash = require_strip_trailing_slashes();
59241
59193
  module.exports = (opt_, files, cb) => {
59242
59194
  if (typeof opt_ === "function") cb = opt_, files = null, opt_ = {};
@@ -59262,8 +59214,8 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59262
59214
  const map = new Map(files.map((f) => [stripSlash(f), true]));
59263
59215
  const filter = opt.filter;
59264
59216
  const mapHas = (file, r) => {
59265
- const root = r || path$35.parse(file).root || ".";
59266
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$35.dirname(file), root);
59217
+ const root = r || path$34.parse(file).root || ".";
59218
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$34.dirname(file), root);
59267
59219
  map.set(file, ret);
59268
59220
  return ret;
59269
59221
  };
@@ -59275,15 +59227,15 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59275
59227
  let threw = true;
59276
59228
  let fd;
59277
59229
  try {
59278
- const stat = fs$32.statSync(file);
59230
+ const stat = fs$31.statSync(file);
59279
59231
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
59280
- if (stat.size < readSize) p.end(fs$32.readFileSync(file));
59232
+ if (stat.size < readSize) p.end(fs$31.readFileSync(file));
59281
59233
  else {
59282
59234
  let pos = 0;
59283
59235
  const buf = Buffer.allocUnsafe(readSize);
59284
- fd = fs$32.openSync(file, "r");
59236
+ fd = fs$31.openSync(file, "r");
59285
59237
  while (pos < stat.size) {
59286
- const bytesRead = fs$32.readSync(fd, buf, 0, readSize, pos);
59238
+ const bytesRead = fs$31.readSync(fd, buf, 0, readSize, pos);
59287
59239
  pos += bytesRead;
59288
59240
  p.write(buf.slice(0, bytesRead));
59289
59241
  }
@@ -59292,7 +59244,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59292
59244
  threw = false;
59293
59245
  } finally {
59294
59246
  if (threw && fd) try {
59295
- fs$32.closeSync(fd);
59247
+ fs$31.closeSync(fd);
59296
59248
  } catch (er) {}
59297
59249
  }
59298
59250
  };
@@ -59303,7 +59255,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59303
59255
  const p = new Promise((resolve, reject) => {
59304
59256
  parse.on("error", reject);
59305
59257
  parse.on("end", resolve);
59306
- fs$32.stat(file, (er, stat) => {
59258
+ fs$31.stat(file, (er, stat) => {
59307
59259
  if (er) reject(er);
59308
59260
  else {
59309
59261
  const stream = new fsm.ReadStream(file, {
@@ -59326,7 +59278,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59326
59278
  const Pack = require_pack$1();
59327
59279
  const fsm = require_fs_minipass();
59328
59280
  const t = require_list();
59329
- const path$34 = require("path");
59281
+ const path$33 = require("path");
59330
59282
  module.exports = (opt_, files, cb) => {
59331
59283
  if (typeof files === "function") cb = files;
59332
59284
  if (Array.isArray(opt_)) files = opt_, opt_ = {};
@@ -59358,7 +59310,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59358
59310
  const addFilesSync = (p, files) => {
59359
59311
  files.forEach((file) => {
59360
59312
  if (file.charAt(0) === "@") t({
59361
- file: path$34.resolve(p.cwd, file.slice(1)),
59313
+ file: path$33.resolve(p.cwd, file.slice(1)),
59362
59314
  sync: true,
59363
59315
  noResume: true,
59364
59316
  onentry: (entry) => p.add(entry)
@@ -59371,7 +59323,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59371
59323
  while (files.length) {
59372
59324
  const file = files.shift();
59373
59325
  if (file.charAt(0) === "@") return t({
59374
- file: path$34.resolve(p.cwd, file.slice(1)),
59326
+ file: path$33.resolve(p.cwd, file.slice(1)),
59375
59327
  noResume: true,
59376
59328
  onentry: (entry) => p.add(entry)
59377
59329
  }).then((_) => addFilesAsync(p, files));
@@ -59395,10 +59347,10 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59395
59347
  var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59396
59348
  const hlo = require_high_level_opt();
59397
59349
  const Pack = require_pack$1();
59398
- const fs$31 = require("fs");
59350
+ const fs$30 = require("fs");
59399
59351
  const fsm = require_fs_minipass();
59400
59352
  const t = require_list();
59401
- const path$33 = require("path");
59353
+ const path$32 = require("path");
59402
59354
  const Header = require_header();
59403
59355
  module.exports = (opt_, files, cb) => {
59404
59356
  const opt = hlo(opt_);
@@ -59415,16 +59367,16 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59415
59367
  let position;
59416
59368
  try {
59417
59369
  try {
59418
- fd = fs$31.openSync(opt.file, "r+");
59370
+ fd = fs$30.openSync(opt.file, "r+");
59419
59371
  } catch (er) {
59420
- if (er.code === "ENOENT") fd = fs$31.openSync(opt.file, "w+");
59372
+ if (er.code === "ENOENT") fd = fs$30.openSync(opt.file, "w+");
59421
59373
  else throw er;
59422
59374
  }
59423
- const st = fs$31.fstatSync(fd);
59375
+ const st = fs$30.fstatSync(fd);
59424
59376
  const headBuf = Buffer.alloc(512);
59425
59377
  POSITION: for (position = 0; position < st.size; position += 512) {
59426
59378
  for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
59427
- bytes = fs$31.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
59379
+ bytes = fs$30.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
59428
59380
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) throw new Error("cannot append to compressed archives");
59429
59381
  if (!bytes) break POSITION;
59430
59382
  }
@@ -59439,7 +59391,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59439
59391
  streamSync(opt, p, position, fd, files);
59440
59392
  } finally {
59441
59393
  if (threw) try {
59442
- fs$31.closeSync(fd);
59394
+ fs$30.closeSync(fd);
59443
59395
  } catch (er) {}
59444
59396
  }
59445
59397
  };
@@ -59456,7 +59408,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59456
59408
  const p = new Pack(opt);
59457
59409
  const getPos = (fd, size, cb_) => {
59458
59410
  const cb = (er, pos) => {
59459
- if (er) fs$31.close(fd, (_) => cb_(er));
59411
+ if (er) fs$30.close(fd, (_) => cb_(er));
59460
59412
  else cb_(null, pos);
59461
59413
  };
59462
59414
  let position = 0;
@@ -59466,7 +59418,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59466
59418
  const onread = (er, bytes) => {
59467
59419
  if (er) return cb(er);
59468
59420
  bufPos += bytes;
59469
- if (bufPos < 512 && bytes) return fs$31.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
59421
+ if (bufPos < 512 && bytes) return fs$30.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
59470
59422
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) return cb(/* @__PURE__ */ new Error("cannot append to compressed archives"));
59471
59423
  if (bufPos < 512) return cb(null, position);
59472
59424
  const h = new Header(headBuf);
@@ -59477,9 +59429,9 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59477
59429
  if (position >= size) return cb(null, position);
59478
59430
  if (opt.mtimeCache) opt.mtimeCache.set(h.path, h.mtime);
59479
59431
  bufPos = 0;
59480
- fs$31.read(fd, headBuf, 0, 512, position, onread);
59432
+ fs$30.read(fd, headBuf, 0, 512, position, onread);
59481
59433
  };
59482
- fs$31.read(fd, headBuf, 0, 512, position, onread);
59434
+ fs$30.read(fd, headBuf, 0, 512, position, onread);
59483
59435
  };
59484
59436
  const promise = new Promise((resolve, reject) => {
59485
59437
  p.on("error", reject);
@@ -59487,11 +59439,11 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59487
59439
  const onopen = (er, fd) => {
59488
59440
  if (er && er.code === "ENOENT" && flag === "r+") {
59489
59441
  flag = "w+";
59490
- return fs$31.open(opt.file, flag, onopen);
59442
+ return fs$30.open(opt.file, flag, onopen);
59491
59443
  }
59492
59444
  if (er) return reject(er);
59493
- fs$31.fstat(fd, (er, st) => {
59494
- if (er) return fs$31.close(fd, () => reject(er));
59445
+ fs$30.fstat(fd, (er, st) => {
59446
+ if (er) return fs$30.close(fd, () => reject(er));
59495
59447
  getPos(fd, st.size, (er, position) => {
59496
59448
  if (er) return reject(er);
59497
59449
  const stream = new fsm.WriteStream(opt.file, {
@@ -59505,14 +59457,14 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59505
59457
  });
59506
59458
  });
59507
59459
  };
59508
- fs$31.open(opt.file, flag, onopen);
59460
+ fs$30.open(opt.file, flag, onopen);
59509
59461
  });
59510
59462
  return cb ? promise.then(cb, cb) : promise;
59511
59463
  };
59512
59464
  const addFilesSync = (p, files) => {
59513
59465
  files.forEach((file) => {
59514
59466
  if (file.charAt(0) === "@") t({
59515
- file: path$33.resolve(p.cwd, file.slice(1)),
59467
+ file: path$32.resolve(p.cwd, file.slice(1)),
59516
59468
  sync: true,
59517
59469
  noResume: true,
59518
59470
  onentry: (entry) => p.add(entry)
@@ -59525,7 +59477,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59525
59477
  while (files.length) {
59526
59478
  const file = files.shift();
59527
59479
  if (file.charAt(0) === "@") return t({
59528
- file: path$33.resolve(p.cwd, file.slice(1)),
59480
+ file: path$32.resolve(p.cwd, file.slice(1)),
59529
59481
  noResume: true,
59530
59482
  onentry: (entry) => p.add(entry)
59531
59483
  }).then((_) => addFilesAsync(p, files));
@@ -59558,32 +59510,32 @@ var require_update = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59558
59510
  //#region ../../node_modules/mkdirp/lib/opts-arg.js
59559
59511
  var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59560
59512
  const { promisify: promisify$2 } = require("util");
59561
- const fs$30 = require("fs");
59513
+ const fs$29 = require("fs");
59562
59514
  const optsArg = (opts) => {
59563
59515
  if (!opts) opts = {
59564
59516
  mode: 511,
59565
- fs: fs$30
59517
+ fs: fs$29
59566
59518
  };
59567
59519
  else if (typeof opts === "object") opts = {
59568
59520
  mode: 511,
59569
- fs: fs$30,
59521
+ fs: fs$29,
59570
59522
  ...opts
59571
59523
  };
59572
59524
  else if (typeof opts === "number") opts = {
59573
59525
  mode: opts,
59574
- fs: fs$30
59526
+ fs: fs$29
59575
59527
  };
59576
59528
  else if (typeof opts === "string") opts = {
59577
59529
  mode: parseInt(opts, 8),
59578
- fs: fs$30
59530
+ fs: fs$29
59579
59531
  };
59580
59532
  else throw new TypeError("invalid options argument");
59581
- opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$30.mkdir;
59533
+ opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$29.mkdir;
59582
59534
  opts.mkdirAsync = promisify$2(opts.mkdir);
59583
- opts.stat = opts.stat || opts.fs.stat || fs$30.stat;
59535
+ opts.stat = opts.stat || opts.fs.stat || fs$29.stat;
59584
59536
  opts.statAsync = promisify$2(opts.stat);
59585
- opts.statSync = opts.statSync || opts.fs.statSync || fs$30.statSync;
59586
- opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$30.mkdirSync;
59537
+ opts.statSync = opts.statSync || opts.fs.statSync || fs$29.statSync;
59538
+ opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$29.mkdirSync;
59587
59539
  return opts;
59588
59540
  };
59589
59541
  module.exports = optsArg;
@@ -59593,21 +59545,21 @@ var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
59593
59545
  var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59594
59546
  const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
59595
59547
  const { resolve: resolve$13, parse: parse$2 } = require("path");
59596
- const pathArg = (path$88) => {
59597
- if (/\0/.test(path$88)) throw Object.assign(/* @__PURE__ */ new TypeError("path must be a string without null bytes"), {
59598
- path: path$88,
59548
+ const pathArg = (path$87) => {
59549
+ if (/\0/.test(path$87)) throw Object.assign(/* @__PURE__ */ new TypeError("path must be a string without null bytes"), {
59550
+ path: path$87,
59599
59551
  code: "ERR_INVALID_ARG_VALUE"
59600
59552
  });
59601
- path$88 = resolve$13(path$88);
59553
+ path$87 = resolve$13(path$87);
59602
59554
  if (platform === "win32") {
59603
59555
  const badWinChars = /[*|"<>?:]/;
59604
- const { root } = parse$2(path$88);
59605
- if (badWinChars.test(path$88.substr(root.length))) throw Object.assign(/* @__PURE__ */ new Error("Illegal characters in path."), {
59606
- path: path$88,
59556
+ const { root } = parse$2(path$87);
59557
+ if (badWinChars.test(path$87.substr(root.length))) throw Object.assign(/* @__PURE__ */ new Error("Illegal characters in path."), {
59558
+ path: path$87,
59607
59559
  code: "EINVAL"
59608
59560
  });
59609
59561
  }
59610
- return path$88;
59562
+ return path$87;
59611
59563
  };
59612
59564
  module.exports = pathArg;
59613
59565
  }));
@@ -59615,14 +59567,14 @@ var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
59615
59567
  //#region ../../node_modules/mkdirp/lib/find-made.js
59616
59568
  var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59617
59569
  const { dirname: dirname$14 } = require("path");
59618
- const findMade = (opts, parent, path$86 = void 0) => {
59619
- if (path$86 === parent) return Promise.resolve();
59620
- return opts.statAsync(parent).then((st) => st.isDirectory() ? path$86 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$14(parent), parent) : void 0);
59570
+ const findMade = (opts, parent, path$85 = void 0) => {
59571
+ if (path$85 === parent) return Promise.resolve();
59572
+ return opts.statAsync(parent).then((st) => st.isDirectory() ? path$85 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$14(parent), parent) : void 0);
59621
59573
  };
59622
- const findMadeSync = (opts, parent, path$87 = void 0) => {
59623
- if (path$87 === parent) return void 0;
59574
+ const findMadeSync = (opts, parent, path$86 = void 0) => {
59575
+ if (path$86 === parent) return void 0;
59624
59576
  try {
59625
- return opts.statSync(parent).isDirectory() ? path$87 : void 0;
59577
+ return opts.statSync(parent).isDirectory() ? path$86 : void 0;
59626
59578
  } catch (er) {
59627
59579
  return er.code === "ENOENT" ? findMadeSync(opts, dirname$14(parent), parent) : void 0;
59628
59580
  }
@@ -59636,16 +59588,16 @@ var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
59636
59588
  //#region ../../node_modules/mkdirp/lib/mkdirp-manual.js
59637
59589
  var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59638
59590
  const { dirname: dirname$13 } = require("path");
59639
- const mkdirpManual = (path$84, opts, made) => {
59591
+ const mkdirpManual = (path$83, opts, made) => {
59640
59592
  opts.recursive = false;
59641
- const parent = dirname$13(path$84);
59642
- if (parent === path$84) return opts.mkdirAsync(path$84, opts).catch((er) => {
59593
+ const parent = dirname$13(path$83);
59594
+ if (parent === path$83) return opts.mkdirAsync(path$83, opts).catch((er) => {
59643
59595
  if (er.code !== "EISDIR") throw er;
59644
59596
  });
59645
- return opts.mkdirAsync(path$84, opts).then(() => made || path$84, (er) => {
59646
- if (er.code === "ENOENT") return mkdirpManual(parent, opts).then((made) => mkdirpManual(path$84, opts, made));
59597
+ return opts.mkdirAsync(path$83, opts).then(() => made || path$83, (er) => {
59598
+ if (er.code === "ENOENT") return mkdirpManual(parent, opts).then((made) => mkdirpManual(path$83, opts, made));
59647
59599
  if (er.code !== "EEXIST" && er.code !== "EROFS") throw er;
59648
- return opts.statAsync(path$84).then((st) => {
59600
+ return opts.statAsync(path$83).then((st) => {
59649
59601
  if (st.isDirectory()) return made;
59650
59602
  else throw er;
59651
59603
  }, () => {
@@ -59653,23 +59605,23 @@ var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59653
59605
  });
59654
59606
  });
59655
59607
  };
59656
- const mkdirpManualSync = (path$85, opts, made) => {
59657
- const parent = dirname$13(path$85);
59608
+ const mkdirpManualSync = (path$84, opts, made) => {
59609
+ const parent = dirname$13(path$84);
59658
59610
  opts.recursive = false;
59659
- if (parent === path$85) try {
59660
- return opts.mkdirSync(path$85, opts);
59611
+ if (parent === path$84) try {
59612
+ return opts.mkdirSync(path$84, opts);
59661
59613
  } catch (er) {
59662
59614
  if (er.code !== "EISDIR") throw er;
59663
59615
  else return;
59664
59616
  }
59665
59617
  try {
59666
- opts.mkdirSync(path$85, opts);
59667
- return made || path$85;
59618
+ opts.mkdirSync(path$84, opts);
59619
+ return made || path$84;
59668
59620
  } catch (er) {
59669
- if (er.code === "ENOENT") return mkdirpManualSync(path$85, opts, mkdirpManualSync(parent, opts, made));
59621
+ if (er.code === "ENOENT") return mkdirpManualSync(path$84, opts, mkdirpManualSync(parent, opts, made));
59670
59622
  if (er.code !== "EEXIST" && er.code !== "EROFS") throw er;
59671
59623
  try {
59672
- if (!opts.statSync(path$85).isDirectory()) throw er;
59624
+ if (!opts.statSync(path$84).isDirectory()) throw er;
59673
59625
  } catch (_) {
59674
59626
  throw er;
59675
59627
  }
@@ -59686,23 +59638,23 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59686
59638
  const { dirname: dirname$12 } = require("path");
59687
59639
  const { findMade, findMadeSync } = require_find_made();
59688
59640
  const { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
59689
- const mkdirpNative = (path$82, opts) => {
59641
+ const mkdirpNative = (path$81, opts) => {
59690
59642
  opts.recursive = true;
59691
- if (dirname$12(path$82) === path$82) return opts.mkdirAsync(path$82, opts);
59692
- return findMade(opts, path$82).then((made) => opts.mkdirAsync(path$82, opts).then(() => made).catch((er) => {
59693
- if (er.code === "ENOENT") return mkdirpManual(path$82, opts);
59643
+ if (dirname$12(path$81) === path$81) return opts.mkdirAsync(path$81, opts);
59644
+ return findMade(opts, path$81).then((made) => opts.mkdirAsync(path$81, opts).then(() => made).catch((er) => {
59645
+ if (er.code === "ENOENT") return mkdirpManual(path$81, opts);
59694
59646
  else throw er;
59695
59647
  }));
59696
59648
  };
59697
- const mkdirpNativeSync = (path$83, opts) => {
59649
+ const mkdirpNativeSync = (path$82, opts) => {
59698
59650
  opts.recursive = true;
59699
- if (dirname$12(path$83) === path$83) return opts.mkdirSync(path$83, opts);
59700
- const made = findMadeSync(opts, path$83);
59651
+ if (dirname$12(path$82) === path$82) return opts.mkdirSync(path$82, opts);
59652
+ const made = findMadeSync(opts, path$82);
59701
59653
  try {
59702
- opts.mkdirSync(path$83, opts);
59654
+ opts.mkdirSync(path$82, opts);
59703
59655
  return made;
59704
59656
  } catch (er) {
59705
- if (er.code === "ENOENT") return mkdirpManualSync(path$83, opts);
59657
+ if (er.code === "ENOENT") return mkdirpManualSync(path$82, opts);
59706
59658
  else throw er;
59707
59659
  }
59708
59660
  };
@@ -59714,12 +59666,12 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59714
59666
  //#endregion
59715
59667
  //#region ../../node_modules/mkdirp/lib/use-native.js
59716
59668
  var require_use_native = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59717
- const fs$29 = require("fs");
59669
+ const fs$28 = require("fs");
59718
59670
  const versArr = (process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version).replace(/^v/, "").split(".");
59719
59671
  const hasNative = +versArr[0] > 10 || +versArr[0] === 10 && +versArr[1] >= 12;
59720
59672
  module.exports = {
59721
- useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$29.mkdir,
59722
- useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$29.mkdirSync
59673
+ useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$28.mkdir,
59674
+ useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$28.mkdirSync
59723
59675
  };
59724
59676
  }));
59725
59677
  //#endregion
@@ -59750,64 +59702,64 @@ var require_mkdirp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59750
59702
  //#endregion
59751
59703
  //#region ../../node_modules/chownr/chownr.js
59752
59704
  var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59753
- const fs$28 = require("fs");
59754
- const path$32 = require("path");
59705
+ const fs$27 = require("fs");
59706
+ const path$31 = require("path");
59755
59707
  /* istanbul ignore next */
59756
- const LCHOWN = fs$28.lchown ? "lchown" : "chown";
59708
+ const LCHOWN = fs$27.lchown ? "lchown" : "chown";
59757
59709
  /* istanbul ignore next */
59758
- const LCHOWNSYNC = fs$28.lchownSync ? "lchownSync" : "chownSync";
59710
+ const LCHOWNSYNC = fs$27.lchownSync ? "lchownSync" : "chownSync";
59759
59711
  /* istanbul ignore next */
59760
- const needEISDIRHandled = fs$28.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
59761
- const lchownSync = (path$74, uid, gid) => {
59712
+ const needEISDIRHandled = fs$27.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
59713
+ const lchownSync = (path$73, uid, gid) => {
59762
59714
  try {
59763
- return fs$28[LCHOWNSYNC](path$74, uid, gid);
59715
+ return fs$27[LCHOWNSYNC](path$73, uid, gid);
59764
59716
  } catch (er) {
59765
59717
  if (er.code !== "ENOENT") throw er;
59766
59718
  }
59767
59719
  };
59768
59720
  /* istanbul ignore next */
59769
- const chownSync = (path$75, uid, gid) => {
59721
+ const chownSync = (path$74, uid, gid) => {
59770
59722
  try {
59771
- return fs$28.chownSync(path$75, uid, gid);
59723
+ return fs$27.chownSync(path$74, uid, gid);
59772
59724
  } catch (er) {
59773
59725
  if (er.code !== "ENOENT") throw er;
59774
59726
  }
59775
59727
  };
59776
59728
  /* istanbul ignore next */
59777
- const handleEISDIR = needEISDIRHandled ? (path$76, uid, gid, cb) => (er) => {
59729
+ const handleEISDIR = needEISDIRHandled ? (path$75, uid, gid, cb) => (er) => {
59778
59730
  if (!er || er.code !== "EISDIR") cb(er);
59779
- else fs$28.chown(path$76, uid, gid, cb);
59731
+ else fs$27.chown(path$75, uid, gid, cb);
59780
59732
  } : (_, __, ___, cb) => cb;
59781
59733
  /* istanbul ignore next */
59782
- const handleEISDirSync = needEISDIRHandled ? (path$77, uid, gid) => {
59734
+ const handleEISDirSync = needEISDIRHandled ? (path$76, uid, gid) => {
59783
59735
  try {
59784
- return lchownSync(path$77, uid, gid);
59736
+ return lchownSync(path$76, uid, gid);
59785
59737
  } catch (er) {
59786
59738
  if (er.code !== "EISDIR") throw er;
59787
- chownSync(path$77, uid, gid);
59739
+ chownSync(path$76, uid, gid);
59788
59740
  }
59789
- } : (path$78, uid, gid) => lchownSync(path$78, uid, gid);
59741
+ } : (path$77, uid, gid) => lchownSync(path$77, uid, gid);
59790
59742
  const nodeVersion = process.version;
59791
- let readdir = (path$79, options, cb) => fs$28.readdir(path$79, options, cb);
59792
- let readdirSync = (path$80, options) => fs$28.readdirSync(path$80, options);
59743
+ let readdir = (path$78, options, cb) => fs$27.readdir(path$78, options, cb);
59744
+ let readdirSync = (path$79, options) => fs$27.readdirSync(path$79, options);
59793
59745
  /* istanbul ignore next */
59794
- if (/^v4\./.test(nodeVersion)) readdir = (path$81, options, cb) => fs$28.readdir(path$81, cb);
59746
+ if (/^v4\./.test(nodeVersion)) readdir = (path$80, options, cb) => fs$27.readdir(path$80, cb);
59795
59747
  const chown = (cpath, uid, gid, cb) => {
59796
- fs$28[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
59748
+ fs$27[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
59797
59749
  cb(er && er.code !== "ENOENT" ? er : null);
59798
59750
  }));
59799
59751
  };
59800
59752
  const chownrKid = (p, child, uid, gid, cb) => {
59801
- if (typeof child === "string") return fs$28.lstat(path$32.resolve(p, child), (er, stats) => {
59753
+ if (typeof child === "string") return fs$27.lstat(path$31.resolve(p, child), (er, stats) => {
59802
59754
  if (er) return cb(er.code !== "ENOENT" ? er : null);
59803
59755
  stats.name = child;
59804
59756
  chownrKid(p, stats, uid, gid, cb);
59805
59757
  });
59806
- if (child.isDirectory()) chownr(path$32.resolve(p, child.name), uid, gid, (er) => {
59758
+ if (child.isDirectory()) chownr(path$31.resolve(p, child.name), uid, gid, (er) => {
59807
59759
  if (er) return cb(er);
59808
- chown(path$32.resolve(p, child.name), uid, gid, cb);
59760
+ chown(path$31.resolve(p, child.name), uid, gid, cb);
59809
59761
  });
59810
- else chown(path$32.resolve(p, child.name), uid, gid, cb);
59762
+ else chown(path$31.resolve(p, child.name), uid, gid, cb);
59811
59763
  };
59812
59764
  const chownr = (p, uid, gid, cb) => {
59813
59765
  readdir(p, { withFileTypes: true }, (er, children) => {
@@ -59828,15 +59780,15 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59828
59780
  };
59829
59781
  const chownrKidSync = (p, child, uid, gid) => {
59830
59782
  if (typeof child === "string") try {
59831
- const stats = fs$28.lstatSync(path$32.resolve(p, child));
59783
+ const stats = fs$27.lstatSync(path$31.resolve(p, child));
59832
59784
  stats.name = child;
59833
59785
  child = stats;
59834
59786
  } catch (er) {
59835
59787
  if (er.code === "ENOENT") return;
59836
59788
  else throw er;
59837
59789
  }
59838
- if (child.isDirectory()) chownrSync(path$32.resolve(p, child.name), uid, gid);
59839
- handleEISDirSync(path$32.resolve(p, child.name), uid, gid);
59790
+ if (child.isDirectory()) chownrSync(path$31.resolve(p, child.name), uid, gid);
59791
+ handleEISDirSync(path$31.resolve(p, child.name), uid, gid);
59840
59792
  };
59841
59793
  const chownrSync = (p, uid, gid) => {
59842
59794
  let children;
@@ -59857,14 +59809,14 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59857
59809
  //#region ../../node_modules/tar/lib/mkdir.js
59858
59810
  var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59859
59811
  const mkdirp = require_mkdirp();
59860
- const fs$27 = require("fs");
59861
- const path$31 = require("path");
59812
+ const fs$26 = require("fs");
59813
+ const path$30 = require("path");
59862
59814
  const chownr = require_chownr();
59863
59815
  const normPath = require_normalize_windows_path();
59864
59816
  var SymlinkError = class extends Error {
59865
- constructor(symlink, path$72) {
59817
+ constructor(symlink, path$71) {
59866
59818
  super("Cannot extract through symbolic link");
59867
- this.path = path$72;
59819
+ this.path = path$71;
59868
59820
  this.symlink = symlink;
59869
59821
  }
59870
59822
  get name() {
@@ -59872,9 +59824,9 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59872
59824
  }
59873
59825
  };
59874
59826
  var CwdError = class extends Error {
59875
- constructor(path$73, code) {
59876
- super(code + ": Cannot cd into '" + path$73 + "'");
59877
- this.path = path$73;
59827
+ constructor(path$72, code) {
59828
+ super(code + ": Cannot cd into '" + path$72 + "'");
59829
+ this.path = path$72;
59878
59830
  this.code = code;
59879
59831
  }
59880
59832
  get name() {
@@ -59884,7 +59836,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59884
59836
  const cGet = (cache, key) => cache.get(normPath(key));
59885
59837
  const cSet = (cache, key, val) => cache.set(normPath(key), val);
59886
59838
  const checkCwd = (dir, cb) => {
59887
- fs$27.stat(dir, (er, st) => {
59839
+ fs$26.stat(dir, (er, st) => {
59888
59840
  if (er || !st.isDirectory()) er = new CwdError(dir, er && er.code || "ENOTDIR");
59889
59841
  cb(er);
59890
59842
  });
@@ -59906,31 +59858,31 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59906
59858
  else {
59907
59859
  cSet(cache, dir, true);
59908
59860
  if (created && doChown) chownr(created, uid, gid, (er) => done(er));
59909
- else if (needChmod) fs$27.chmod(dir, mode, cb);
59861
+ else if (needChmod) fs$26.chmod(dir, mode, cb);
59910
59862
  else cb();
59911
59863
  }
59912
59864
  };
59913
59865
  if (cache && cGet(cache, dir) === true) return done();
59914
59866
  if (dir === cwd) return checkCwd(dir, done);
59915
59867
  if (preserve) return mkdirp(dir, { mode }).then((made) => done(null, made), done);
59916
- mkdir_(cwd, normPath(path$31.relative(cwd, dir)).split("/"), mode, cache, unlink, cwd, null, done);
59868
+ mkdir_(cwd, normPath(path$30.relative(cwd, dir)).split("/"), mode, cache, unlink, cwd, null, done);
59917
59869
  };
59918
59870
  const mkdir_ = (base, parts, mode, cache, unlink, cwd, created, cb) => {
59919
59871
  if (!parts.length) return cb(null, created);
59920
59872
  const p = parts.shift();
59921
- const part = normPath(path$31.resolve(base + "/" + p));
59873
+ const part = normPath(path$30.resolve(base + "/" + p));
59922
59874
  if (cGet(cache, part)) return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
59923
- fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59875
+ fs$26.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59924
59876
  };
59925
59877
  const onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => (er) => {
59926
- if (er) fs$27.lstat(part, (statEr, st) => {
59878
+ if (er) fs$26.lstat(part, (statEr, st) => {
59927
59879
  if (statEr) {
59928
59880
  statEr.path = statEr.path && normPath(statEr.path);
59929
59881
  cb(statEr);
59930
59882
  } else if (st.isDirectory()) mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
59931
- else if (unlink) fs$27.unlink(part, (er) => {
59883
+ else if (unlink) fs$26.unlink(part, (er) => {
59932
59884
  if (er) return cb(er);
59933
- fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59885
+ fs$26.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59934
59886
  });
59935
59887
  else if (st.isSymbolicLink()) return cb(new SymlinkError(part, part + "/" + parts.join("/")));
59936
59888
  else cb(er);
@@ -59944,7 +59896,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59944
59896
  let ok = false;
59945
59897
  let code = "ENOTDIR";
59946
59898
  try {
59947
- ok = fs$27.statSync(dir).isDirectory();
59899
+ ok = fs$26.statSync(dir).isDirectory();
59948
59900
  } catch (er) {
59949
59901
  code = er.code;
59950
59902
  } finally {
@@ -59966,7 +59918,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59966
59918
  const done = (created) => {
59967
59919
  cSet(cache, dir, true);
59968
59920
  if (created && doChown) chownr.sync(created, uid, gid);
59969
- if (needChmod) fs$27.chmodSync(dir, mode);
59921
+ if (needChmod) fs$26.chmodSync(dir, mode);
59970
59922
  };
59971
59923
  if (cache && cGet(cache, dir) === true) return done();
59972
59924
  if (dir === cwd) {
@@ -59974,23 +59926,23 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59974
59926
  return done();
59975
59927
  }
59976
59928
  if (preserve) return done(mkdirp.sync(dir, mode));
59977
- const parts = normPath(path$31.relative(cwd, dir)).split("/");
59929
+ const parts = normPath(path$30.relative(cwd, dir)).split("/");
59978
59930
  let created = null;
59979
59931
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
59980
- part = normPath(path$31.resolve(part));
59932
+ part = normPath(path$30.resolve(part));
59981
59933
  if (cGet(cache, part)) continue;
59982
59934
  try {
59983
- fs$27.mkdirSync(part, mode);
59935
+ fs$26.mkdirSync(part, mode);
59984
59936
  created = created || part;
59985
59937
  cSet(cache, part, true);
59986
59938
  } catch (er) {
59987
- const st = fs$27.lstatSync(part);
59939
+ const st = fs$26.lstatSync(part);
59988
59940
  if (st.isDirectory()) {
59989
59941
  cSet(cache, part, true);
59990
59942
  continue;
59991
59943
  } else if (unlink) {
59992
- fs$27.unlinkSync(part);
59993
- fs$27.mkdirSync(part, mode);
59944
+ fs$26.unlinkSync(part);
59945
+ fs$26.mkdirSync(part, mode);
59994
59946
  created = created || part;
59995
59947
  cSet(cache, part, true);
59996
59948
  continue;
@@ -60016,15 +59968,15 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60016
59968
  const assert$1 = require("assert");
60017
59969
  const normalize = require_normalize_unicode();
60018
59970
  const stripSlashes = require_strip_trailing_slashes();
60019
- const { join: join$18 } = require("path");
59971
+ const { join: join$16 } = require("path");
60020
59972
  const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
60021
59973
  module.exports = () => {
60022
59974
  const queues = /* @__PURE__ */ new Map();
60023
59975
  const reservations = /* @__PURE__ */ new Map();
60024
- const getDirs = (path$65) => {
60025
- return path$65.split("/").slice(0, -1).reduce((set, path$66) => {
60026
- if (set.length) path$66 = join$18(set[set.length - 1], path$66);
60027
- set.push(path$66 || "/");
59976
+ const getDirs = (path$64) => {
59977
+ return path$64.split("/").slice(0, -1).reduce((set, path$65) => {
59978
+ if (set.length) path$65 = join$16(set[set.length - 1], path$65);
59979
+ set.push(path$65 || "/");
60028
59980
  return set;
60029
59981
  }, []);
60030
59982
  };
@@ -60034,8 +59986,8 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60034
59986
  /* istanbul ignore if - unpossible */
60035
59987
  if (!res) throw new Error("function does not have any path reservations");
60036
59988
  return {
60037
- paths: res.paths.map((path$67) => queues.get(path$67)),
60038
- dirs: [...res.dirs].map((path$68) => queues.get(path$68))
59989
+ paths: res.paths.map((path$66) => queues.get(path$66)),
59990
+ dirs: [...res.dirs].map((path$67) => queues.get(path$67))
60039
59991
  };
60040
59992
  };
60041
59993
  const check = (fn) => {
@@ -60052,10 +60004,10 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60052
60004
  if (!running.has(fn)) return false;
60053
60005
  const { paths, dirs } = reservations.get(fn);
60054
60006
  const next = /* @__PURE__ */ new Set();
60055
- paths.forEach((path$69) => {
60056
- const q = queues.get(path$69);
60007
+ paths.forEach((path$68) => {
60008
+ const q = queues.get(path$68);
60057
60009
  assert$1.equal(q[0], fn);
60058
- if (q.length === 1) queues.delete(path$69);
60010
+ if (q.length === 1) queues.delete(path$68);
60059
60011
  else {
60060
60012
  q.shift();
60061
60013
  if (typeof q[0] === "function") next.add(q[0]);
@@ -60077,16 +60029,16 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60077
60029
  };
60078
60030
  const reserve = (paths, fn) => {
60079
60031
  paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p) => {
60080
- return stripSlashes(join$18(normalize(p))).toLowerCase();
60032
+ return stripSlashes(join$16(normalize(p))).toLowerCase();
60081
60033
  });
60082
- const dirs = new Set(paths.map((path$70) => getDirs(path$70)).reduce((a, b) => a.concat(b)));
60034
+ const dirs = new Set(paths.map((path$69) => getDirs(path$69)).reduce((a, b) => a.concat(b)));
60083
60035
  reservations.set(fn, {
60084
60036
  dirs,
60085
60037
  paths
60086
60038
  });
60087
- paths.forEach((path$71) => {
60088
- const q = queues.get(path$71);
60089
- if (!q) queues.set(path$71, [fn]);
60039
+ paths.forEach((path$70) => {
60040
+ const q = queues.get(path$70);
60041
+ if (!q) queues.set(path$70, [fn]);
60090
60042
  else q.push(fn);
60091
60043
  });
60092
60044
  dirs.forEach((dir) => {
@@ -60119,9 +60071,9 @@ var require_get_write_flag = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
60119
60071
  var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
60120
60072
  const assert = require("assert");
60121
60073
  const Parser = require_parse$4();
60122
- const fs$26 = require("fs");
60074
+ const fs$25 = require("fs");
60123
60075
  const fsm = require_fs_minipass();
60124
- const path$30 = require("path");
60076
+ const path$29 = require("path");
60125
60077
  const mkdir = require_mkdir();
60126
60078
  const wc = require_winchars();
60127
60079
  const pathReservations = require_path_reservations();
@@ -60159,28 +60111,28 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60159
60111
  const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
60160
60112
  const DEFAULT_MAX_DEPTH = 1024;
60161
60113
  /* istanbul ignore next */
60162
- const unlinkFile = (path$61, cb) => {
60163
- if (!isWindows) return fs$26.unlink(path$61, cb);
60164
- const name = path$61 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60165
- fs$26.rename(path$61, name, (er) => {
60114
+ const unlinkFile = (path$60, cb) => {
60115
+ if (!isWindows) return fs$25.unlink(path$60, cb);
60116
+ const name = path$60 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60117
+ fs$25.rename(path$60, name, (er) => {
60166
60118
  if (er) return cb(er);
60167
- fs$26.unlink(name, cb);
60119
+ fs$25.unlink(name, cb);
60168
60120
  });
60169
60121
  };
60170
60122
  /* istanbul ignore next */
60171
- const unlinkFileSync = (path$62) => {
60172
- if (!isWindows) return fs$26.unlinkSync(path$62);
60173
- const name = path$62 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60174
- fs$26.renameSync(path$62, name);
60175
- fs$26.unlinkSync(name);
60123
+ const unlinkFileSync = (path$61) => {
60124
+ if (!isWindows) return fs$25.unlinkSync(path$61);
60125
+ const name = path$61 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60126
+ fs$25.renameSync(path$61, name);
60127
+ fs$25.unlinkSync(name);
60176
60128
  };
60177
60129
  const uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
60178
- const cacheKeyNormalize = (path$63) => stripSlash(normPath(normalize(path$63))).toLowerCase();
60130
+ const cacheKeyNormalize = (path$62) => stripSlash(normPath(normalize(path$62))).toLowerCase();
60179
60131
  const pruneCache = (cache, abs) => {
60180
60132
  abs = cacheKeyNormalize(abs);
60181
- for (const path$64 of cache.keys()) {
60182
- const pnorm = cacheKeyNormalize(path$64);
60183
- if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) cache.delete(path$64);
60133
+ for (const path$63 of cache.keys()) {
60134
+ const pnorm = cacheKeyNormalize(path$63);
60135
+ if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) cache.delete(path$63);
60184
60136
  }
60185
60137
  };
60186
60138
  const dropCache = (cache) => {
@@ -60225,7 +60177,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60225
60177
  this.noMtime = !!opt.noMtime;
60226
60178
  this.preservePaths = !!opt.preservePaths;
60227
60179
  this.unlink = !!opt.unlink;
60228
- this.cwd = normPath(path$30.resolve(opt.cwd || process.cwd()));
60180
+ this.cwd = normPath(path$29.resolve(opt.cwd || process.cwd()));
60229
60181
  this.strip = +opt.strip || 0;
60230
60182
  this.processUmask = opt.noChmod ? 0 : process.umask();
60231
60183
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -60283,8 +60235,8 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60283
60235
  });
60284
60236
  }
60285
60237
  }
60286
- if (path$30.isAbsolute(entry.path)) entry.absolute = normPath(path$30.resolve(entry.path));
60287
- else entry.absolute = normPath(path$30.resolve(this.cwd, entry.path));
60238
+ if (path$29.isAbsolute(entry.path)) entry.absolute = normPath(path$29.resolve(entry.path));
60239
+ else entry.absolute = normPath(path$29.resolve(this.cwd, entry.path));
60288
60240
  /* istanbul ignore if - defense in depth */
60289
60241
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
60290
60242
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
@@ -60297,9 +60249,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60297
60249
  }
60298
60250
  if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir") return false;
60299
60251
  if (this.win32) {
60300
- const { root: aRoot } = path$30.win32.parse(entry.absolute);
60252
+ const { root: aRoot } = path$29.win32.parse(entry.absolute);
60301
60253
  entry.absolute = aRoot + wc.encode(entry.absolute.slice(aRoot.length));
60302
- const { root: pRoot } = path$30.win32.parse(entry.path);
60254
+ const { root: pRoot } = path$29.win32.parse(entry.path);
60303
60255
  entry.path = pRoot + wc.encode(entry.path.slice(pRoot.length));
60304
60256
  }
60305
60257
  return true;
@@ -60358,7 +60310,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60358
60310
  autoClose: false
60359
60311
  });
60360
60312
  stream.on("error", (er) => {
60361
- if (stream.fd) fs$26.close(stream.fd, () => {});
60313
+ if (stream.fd) fs$25.close(stream.fd, () => {});
60362
60314
  stream.write = () => true;
60363
60315
  this[ONERROR](er, entry);
60364
60316
  fullyDone();
@@ -60367,12 +60319,12 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60367
60319
  const done = (er) => {
60368
60320
  if (er) {
60369
60321
  /* istanbul ignore else - we should always have a fd by now */
60370
- if (stream.fd) fs$26.close(stream.fd, () => {});
60322
+ if (stream.fd) fs$25.close(stream.fd, () => {});
60371
60323
  this[ONERROR](er, entry);
60372
60324
  fullyDone();
60373
60325
  return;
60374
60326
  }
60375
- if (--actions === 0) fs$26.close(stream.fd, (er) => {
60327
+ if (--actions === 0) fs$25.close(stream.fd, (er) => {
60376
60328
  if (er) this[ONERROR](er, entry);
60377
60329
  else this[UNPEND]();
60378
60330
  fullyDone();
@@ -60385,13 +60337,13 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60385
60337
  actions++;
60386
60338
  const atime = entry.atime || /* @__PURE__ */ new Date();
60387
60339
  const mtime = entry.mtime;
60388
- fs$26.futimes(fd, atime, mtime, (er) => er ? fs$26.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
60340
+ fs$25.futimes(fd, atime, mtime, (er) => er ? fs$25.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
60389
60341
  }
60390
60342
  if (this[DOCHOWN](entry)) {
60391
60343
  actions++;
60392
60344
  const uid = this[UID](entry);
60393
60345
  const gid = this[GID](entry);
60394
- fs$26.fchown(fd, uid, gid, (er) => er ? fs$26.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
60346
+ fs$25.fchown(fd, uid, gid, (er) => er ? fs$25.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
60395
60347
  }
60396
60348
  done();
60397
60349
  });
@@ -60423,11 +60375,11 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60423
60375
  };
60424
60376
  if (entry.mtime && !this.noMtime) {
60425
60377
  actions++;
60426
- fs$26.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
60378
+ fs$25.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
60427
60379
  }
60428
60380
  if (this[DOCHOWN](entry)) {
60429
60381
  actions++;
60430
- fs$26.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
60382
+ fs$25.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
60431
60383
  }
60432
60384
  done();
60433
60385
  });
@@ -60441,7 +60393,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60441
60393
  this[LINK](entry, entry.linkpath, "symlink", done);
60442
60394
  }
60443
60395
  [HARDLINK](entry, done) {
60444
- const linkpath = normPath(path$30.resolve(this.cwd, entry.linkpath));
60396
+ const linkpath = normPath(path$29.resolve(this.cwd, entry.linkpath));
60445
60397
  this[LINK](entry, linkpath, "link", done);
60446
60398
  }
60447
60399
  [PEND]() {
@@ -60487,7 +60439,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60487
60439
  };
60488
60440
  const start = () => {
60489
60441
  if (entry.absolute !== this.cwd) {
60490
- const parent = normPath(path$30.dirname(entry.absolute));
60442
+ const parent = normPath(path$29.dirname(entry.absolute));
60491
60443
  if (parent !== this.cwd) return this[MKDIR](parent, this.dmode, (er) => {
60492
60444
  if (er) {
60493
60445
  this[ONERROR](er, entry);
@@ -60500,7 +60452,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60500
60452
  afterMakeParent();
60501
60453
  };
60502
60454
  const afterMakeParent = () => {
60503
- fs$26.lstat(entry.absolute, (lstatEr, st) => {
60455
+ fs$25.lstat(entry.absolute, (lstatEr, st) => {
60504
60456
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) {
60505
60457
  this[SKIP](entry);
60506
60458
  done();
@@ -60512,9 +60464,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60512
60464
  const needChmod = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode;
60513
60465
  const afterChmod = (er) => this[MAKEFS](er, entry, done);
60514
60466
  if (!needChmod) return afterChmod();
60515
- return fs$26.chmod(entry.absolute, entry.mode, afterChmod);
60467
+ return fs$25.chmod(entry.absolute, entry.mode, afterChmod);
60516
60468
  }
60517
- if (entry.absolute !== this.cwd) return fs$26.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
60469
+ if (entry.absolute !== this.cwd) return fs$25.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
60518
60470
  }
60519
60471
  if (entry.absolute === this.cwd) return this[MAKEFS](null, entry, done);
60520
60472
  unlinkFile(entry.absolute, (er) => this[MAKEFS](er, entry, done));
@@ -60540,7 +60492,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60540
60492
  }
60541
60493
  }
60542
60494
  [LINK](entry, linkpath, link, done) {
60543
- fs$26[link](linkpath, entry.absolute, (er) => {
60495
+ fs$25[link](linkpath, entry.absolute, (er) => {
60544
60496
  if (er) this[ONERROR](er, entry);
60545
60497
  else {
60546
60498
  this[UNPEND]();
@@ -60569,23 +60521,23 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60569
60521
  this[CHECKED_CWD] = true;
60570
60522
  }
60571
60523
  if (entry.absolute !== this.cwd) {
60572
- const parent = normPath(path$30.dirname(entry.absolute));
60524
+ const parent = normPath(path$29.dirname(entry.absolute));
60573
60525
  if (parent !== this.cwd) {
60574
60526
  const mkParent = this[MKDIR](parent, this.dmode);
60575
60527
  if (mkParent) return this[ONERROR](mkParent, entry);
60576
60528
  }
60577
60529
  }
60578
- const [lstatEr, st] = callSync(() => fs$26.lstatSync(entry.absolute));
60530
+ const [lstatEr, st] = callSync(() => fs$25.lstatSync(entry.absolute));
60579
60531
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) return this[SKIP](entry);
60580
60532
  if (lstatEr || this[ISREUSABLE](entry, st)) return this[MAKEFS](null, entry);
60581
60533
  if (st.isDirectory()) {
60582
60534
  if (entry.type === "Directory") {
60583
60535
  const [er] = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode ? callSync(() => {
60584
- fs$26.chmodSync(entry.absolute, entry.mode);
60536
+ fs$25.chmodSync(entry.absolute, entry.mode);
60585
60537
  }) : [];
60586
60538
  return this[MAKEFS](er, entry);
60587
60539
  }
60588
- const [er] = callSync(() => fs$26.rmdirSync(entry.absolute));
60540
+ const [er] = callSync(() => fs$25.rmdirSync(entry.absolute));
60589
60541
  this[MAKEFS](er, entry);
60590
60542
  }
60591
60543
  const [er] = entry.absolute === this.cwd ? [] : callSync(() => unlinkFileSync(entry.absolute));
@@ -60596,7 +60548,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60596
60548
  const oner = (er) => {
60597
60549
  let closeError;
60598
60550
  try {
60599
- fs$26.closeSync(fd);
60551
+ fs$25.closeSync(fd);
60600
60552
  } catch (e) {
60601
60553
  closeError = e;
60602
60554
  }
@@ -60605,7 +60557,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60605
60557
  };
60606
60558
  let fd;
60607
60559
  try {
60608
- fd = fs$26.openSync(entry.absolute, getFlag(entry.size), mode);
60560
+ fd = fs$25.openSync(entry.absolute, getFlag(entry.size), mode);
60609
60561
  } catch (er) {
60610
60562
  return oner(er);
60611
60563
  }
@@ -60616,7 +60568,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60616
60568
  }
60617
60569
  tx.on("data", (chunk) => {
60618
60570
  try {
60619
- fs$26.writeSync(fd, chunk, 0, chunk.length);
60571
+ fs$25.writeSync(fd, chunk, 0, chunk.length);
60620
60572
  } catch (er) {
60621
60573
  oner(er);
60622
60574
  }
@@ -60627,10 +60579,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60627
60579
  const atime = entry.atime || /* @__PURE__ */ new Date();
60628
60580
  const mtime = entry.mtime;
60629
60581
  try {
60630
- fs$26.futimesSync(fd, atime, mtime);
60582
+ fs$25.futimesSync(fd, atime, mtime);
60631
60583
  } catch (futimeser) {
60632
60584
  try {
60633
- fs$26.utimesSync(entry.absolute, atime, mtime);
60585
+ fs$25.utimesSync(entry.absolute, atime, mtime);
60634
60586
  } catch (utimeser) {
60635
60587
  er = futimeser;
60636
60588
  }
@@ -60640,10 +60592,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60640
60592
  const uid = this[UID](entry);
60641
60593
  const gid = this[GID](entry);
60642
60594
  try {
60643
- fs$26.fchownSync(fd, uid, gid);
60595
+ fs$25.fchownSync(fd, uid, gid);
60644
60596
  } catch (fchowner) {
60645
60597
  try {
60646
- fs$26.chownSync(entry.absolute, uid, gid);
60598
+ fs$25.chownSync(entry.absolute, uid, gid);
60647
60599
  } catch (chowner) {
60648
60600
  er = er || fchowner;
60649
60601
  }
@@ -60661,10 +60613,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60661
60613
  return;
60662
60614
  }
60663
60615
  if (entry.mtime && !this.noMtime) try {
60664
- fs$26.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
60616
+ fs$25.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
60665
60617
  } catch (er) {}
60666
60618
  if (this[DOCHOWN](entry)) try {
60667
- fs$26.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
60619
+ fs$25.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
60668
60620
  } catch (er) {}
60669
60621
  done();
60670
60622
  entry.resume();
@@ -60689,7 +60641,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60689
60641
  }
60690
60642
  [LINK](entry, linkpath, link, done) {
60691
60643
  try {
60692
- fs$26[link + "Sync"](linkpath, entry.absolute);
60644
+ fs$25[link + "Sync"](linkpath, entry.absolute);
60693
60645
  done();
60694
60646
  entry.resume();
60695
60647
  } catch (er) {
@@ -60705,9 +60657,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60705
60657
  var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
60706
60658
  const hlo = require_high_level_opt();
60707
60659
  const Unpack = require_unpack();
60708
- const fs$25 = require("fs");
60660
+ const fs$24 = require("fs");
60709
60661
  const fsm = require_fs_minipass();
60710
- const path$29 = require("path");
60662
+ const path$28 = require("path");
60711
60663
  const stripSlash = require_strip_trailing_slashes();
60712
60664
  module.exports = (opt_, files, cb) => {
60713
60665
  if (typeof opt_ === "function") cb = opt_, files = null, opt_ = {};
@@ -60725,8 +60677,8 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60725
60677
  const map = new Map(files.map((f) => [stripSlash(f), true]));
60726
60678
  const filter = opt.filter;
60727
60679
  const mapHas = (file, r) => {
60728
- const root = r || path$29.parse(file).root || ".";
60729
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$29.dirname(file), root);
60680
+ const root = r || path$28.parse(file).root || ".";
60681
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$28.dirname(file), root);
60730
60682
  map.set(file, ret);
60731
60683
  return ret;
60732
60684
  };
@@ -60735,7 +60687,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60735
60687
  const extractFileSync = (opt) => {
60736
60688
  const u = new Unpack.Sync(opt);
60737
60689
  const file = opt.file;
60738
- const stat = fs$25.statSync(file);
60690
+ const stat = fs$24.statSync(file);
60739
60691
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
60740
60692
  new fsm.ReadStreamSync(file, {
60741
60693
  readSize,
@@ -60749,7 +60701,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60749
60701
  const p = new Promise((resolve, reject) => {
60750
60702
  u.on("error", reject);
60751
60703
  u.on("close", resolve);
60752
- fs$25.stat(file, (er, stat) => {
60704
+ fs$24.stat(file, (er, stat) => {
60753
60705
  if (er) reject(er);
60754
60706
  else {
60755
60707
  const stream = new fsm.ReadStream(file, {
@@ -60832,7 +60784,7 @@ var require_pend = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
60832
60784
  //#endregion
60833
60785
  //#region ../../node_modules/fd-slicer/index.js
60834
60786
  var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
60835
- var fs$24 = require("fs");
60787
+ var fs$23 = require("fs");
60836
60788
  var util$9 = require("util");
60837
60789
  var stream$1 = require("stream");
60838
60790
  var Readable = stream$1.Readable;
@@ -60857,7 +60809,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60857
60809
  FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
60858
60810
  var self = this;
60859
60811
  self.pend.go(function(cb) {
60860
- fs$24.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
60812
+ fs$23.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
60861
60813
  cb();
60862
60814
  callback(err, bytesRead, buffer);
60863
60815
  });
@@ -60866,7 +60818,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60866
60818
  FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
60867
60819
  var self = this;
60868
60820
  self.pend.go(function(cb) {
60869
- fs$24.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
60821
+ fs$23.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
60870
60822
  cb();
60871
60823
  callback(err, written, buffer);
60872
60824
  });
@@ -60886,7 +60838,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60886
60838
  self.refCount -= 1;
60887
60839
  if (self.refCount > 0) return;
60888
60840
  if (self.refCount < 0) throw new Error("invalid unref");
60889
- if (self.autoClose) fs$24.close(self.fd, onCloseDone);
60841
+ if (self.autoClose) fs$23.close(self.fd, onCloseDone);
60890
60842
  function onCloseDone(err) {
60891
60843
  if (err) self.emit("error", err);
60892
60844
  else self.emit("close");
@@ -60917,7 +60869,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60917
60869
  self.context.pend.go(function(cb) {
60918
60870
  if (self.destroyed) return cb();
60919
60871
  var buffer = new Buffer(toRead);
60920
- fs$24.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
60872
+ fs$23.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
60921
60873
  if (err) self.destroy(err);
60922
60874
  else if (bytesRead === 0) {
60923
60875
  self.destroyed = true;
@@ -60963,7 +60915,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60963
60915
  }
60964
60916
  self.context.pend.go(function(cb) {
60965
60917
  if (self.destroyed) return cb();
60966
- fs$24.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
60918
+ fs$23.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
60967
60919
  if (err) {
60968
60920
  self.destroy();
60969
60921
  cb();
@@ -62545,13 +62497,13 @@ var require_minimatch$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62545
62497
  //#region ../../node_modules/readdir-glob/index.js
62546
62498
  var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
62547
62499
  module.exports = readdirGlob;
62548
- const fs$22 = require("fs");
62500
+ const fs$21 = require("fs");
62549
62501
  const { EventEmitter: EventEmitter$1 } = require("events");
62550
62502
  const { Minimatch } = require_minimatch$1();
62551
62503
  const { resolve: resolve$12 } = require("path");
62552
62504
  function readdir(dir, strict) {
62553
62505
  return new Promise((resolve, reject) => {
62554
- fs$22.readdir(dir, { withFileTypes: true }, (err, files) => {
62506
+ fs$21.readdir(dir, { withFileTypes: true }, (err, files) => {
62555
62507
  if (err) switch (err.code) {
62556
62508
  case "ENOTDIR":
62557
62509
  if (strict) reject(err);
@@ -62573,7 +62525,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62573
62525
  }
62574
62526
  function stat(file, followSymlinks) {
62575
62527
  return new Promise((resolve, reject) => {
62576
- (followSymlinks ? fs$22.stat : fs$22.lstat)(file, (err, stats) => {
62528
+ (followSymlinks ? fs$21.stat : fs$21.lstat)(file, (err, stats) => {
62577
62529
  if (err) switch (err.code) {
62578
62530
  case "ENOENT":
62579
62531
  if (followSymlinks) resolve(stat(file, false));
@@ -62587,8 +62539,8 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62587
62539
  });
62588
62540
  });
62589
62541
  }
62590
- async function* exploreWalkAsync(dir, path$59, followSymlinks, useStat, shouldSkip, strict) {
62591
- let files = await readdir(path$59 + dir, strict);
62542
+ async function* exploreWalkAsync(dir, path$58, followSymlinks, useStat, shouldSkip, strict) {
62543
+ let files = await readdir(path$58 + dir, strict);
62592
62544
  for (const file of files) {
62593
62545
  let name = file.name;
62594
62546
  if (name === void 0) {
@@ -62597,7 +62549,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62597
62549
  }
62598
62550
  const filename = dir + "/" + name;
62599
62551
  const relative = filename.slice(1);
62600
- const absolute = path$59 + "/" + relative;
62552
+ const absolute = path$58 + "/" + relative;
62601
62553
  let stats = null;
62602
62554
  if (useStat || followSymlinks) stats = await stat(absolute, followSymlinks);
62603
62555
  if (!stats && file.name !== void 0) stats = file;
@@ -62609,7 +62561,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62609
62561
  absolute,
62610
62562
  stats
62611
62563
  };
62612
- yield* exploreWalkAsync(filename, path$59, followSymlinks, useStat, shouldSkip, false);
62564
+ yield* exploreWalkAsync(filename, path$58, followSymlinks, useStat, shouldSkip, false);
62613
62565
  }
62614
62566
  } else yield {
62615
62567
  relative,
@@ -62618,8 +62570,8 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62618
62570
  };
62619
62571
  }
62620
62572
  }
62621
- async function* explore(path$60, followSymlinks, useStat, shouldSkip) {
62622
- yield* exploreWalkAsync("", path$60, followSymlinks, useStat, shouldSkip, true);
62573
+ async function* explore(path$59, followSymlinks, useStat, shouldSkip) {
62574
+ yield* exploreWalkAsync("", path$59, followSymlinks, useStat, shouldSkip, true);
62623
62575
  }
62624
62576
  function readOptions(options) {
62625
62577
  return {
@@ -68612,7 +68564,7 @@ var require_clone$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
68612
68564
  //#endregion
68613
68565
  //#region ../../node_modules/graceful-fs/graceful-fs.js
68614
68566
  var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
68615
- var fs$21 = require("fs");
68567
+ var fs$20 = require("fs");
68616
68568
  var polyfills = require_polyfills();
68617
68569
  var legacy = require_legacy_streams();
68618
68570
  var clone = require_clone$1();
@@ -68641,36 +68593,36 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
68641
68593
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
68642
68594
  console.error(m);
68643
68595
  };
68644
- if (!fs$21[gracefulQueue]) {
68645
- publishQueue(fs$21, global[gracefulQueue] || []);
68646
- fs$21.close = (function(fs$close) {
68596
+ if (!fs$20[gracefulQueue]) {
68597
+ publishQueue(fs$20, global[gracefulQueue] || []);
68598
+ fs$20.close = (function(fs$close) {
68647
68599
  function close(fd, cb) {
68648
- return fs$close.call(fs$21, fd, function(err) {
68600
+ return fs$close.call(fs$20, fd, function(err) {
68649
68601
  if (!err) resetQueue();
68650
68602
  if (typeof cb === "function") cb.apply(this, arguments);
68651
68603
  });
68652
68604
  }
68653
68605
  Object.defineProperty(close, previousSymbol, { value: fs$close });
68654
68606
  return close;
68655
- })(fs$21.close);
68656
- fs$21.closeSync = (function(fs$closeSync) {
68607
+ })(fs$20.close);
68608
+ fs$20.closeSync = (function(fs$closeSync) {
68657
68609
  function closeSync(fd) {
68658
- fs$closeSync.apply(fs$21, arguments);
68610
+ fs$closeSync.apply(fs$20, arguments);
68659
68611
  resetQueue();
68660
68612
  }
68661
68613
  Object.defineProperty(closeSync, previousSymbol, { value: fs$closeSync });
68662
68614
  return closeSync;
68663
- })(fs$21.closeSync);
68615
+ })(fs$20.closeSync);
68664
68616
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) process.on("exit", function() {
68665
- debug(fs$21[gracefulQueue]);
68666
- require("assert").equal(fs$21[gracefulQueue].length, 0);
68617
+ debug(fs$20[gracefulQueue]);
68618
+ require("assert").equal(fs$20[gracefulQueue].length, 0);
68667
68619
  });
68668
68620
  }
68669
- if (!global[gracefulQueue]) publishQueue(global, fs$21[gracefulQueue]);
68670
- module.exports = patch(clone(fs$21));
68671
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$21.__patched) {
68672
- module.exports = patch(fs$21);
68673
- fs$21.__patched = true;
68621
+ if (!global[gracefulQueue]) publishQueue(global, fs$20[gracefulQueue]);
68622
+ module.exports = patch(clone(fs$20));
68623
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$20.__patched) {
68624
+ module.exports = patch(fs$20);
68625
+ fs$20.__patched = true;
68674
68626
  }
68675
68627
  function patch(fs) {
68676
68628
  polyfills(fs);
@@ -68925,23 +68877,23 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
68925
68877
  }
68926
68878
  function enqueue(elem) {
68927
68879
  debug("ENQUEUE", elem[0].name, elem[1]);
68928
- fs$21[gracefulQueue].push(elem);
68880
+ fs$20[gracefulQueue].push(elem);
68929
68881
  retry();
68930
68882
  }
68931
68883
  var retryTimer;
68932
68884
  function resetQueue() {
68933
68885
  var now = Date.now();
68934
- for (var i = 0; i < fs$21[gracefulQueue].length; ++i) if (fs$21[gracefulQueue][i].length > 2) {
68935
- fs$21[gracefulQueue][i][3] = now;
68936
- fs$21[gracefulQueue][i][4] = now;
68886
+ for (var i = 0; i < fs$20[gracefulQueue].length; ++i) if (fs$20[gracefulQueue][i].length > 2) {
68887
+ fs$20[gracefulQueue][i][3] = now;
68888
+ fs$20[gracefulQueue][i][4] = now;
68937
68889
  }
68938
68890
  retry();
68939
68891
  }
68940
68892
  function retry() {
68941
68893
  clearTimeout(retryTimer);
68942
68894
  retryTimer = void 0;
68943
- if (fs$21[gracefulQueue].length === 0) return;
68944
- var elem = fs$21[gracefulQueue].shift();
68895
+ if (fs$20[gracefulQueue].length === 0) return;
68896
+ var elem = fs$20[gracefulQueue].shift();
68945
68897
  var fn = elem[0];
68946
68898
  var args = elem[1];
68947
68899
  var err = elem[2];
@@ -68960,7 +68912,7 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
68960
68912
  if (sinceAttempt >= Math.min(sinceStart * 1.2, 100)) {
68961
68913
  debug("RETRY", fn.name, args);
68962
68914
  fn.apply(null, args.concat([startTime]));
68963
- } else fs$21[gracefulQueue].push(elem);
68915
+ } else fs$20[gracefulQueue].push(elem);
68964
68916
  }
68965
68917
  if (retryTimer === void 0) retryTimer = setTimeout(retry, 0);
68966
68918
  }
@@ -84086,7 +84038,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84086
84038
  * https://github.com/archiverjs/node-archiver/blob/master/LICENSE-MIT
84087
84039
  */
84088
84040
  var fs = require_graceful_fs();
84089
- var path$28 = require("path");
84041
+ var path$27 = require("path");
84090
84042
  var flatten = require_flatten();
84091
84043
  var difference = require_difference();
84092
84044
  var union = require_union();
@@ -84106,7 +84058,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84106
84058
  return result;
84107
84059
  };
84108
84060
  file.exists = function() {
84109
- var filepath = path$28.join.apply(path$28, arguments);
84061
+ var filepath = path$27.join.apply(path$27, arguments);
84110
84062
  return fs.existsSync(filepath);
84111
84063
  };
84112
84064
  file.expand = function(...args) {
@@ -84117,7 +84069,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84117
84069
  return glob.sync(pattern, options);
84118
84070
  });
84119
84071
  if (options.filter) matches = matches.filter(function(filepath) {
84120
- filepath = path$28.join(options.cwd || "", filepath);
84072
+ filepath = path$27.join(options.cwd || "", filepath);
84121
84073
  try {
84122
84074
  if (typeof options.filter === "function") return options.filter(filepath);
84123
84075
  else return fs.statSync(filepath)[options.filter]();
@@ -84129,16 +84081,16 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84129
84081
  };
84130
84082
  file.expandMapping = function(patterns, destBase, options) {
84131
84083
  options = Object.assign({ rename: function(destBase, destPath) {
84132
- return path$28.join(destBase || "", destPath);
84084
+ return path$27.join(destBase || "", destPath);
84133
84085
  } }, options);
84134
84086
  var files = [];
84135
84087
  var fileByDest = {};
84136
84088
  file.expand(options, patterns).forEach(function(src) {
84137
84089
  var destPath = src;
84138
- if (options.flatten) destPath = path$28.basename(destPath);
84090
+ if (options.flatten) destPath = path$27.basename(destPath);
84139
84091
  if (options.ext) destPath = destPath.replace(/(\.[^\/]*)?$/, options.ext);
84140
84092
  var dest = options.rename(destBase, destPath, options);
84141
- if (options.cwd) src = path$28.join(options.cwd, src);
84093
+ if (options.cwd) src = path$27.join(options.cwd, src);
84142
84094
  dest = dest.replace(pathSeparatorRe, "/");
84143
84095
  src = src.replace(pathSeparatorRe, "/");
84144
84096
  if (fileByDest[dest]) fileByDest[dest].src.push(src);
@@ -84213,7 +84165,7 @@ var require_archiver_utils = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
84213
84165
  * https://github.com/archiverjs/archiver-utils/blob/master/LICENSE
84214
84166
  */
84215
84167
  var fs = require_graceful_fs();
84216
- var path$27 = require("path");
84168
+ var path$26 = require("path");
84217
84169
  var isStream = require_is_stream$1();
84218
84170
  var lazystream = require_lazystream();
84219
84171
  var normalizePath = require_normalize_path();
@@ -84289,11 +84241,11 @@ var require_archiver_utils = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
84289
84241
  (function next() {
84290
84242
  file = list[i++];
84291
84243
  if (!file) return callback(null, results);
84292
- filepath = path$27.join(dirpath, file);
84244
+ filepath = path$26.join(dirpath, file);
84293
84245
  fs.stat(filepath, function(err, stats) {
84294
84246
  results.push({
84295
84247
  path: filepath,
84296
- relative: path$27.relative(base, filepath).replace(/\\/g, "/"),
84248
+ relative: path$26.relative(base, filepath).replace(/\\/g, "/"),
84297
84249
  stats
84298
84250
  });
84299
84251
  if (stats && stats.isDirectory()) utils.walkdir(filepath, base, function(err, res) {
@@ -84357,10 +84309,10 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84357
84309
  * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
84358
84310
  * @copyright (c) 2012-2014 Chris Talkington, contributors.
84359
84311
  */
84360
- var fs$20 = require("fs");
84312
+ var fs$19 = require("fs");
84361
84313
  var glob = require_readdir_glob();
84362
84314
  var async = require_async();
84363
- var path$26 = require("path");
84315
+ var path$25 = require("path");
84364
84316
  var util = require_archiver_utils();
84365
84317
  var inherits$5 = require("util").inherits;
84366
84318
  var ArchiverError = require_error$10();
@@ -84434,7 +84386,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84434
84386
  data.sourcePath = filepath;
84435
84387
  task.data = data;
84436
84388
  this._entriesCount++;
84437
- if (data.stats && data.stats instanceof fs$20.Stats) {
84389
+ if (data.stats && data.stats instanceof fs$19.Stats) {
84438
84390
  task = this._updateQueueTaskWithStats(task, data.stats);
84439
84391
  if (task) {
84440
84392
  if (data.stats.size) this._fsEntriesTotalBytes += data.stats.size;
@@ -84664,7 +84616,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84664
84616
  callback();
84665
84617
  return;
84666
84618
  }
84667
- fs$20.lstat(task.filepath, function(err, stats) {
84619
+ fs$19.lstat(task.filepath, function(err, stats) {
84668
84620
  if (this._state.aborted) {
84669
84621
  setImmediate(callback);
84670
84622
  return;
@@ -84730,10 +84682,10 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84730
84682
  task.data.sourceType = "buffer";
84731
84683
  task.source = Buffer.concat([]);
84732
84684
  } else if (stats.isSymbolicLink() && this._moduleSupports("symlink")) {
84733
- var linkPath = fs$20.readlinkSync(task.filepath);
84734
- var dirName = path$26.dirname(task.filepath);
84685
+ var linkPath = fs$19.readlinkSync(task.filepath);
84686
+ var dirName = path$25.dirname(task.filepath);
84735
84687
  task.data.type = "symlink";
84736
- task.data.linkname = path$26.relative(dirName, path$26.resolve(dirName, linkPath));
84688
+ task.data.linkname = path$25.relative(dirName, path$25.resolve(dirName, linkPath));
84737
84689
  task.data.sourceType = "buffer";
84738
84690
  task.source = Buffer.concat([]);
84739
84691
  } else {
@@ -95758,7 +95710,7 @@ var require_index_min$3 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
95758
95710
  //#region ../../node_modules/@npmcli/promise-spawn/node_modules/which/lib/index.js
95759
95711
  var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
95760
95712
  const { isexe, sync: isexeSync } = require_index_min$3();
95761
- const { join: join$15, delimiter: delimiter$3, sep: sep$4, posix: posix$1 } = require("path");
95713
+ const { join: join$13, delimiter: delimiter$3, sep: sep$4, posix: posix$1 } = require("path");
95762
95714
  const isWindows = process.platform === "win32";
95763
95715
  /* istanbul ignore next */
95764
95716
  const rSlash = new RegExp(`[${posix$1.sep}${sep$4 === posix$1.sep ? "" : sep$4}]`.replace(/(\\)/g, "\\$1"));
@@ -95788,7 +95740,7 @@ var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
95788
95740
  };
95789
95741
  const getPathPart = (raw, cmd) => {
95790
95742
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
95791
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$15(pathPart, cmd);
95743
+ return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$13(pathPart, cmd);
95792
95744
  };
95793
95745
  const which = async (cmd, opt = {}) => {
95794
95746
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
@@ -96537,7 +96489,7 @@ var require_index_min$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
96537
96489
  //#region ../../node_modules/@npmcli/git/node_modules/which/lib/index.js
96538
96490
  var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
96539
96491
  const { isexe, sync: isexeSync } = require_index_min$2();
96540
- const { join: join$14, delimiter: delimiter$2, sep: sep$3, posix } = require("path");
96492
+ const { join: join$12, delimiter: delimiter$2, sep: sep$3, posix } = require("path");
96541
96493
  const isWindows = process.platform === "win32";
96542
96494
  /* istanbul ignore next */
96543
96495
  const rSlash = new RegExp(`[${posix.sep}${sep$3 === posix.sep ? "" : sep$3}]`.replace(/(\\)/g, "\\$1"));
@@ -96567,7 +96519,7 @@ var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
96567
96519
  };
96568
96520
  const getPathPart = (raw, cmd) => {
96569
96521
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
96570
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$14(pathPart, cmd);
96522
+ return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$12(pathPart, cmd);
96571
96523
  };
96572
96524
  const which = async (cmd, opt = {}) => {
96573
96525
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
@@ -98465,7 +98417,7 @@ var require_lib$22 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
98465
98417
  //#endregion
98466
98418
  //#region ../../node_modules/npm-normalize-package-bin/lib/index.js
98467
98419
  var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
98468
- const { join: join$13, basename: basename$4 } = require("path");
98420
+ const { join: join$11, basename: basename$4 } = require("path");
98469
98421
  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);
98470
98422
  const normalizeString = (pkg) => {
98471
98423
  if (!pkg.name) return removeBin(pkg);
@@ -98488,9 +98440,9 @@ var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
98488
98440
  const clean = {};
98489
98441
  let hasBins = false;
98490
98442
  Object.keys(orig).forEach((binKey) => {
98491
- const base = join$13("/", basename$4(binKey.replace(/\\|:/g, "/"))).slice(1);
98443
+ const base = join$11("/", basename$4(binKey.replace(/\\|:/g, "/"))).slice(1);
98492
98444
  if (typeof orig[binKey] !== "string" || !base) return;
98493
- const binTarget = join$13("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
98445
+ const binTarget = join$11("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
98494
98446
  if (!binTarget) return;
98495
98447
  clean[base] = binTarget;
98496
98448
  hasBins = true;
@@ -100563,7 +100515,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100563
100515
  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();
100564
100516
  const { constants: { errno: { EEXIST, EISDIR, EINVAL, ENOTDIR } } } = require("os");
100565
100517
  const { chmod: chmod$3, copyFile, lstat: lstat$2, mkdir: mkdir$8, readdir: readdir$6, readlink, stat: stat$5, symlink, unlink, utimes } = require("fs/promises");
100566
- const { dirname: dirname$9, isAbsolute: isAbsolute$2, join: join$12, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
100518
+ const { dirname: dirname$9, isAbsolute: isAbsolute$2, join: join$10, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
100567
100519
  const { fileURLToPath: fileURLToPath$1 } = require("url");
100568
100520
  const defaultOptions = {
100569
100521
  dereference: false,
@@ -100670,7 +100622,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100670
100622
  });
100671
100623
  return checkParentPaths(src, srcStat, destParent);
100672
100624
  }
100673
- const normalizePathToArray = (path$58) => resolve$10(path$58).split(sep$2).filter(Boolean);
100625
+ const normalizePathToArray = (path$57) => resolve$10(path$57).split(sep$2).filter(Boolean);
100674
100626
  function isSrcSubdir(src, dest) {
100675
100627
  const srcArr = normalizePathToArray(src);
100676
100628
  const destArr = normalizePathToArray(dest);
@@ -100772,8 +100724,8 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100772
100724
  const dir = await readdir$6(src);
100773
100725
  for (let i = 0; i < dir.length; i++) {
100774
100726
  const item = dir[i];
100775
- const srcItem = join$12(src, item);
100776
- const destItem = join$12(dest, item);
100727
+ const srcItem = join$10(src, item);
100728
+ const destItem = join$10(dest, item);
100777
100729
  const { destStat } = await checkPaths(srcItem, destItem, opts);
100778
100730
  await startCopy(destStat, srcItem, destItem, opts);
100779
100731
  }
@@ -100837,13 +100789,13 @@ var require_cp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
100837
100789
  //#endregion
100838
100790
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/with-temp-dir.js
100839
100791
  var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
100840
- const { join: join$11, sep: sep$1 } = require("path");
100792
+ const { join: join$9, sep: sep$1 } = require("path");
100841
100793
  const getOptions = require_get_options();
100842
- const { mkdir: mkdir$7, mkdtemp, rm: rm$7 } = require("fs/promises");
100794
+ const { mkdir: mkdir$7, mkdtemp, rm: rm$8 } = require("fs/promises");
100843
100795
  const withTempDir = async (root, fn, opts) => {
100844
100796
  const options = getOptions(opts, { copy: ["tmpPrefix"] });
100845
100797
  await mkdir$7(root, { recursive: true });
100846
- const target = await mkdtemp(join$11(`${root}${sep$1}`, options.tmpPrefix || ""));
100798
+ const target = await mkdtemp(join$9(`${root}${sep$1}`, options.tmpPrefix || ""));
100847
100799
  let err;
100848
100800
  let result;
100849
100801
  try {
@@ -100852,7 +100804,7 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
100852
100804
  err = _err;
100853
100805
  }
100854
100806
  try {
100855
- await rm$7(target, {
100807
+ await rm$8(target, {
100856
100808
  force: true,
100857
100809
  recursive: true
100858
100810
  });
@@ -100866,10 +100818,10 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
100866
100818
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/readdir-scoped.js
100867
100819
  var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
100868
100820
  const { readdir: readdir$5 } = require("fs/promises");
100869
- const { join: join$10 } = require("path");
100821
+ const { join: join$8 } = require("path");
100870
100822
  const readdirScoped = async (dir) => {
100871
100823
  const results = [];
100872
- 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));
100824
+ 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));
100873
100825
  else results.push(item);
100874
100826
  return results;
100875
100827
  };
@@ -100878,11 +100830,11 @@ var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
100878
100830
  //#endregion
100879
100831
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/move-file.js
100880
100832
  var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
100881
- const { dirname: dirname$8, join: join$9, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
100833
+ const { dirname: dirname$8, join: join$7, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
100882
100834
  const fs$12 = require("fs/promises");
100883
- const pathExists = async (path$57) => {
100835
+ const pathExists = async (path$56) => {
100884
100836
  try {
100885
- await fs$12.access(path$57);
100837
+ await fs$12.access(path$56);
100886
100838
  return true;
100887
100839
  } catch (er) {
100888
100840
  return er.code !== "ENOENT";
@@ -100903,7 +100855,7 @@ var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
100903
100855
  const sourceStat = await fs$12.lstat(source);
100904
100856
  if (sourceStat.isDirectory()) {
100905
100857
  const files = await fs$12.readdir(source);
100906
- await Promise.all(files.map((file) => moveFile(join$9(source, file), join$9(destination, file), options, false, symlinks)));
100858
+ await Promise.all(files.map((file) => moveFile(join$7(source, file), join$7(destination, file), options, false, symlinks)));
100907
100859
  } else if (sourceStat.isSymbolicLink()) symlinks.push({
100908
100860
  source,
100909
100861
  destination
@@ -101079,7 +101031,7 @@ var require_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
101079
101031
  //#region ../../node_modules/cacache/lib/entry-index.js
101080
101032
  var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101081
101033
  const crypto$1 = require("crypto");
101082
- const { appendFile, mkdir: mkdir$6, readFile: readFile$7, readdir: readdir$4, rm: rm$6, writeFile: writeFile$3 } = require("fs/promises");
101034
+ const { appendFile, mkdir: mkdir$6, readFile: readFile$7, readdir: readdir$4, rm: rm$7, writeFile: writeFile$3 } = require("fs/promises");
101083
101035
  const { Minipass } = require_commonjs$10();
101084
101036
  const path$17 = require("path");
101085
101037
  const ssri = require_lib$17();
@@ -101120,7 +101072,7 @@ var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
101120
101072
  };
101121
101073
  };
101122
101074
  const teardown = async (tmp) => {
101123
- if (!tmp.moved) return rm$6(tmp.target, {
101075
+ if (!tmp.moved) return rm$7(tmp.target, {
101124
101076
  recursive: true,
101125
101077
  force: true
101126
101078
  });
@@ -101176,7 +101128,7 @@ var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
101176
101128
  module.exports.delete = del;
101177
101129
  function del(cache, key, opts = {}) {
101178
101130
  if (!opts.removeFully) return insert(cache, key, null, opts);
101179
- return rm$6(bucketPath(cache, key), {
101131
+ return rm$7(bucketPath(cache, key), {
101180
101132
  recursive: true,
101181
101133
  force: true
101182
101134
  });
@@ -105938,7 +105890,7 @@ var require_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
105938
105890
  const { glob } = require_index_min$1();
105939
105891
  const path$15 = require("path");
105940
105892
  const globify = (pattern) => pattern.split(path$15.win32.sep).join(path$15.posix.sep);
105941
- module.exports = (path$56, options) => glob(globify(path$56), options);
105893
+ module.exports = (path$55, options) => glob(globify(path$55), options);
105942
105894
  }));
105943
105895
  //#endregion
105944
105896
  //#region ../../node_modules/cacache/lib/content/rm.js
@@ -105961,7 +105913,7 @@ var require_rm$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
105961
105913
  //#endregion
105962
105914
  //#region ../../node_modules/cacache/lib/rm.js
105963
105915
  var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
105964
- const { rm: rm$5 } = require("fs/promises");
105916
+ const { rm: rm$6 } = require("fs/promises");
105965
105917
  const glob = require_glob();
105966
105918
  const index = require_entry_index();
105967
105919
  const memo = require_memoization();
@@ -105985,7 +105937,7 @@ var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
105985
105937
  silent: true,
105986
105938
  nosort: true
105987
105939
  });
105988
- return Promise.all(paths.map((p) => rm$5(p, {
105940
+ return Promise.all(paths.map((p) => rm$6(p, {
105989
105941
  recursive: true,
105990
105942
  force: true
105991
105943
  })));
@@ -105994,7 +105946,7 @@ var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
105994
105946
  //#endregion
105995
105947
  //#region ../../node_modules/cacache/lib/verify.js
105996
105948
  var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
105997
- const { mkdir: mkdir$5, readFile: readFile$6, rm: rm$4, stat: stat$4, truncate, writeFile: writeFile$2 } = require("fs/promises");
105949
+ const { mkdir: mkdir$5, readFile: readFile$6, rm: rm$5, stat: stat$4, truncate, writeFile: writeFile$2 } = require("fs/promises");
105998
105950
  const contentPath = require_path();
105999
105951
  const fsm = require_lib$15();
106000
105952
  const glob = require_glob();
@@ -106091,7 +106043,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106091
106043
  } else {
106092
106044
  stats.reclaimedCount++;
106093
106045
  const s = await stat$4(f);
106094
- await rm$4(f, {
106046
+ await rm$5(f, {
106095
106047
  recursive: true,
106096
106048
  force: true
106097
106049
  });
@@ -106114,7 +106066,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106114
106066
  valid: false
106115
106067
  };
106116
106068
  if (err.code !== "EINTEGRITY") throw err;
106117
- await rm$4(filepath, {
106069
+ await rm$5(filepath, {
106118
106070
  recursive: true,
106119
106071
  force: true
106120
106072
  });
@@ -106175,7 +106127,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106175
106127
  }
106176
106128
  function cleanTmp(cache, opts) {
106177
106129
  opts.log.silly("verify", "cleaning tmp directory");
106178
- return rm$4(path$13.join(cache, "tmp"), {
106130
+ return rm$5(path$13.join(cache, "tmp"), {
106179
106131
  recursive: true,
106180
106132
  force: true
106181
106133
  });
@@ -106736,14 +106688,14 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106736
106688
  const { readFile: readFile$5, readdir: readdir$3, stat: stat$3 } = require("fs/promises");
106737
106689
  const { resolve: resolve$8, basename: basename$3, dirname: dirname$7 } = require("path");
106738
106690
  const normalizePackageBin = require_lib$21();
106739
- const readPackage = ({ path: path$52, packageJsonCache }) => packageJsonCache.has(path$52) ? Promise.resolve(packageJsonCache.get(path$52)) : readFile$5(path$52).then((json) => {
106691
+ const readPackage = ({ path: path$51, packageJsonCache }) => packageJsonCache.has(path$51) ? Promise.resolve(packageJsonCache.get(path$51)) : readFile$5(path$51).then((json) => {
106740
106692
  const pkg = normalizePackageBin(JSON.parse(json));
106741
- packageJsonCache.set(path$52, pkg);
106693
+ packageJsonCache.set(path$51, pkg);
106742
106694
  return pkg;
106743
106695
  }).catch(() => null);
106744
106696
  const normalized = Symbol("package data has been normalized");
106745
- const rpj = ({ path: path$53, packageJsonCache }) => readPackage({
106746
- path: path$53,
106697
+ const rpj = ({ path: path$52, packageJsonCache }) => readPackage({
106698
+ path: path$52,
106747
106699
  packageJsonCache
106748
106700
  }).then((pkg) => {
106749
106701
  if (!pkg || pkg[normalized]) return pkg;
@@ -106757,14 +106709,14 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106757
106709
  pkg[normalized] = true;
106758
106710
  return pkg;
106759
106711
  });
106760
- const pkgContents = async ({ path: path$54, depth = 1, currentDepth = 0, pkg = null, result = null, packageJsonCache = null }) => {
106712
+ const pkgContents = async ({ path: path$53, depth = 1, currentDepth = 0, pkg = null, result = null, packageJsonCache = null }) => {
106761
106713
  if (!result) result = /* @__PURE__ */ new Set();
106762
106714
  if (!packageJsonCache) packageJsonCache = /* @__PURE__ */ new Map();
106763
106715
  if (pkg === true) return rpj({
106764
- path: path$54 + "/package.json",
106716
+ path: path$53 + "/package.json",
106765
106717
  packageJsonCache
106766
106718
  }).then((p) => pkgContents({
106767
- path: path$54,
106719
+ path: path$53,
106768
106720
  depth,
106769
106721
  currentDepth,
106770
106722
  pkg: p,
@@ -106773,7 +106725,7 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106773
106725
  }));
106774
106726
  if (pkg) {
106775
106727
  if (pkg.bin) {
106776
- const dir = dirname$7(path$54);
106728
+ const dir = dirname$7(path$53);
106777
106729
  const scope = basename$3(dir);
106778
106730
  const nm = /^@.+/.test(scope) ? dirname$7(dir) : dir;
106779
106731
  const binFiles = [];
@@ -106785,21 +106737,21 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106785
106737
  }
106786
106738
  }
106787
106739
  if (currentDepth >= depth) {
106788
- result.add(path$54);
106740
+ result.add(path$53);
106789
106741
  return result;
106790
106742
  }
106791
- const [dirEntries, bundleDeps] = await Promise.all([readdir$3(path$54, { withFileTypes: true }), currentDepth === 0 && pkg && pkg.bundleDependencies ? bundled({
106792
- path: path$54,
106743
+ const [dirEntries, bundleDeps] = await Promise.all([readdir$3(path$53, { withFileTypes: true }), currentDepth === 0 && pkg && pkg.bundleDependencies ? bundled({
106744
+ path: path$53,
106793
106745
  packageJsonCache
106794
106746
  }) : null]).catch(() => []);
106795
106747
  if (!dirEntries) return result;
106796
106748
  if (!dirEntries.length && !bundleDeps && currentDepth !== 0) {
106797
- result.add(path$54);
106749
+ result.add(path$53);
106798
106750
  return result;
106799
106751
  }
106800
106752
  const recursePromises = [];
106801
106753
  for (const entry of dirEntries) {
106802
- const p = resolve$8(path$54, entry.name);
106754
+ const p = resolve$8(path$53, entry.name);
106803
106755
  if (entry.isDirectory() === false) {
106804
106756
  result.add(p);
106805
106757
  continue;
@@ -106818,7 +106770,7 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106818
106770
  }
106819
106771
  if (bundleDeps) recursePromises.push(...bundleDeps.map((dep) => {
106820
106772
  return pkgContents({
106821
- path: resolve$8(path$54, "node_modules", dep),
106773
+ path: resolve$8(path$53, "node_modules", dep),
106822
106774
  packageJsonCache,
106823
106775
  pkg: true,
106824
106776
  depth,
@@ -106829,8 +106781,8 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106829
106781
  if (recursePromises.length) await Promise.all(recursePromises);
106830
106782
  return result;
106831
106783
  };
106832
- module.exports = ({ path: path$55, ...opts }) => pkgContents({
106833
- path: resolve$8(path$55),
106784
+ module.exports = ({ path: path$54, ...opts }) => pkgContents({
106785
+ path: resolve$8(path$54),
106834
106786
  ...opts,
106835
106787
  pkg: true
106836
106788
  }).then((results) => [...results]);
@@ -112266,7 +112218,7 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
112266
112218
  var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
112267
112219
  const { Walker: IgnoreWalker } = require_lib$10();
112268
112220
  const { lstatSync: lstat$1, readFileSync: readFile$4 } = require("fs");
112269
- const { basename: basename$2, dirname: dirname$6, extname: extname$1, join: join$8, relative, resolve: resolve$6, sep } = require("path");
112221
+ const { basename: basename$2, dirname: dirname$6, extname: extname$1, join: join$6, relative, resolve: resolve$6, sep } = require("path");
112270
112222
  const { log } = require_lib$29();
112271
112223
  const defaultRules = Symbol("npm-packlist.rules.default");
112272
112224
  const strictRules = Symbol("npm-packlist.rules.strict");
@@ -112296,10 +112248,10 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112296
112248
  "/archived-packages/**"
112297
112249
  ];
112298
112250
  const strictDefaults = ["/.git"];
112299
- const normalizePath = (path$49) => path$49.split("\\").join("/");
112251
+ const normalizePath = (path$48) => path$48.split("\\").join("/");
112300
112252
  const readOutOfTreeIgnoreFiles = (root, rel, result = []) => {
112301
112253
  for (const file of [".npmignore", ".gitignore"]) try {
112302
- const ignoreContent = readFile$4(join$8(root, file), { encoding: "utf8" });
112254
+ const ignoreContent = readFile$4(join$6(root, file), { encoding: "utf8" });
112303
112255
  result.push(ignoreContent);
112304
112256
  break;
112305
112257
  } catch (err) {
@@ -112308,8 +112260,8 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112308
112260
  }
112309
112261
  if (!rel) return result;
112310
112262
  const firstRel = rel.split(sep, 1)[0];
112311
- const newRoot = join$8(root, firstRel);
112312
- return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$8(root, rel)), result);
112263
+ const newRoot = join$6(root, firstRel);
112264
+ return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$6(root, rel)), result);
112313
112265
  };
112314
112266
  var PackWalker = class PackWalker extends IgnoreWalker {
112315
112267
  constructor(tree, opts) {
@@ -112333,14 +112285,14 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112333
112285
  this.requiredFiles = options.requiredFiles || [];
112334
112286
  const additionalDefaults = [];
112335
112287
  if (options.prefix && options.workspaces) {
112336
- const path$50 = normalizePath(options.path);
112288
+ const path$49 = normalizePath(options.path);
112337
112289
  const prefix = normalizePath(options.prefix);
112338
112290
  const workspaces = options.workspaces.map((ws) => normalizePath(ws));
112339
112291
  // istanbul ignore else - this does nothing unless we need it to
112340
- if (path$50 !== prefix && workspaces.includes(path$50)) {
112292
+ if (path$49 !== prefix && workspaces.includes(path$49)) {
112341
112293
  const relpath = relative(options.prefix, dirname$6(options.path));
112342
112294
  additionalDefaults.push(...readOutOfTreeIgnoreFiles(options.prefix, relpath));
112343
- } else if (path$50 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
112295
+ } else if (path$49 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
112344
112296
  }
112345
112297
  this.injectRules(defaultRules, [...defaults, ...additionalDefaults]);
112346
112298
  if (!this.isPackage) this.injectRules(strictRules, [...strictDefaults, ...this.requiredFiles.map((file) => `!${file}`)]);
@@ -112376,7 +112328,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112376
112328
  let ignoreFiles = null;
112377
112329
  if (this.tree.workspaces) {
112378
112330
  const workspaceDirs = [...this.tree.workspaces.values()].map((dir) => dir.replace(/\\/g, "/"));
112379
- const entryPath = join$8(this.path, entry).replace(/\\/g, "/");
112331
+ const entryPath = join$6(this.path, entry).replace(/\\/g, "/");
112380
112332
  if (workspaceDirs.includes(entryPath)) ignoreFiles = [
112381
112333
  defaultRules,
112382
112334
  "package.json",
@@ -112436,7 +112388,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112436
112388
  if (file.endsWith("/*")) file += "*";
112437
112389
  const inverse = `!${file}`;
112438
112390
  try {
112439
- const stat = lstat$1(join$8(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
112391
+ const stat = lstat$1(join$6(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
112440
112392
  if (stat.isFile()) {
112441
112393
  strict.unshift(inverse);
112442
112394
  this.requiredFiles.push(file.startsWith("/") ? file.slice(1) : file);
@@ -112471,10 +112423,10 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112471
112423
  if (!edge || edge.peer || edge.dev) continue;
112472
112424
  const node = this.tree.edgesOut.get(dep).to;
112473
112425
  if (!node) continue;
112474
- const path$51 = node.path;
112426
+ const path$50 = node.path;
112475
112427
  const tree = node.target;
112476
112428
  const walkerOpts = {
112477
- path: path$51,
112429
+ path: path$50,
112478
112430
  isPackage: true,
112479
112431
  ignoreFiles: [],
112480
112432
  seen: this.seen
@@ -112493,7 +112445,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112493
112445
  walker.start();
112494
112446
  });
112495
112447
  const relativeFrom = relative(this.root, walker.path);
112496
- for (const file of bundled) this.result.add(join$8(relativeFrom, file).replace(/\\/g, "/"));
112448
+ for (const file of bundled) this.result.add(join$6(relativeFrom, file).replace(/\\/g, "/"));
112497
112449
  }
112498
112450
  }
112499
112451
  };
@@ -112551,7 +112503,7 @@ var require_make_spawn_args = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
112551
112503
  const { resolve: resolve$4 } = require("path");
112552
112504
  let npm_config_node_gyp;
112553
112505
  const makeSpawnArgs = (options) => {
112554
- const { args, binPaths, cmd, env, event, nodeGyp, path: path$48, scriptShell = true, stdio, stdioString } = options;
112506
+ const { args, binPaths, cmd, env, event, nodeGyp, path: path$47, scriptShell = true, stdio, stdioString } = options;
112555
112507
  if (nodeGyp) npm_config_node_gyp = nodeGyp;
112556
112508
  else if (env.npm_config_node_gyp) npm_config_node_gyp = env.npm_config_node_gyp;
112557
112509
  else npm_config_node_gyp = require.resolve("node-gyp/bin/node-gyp.js");
@@ -112559,17 +112511,17 @@ var require_make_spawn_args = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
112559
112511
  cmd,
112560
112512
  args,
112561
112513
  {
112562
- env: setPATH(path$48, binPaths, {
112514
+ env: setPATH(path$47, binPaths, {
112563
112515
  ...process.env,
112564
112516
  ...env,
112565
- npm_package_json: resolve$4(path$48, "package.json"),
112517
+ npm_package_json: resolve$4(path$47, "package.json"),
112566
112518
  npm_lifecycle_event: event,
112567
112519
  npm_lifecycle_script: cmd,
112568
112520
  npm_config_node_gyp
112569
112521
  }),
112570
112522
  stdioString,
112571
112523
  stdio,
112572
- cwd: path$48,
112524
+ cwd: path$47,
112573
112525
  shell: scriptShell
112574
112526
  }
112575
112527
  ];
@@ -141887,7 +141839,7 @@ var require_registry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
141887
141839
  //#region ../../node_modules/pacote/lib/fetcher.js
141888
141840
  var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
141889
141841
  const { basename: basename$1, dirname: dirname$4 } = require("node:path");
141890
- const { rm: rm$3, mkdir: mkdir$4 } = require("node:fs/promises");
141842
+ const { rm: rm$4, mkdir: mkdir$4 } = require("node:fs/promises");
141891
141843
  const PackageJson = require_lib$18();
141892
141844
  const cacache = require_lib$14();
141893
141845
  const fsm = require_lib$13();
@@ -142064,7 +142016,7 @@ var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
142064
142016
  return getContents({
142065
142017
  path,
142066
142018
  depth: 1
142067
- }).then((contents) => Promise.all(contents.map((entry) => rm$3(entry, {
142019
+ }).then((contents) => Promise.all(contents.map((entry) => rm$4(entry, {
142068
142020
  recursive: true,
142069
142021
  force: true
142070
142022
  }))));
@@ -149861,9 +149813,9 @@ var require_mime_types = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
149861
149813
  * @param {string} path
149862
149814
  * @return {boolean|string}
149863
149815
  */
149864
- function lookup(path$47) {
149865
- if (!path$47 || typeof path$47 !== "string") return false;
149866
- var extension = extname("x." + path$47).toLowerCase().substr(1);
149816
+ function lookup(path$46) {
149817
+ if (!path$46 || typeof path$46 !== "string") return false;
149818
+ var extension = extname("x." + path$46).toLowerCase().substr(1);
149867
149819
  if (!extension) return false;
149868
149820
  return exports.types[extension] || false;
149869
149821
  }
@@ -150969,7 +150921,7 @@ require_semver();
150969
150921
  require_lib();
150970
150922
  //#endregion
150971
150923
  //#region ../../packages/core-node/src/handler-func.ts
150972
- const { join: join$6 } = node_path.default;
150924
+ const { join: join$4 } = node_path.default;
150973
150925
  //#endregion
150974
150926
  //#region ../../packages/core-node/src/handlers/plugins.ts
150975
150927
  const localPluginsMap = /* @__PURE__ */ new Map();
@@ -155268,14 +155220,14 @@ var src_default = createNodeDefinition({
155268
155220
  node: createAction({
155269
155221
  id: "steam-upload",
155270
155222
  name: "Upload to Steam",
155271
- description: "Upload a folder to Steam",
155223
+ description: "Upload your build directory directly to the Steamworks platform.",
155272
155224
  icon: "",
155273
155225
  displayString: "`Upload ${fmt.param(params['folder'], 'primary')} to steam`",
155274
155226
  meta: {},
155275
155227
  params: {
155276
155228
  sdk: createPathParam("", {
155277
155229
  required: true,
155278
- label: "Steam Sdk path",
155230
+ label: "Steam SDK Folder",
155279
155231
  control: {
155280
155232
  type: "path",
155281
155233
  options: { properties: ["openDirectory"] }
@@ -155283,19 +155235,19 @@ var src_default = createNodeDefinition({
155283
155235
  }),
155284
155236
  username: createStringParam("", {
155285
155237
  required: true,
155286
- label: "Steam username"
155238
+ label: "Username"
155287
155239
  }),
155288
155240
  appId: createStringParam("", {
155289
155241
  required: true,
155290
- label: "App Id"
155242
+ label: "App ID"
155291
155243
  }),
155292
155244
  depotId: createStringParam("", {
155293
155245
  required: true,
155294
- label: "Depot Id"
155246
+ label: "Depot ID"
155295
155247
  }),
155296
155248
  description: createStringParam("", {
155297
155249
  required: true,
155298
- label: "Description"
155250
+ label: "Build Description"
155299
155251
  }),
155300
155252
  folder: createPathParam("", {
155301
155253
  required: true,
@@ -155469,7 +155421,7 @@ var src_default = createNodeDefinition({
155469
155421
  placeholder: "e.g., /home/user/steam-sdk"
155470
155422
  }]
155471
155423
  }, {
155472
- name: "Steam Credentials",
155424
+ name: "Steam Account",
155473
155425
  fields: [{
155474
155426
  key: "username",
155475
155427
  label: "Steam Username",