@pipelab/plugin-poki 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
@@ -2103,7 +2103,7 @@ const settingsMigratorInternal = createMigrator();
2103
2103
  const defaultAppSettings = settingsMigratorInternal.createDefault({
2104
2104
  locale: "en-US",
2105
2105
  theme: "light",
2106
- version: "8.0.0",
2106
+ version: "7.0.0",
2107
2107
  autosave: true,
2108
2108
  agents: [],
2109
2109
  tours: {
@@ -2116,11 +2116,6 @@ const defaultAppSettings = settingsMigratorInternal.createDefault({
2116
2116
  completed: false
2117
2117
  }
2118
2118
  },
2119
- buildHistory: { retentionPolicy: {
2120
- enabled: false,
2121
- maxEntries: 50,
2122
- maxAge: 30
2123
- } },
2124
2119
  plugins: DEFAULT_PLUGINS,
2125
2120
  isInternalMigrationBannerClosed: false
2126
2121
  });
@@ -2177,18 +2172,13 @@ settingsMigratorInternal.createMigrations({
2177
2172
  return {
2178
2173
  ...rest,
2179
2174
  agents: [],
2180
- buildHistory: { retentionPolicy: {
2181
- enabled: false,
2182
- maxEntries: 50,
2183
- maxAge: 30
2184
- } },
2185
2175
  plugins: DEFAULT_PLUGINS,
2186
2176
  isInternalMigrationBannerClosed: false
2187
2177
  };
2188
2178
  }
2189
2179
  }),
2190
2180
  createMigration({
2191
- version: "8.0.0",
2181
+ version: "7.0.0",
2192
2182
  up: finalVersion
2193
2183
  })
2194
2184
  ]
@@ -2207,7 +2197,7 @@ connectionsMigratorInternal.createMigrations({
2207
2197
  });
2208
2198
  const fileRepoMigratorInternal = createMigrator();
2209
2199
  const defaultFileRepo = fileRepoMigratorInternal.createDefault({
2210
- version: "2.0.0",
2200
+ version: "3.0.0",
2211
2201
  projects: [{
2212
2202
  id: "main",
2213
2203
  name: "Default project",
@@ -2217,30 +2207,39 @@ const defaultFileRepo = fileRepoMigratorInternal.createDefault({
2217
2207
  });
2218
2208
  fileRepoMigratorInternal.createMigrations({
2219
2209
  defaultValue: defaultFileRepo,
2220
- migrations: [createMigration({
2221
- version: "1.0.0",
2222
- up: (state) => {
2223
- const pipelines = Object.entries(state.data || {}).map(([id, file]) => {
2210
+ migrations: [
2211
+ createMigration({
2212
+ version: "1.0.0",
2213
+ up: (state) => {
2214
+ const pipelines = Object.entries(state.data || {}).map(([id, file]) => {
2215
+ return {
2216
+ ...file,
2217
+ id,
2218
+ project: "main"
2219
+ };
2220
+ });
2224
2221
  return {
2225
- ...file,
2226
- id,
2227
- project: "main"
2222
+ ...state,
2223
+ projects: [{
2224
+ id: "main",
2225
+ name: "Default project",
2226
+ description: "The initial default project"
2227
+ }],
2228
+ pipelines
2228
2229
  };
2229
- });
2230
- return {
2231
- ...state,
2232
- projects: [{
2233
- id: "main",
2234
- name: "Default project",
2235
- description: "The initial default project"
2236
- }],
2237
- pipelines
2238
- };
2239
- }
2240
- }), createMigration({
2241
- version: "2.0.0",
2242
- up: finalVersion
2243
- })]
2230
+ }
2231
+ }),
2232
+ createMigration({
2233
+ version: "2.0.0",
2234
+ up: (state) => {
2235
+ return { ...state };
2236
+ }
2237
+ }),
2238
+ createMigration({
2239
+ version: "3.0.0",
2240
+ up: finalVersion
2241
+ })
2242
+ ]
2244
2243
  });
2245
2244
  const savedFileMigratorInternal = createMigrator();
2246
2245
  const savedFileDefaultValue = savedFileMigratorInternal.createDefault({
@@ -2401,14 +2400,19 @@ object({
2401
2400
  version: literal("1.0.0"),
2402
2401
  data: optional(record(string(), SaveLocationValidator), {})
2403
2402
  });
2404
- const FileRepoProjectValidatorV2$1 = object({
2403
+ const FileRepoProjectValidatorV2 = object({
2405
2404
  id: string(),
2406
2405
  name: string(),
2407
2406
  description: string()
2408
2407
  });
2409
2408
  object({
2410
2409
  version: literal("2.0.0"),
2411
- projects: array(FileRepoProjectValidatorV2$1),
2410
+ projects: array(FileRepoProjectValidatorV2),
2411
+ pipelines: optional(array(SaveLocationValidator), [])
2412
+ });
2413
+ object({
2414
+ version: literal("3.0.0"),
2415
+ projects: array(FileRepoProjectValidatorV2),
2412
2416
  pipelines: optional(array(SaveLocationValidator), [])
2413
2417
  });
2414
2418
  object({
@@ -2517,44 +2521,6 @@ object({
2517
2521
  name: string(),
2518
2522
  url: string()
2519
2523
  })),
2520
- buildHistory: object({ retentionPolicy: object({
2521
- enabled: boolean(),
2522
- maxEntries: number(),
2523
- maxAge: number()
2524
- }) })
2525
- });
2526
- object({
2527
- theme: union([literal("light"), literal("dark")]),
2528
- version: literal("8.0.0"),
2529
- locale: union([
2530
- literal("en-US"),
2531
- literal("fr-FR"),
2532
- literal("pt-BR"),
2533
- literal("zh-CN"),
2534
- literal("es-ES"),
2535
- literal("de-DE")
2536
- ]),
2537
- tours: object({
2538
- dashboard: object({
2539
- step: number(),
2540
- completed: boolean()
2541
- }),
2542
- editor: object({
2543
- step: number(),
2544
- completed: boolean()
2545
- })
2546
- }),
2547
- autosave: boolean(),
2548
- agents: array(object({
2549
- id: string(),
2550
- name: string(),
2551
- url: string()
2552
- })),
2553
- buildHistory: object({ retentionPolicy: object({
2554
- enabled: boolean(),
2555
- maxEntries: number(),
2556
- maxAge: number()
2557
- }) }),
2558
2524
  plugins: array(object({
2559
2525
  name: string(),
2560
2526
  enabled: boolean(),
@@ -45418,20 +45384,6 @@ var WebSocketError = class extends Error {
45418
45384
  const isWebSocketRequestMessage = (message) => {
45419
45385
  return message && typeof message.channel === "string" && message.requestId;
45420
45386
  };
45421
- object({
45422
- version: literal("1.0.0"),
45423
- data: optional(record(string(), SaveLocationValidator), {})
45424
- });
45425
- const FileRepoProjectValidatorV2 = object({
45426
- id: string(),
45427
- name: string(),
45428
- description: string()
45429
- });
45430
- object({
45431
- version: literal("2.0.0"),
45432
- projects: array(FileRepoProjectValidatorV2),
45433
- pipelines: optional(array(SaveLocationValidator), [])
45434
- });
45435
45387
  //#endregion
45436
45388
  //#region ../../packages/constants/src/index.ts
45437
45389
  const websocketPort = 33753;
@@ -45454,6 +45406,11 @@ function findProjectRoot(startDir) {
45454
45406
  return null;
45455
45407
  }
45456
45408
  const projectRoot = findProjectRoot(_dirname);
45409
+ const CacheFolder = {
45410
+ Actions: "actions",
45411
+ Pipelines: "pipelines",
45412
+ Pacote: "pacote"
45413
+ };
45457
45414
  //#endregion
45458
45415
  //#region ../../packages/core-node/node_modules/ws/lib/constants.js
45459
45416
  var require_constants$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
@@ -49973,7 +49930,7 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
49973
49930
  var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
49974
49931
  module.exports = isexe;
49975
49932
  isexe.sync = sync;
49976
- var fs$38 = require("fs");
49933
+ var fs$37 = require("fs");
49977
49934
  function checkPathExt(path, options) {
49978
49935
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
49979
49936
  if (!pathext) return true;
@@ -49990,12 +49947,12 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
49990
49947
  return checkPathExt(path, options);
49991
49948
  }
49992
49949
  function isexe(path, options, cb) {
49993
- fs$38.stat(path, function(er, stat) {
49950
+ fs$37.stat(path, function(er, stat) {
49994
49951
  cb(er, er ? false : checkStat(stat, path, options));
49995
49952
  });
49996
49953
  }
49997
49954
  function sync(path, options) {
49998
- return checkStat(fs$38.statSync(path), path, options);
49955
+ return checkStat(fs$37.statSync(path), path, options);
49999
49956
  }
50000
49957
  }));
50001
49958
  //#endregion
@@ -50003,14 +49960,14 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50003
49960
  var require_mode = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50004
49961
  module.exports = isexe;
50005
49962
  isexe.sync = sync;
50006
- var fs$37 = require("fs");
49963
+ var fs$36 = require("fs");
50007
49964
  function isexe(path, options, cb) {
50008
- fs$37.stat(path, function(er, stat) {
49965
+ fs$36.stat(path, function(er, stat) {
50009
49966
  cb(er, er ? false : checkStat(stat, options));
50010
49967
  });
50011
49968
  }
50012
49969
  function sync(path, options) {
50013
- return checkStat(fs$37.statSync(path), options);
49970
+ return checkStat(fs$36.statSync(path), options);
50014
49971
  }
50015
49972
  function checkStat(stat, options) {
50016
49973
  return stat.isFile() && checkMode(stat, options);
@@ -50074,7 +50031,7 @@ var require_isexe = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
50074
50031
  //#region ../../node_modules/which/which.js
50075
50032
  var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50076
50033
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
50077
- const path$43 = require("path");
50034
+ const path$42 = require("path");
50078
50035
  const COLON = isWindows ? ";" : ":";
50079
50036
  const isexe = require_isexe();
50080
50037
  const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -50104,7 +50061,7 @@ var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50104
50061
  if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
50105
50062
  const ppRaw = pathEnv[i];
50106
50063
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
50107
- const pCmd = path$43.join(pathPart, cmd);
50064
+ const pCmd = path$42.join(pathPart, cmd);
50108
50065
  resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i, 0));
50109
50066
  });
50110
50067
  const subStep = (p, i, ii) => new Promise((resolve, reject) => {
@@ -50125,7 +50082,7 @@ var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50125
50082
  for (let i = 0; i < pathEnv.length; i++) {
50126
50083
  const ppRaw = pathEnv[i];
50127
50084
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
50128
- const pCmd = path$43.join(pathPart, cmd);
50085
+ const pCmd = path$42.join(pathPart, cmd);
50129
50086
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
50130
50087
  for (let j = 0; j < pathExt.length; j++) {
50131
50088
  const cur = p + pathExt[j];
@@ -50156,7 +50113,7 @@ var require_path_key = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
50156
50113
  //#endregion
50157
50114
  //#region ../../node_modules/cross-spawn/lib/util/resolveCommand.js
50158
50115
  var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50159
- const path$42 = require("path");
50116
+ const path$41 = require("path");
50160
50117
  const which = require_which$1();
50161
50118
  const getPathKey = require_path_key();
50162
50119
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -50171,12 +50128,12 @@ var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
50171
50128
  try {
50172
50129
  resolved = which.sync(parsed.command, {
50173
50130
  path: env[getPathKey({ env })],
50174
- pathExt: withoutPathExt ? path$42.delimiter : void 0
50131
+ pathExt: withoutPathExt ? path$41.delimiter : void 0
50175
50132
  });
50176
50133
  } catch (e) {} finally {
50177
50134
  if (shouldSwitchCwd) process.chdir(cwd);
50178
50135
  }
50179
- if (resolved) resolved = path$42.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
50136
+ if (resolved) resolved = path$41.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
50180
50137
  return resolved;
50181
50138
  }
50182
50139
  function resolveCommand(parsed) {
@@ -50225,16 +50182,16 @@ var require_shebang_command = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
50225
50182
  //#endregion
50226
50183
  //#region ../../node_modules/cross-spawn/lib/util/readShebang.js
50227
50184
  var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50228
- const fs$36 = require("fs");
50185
+ const fs$35 = require("fs");
50229
50186
  const shebangCommand = require_shebang_command();
50230
50187
  function readShebang(command) {
50231
50188
  const size = 150;
50232
50189
  const buffer = Buffer.alloc(size);
50233
50190
  let fd;
50234
50191
  try {
50235
- fd = fs$36.openSync(command, "r");
50236
- fs$36.readSync(fd, buffer, 0, size, 0);
50237
- fs$36.closeSync(fd);
50192
+ fd = fs$35.openSync(command, "r");
50193
+ fs$35.readSync(fd, buffer, 0, size, 0);
50194
+ fs$35.closeSync(fd);
50238
50195
  } catch (e) {}
50239
50196
  return shebangCommand(buffer.toString());
50240
50197
  }
@@ -50243,7 +50200,7 @@ var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
50243
50200
  //#endregion
50244
50201
  //#region ../../node_modules/cross-spawn/lib/parse.js
50245
50202
  var require_parse$5 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50246
- const path$41 = require("path");
50203
+ const path$40 = require("path");
50247
50204
  const resolveCommand = require_resolveCommand();
50248
50205
  const escape = require_escape$4();
50249
50206
  const readShebang = require_readShebang();
@@ -50266,7 +50223,7 @@ var require_parse$5 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50266
50223
  const needsShell = !isExecutableRegExp.test(commandFile);
50267
50224
  if (parsed.options.forceShell || needsShell) {
50268
50225
  const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
50269
- parsed.command = path$41.normalize(parsed.command);
50226
+ parsed.command = path$40.normalize(parsed.command);
50270
50227
  parsed.command = escape.command(parsed.command);
50271
50228
  parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
50272
50229
  parsed.args = [
@@ -56922,10 +56879,10 @@ var require_header = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
56922
56879
  if (!(buf.length >= off + 512)) throw new Error("need 512 bytes for header");
56923
56880
  const prefixSize = this.ctime || this.atime ? 130 : 155;
56924
56881
  const split = splitPrefix(this.path || "", prefixSize);
56925
- const path$94 = split[0];
56882
+ const path$93 = split[0];
56926
56883
  const prefix = split[1];
56927
56884
  this.needPax = split[2];
56928
- this.needPax = encString(buf, off, 100, path$94) || this.needPax;
56885
+ this.needPax = encString(buf, off, 100, path$93) || this.needPax;
56929
56886
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
56930
56887
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
56931
56888
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -57028,7 +56985,7 @@ var require_header = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57028
56985
  //#region ../../node_modules/tar/lib/pax.js
57029
56986
  var require_pax = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57030
56987
  const Header = require_header();
57031
- const path$35 = require("path");
56988
+ const path$34 = require("path");
57032
56989
  var Pax = class {
57033
56990
  constructor(obj, global) {
57034
56991
  this.atime = obj.atime || null;
@@ -57056,7 +57013,7 @@ var require_pax = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
57056
57013
  const buf = Buffer.allocUnsafe(bufLen);
57057
57014
  for (let i = 0; i < 512; i++) buf[i] = 0;
57058
57015
  new Header({
57059
- path: ("PaxHeader/" + path$35.basename(this.path)).slice(0, 99),
57016
+ path: ("PaxHeader/" + path$34.basename(this.path)).slice(0, 99),
57060
57017
  mode: this.mode || 420,
57061
57018
  uid: this.uid || null,
57062
57019
  gid: this.gid || null,
@@ -57159,16 +57116,16 @@ var require_winchars = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
57159
57116
  //#region ../../node_modules/tar/lib/strip-absolute-path.js
57160
57117
  var require_strip_absolute_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57161
57118
  const { isAbsolute: isAbsolute$3, parse: parse$3 } = require("path").win32;
57162
- module.exports = (path$93) => {
57119
+ module.exports = (path$92) => {
57163
57120
  let r = "";
57164
- let parsed = parse$3(path$93);
57165
- while (isAbsolute$3(path$93) || parsed.root) {
57166
- const root = path$93.charAt(0) === "/" && path$93.slice(0, 4) !== "//?/" ? "/" : parsed.root;
57167
- path$93 = path$93.slice(root.length);
57121
+ let parsed = parse$3(path$92);
57122
+ while (isAbsolute$3(path$92) || parsed.root) {
57123
+ const root = path$92.charAt(0) === "/" && path$92.slice(0, 4) !== "//?/" ? "/" : parsed.root;
57124
+ path$92 = path$92.slice(root.length);
57168
57125
  r += root;
57169
- parsed = parse$3(path$93);
57126
+ parsed = parse$3(path$92);
57170
57127
  }
57171
- return [r, path$93];
57128
+ return [r, path$92];
57172
57129
  };
57173
57130
  }));
57174
57131
  //#endregion
@@ -57191,14 +57148,14 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57191
57148
  const { Minipass } = require_minipass$4();
57192
57149
  const Pax = require_pax();
57193
57150
  const Header = require_header();
57194
- const fs$35 = require("fs");
57195
- const path$34 = require("path");
57151
+ const fs$34 = require("fs");
57152
+ const path$33 = require("path");
57196
57153
  const normPath = require_normalize_windows_path();
57197
57154
  const stripSlash = require_strip_trailing_slashes();
57198
- const prefixPath = (path$90, prefix) => {
57199
- if (!prefix) return normPath(path$90);
57200
- path$90 = normPath(path$90).replace(/^\.(\/|$)/, "");
57201
- return stripSlash(prefix) + "/" + path$90;
57155
+ const prefixPath = (path$89, prefix) => {
57156
+ if (!prefix) return normPath(path$89);
57157
+ path$89 = normPath(path$89).replace(/^\.(\/|$)/, "");
57158
+ return stripSlash(prefix) + "/" + path$89;
57202
57159
  };
57203
57160
  const maxReadSize = 16 * 1024 * 1024;
57204
57161
  const PROCESS = Symbol("process");
@@ -57265,7 +57222,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57265
57222
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
57266
57223
  p = p.replace(/\\/g, "/");
57267
57224
  }
57268
- this.absolute = normPath(opt.absolute || path$34.resolve(this.cwd, p));
57225
+ this.absolute = normPath(opt.absolute || path$33.resolve(this.cwd, p));
57269
57226
  if (this.path === "") this.path = "./";
57270
57227
  if (pathWarn) this.warn("TAR_ENTRY_INFO", `stripping ${pathWarn} from absolute path`, {
57271
57228
  entry: this,
@@ -57279,7 +57236,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57279
57236
  return super.emit(ev, ...data);
57280
57237
  }
57281
57238
  [LSTAT]() {
57282
- fs$35.lstat(this.absolute, (er, stat) => {
57239
+ fs$34.lstat(this.absolute, (er, stat) => {
57283
57240
  if (er) return this.emit("error", er);
57284
57241
  this[ONLSTAT](stat);
57285
57242
  });
@@ -57303,8 +57260,8 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57303
57260
  [MODE](mode) {
57304
57261
  return modeFix(mode, this.type === "Directory", this.portable);
57305
57262
  }
57306
- [PREFIX](path$91) {
57307
- return prefixPath(path$91, this.prefix);
57263
+ [PREFIX](path$90) {
57264
+ return prefixPath(path$90, this.prefix);
57308
57265
  }
57309
57266
  [HEADER]() {
57310
57267
  if (this.type === "Directory" && this.portable) this.noMtime = true;
@@ -57344,7 +57301,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57344
57301
  this.end();
57345
57302
  }
57346
57303
  [SYMLINK]() {
57347
- fs$35.readlink(this.absolute, (er, linkpath) => {
57304
+ fs$34.readlink(this.absolute, (er, linkpath) => {
57348
57305
  if (er) return this.emit("error", er);
57349
57306
  this[ONREADLINK](linkpath);
57350
57307
  });
@@ -57356,7 +57313,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57356
57313
  }
57357
57314
  [HARDLINK](linkpath) {
57358
57315
  this.type = "Link";
57359
- this.linkpath = normPath(path$34.relative(this.cwd, linkpath));
57316
+ this.linkpath = normPath(path$33.relative(this.cwd, linkpath));
57360
57317
  this.stat.size = 0;
57361
57318
  this[HEADER]();
57362
57319
  this.end();
@@ -57375,7 +57332,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57375
57332
  this[OPENFILE]();
57376
57333
  }
57377
57334
  [OPENFILE]() {
57378
- fs$35.open(this.absolute, "r", (er, fd) => {
57335
+ fs$34.open(this.absolute, "r", (er, fd) => {
57379
57336
  if (er) return this.emit("error", er);
57380
57337
  this[ONOPENFILE](fd);
57381
57338
  });
@@ -57395,13 +57352,13 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57395
57352
  }
57396
57353
  [READ]() {
57397
57354
  const { fd, buf, offset, length, pos } = this;
57398
- fs$35.read(fd, buf, offset, length, pos, (er, bytesRead) => {
57355
+ fs$34.read(fd, buf, offset, length, pos, (er, bytesRead) => {
57399
57356
  if (er) return this[CLOSE](() => this.emit("error", er));
57400
57357
  this[ONREAD](bytesRead);
57401
57358
  });
57402
57359
  }
57403
57360
  [CLOSE](cb) {
57404
- fs$35.close(this.fd, cb);
57361
+ fs$34.close(this.fd, cb);
57405
57362
  }
57406
57363
  [ONREAD](bytesRead) {
57407
57364
  if (bytesRead <= 0 && this.remain > 0) {
@@ -57457,19 +57414,19 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57457
57414
  });
57458
57415
  var WriteEntrySync = class extends WriteEntry {
57459
57416
  [LSTAT]() {
57460
- this[ONLSTAT](fs$35.lstatSync(this.absolute));
57417
+ this[ONLSTAT](fs$34.lstatSync(this.absolute));
57461
57418
  }
57462
57419
  [SYMLINK]() {
57463
- this[ONREADLINK](fs$35.readlinkSync(this.absolute));
57420
+ this[ONREADLINK](fs$34.readlinkSync(this.absolute));
57464
57421
  }
57465
57422
  [OPENFILE]() {
57466
- this[ONOPENFILE](fs$35.openSync(this.absolute, "r"));
57423
+ this[ONOPENFILE](fs$34.openSync(this.absolute, "r"));
57467
57424
  }
57468
57425
  [READ]() {
57469
57426
  let threw = true;
57470
57427
  try {
57471
57428
  const { fd, buf, offset, length, pos } = this;
57472
- const bytesRead = fs$35.readSync(fd, buf, offset, length, pos);
57429
+ const bytesRead = fs$34.readSync(fd, buf, offset, length, pos);
57473
57430
  this[ONREAD](bytesRead);
57474
57431
  threw = false;
57475
57432
  } finally {
@@ -57482,7 +57439,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57482
57439
  cb();
57483
57440
  }
57484
57441
  [CLOSE](cb) {
57485
- fs$35.closeSync(this.fd);
57442
+ fs$34.closeSync(this.fd);
57486
57443
  cb();
57487
57444
  }
57488
57445
  };
@@ -57555,8 +57512,8 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57555
57512
  super.write(this.header.block);
57556
57513
  readEntry.pipe(this);
57557
57514
  }
57558
- [PREFIX](path$92) {
57559
- return prefixPath(path$92, this.prefix);
57515
+ [PREFIX](path$91) {
57516
+ return prefixPath(path$91, this.prefix);
57560
57517
  }
57561
57518
  [MODE](mode) {
57562
57519
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -57840,8 +57797,8 @@ var require_yallist = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
57840
57797
  //#region ../../node_modules/tar/lib/pack.js
57841
57798
  var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57842
57799
  var PackJob = class {
57843
- constructor(path$86, absolute) {
57844
- this.path = path$86 || "./";
57800
+ constructor(path$85, absolute) {
57801
+ this.path = path$85 || "./";
57845
57802
  this.absolute = absolute;
57846
57803
  this.entry = null;
57847
57804
  this.stat = null;
@@ -57879,8 +57836,8 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57879
57836
  const WRITEENTRYCLASS = Symbol("writeEntryClass");
57880
57837
  const WRITE = Symbol("write");
57881
57838
  const ONDRAIN = Symbol("ondrain");
57882
- const fs$34 = require("fs");
57883
- const path$33 = require("path");
57839
+ const fs$33 = require("fs");
57840
+ const path$32 = require("path");
57884
57841
  const warner = require_warn_mixin();
57885
57842
  const normPath = require_normalize_windows_path();
57886
57843
  const Pack = warner(class Pack extends Minipass {
@@ -57932,24 +57889,24 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57932
57889
  [WRITE](chunk) {
57933
57890
  return super.write(chunk);
57934
57891
  }
57935
- add(path$87) {
57936
- this.write(path$87);
57892
+ add(path$86) {
57893
+ this.write(path$86);
57937
57894
  return this;
57938
57895
  }
57939
- end(path$88) {
57940
- if (path$88) this.write(path$88);
57896
+ end(path$87) {
57897
+ if (path$87) this.write(path$87);
57941
57898
  this[ENDED] = true;
57942
57899
  this[PROCESS]();
57943
57900
  return this;
57944
57901
  }
57945
- write(path$89) {
57902
+ write(path$88) {
57946
57903
  if (this[ENDED]) throw new Error("write after end");
57947
- if (path$89 instanceof ReadEntry) this[ADDTARENTRY](path$89);
57948
- else this[ADDFSENTRY](path$89);
57904
+ if (path$88 instanceof ReadEntry) this[ADDTARENTRY](path$88);
57905
+ else this[ADDFSENTRY](path$88);
57949
57906
  return this.flowing;
57950
57907
  }
57951
57908
  [ADDTARENTRY](p) {
57952
- const absolute = normPath(path$33.resolve(this.cwd, p.path));
57909
+ const absolute = normPath(path$32.resolve(this.cwd, p.path));
57953
57910
  if (!this.filter(p.path, p)) p.resume();
57954
57911
  else {
57955
57912
  const job = new PackJob(p.path, absolute, false);
@@ -57961,14 +57918,14 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57961
57918
  this[PROCESS]();
57962
57919
  }
57963
57920
  [ADDFSENTRY](p) {
57964
- const absolute = normPath(path$33.resolve(this.cwd, p));
57921
+ const absolute = normPath(path$32.resolve(this.cwd, p));
57965
57922
  this[QUEUE].push(new PackJob(p, absolute));
57966
57923
  this[PROCESS]();
57967
57924
  }
57968
57925
  [STAT](job) {
57969
57926
  job.pending = true;
57970
57927
  this[JOBS] += 1;
57971
- fs$34[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
57928
+ fs$33[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
57972
57929
  job.pending = false;
57973
57930
  this[JOBS] -= 1;
57974
57931
  if (er) this.emit("error", er);
@@ -57984,7 +57941,7 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57984
57941
  [READDIR](job) {
57985
57942
  job.pending = true;
57986
57943
  this[JOBS] += 1;
57987
- fs$34.readdir(job.absolute, (er, entries) => {
57944
+ fs$33.readdir(job.absolute, (er, entries) => {
57988
57945
  job.pending = false;
57989
57946
  this[JOBS] -= 1;
57990
57947
  if (er) return this.emit("error", er);
@@ -58102,10 +58059,10 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
58102
58059
  resume() {}
58103
58060
  [STAT](job) {
58104
58061
  const stat = this.follow ? "statSync" : "lstatSync";
58105
- this[ONSTAT](job, fs$34[stat](job.absolute));
58062
+ this[ONSTAT](job, fs$33[stat](job.absolute));
58106
58063
  }
58107
58064
  [READDIR](job, stat) {
58108
- this[ONREADDIR](job, fs$34.readdirSync(job.absolute));
58065
+ this[ONREADDIR](job, fs$33.readdirSync(job.absolute));
58109
58066
  }
58110
58067
  [PIPE](job) {
58111
58068
  const source = job.entry;
@@ -58561,8 +58518,8 @@ while (this[FLUSHCHUNK](this[BUFFERSHIFT]()));
58561
58518
  var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
58562
58519
  const MiniPass = require_minipass$2();
58563
58520
  const EE$11 = require("events").EventEmitter;
58564
- const fs$33 = require("fs");
58565
- let writev = fs$33.writev;
58521
+ const fs$32 = require("fs");
58522
+ let writev = fs$32.writev;
58566
58523
  /* istanbul ignore next */
58567
58524
  if (!writev) {
58568
58525
  const binding = process.binding("fs");
@@ -58633,7 +58590,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58633
58590
  throw new TypeError("this is a readable stream");
58634
58591
  }
58635
58592
  [_open]() {
58636
- fs$33.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
58593
+ fs$32.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
58637
58594
  }
58638
58595
  [_onopen](er, fd) {
58639
58596
  if (er) this[_onerror](er);
@@ -58652,7 +58609,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58652
58609
  const buf = this[_makeBuf]();
58653
58610
  /* istanbul ignore if */
58654
58611
  if (buf.length === 0) return process.nextTick(() => this[_onread](null, 0, buf));
58655
- fs$33.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
58612
+ fs$32.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
58656
58613
  }
58657
58614
  }
58658
58615
  [_onread](er, br, buf) {
@@ -58664,7 +58621,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58664
58621
  if (this[_autoClose] && typeof this[_fd] === "number") {
58665
58622
  const fd = this[_fd];
58666
58623
  this[_fd] = null;
58667
- fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58624
+ fs$32.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58668
58625
  }
58669
58626
  }
58670
58627
  [_onerror](er) {
@@ -58702,7 +58659,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58702
58659
  [_open]() {
58703
58660
  let threw = true;
58704
58661
  try {
58705
- this[_onopen](null, fs$33.openSync(this[_path], "r"));
58662
+ this[_onopen](null, fs$32.openSync(this[_path], "r"));
58706
58663
  threw = false;
58707
58664
  } finally {
58708
58665
  if (threw) this[_close]();
@@ -58716,7 +58673,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58716
58673
  do {
58717
58674
  const buf = this[_makeBuf]();
58718
58675
  /* istanbul ignore next */
58719
- const br = buf.length === 0 ? 0 : fs$33.readSync(this[_fd], buf, 0, buf.length, null);
58676
+ const br = buf.length === 0 ? 0 : fs$32.readSync(this[_fd], buf, 0, buf.length, null);
58720
58677
  if (!this[_handleChunk](br, buf)) break;
58721
58678
  } while (true);
58722
58679
  this[_reading] = false;
@@ -58730,7 +58687,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58730
58687
  if (this[_autoClose] && typeof this[_fd] === "number") {
58731
58688
  const fd = this[_fd];
58732
58689
  this[_fd] = null;
58733
- fs$33.closeSync(fd);
58690
+ fs$32.closeSync(fd);
58734
58691
  this.emit("close");
58735
58692
  }
58736
58693
  }
@@ -58775,7 +58732,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58775
58732
  this.emit("error", er);
58776
58733
  }
58777
58734
  [_open]() {
58778
- fs$33.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
58735
+ fs$32.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
58779
58736
  }
58780
58737
  [_onopen](er, fd) {
58781
58738
  if (this[_defaultFlag] && this[_flags] === "r+" && er && er.code === "ENOENT") {
@@ -58810,7 +58767,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58810
58767
  return true;
58811
58768
  }
58812
58769
  [_write](buf) {
58813
- fs$33.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
58770
+ fs$32.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
58814
58771
  }
58815
58772
  [_onwrite](er, bw) {
58816
58773
  if (er) this[_onerror](er);
@@ -58844,7 +58801,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58844
58801
  if (this[_autoClose] && typeof this[_fd] === "number") {
58845
58802
  const fd = this[_fd];
58846
58803
  this[_fd] = null;
58847
- fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58804
+ fs$32.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58848
58805
  }
58849
58806
  }
58850
58807
  };
@@ -58852,28 +58809,28 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58852
58809
  [_open]() {
58853
58810
  let fd;
58854
58811
  if (this[_defaultFlag] && this[_flags] === "r+") try {
58855
- fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
58812
+ fd = fs$32.openSync(this[_path], this[_flags], this[_mode]);
58856
58813
  } catch (er) {
58857
58814
  if (er.code === "ENOENT") {
58858
58815
  this[_flags] = "w";
58859
58816
  return this[_open]();
58860
58817
  } else throw er;
58861
58818
  }
58862
- else fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
58819
+ else fd = fs$32.openSync(this[_path], this[_flags], this[_mode]);
58863
58820
  this[_onopen](null, fd);
58864
58821
  }
58865
58822
  [_close]() {
58866
58823
  if (this[_autoClose] && typeof this[_fd] === "number") {
58867
58824
  const fd = this[_fd];
58868
58825
  this[_fd] = null;
58869
- fs$33.closeSync(fd);
58826
+ fs$32.closeSync(fd);
58870
58827
  this.emit("close");
58871
58828
  }
58872
58829
  }
58873
58830
  [_write](buf) {
58874
58831
  let threw = true;
58875
58832
  try {
58876
- this[_onwrite](null, fs$33.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
58833
+ this[_onwrite](null, fs$32.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
58877
58834
  threw = false;
58878
58835
  } finally {
58879
58836
  if (threw) try {
@@ -59238,9 +59195,9 @@ while (this[PROCESSENTRY](this[QUEUE].shift()));
59238
59195
  var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59239
59196
  const hlo = require_high_level_opt();
59240
59197
  const Parser = require_parse$4();
59241
- const fs$32 = require("fs");
59198
+ const fs$31 = require("fs");
59242
59199
  const fsm = require_fs_minipass();
59243
- const path$32 = require("path");
59200
+ const path$31 = require("path");
59244
59201
  const stripSlash = require_strip_trailing_slashes();
59245
59202
  module.exports = (opt_, files, cb) => {
59246
59203
  if (typeof opt_ === "function") cb = opt_, files = null, opt_ = {};
@@ -59266,8 +59223,8 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59266
59223
  const map = new Map(files.map((f) => [stripSlash(f), true]));
59267
59224
  const filter = opt.filter;
59268
59225
  const mapHas = (file, r) => {
59269
- const root = r || path$32.parse(file).root || ".";
59270
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$32.dirname(file), root);
59226
+ const root = r || path$31.parse(file).root || ".";
59227
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$31.dirname(file), root);
59271
59228
  map.set(file, ret);
59272
59229
  return ret;
59273
59230
  };
@@ -59279,15 +59236,15 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59279
59236
  let threw = true;
59280
59237
  let fd;
59281
59238
  try {
59282
- const stat = fs$32.statSync(file);
59239
+ const stat = fs$31.statSync(file);
59283
59240
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
59284
- if (stat.size < readSize) p.end(fs$32.readFileSync(file));
59241
+ if (stat.size < readSize) p.end(fs$31.readFileSync(file));
59285
59242
  else {
59286
59243
  let pos = 0;
59287
59244
  const buf = Buffer.allocUnsafe(readSize);
59288
- fd = fs$32.openSync(file, "r");
59245
+ fd = fs$31.openSync(file, "r");
59289
59246
  while (pos < stat.size) {
59290
- const bytesRead = fs$32.readSync(fd, buf, 0, readSize, pos);
59247
+ const bytesRead = fs$31.readSync(fd, buf, 0, readSize, pos);
59291
59248
  pos += bytesRead;
59292
59249
  p.write(buf.slice(0, bytesRead));
59293
59250
  }
@@ -59296,7 +59253,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59296
59253
  threw = false;
59297
59254
  } finally {
59298
59255
  if (threw && fd) try {
59299
- fs$32.closeSync(fd);
59256
+ fs$31.closeSync(fd);
59300
59257
  } catch (er) {}
59301
59258
  }
59302
59259
  };
@@ -59307,7 +59264,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59307
59264
  const p = new Promise((resolve, reject) => {
59308
59265
  parse.on("error", reject);
59309
59266
  parse.on("end", resolve);
59310
- fs$32.stat(file, (er, stat) => {
59267
+ fs$31.stat(file, (er, stat) => {
59311
59268
  if (er) reject(er);
59312
59269
  else {
59313
59270
  const stream = new fsm.ReadStream(file, {
@@ -59330,7 +59287,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59330
59287
  const Pack = require_pack$1();
59331
59288
  const fsm = require_fs_minipass();
59332
59289
  const t = require_list();
59333
- const path$31 = require("path");
59290
+ const path$30 = require("path");
59334
59291
  module.exports = (opt_, files, cb) => {
59335
59292
  if (typeof files === "function") cb = files;
59336
59293
  if (Array.isArray(opt_)) files = opt_, opt_ = {};
@@ -59362,7 +59319,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59362
59319
  const addFilesSync = (p, files) => {
59363
59320
  files.forEach((file) => {
59364
59321
  if (file.charAt(0) === "@") t({
59365
- file: path$31.resolve(p.cwd, file.slice(1)),
59322
+ file: path$30.resolve(p.cwd, file.slice(1)),
59366
59323
  sync: true,
59367
59324
  noResume: true,
59368
59325
  onentry: (entry) => p.add(entry)
@@ -59375,7 +59332,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59375
59332
  while (files.length) {
59376
59333
  const file = files.shift();
59377
59334
  if (file.charAt(0) === "@") return t({
59378
- file: path$31.resolve(p.cwd, file.slice(1)),
59335
+ file: path$30.resolve(p.cwd, file.slice(1)),
59379
59336
  noResume: true,
59380
59337
  onentry: (entry) => p.add(entry)
59381
59338
  }).then((_) => addFilesAsync(p, files));
@@ -59399,10 +59356,10 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59399
59356
  var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59400
59357
  const hlo = require_high_level_opt();
59401
59358
  const Pack = require_pack$1();
59402
- const fs$31 = require("fs");
59359
+ const fs$30 = require("fs");
59403
59360
  const fsm = require_fs_minipass();
59404
59361
  const t = require_list();
59405
- const path$30 = require("path");
59362
+ const path$29 = require("path");
59406
59363
  const Header = require_header();
59407
59364
  module.exports = (opt_, files, cb) => {
59408
59365
  const opt = hlo(opt_);
@@ -59419,16 +59376,16 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59419
59376
  let position;
59420
59377
  try {
59421
59378
  try {
59422
- fd = fs$31.openSync(opt.file, "r+");
59379
+ fd = fs$30.openSync(opt.file, "r+");
59423
59380
  } catch (er) {
59424
- if (er.code === "ENOENT") fd = fs$31.openSync(opt.file, "w+");
59381
+ if (er.code === "ENOENT") fd = fs$30.openSync(opt.file, "w+");
59425
59382
  else throw er;
59426
59383
  }
59427
- const st = fs$31.fstatSync(fd);
59384
+ const st = fs$30.fstatSync(fd);
59428
59385
  const headBuf = Buffer.alloc(512);
59429
59386
  POSITION: for (position = 0; position < st.size; position += 512) {
59430
59387
  for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
59431
- bytes = fs$31.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
59388
+ bytes = fs$30.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
59432
59389
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) throw new Error("cannot append to compressed archives");
59433
59390
  if (!bytes) break POSITION;
59434
59391
  }
@@ -59443,7 +59400,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59443
59400
  streamSync(opt, p, position, fd, files);
59444
59401
  } finally {
59445
59402
  if (threw) try {
59446
- fs$31.closeSync(fd);
59403
+ fs$30.closeSync(fd);
59447
59404
  } catch (er) {}
59448
59405
  }
59449
59406
  };
@@ -59460,7 +59417,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59460
59417
  const p = new Pack(opt);
59461
59418
  const getPos = (fd, size, cb_) => {
59462
59419
  const cb = (er, pos) => {
59463
- if (er) fs$31.close(fd, (_) => cb_(er));
59420
+ if (er) fs$30.close(fd, (_) => cb_(er));
59464
59421
  else cb_(null, pos);
59465
59422
  };
59466
59423
  let position = 0;
@@ -59470,7 +59427,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59470
59427
  const onread = (er, bytes) => {
59471
59428
  if (er) return cb(er);
59472
59429
  bufPos += bytes;
59473
- if (bufPos < 512 && bytes) return fs$31.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
59430
+ if (bufPos < 512 && bytes) return fs$30.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
59474
59431
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) return cb(/* @__PURE__ */ new Error("cannot append to compressed archives"));
59475
59432
  if (bufPos < 512) return cb(null, position);
59476
59433
  const h = new Header(headBuf);
@@ -59481,9 +59438,9 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59481
59438
  if (position >= size) return cb(null, position);
59482
59439
  if (opt.mtimeCache) opt.mtimeCache.set(h.path, h.mtime);
59483
59440
  bufPos = 0;
59484
- fs$31.read(fd, headBuf, 0, 512, position, onread);
59441
+ fs$30.read(fd, headBuf, 0, 512, position, onread);
59485
59442
  };
59486
- fs$31.read(fd, headBuf, 0, 512, position, onread);
59443
+ fs$30.read(fd, headBuf, 0, 512, position, onread);
59487
59444
  };
59488
59445
  const promise = new Promise((resolve, reject) => {
59489
59446
  p.on("error", reject);
@@ -59491,11 +59448,11 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59491
59448
  const onopen = (er, fd) => {
59492
59449
  if (er && er.code === "ENOENT" && flag === "r+") {
59493
59450
  flag = "w+";
59494
- return fs$31.open(opt.file, flag, onopen);
59451
+ return fs$30.open(opt.file, flag, onopen);
59495
59452
  }
59496
59453
  if (er) return reject(er);
59497
- fs$31.fstat(fd, (er, st) => {
59498
- if (er) return fs$31.close(fd, () => reject(er));
59454
+ fs$30.fstat(fd, (er, st) => {
59455
+ if (er) return fs$30.close(fd, () => reject(er));
59499
59456
  getPos(fd, st.size, (er, position) => {
59500
59457
  if (er) return reject(er);
59501
59458
  const stream = new fsm.WriteStream(opt.file, {
@@ -59509,14 +59466,14 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59509
59466
  });
59510
59467
  });
59511
59468
  };
59512
- fs$31.open(opt.file, flag, onopen);
59469
+ fs$30.open(opt.file, flag, onopen);
59513
59470
  });
59514
59471
  return cb ? promise.then(cb, cb) : promise;
59515
59472
  };
59516
59473
  const addFilesSync = (p, files) => {
59517
59474
  files.forEach((file) => {
59518
59475
  if (file.charAt(0) === "@") t({
59519
- file: path$30.resolve(p.cwd, file.slice(1)),
59476
+ file: path$29.resolve(p.cwd, file.slice(1)),
59520
59477
  sync: true,
59521
59478
  noResume: true,
59522
59479
  onentry: (entry) => p.add(entry)
@@ -59529,7 +59486,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59529
59486
  while (files.length) {
59530
59487
  const file = files.shift();
59531
59488
  if (file.charAt(0) === "@") return t({
59532
- file: path$30.resolve(p.cwd, file.slice(1)),
59489
+ file: path$29.resolve(p.cwd, file.slice(1)),
59533
59490
  noResume: true,
59534
59491
  onentry: (entry) => p.add(entry)
59535
59492
  }).then((_) => addFilesAsync(p, files));
@@ -59562,32 +59519,32 @@ var require_update = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59562
59519
  //#region ../../node_modules/mkdirp/lib/opts-arg.js
59563
59520
  var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59564
59521
  const { promisify: promisify$1 } = require("util");
59565
- const fs$30 = require("fs");
59522
+ const fs$29 = require("fs");
59566
59523
  const optsArg = (opts) => {
59567
59524
  if (!opts) opts = {
59568
59525
  mode: 511,
59569
- fs: fs$30
59526
+ fs: fs$29
59570
59527
  };
59571
59528
  else if (typeof opts === "object") opts = {
59572
59529
  mode: 511,
59573
- fs: fs$30,
59530
+ fs: fs$29,
59574
59531
  ...opts
59575
59532
  };
59576
59533
  else if (typeof opts === "number") opts = {
59577
59534
  mode: opts,
59578
- fs: fs$30
59535
+ fs: fs$29
59579
59536
  };
59580
59537
  else if (typeof opts === "string") opts = {
59581
59538
  mode: parseInt(opts, 8),
59582
- fs: fs$30
59539
+ fs: fs$29
59583
59540
  };
59584
59541
  else throw new TypeError("invalid options argument");
59585
- opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$30.mkdir;
59542
+ opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$29.mkdir;
59586
59543
  opts.mkdirAsync = promisify$1(opts.mkdir);
59587
- opts.stat = opts.stat || opts.fs.stat || fs$30.stat;
59544
+ opts.stat = opts.stat || opts.fs.stat || fs$29.stat;
59588
59545
  opts.statAsync = promisify$1(opts.stat);
59589
- opts.statSync = opts.statSync || opts.fs.statSync || fs$30.statSync;
59590
- opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$30.mkdirSync;
59546
+ opts.statSync = opts.statSync || opts.fs.statSync || fs$29.statSync;
59547
+ opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$29.mkdirSync;
59591
59548
  return opts;
59592
59549
  };
59593
59550
  module.exports = optsArg;
@@ -59597,21 +59554,21 @@ var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
59597
59554
  var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59598
59555
  const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
59599
59556
  const { resolve: resolve$13, parse: parse$2 } = require("path");
59600
- const pathArg = (path$85) => {
59601
- if (/\0/.test(path$85)) throw Object.assign(/* @__PURE__ */ new TypeError("path must be a string without null bytes"), {
59602
- path: path$85,
59557
+ const pathArg = (path$84) => {
59558
+ if (/\0/.test(path$84)) throw Object.assign(/* @__PURE__ */ new TypeError("path must be a string without null bytes"), {
59559
+ path: path$84,
59603
59560
  code: "ERR_INVALID_ARG_VALUE"
59604
59561
  });
59605
- path$85 = resolve$13(path$85);
59562
+ path$84 = resolve$13(path$84);
59606
59563
  if (platform === "win32") {
59607
59564
  const badWinChars = /[*|"<>?:]/;
59608
- const { root } = parse$2(path$85);
59609
- if (badWinChars.test(path$85.substr(root.length))) throw Object.assign(/* @__PURE__ */ new Error("Illegal characters in path."), {
59610
- path: path$85,
59565
+ const { root } = parse$2(path$84);
59566
+ if (badWinChars.test(path$84.substr(root.length))) throw Object.assign(/* @__PURE__ */ new Error("Illegal characters in path."), {
59567
+ path: path$84,
59611
59568
  code: "EINVAL"
59612
59569
  });
59613
59570
  }
59614
- return path$85;
59571
+ return path$84;
59615
59572
  };
59616
59573
  module.exports = pathArg;
59617
59574
  }));
@@ -59619,14 +59576,14 @@ var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
59619
59576
  //#region ../../node_modules/mkdirp/lib/find-made.js
59620
59577
  var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59621
59578
  const { dirname: dirname$14 } = require("path");
59622
- const findMade = (opts, parent, path$83 = void 0) => {
59623
- if (path$83 === parent) return Promise.resolve();
59624
- return opts.statAsync(parent).then((st) => st.isDirectory() ? path$83 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$14(parent), parent) : void 0);
59579
+ const findMade = (opts, parent, path$82 = void 0) => {
59580
+ if (path$82 === parent) return Promise.resolve();
59581
+ return opts.statAsync(parent).then((st) => st.isDirectory() ? path$82 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$14(parent), parent) : void 0);
59625
59582
  };
59626
- const findMadeSync = (opts, parent, path$84 = void 0) => {
59627
- if (path$84 === parent) return void 0;
59583
+ const findMadeSync = (opts, parent, path$83 = void 0) => {
59584
+ if (path$83 === parent) return void 0;
59628
59585
  try {
59629
- return opts.statSync(parent).isDirectory() ? path$84 : void 0;
59586
+ return opts.statSync(parent).isDirectory() ? path$83 : void 0;
59630
59587
  } catch (er) {
59631
59588
  return er.code === "ENOENT" ? findMadeSync(opts, dirname$14(parent), parent) : void 0;
59632
59589
  }
@@ -59640,16 +59597,16 @@ var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
59640
59597
  //#region ../../node_modules/mkdirp/lib/mkdirp-manual.js
59641
59598
  var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59642
59599
  const { dirname: dirname$13 } = require("path");
59643
- const mkdirpManual = (path$81, opts, made) => {
59600
+ const mkdirpManual = (path$80, opts, made) => {
59644
59601
  opts.recursive = false;
59645
- const parent = dirname$13(path$81);
59646
- if (parent === path$81) return opts.mkdirAsync(path$81, opts).catch((er) => {
59602
+ const parent = dirname$13(path$80);
59603
+ if (parent === path$80) return opts.mkdirAsync(path$80, opts).catch((er) => {
59647
59604
  if (er.code !== "EISDIR") throw er;
59648
59605
  });
59649
- return opts.mkdirAsync(path$81, opts).then(() => made || path$81, (er) => {
59650
- if (er.code === "ENOENT") return mkdirpManual(parent, opts).then((made) => mkdirpManual(path$81, opts, made));
59606
+ return opts.mkdirAsync(path$80, opts).then(() => made || path$80, (er) => {
59607
+ if (er.code === "ENOENT") return mkdirpManual(parent, opts).then((made) => mkdirpManual(path$80, opts, made));
59651
59608
  if (er.code !== "EEXIST" && er.code !== "EROFS") throw er;
59652
- return opts.statAsync(path$81).then((st) => {
59609
+ return opts.statAsync(path$80).then((st) => {
59653
59610
  if (st.isDirectory()) return made;
59654
59611
  else throw er;
59655
59612
  }, () => {
@@ -59657,23 +59614,23 @@ var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59657
59614
  });
59658
59615
  });
59659
59616
  };
59660
- const mkdirpManualSync = (path$82, opts, made) => {
59661
- const parent = dirname$13(path$82);
59617
+ const mkdirpManualSync = (path$81, opts, made) => {
59618
+ const parent = dirname$13(path$81);
59662
59619
  opts.recursive = false;
59663
- if (parent === path$82) try {
59664
- return opts.mkdirSync(path$82, opts);
59620
+ if (parent === path$81) try {
59621
+ return opts.mkdirSync(path$81, opts);
59665
59622
  } catch (er) {
59666
59623
  if (er.code !== "EISDIR") throw er;
59667
59624
  else return;
59668
59625
  }
59669
59626
  try {
59670
- opts.mkdirSync(path$82, opts);
59671
- return made || path$82;
59627
+ opts.mkdirSync(path$81, opts);
59628
+ return made || path$81;
59672
59629
  } catch (er) {
59673
- if (er.code === "ENOENT") return mkdirpManualSync(path$82, opts, mkdirpManualSync(parent, opts, made));
59630
+ if (er.code === "ENOENT") return mkdirpManualSync(path$81, opts, mkdirpManualSync(parent, opts, made));
59674
59631
  if (er.code !== "EEXIST" && er.code !== "EROFS") throw er;
59675
59632
  try {
59676
- if (!opts.statSync(path$82).isDirectory()) throw er;
59633
+ if (!opts.statSync(path$81).isDirectory()) throw er;
59677
59634
  } catch (_) {
59678
59635
  throw er;
59679
59636
  }
@@ -59690,23 +59647,23 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59690
59647
  const { dirname: dirname$12 } = require("path");
59691
59648
  const { findMade, findMadeSync } = require_find_made();
59692
59649
  const { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
59693
- const mkdirpNative = (path$79, opts) => {
59650
+ const mkdirpNative = (path$78, opts) => {
59694
59651
  opts.recursive = true;
59695
- if (dirname$12(path$79) === path$79) return opts.mkdirAsync(path$79, opts);
59696
- return findMade(opts, path$79).then((made) => opts.mkdirAsync(path$79, opts).then(() => made).catch((er) => {
59697
- if (er.code === "ENOENT") return mkdirpManual(path$79, opts);
59652
+ if (dirname$12(path$78) === path$78) return opts.mkdirAsync(path$78, opts);
59653
+ return findMade(opts, path$78).then((made) => opts.mkdirAsync(path$78, opts).then(() => made).catch((er) => {
59654
+ if (er.code === "ENOENT") return mkdirpManual(path$78, opts);
59698
59655
  else throw er;
59699
59656
  }));
59700
59657
  };
59701
- const mkdirpNativeSync = (path$80, opts) => {
59658
+ const mkdirpNativeSync = (path$79, opts) => {
59702
59659
  opts.recursive = true;
59703
- if (dirname$12(path$80) === path$80) return opts.mkdirSync(path$80, opts);
59704
- const made = findMadeSync(opts, path$80);
59660
+ if (dirname$12(path$79) === path$79) return opts.mkdirSync(path$79, opts);
59661
+ const made = findMadeSync(opts, path$79);
59705
59662
  try {
59706
- opts.mkdirSync(path$80, opts);
59663
+ opts.mkdirSync(path$79, opts);
59707
59664
  return made;
59708
59665
  } catch (er) {
59709
- if (er.code === "ENOENT") return mkdirpManualSync(path$80, opts);
59666
+ if (er.code === "ENOENT") return mkdirpManualSync(path$79, opts);
59710
59667
  else throw er;
59711
59668
  }
59712
59669
  };
@@ -59718,12 +59675,12 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59718
59675
  //#endregion
59719
59676
  //#region ../../node_modules/mkdirp/lib/use-native.js
59720
59677
  var require_use_native = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59721
- const fs$29 = require("fs");
59678
+ const fs$28 = require("fs");
59722
59679
  const versArr = (process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version).replace(/^v/, "").split(".");
59723
59680
  const hasNative = +versArr[0] > 10 || +versArr[0] === 10 && +versArr[1] >= 12;
59724
59681
  module.exports = {
59725
- useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$29.mkdir,
59726
- useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$29.mkdirSync
59682
+ useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$28.mkdir,
59683
+ useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$28.mkdirSync
59727
59684
  };
59728
59685
  }));
59729
59686
  //#endregion
@@ -59754,64 +59711,64 @@ var require_mkdirp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59754
59711
  //#endregion
59755
59712
  //#region ../../node_modules/chownr/chownr.js
59756
59713
  var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59757
- const fs$28 = require("fs");
59758
- const path$29 = require("path");
59714
+ const fs$27 = require("fs");
59715
+ const path$28 = require("path");
59759
59716
  /* istanbul ignore next */
59760
- const LCHOWN = fs$28.lchown ? "lchown" : "chown";
59717
+ const LCHOWN = fs$27.lchown ? "lchown" : "chown";
59761
59718
  /* istanbul ignore next */
59762
- const LCHOWNSYNC = fs$28.lchownSync ? "lchownSync" : "chownSync";
59719
+ const LCHOWNSYNC = fs$27.lchownSync ? "lchownSync" : "chownSync";
59763
59720
  /* istanbul ignore next */
59764
- const needEISDIRHandled = fs$28.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
59765
- const lchownSync = (path$71, uid, gid) => {
59721
+ const needEISDIRHandled = fs$27.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
59722
+ const lchownSync = (path$70, uid, gid) => {
59766
59723
  try {
59767
- return fs$28[LCHOWNSYNC](path$71, uid, gid);
59724
+ return fs$27[LCHOWNSYNC](path$70, uid, gid);
59768
59725
  } catch (er) {
59769
59726
  if (er.code !== "ENOENT") throw er;
59770
59727
  }
59771
59728
  };
59772
59729
  /* istanbul ignore next */
59773
- const chownSync = (path$72, uid, gid) => {
59730
+ const chownSync = (path$71, uid, gid) => {
59774
59731
  try {
59775
- return fs$28.chownSync(path$72, uid, gid);
59732
+ return fs$27.chownSync(path$71, uid, gid);
59776
59733
  } catch (er) {
59777
59734
  if (er.code !== "ENOENT") throw er;
59778
59735
  }
59779
59736
  };
59780
59737
  /* istanbul ignore next */
59781
- const handleEISDIR = needEISDIRHandled ? (path$73, uid, gid, cb) => (er) => {
59738
+ const handleEISDIR = needEISDIRHandled ? (path$72, uid, gid, cb) => (er) => {
59782
59739
  if (!er || er.code !== "EISDIR") cb(er);
59783
- else fs$28.chown(path$73, uid, gid, cb);
59740
+ else fs$27.chown(path$72, uid, gid, cb);
59784
59741
  } : (_, __, ___, cb) => cb;
59785
59742
  /* istanbul ignore next */
59786
- const handleEISDirSync = needEISDIRHandled ? (path$74, uid, gid) => {
59743
+ const handleEISDirSync = needEISDIRHandled ? (path$73, uid, gid) => {
59787
59744
  try {
59788
- return lchownSync(path$74, uid, gid);
59745
+ return lchownSync(path$73, uid, gid);
59789
59746
  } catch (er) {
59790
59747
  if (er.code !== "EISDIR") throw er;
59791
- chownSync(path$74, uid, gid);
59748
+ chownSync(path$73, uid, gid);
59792
59749
  }
59793
- } : (path$75, uid, gid) => lchownSync(path$75, uid, gid);
59750
+ } : (path$74, uid, gid) => lchownSync(path$74, uid, gid);
59794
59751
  const nodeVersion = process.version;
59795
- let readdir = (path$76, options, cb) => fs$28.readdir(path$76, options, cb);
59796
- let readdirSync = (path$77, options) => fs$28.readdirSync(path$77, options);
59752
+ let readdir = (path$75, options, cb) => fs$27.readdir(path$75, options, cb);
59753
+ let readdirSync = (path$76, options) => fs$27.readdirSync(path$76, options);
59797
59754
  /* istanbul ignore next */
59798
- if (/^v4\./.test(nodeVersion)) readdir = (path$78, options, cb) => fs$28.readdir(path$78, cb);
59755
+ if (/^v4\./.test(nodeVersion)) readdir = (path$77, options, cb) => fs$27.readdir(path$77, cb);
59799
59756
  const chown = (cpath, uid, gid, cb) => {
59800
- fs$28[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
59757
+ fs$27[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
59801
59758
  cb(er && er.code !== "ENOENT" ? er : null);
59802
59759
  }));
59803
59760
  };
59804
59761
  const chownrKid = (p, child, uid, gid, cb) => {
59805
- if (typeof child === "string") return fs$28.lstat(path$29.resolve(p, child), (er, stats) => {
59762
+ if (typeof child === "string") return fs$27.lstat(path$28.resolve(p, child), (er, stats) => {
59806
59763
  if (er) return cb(er.code !== "ENOENT" ? er : null);
59807
59764
  stats.name = child;
59808
59765
  chownrKid(p, stats, uid, gid, cb);
59809
59766
  });
59810
- if (child.isDirectory()) chownr(path$29.resolve(p, child.name), uid, gid, (er) => {
59767
+ if (child.isDirectory()) chownr(path$28.resolve(p, child.name), uid, gid, (er) => {
59811
59768
  if (er) return cb(er);
59812
- chown(path$29.resolve(p, child.name), uid, gid, cb);
59769
+ chown(path$28.resolve(p, child.name), uid, gid, cb);
59813
59770
  });
59814
- else chown(path$29.resolve(p, child.name), uid, gid, cb);
59771
+ else chown(path$28.resolve(p, child.name), uid, gid, cb);
59815
59772
  };
59816
59773
  const chownr = (p, uid, gid, cb) => {
59817
59774
  readdir(p, { withFileTypes: true }, (er, children) => {
@@ -59832,15 +59789,15 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59832
59789
  };
59833
59790
  const chownrKidSync = (p, child, uid, gid) => {
59834
59791
  if (typeof child === "string") try {
59835
- const stats = fs$28.lstatSync(path$29.resolve(p, child));
59792
+ const stats = fs$27.lstatSync(path$28.resolve(p, child));
59836
59793
  stats.name = child;
59837
59794
  child = stats;
59838
59795
  } catch (er) {
59839
59796
  if (er.code === "ENOENT") return;
59840
59797
  else throw er;
59841
59798
  }
59842
- if (child.isDirectory()) chownrSync(path$29.resolve(p, child.name), uid, gid);
59843
- handleEISDirSync(path$29.resolve(p, child.name), uid, gid);
59799
+ if (child.isDirectory()) chownrSync(path$28.resolve(p, child.name), uid, gid);
59800
+ handleEISDirSync(path$28.resolve(p, child.name), uid, gid);
59844
59801
  };
59845
59802
  const chownrSync = (p, uid, gid) => {
59846
59803
  let children;
@@ -59861,14 +59818,14 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59861
59818
  //#region ../../node_modules/tar/lib/mkdir.js
59862
59819
  var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59863
59820
  const mkdirp = require_mkdirp();
59864
- const fs$27 = require("fs");
59865
- const path$28 = require("path");
59821
+ const fs$26 = require("fs");
59822
+ const path$27 = require("path");
59866
59823
  const chownr = require_chownr();
59867
59824
  const normPath = require_normalize_windows_path();
59868
59825
  var SymlinkError = class extends Error {
59869
- constructor(symlink, path$69) {
59826
+ constructor(symlink, path$68) {
59870
59827
  super("Cannot extract through symbolic link");
59871
- this.path = path$69;
59828
+ this.path = path$68;
59872
59829
  this.symlink = symlink;
59873
59830
  }
59874
59831
  get name() {
@@ -59876,9 +59833,9 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59876
59833
  }
59877
59834
  };
59878
59835
  var CwdError = class extends Error {
59879
- constructor(path$70, code) {
59880
- super(code + ": Cannot cd into '" + path$70 + "'");
59881
- this.path = path$70;
59836
+ constructor(path$69, code) {
59837
+ super(code + ": Cannot cd into '" + path$69 + "'");
59838
+ this.path = path$69;
59882
59839
  this.code = code;
59883
59840
  }
59884
59841
  get name() {
@@ -59888,7 +59845,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59888
59845
  const cGet = (cache, key) => cache.get(normPath(key));
59889
59846
  const cSet = (cache, key, val) => cache.set(normPath(key), val);
59890
59847
  const checkCwd = (dir, cb) => {
59891
- fs$27.stat(dir, (er, st) => {
59848
+ fs$26.stat(dir, (er, st) => {
59892
59849
  if (er || !st.isDirectory()) er = new CwdError(dir, er && er.code || "ENOTDIR");
59893
59850
  cb(er);
59894
59851
  });
@@ -59910,31 +59867,31 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59910
59867
  else {
59911
59868
  cSet(cache, dir, true);
59912
59869
  if (created && doChown) chownr(created, uid, gid, (er) => done(er));
59913
- else if (needChmod) fs$27.chmod(dir, mode, cb);
59870
+ else if (needChmod) fs$26.chmod(dir, mode, cb);
59914
59871
  else cb();
59915
59872
  }
59916
59873
  };
59917
59874
  if (cache && cGet(cache, dir) === true) return done();
59918
59875
  if (dir === cwd) return checkCwd(dir, done);
59919
59876
  if (preserve) return mkdirp(dir, { mode }).then((made) => done(null, made), done);
59920
- mkdir_(cwd, normPath(path$28.relative(cwd, dir)).split("/"), mode, cache, unlink, cwd, null, done);
59877
+ mkdir_(cwd, normPath(path$27.relative(cwd, dir)).split("/"), mode, cache, unlink, cwd, null, done);
59921
59878
  };
59922
59879
  const mkdir_ = (base, parts, mode, cache, unlink, cwd, created, cb) => {
59923
59880
  if (!parts.length) return cb(null, created);
59924
59881
  const p = parts.shift();
59925
- const part = normPath(path$28.resolve(base + "/" + p));
59882
+ const part = normPath(path$27.resolve(base + "/" + p));
59926
59883
  if (cGet(cache, part)) return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
59927
- fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59884
+ fs$26.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59928
59885
  };
59929
59886
  const onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => (er) => {
59930
- if (er) fs$27.lstat(part, (statEr, st) => {
59887
+ if (er) fs$26.lstat(part, (statEr, st) => {
59931
59888
  if (statEr) {
59932
59889
  statEr.path = statEr.path && normPath(statEr.path);
59933
59890
  cb(statEr);
59934
59891
  } else if (st.isDirectory()) mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
59935
- else if (unlink) fs$27.unlink(part, (er) => {
59892
+ else if (unlink) fs$26.unlink(part, (er) => {
59936
59893
  if (er) return cb(er);
59937
- fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59894
+ fs$26.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59938
59895
  });
59939
59896
  else if (st.isSymbolicLink()) return cb(new SymlinkError(part, part + "/" + parts.join("/")));
59940
59897
  else cb(er);
@@ -59948,7 +59905,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59948
59905
  let ok = false;
59949
59906
  let code = "ENOTDIR";
59950
59907
  try {
59951
- ok = fs$27.statSync(dir).isDirectory();
59908
+ ok = fs$26.statSync(dir).isDirectory();
59952
59909
  } catch (er) {
59953
59910
  code = er.code;
59954
59911
  } finally {
@@ -59970,7 +59927,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59970
59927
  const done = (created) => {
59971
59928
  cSet(cache, dir, true);
59972
59929
  if (created && doChown) chownr.sync(created, uid, gid);
59973
- if (needChmod) fs$27.chmodSync(dir, mode);
59930
+ if (needChmod) fs$26.chmodSync(dir, mode);
59974
59931
  };
59975
59932
  if (cache && cGet(cache, dir) === true) return done();
59976
59933
  if (dir === cwd) {
@@ -59978,23 +59935,23 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59978
59935
  return done();
59979
59936
  }
59980
59937
  if (preserve) return done(mkdirp.sync(dir, mode));
59981
- const parts = normPath(path$28.relative(cwd, dir)).split("/");
59938
+ const parts = normPath(path$27.relative(cwd, dir)).split("/");
59982
59939
  let created = null;
59983
59940
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
59984
- part = normPath(path$28.resolve(part));
59941
+ part = normPath(path$27.resolve(part));
59985
59942
  if (cGet(cache, part)) continue;
59986
59943
  try {
59987
- fs$27.mkdirSync(part, mode);
59944
+ fs$26.mkdirSync(part, mode);
59988
59945
  created = created || part;
59989
59946
  cSet(cache, part, true);
59990
59947
  } catch (er) {
59991
- const st = fs$27.lstatSync(part);
59948
+ const st = fs$26.lstatSync(part);
59992
59949
  if (st.isDirectory()) {
59993
59950
  cSet(cache, part, true);
59994
59951
  continue;
59995
59952
  } else if (unlink) {
59996
- fs$27.unlinkSync(part);
59997
- fs$27.mkdirSync(part, mode);
59953
+ fs$26.unlinkSync(part);
59954
+ fs$26.mkdirSync(part, mode);
59998
59955
  created = created || part;
59999
59956
  cSet(cache, part, true);
60000
59957
  continue;
@@ -60020,15 +59977,15 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60020
59977
  const assert$1 = require("assert");
60021
59978
  const normalize = require_normalize_unicode();
60022
59979
  const stripSlashes = require_strip_trailing_slashes();
60023
- const { join: join$18 } = require("path");
59980
+ const { join: join$16 } = require("path");
60024
59981
  const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
60025
59982
  module.exports = () => {
60026
59983
  const queues = /* @__PURE__ */ new Map();
60027
59984
  const reservations = /* @__PURE__ */ new Map();
60028
- const getDirs = (path$62) => {
60029
- return path$62.split("/").slice(0, -1).reduce((set, path$63) => {
60030
- if (set.length) path$63 = join$18(set[set.length - 1], path$63);
60031
- set.push(path$63 || "/");
59985
+ const getDirs = (path$61) => {
59986
+ return path$61.split("/").slice(0, -1).reduce((set, path$62) => {
59987
+ if (set.length) path$62 = join$16(set[set.length - 1], path$62);
59988
+ set.push(path$62 || "/");
60032
59989
  return set;
60033
59990
  }, []);
60034
59991
  };
@@ -60038,8 +59995,8 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60038
59995
  /* istanbul ignore if - unpossible */
60039
59996
  if (!res) throw new Error("function does not have any path reservations");
60040
59997
  return {
60041
- paths: res.paths.map((path$64) => queues.get(path$64)),
60042
- dirs: [...res.dirs].map((path$65) => queues.get(path$65))
59998
+ paths: res.paths.map((path$63) => queues.get(path$63)),
59999
+ dirs: [...res.dirs].map((path$64) => queues.get(path$64))
60043
60000
  };
60044
60001
  };
60045
60002
  const check = (fn) => {
@@ -60056,10 +60013,10 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60056
60013
  if (!running.has(fn)) return false;
60057
60014
  const { paths, dirs } = reservations.get(fn);
60058
60015
  const next = /* @__PURE__ */ new Set();
60059
- paths.forEach((path$66) => {
60060
- const q = queues.get(path$66);
60016
+ paths.forEach((path$65) => {
60017
+ const q = queues.get(path$65);
60061
60018
  assert$1.equal(q[0], fn);
60062
- if (q.length === 1) queues.delete(path$66);
60019
+ if (q.length === 1) queues.delete(path$65);
60063
60020
  else {
60064
60021
  q.shift();
60065
60022
  if (typeof q[0] === "function") next.add(q[0]);
@@ -60081,16 +60038,16 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60081
60038
  };
60082
60039
  const reserve = (paths, fn) => {
60083
60040
  paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p) => {
60084
- return stripSlashes(join$18(normalize(p))).toLowerCase();
60041
+ return stripSlashes(join$16(normalize(p))).toLowerCase();
60085
60042
  });
60086
- const dirs = new Set(paths.map((path$67) => getDirs(path$67)).reduce((a, b) => a.concat(b)));
60043
+ const dirs = new Set(paths.map((path$66) => getDirs(path$66)).reduce((a, b) => a.concat(b)));
60087
60044
  reservations.set(fn, {
60088
60045
  dirs,
60089
60046
  paths
60090
60047
  });
60091
- paths.forEach((path$68) => {
60092
- const q = queues.get(path$68);
60093
- if (!q) queues.set(path$68, [fn]);
60048
+ paths.forEach((path$67) => {
60049
+ const q = queues.get(path$67);
60050
+ if (!q) queues.set(path$67, [fn]);
60094
60051
  else q.push(fn);
60095
60052
  });
60096
60053
  dirs.forEach((dir) => {
@@ -60123,9 +60080,9 @@ var require_get_write_flag = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
60123
60080
  var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
60124
60081
  const assert = require("assert");
60125
60082
  const Parser = require_parse$4();
60126
- const fs$26 = require("fs");
60083
+ const fs$25 = require("fs");
60127
60084
  const fsm = require_fs_minipass();
60128
- const path$27 = require("path");
60085
+ const path$26 = require("path");
60129
60086
  const mkdir = require_mkdir();
60130
60087
  const wc = require_winchars();
60131
60088
  const pathReservations = require_path_reservations();
@@ -60163,28 +60120,28 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60163
60120
  const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
60164
60121
  const DEFAULT_MAX_DEPTH = 1024;
60165
60122
  /* istanbul ignore next */
60166
- const unlinkFile = (path$58, cb) => {
60167
- if (!isWindows) return fs$26.unlink(path$58, cb);
60168
- const name = path$58 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60169
- fs$26.rename(path$58, name, (er) => {
60123
+ const unlinkFile = (path$57, cb) => {
60124
+ if (!isWindows) return fs$25.unlink(path$57, cb);
60125
+ const name = path$57 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60126
+ fs$25.rename(path$57, name, (er) => {
60170
60127
  if (er) return cb(er);
60171
- fs$26.unlink(name, cb);
60128
+ fs$25.unlink(name, cb);
60172
60129
  });
60173
60130
  };
60174
60131
  /* istanbul ignore next */
60175
- const unlinkFileSync = (path$59) => {
60176
- if (!isWindows) return fs$26.unlinkSync(path$59);
60177
- const name = path$59 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60178
- fs$26.renameSync(path$59, name);
60179
- fs$26.unlinkSync(name);
60132
+ const unlinkFileSync = (path$58) => {
60133
+ if (!isWindows) return fs$25.unlinkSync(path$58);
60134
+ const name = path$58 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60135
+ fs$25.renameSync(path$58, name);
60136
+ fs$25.unlinkSync(name);
60180
60137
  };
60181
60138
  const uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
60182
- const cacheKeyNormalize = (path$60) => stripSlash(normPath(normalize(path$60))).toLowerCase();
60139
+ const cacheKeyNormalize = (path$59) => stripSlash(normPath(normalize(path$59))).toLowerCase();
60183
60140
  const pruneCache = (cache, abs) => {
60184
60141
  abs = cacheKeyNormalize(abs);
60185
- for (const path$61 of cache.keys()) {
60186
- const pnorm = cacheKeyNormalize(path$61);
60187
- if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) cache.delete(path$61);
60142
+ for (const path$60 of cache.keys()) {
60143
+ const pnorm = cacheKeyNormalize(path$60);
60144
+ if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) cache.delete(path$60);
60188
60145
  }
60189
60146
  };
60190
60147
  const dropCache = (cache) => {
@@ -60229,7 +60186,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60229
60186
  this.noMtime = !!opt.noMtime;
60230
60187
  this.preservePaths = !!opt.preservePaths;
60231
60188
  this.unlink = !!opt.unlink;
60232
- this.cwd = normPath(path$27.resolve(opt.cwd || process.cwd()));
60189
+ this.cwd = normPath(path$26.resolve(opt.cwd || process.cwd()));
60233
60190
  this.strip = +opt.strip || 0;
60234
60191
  this.processUmask = opt.noChmod ? 0 : process.umask();
60235
60192
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -60287,8 +60244,8 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60287
60244
  });
60288
60245
  }
60289
60246
  }
60290
- if (path$27.isAbsolute(entry.path)) entry.absolute = normPath(path$27.resolve(entry.path));
60291
- else entry.absolute = normPath(path$27.resolve(this.cwd, entry.path));
60247
+ if (path$26.isAbsolute(entry.path)) entry.absolute = normPath(path$26.resolve(entry.path));
60248
+ else entry.absolute = normPath(path$26.resolve(this.cwd, entry.path));
60292
60249
  /* istanbul ignore if - defense in depth */
60293
60250
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
60294
60251
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
@@ -60301,9 +60258,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60301
60258
  }
60302
60259
  if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir") return false;
60303
60260
  if (this.win32) {
60304
- const { root: aRoot } = path$27.win32.parse(entry.absolute);
60261
+ const { root: aRoot } = path$26.win32.parse(entry.absolute);
60305
60262
  entry.absolute = aRoot + wc.encode(entry.absolute.slice(aRoot.length));
60306
- const { root: pRoot } = path$27.win32.parse(entry.path);
60263
+ const { root: pRoot } = path$26.win32.parse(entry.path);
60307
60264
  entry.path = pRoot + wc.encode(entry.path.slice(pRoot.length));
60308
60265
  }
60309
60266
  return true;
@@ -60362,7 +60319,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60362
60319
  autoClose: false
60363
60320
  });
60364
60321
  stream.on("error", (er) => {
60365
- if (stream.fd) fs$26.close(stream.fd, () => {});
60322
+ if (stream.fd) fs$25.close(stream.fd, () => {});
60366
60323
  stream.write = () => true;
60367
60324
  this[ONERROR](er, entry);
60368
60325
  fullyDone();
@@ -60371,12 +60328,12 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60371
60328
  const done = (er) => {
60372
60329
  if (er) {
60373
60330
  /* istanbul ignore else - we should always have a fd by now */
60374
- if (stream.fd) fs$26.close(stream.fd, () => {});
60331
+ if (stream.fd) fs$25.close(stream.fd, () => {});
60375
60332
  this[ONERROR](er, entry);
60376
60333
  fullyDone();
60377
60334
  return;
60378
60335
  }
60379
- if (--actions === 0) fs$26.close(stream.fd, (er) => {
60336
+ if (--actions === 0) fs$25.close(stream.fd, (er) => {
60380
60337
  if (er) this[ONERROR](er, entry);
60381
60338
  else this[UNPEND]();
60382
60339
  fullyDone();
@@ -60389,13 +60346,13 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60389
60346
  actions++;
60390
60347
  const atime = entry.atime || /* @__PURE__ */ new Date();
60391
60348
  const mtime = entry.mtime;
60392
- fs$26.futimes(fd, atime, mtime, (er) => er ? fs$26.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
60349
+ fs$25.futimes(fd, atime, mtime, (er) => er ? fs$25.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
60393
60350
  }
60394
60351
  if (this[DOCHOWN](entry)) {
60395
60352
  actions++;
60396
60353
  const uid = this[UID](entry);
60397
60354
  const gid = this[GID](entry);
60398
- fs$26.fchown(fd, uid, gid, (er) => er ? fs$26.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
60355
+ fs$25.fchown(fd, uid, gid, (er) => er ? fs$25.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
60399
60356
  }
60400
60357
  done();
60401
60358
  });
@@ -60427,11 +60384,11 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60427
60384
  };
60428
60385
  if (entry.mtime && !this.noMtime) {
60429
60386
  actions++;
60430
- fs$26.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
60387
+ fs$25.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
60431
60388
  }
60432
60389
  if (this[DOCHOWN](entry)) {
60433
60390
  actions++;
60434
- fs$26.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
60391
+ fs$25.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
60435
60392
  }
60436
60393
  done();
60437
60394
  });
@@ -60445,7 +60402,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60445
60402
  this[LINK](entry, entry.linkpath, "symlink", done);
60446
60403
  }
60447
60404
  [HARDLINK](entry, done) {
60448
- const linkpath = normPath(path$27.resolve(this.cwd, entry.linkpath));
60405
+ const linkpath = normPath(path$26.resolve(this.cwd, entry.linkpath));
60449
60406
  this[LINK](entry, linkpath, "link", done);
60450
60407
  }
60451
60408
  [PEND]() {
@@ -60491,7 +60448,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60491
60448
  };
60492
60449
  const start = () => {
60493
60450
  if (entry.absolute !== this.cwd) {
60494
- const parent = normPath(path$27.dirname(entry.absolute));
60451
+ const parent = normPath(path$26.dirname(entry.absolute));
60495
60452
  if (parent !== this.cwd) return this[MKDIR](parent, this.dmode, (er) => {
60496
60453
  if (er) {
60497
60454
  this[ONERROR](er, entry);
@@ -60504,7 +60461,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60504
60461
  afterMakeParent();
60505
60462
  };
60506
60463
  const afterMakeParent = () => {
60507
- fs$26.lstat(entry.absolute, (lstatEr, st) => {
60464
+ fs$25.lstat(entry.absolute, (lstatEr, st) => {
60508
60465
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) {
60509
60466
  this[SKIP](entry);
60510
60467
  done();
@@ -60516,9 +60473,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60516
60473
  const needChmod = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode;
60517
60474
  const afterChmod = (er) => this[MAKEFS](er, entry, done);
60518
60475
  if (!needChmod) return afterChmod();
60519
- return fs$26.chmod(entry.absolute, entry.mode, afterChmod);
60476
+ return fs$25.chmod(entry.absolute, entry.mode, afterChmod);
60520
60477
  }
60521
- if (entry.absolute !== this.cwd) return fs$26.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
60478
+ if (entry.absolute !== this.cwd) return fs$25.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
60522
60479
  }
60523
60480
  if (entry.absolute === this.cwd) return this[MAKEFS](null, entry, done);
60524
60481
  unlinkFile(entry.absolute, (er) => this[MAKEFS](er, entry, done));
@@ -60544,7 +60501,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60544
60501
  }
60545
60502
  }
60546
60503
  [LINK](entry, linkpath, link, done) {
60547
- fs$26[link](linkpath, entry.absolute, (er) => {
60504
+ fs$25[link](linkpath, entry.absolute, (er) => {
60548
60505
  if (er) this[ONERROR](er, entry);
60549
60506
  else {
60550
60507
  this[UNPEND]();
@@ -60573,23 +60530,23 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60573
60530
  this[CHECKED_CWD] = true;
60574
60531
  }
60575
60532
  if (entry.absolute !== this.cwd) {
60576
- const parent = normPath(path$27.dirname(entry.absolute));
60533
+ const parent = normPath(path$26.dirname(entry.absolute));
60577
60534
  if (parent !== this.cwd) {
60578
60535
  const mkParent = this[MKDIR](parent, this.dmode);
60579
60536
  if (mkParent) return this[ONERROR](mkParent, entry);
60580
60537
  }
60581
60538
  }
60582
- const [lstatEr, st] = callSync(() => fs$26.lstatSync(entry.absolute));
60539
+ const [lstatEr, st] = callSync(() => fs$25.lstatSync(entry.absolute));
60583
60540
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) return this[SKIP](entry);
60584
60541
  if (lstatEr || this[ISREUSABLE](entry, st)) return this[MAKEFS](null, entry);
60585
60542
  if (st.isDirectory()) {
60586
60543
  if (entry.type === "Directory") {
60587
60544
  const [er] = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode ? callSync(() => {
60588
- fs$26.chmodSync(entry.absolute, entry.mode);
60545
+ fs$25.chmodSync(entry.absolute, entry.mode);
60589
60546
  }) : [];
60590
60547
  return this[MAKEFS](er, entry);
60591
60548
  }
60592
- const [er] = callSync(() => fs$26.rmdirSync(entry.absolute));
60549
+ const [er] = callSync(() => fs$25.rmdirSync(entry.absolute));
60593
60550
  this[MAKEFS](er, entry);
60594
60551
  }
60595
60552
  const [er] = entry.absolute === this.cwd ? [] : callSync(() => unlinkFileSync(entry.absolute));
@@ -60600,7 +60557,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60600
60557
  const oner = (er) => {
60601
60558
  let closeError;
60602
60559
  try {
60603
- fs$26.closeSync(fd);
60560
+ fs$25.closeSync(fd);
60604
60561
  } catch (e) {
60605
60562
  closeError = e;
60606
60563
  }
@@ -60609,7 +60566,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60609
60566
  };
60610
60567
  let fd;
60611
60568
  try {
60612
- fd = fs$26.openSync(entry.absolute, getFlag(entry.size), mode);
60569
+ fd = fs$25.openSync(entry.absolute, getFlag(entry.size), mode);
60613
60570
  } catch (er) {
60614
60571
  return oner(er);
60615
60572
  }
@@ -60620,7 +60577,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60620
60577
  }
60621
60578
  tx.on("data", (chunk) => {
60622
60579
  try {
60623
- fs$26.writeSync(fd, chunk, 0, chunk.length);
60580
+ fs$25.writeSync(fd, chunk, 0, chunk.length);
60624
60581
  } catch (er) {
60625
60582
  oner(er);
60626
60583
  }
@@ -60631,10 +60588,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60631
60588
  const atime = entry.atime || /* @__PURE__ */ new Date();
60632
60589
  const mtime = entry.mtime;
60633
60590
  try {
60634
- fs$26.futimesSync(fd, atime, mtime);
60591
+ fs$25.futimesSync(fd, atime, mtime);
60635
60592
  } catch (futimeser) {
60636
60593
  try {
60637
- fs$26.utimesSync(entry.absolute, atime, mtime);
60594
+ fs$25.utimesSync(entry.absolute, atime, mtime);
60638
60595
  } catch (utimeser) {
60639
60596
  er = futimeser;
60640
60597
  }
@@ -60644,10 +60601,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60644
60601
  const uid = this[UID](entry);
60645
60602
  const gid = this[GID](entry);
60646
60603
  try {
60647
- fs$26.fchownSync(fd, uid, gid);
60604
+ fs$25.fchownSync(fd, uid, gid);
60648
60605
  } catch (fchowner) {
60649
60606
  try {
60650
- fs$26.chownSync(entry.absolute, uid, gid);
60607
+ fs$25.chownSync(entry.absolute, uid, gid);
60651
60608
  } catch (chowner) {
60652
60609
  er = er || fchowner;
60653
60610
  }
@@ -60665,10 +60622,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60665
60622
  return;
60666
60623
  }
60667
60624
  if (entry.mtime && !this.noMtime) try {
60668
- fs$26.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
60625
+ fs$25.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
60669
60626
  } catch (er) {}
60670
60627
  if (this[DOCHOWN](entry)) try {
60671
- fs$26.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
60628
+ fs$25.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
60672
60629
  } catch (er) {}
60673
60630
  done();
60674
60631
  entry.resume();
@@ -60693,7 +60650,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60693
60650
  }
60694
60651
  [LINK](entry, linkpath, link, done) {
60695
60652
  try {
60696
- fs$26[link + "Sync"](linkpath, entry.absolute);
60653
+ fs$25[link + "Sync"](linkpath, entry.absolute);
60697
60654
  done();
60698
60655
  entry.resume();
60699
60656
  } catch (er) {
@@ -60709,9 +60666,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60709
60666
  var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
60710
60667
  const hlo = require_high_level_opt();
60711
60668
  const Unpack = require_unpack();
60712
- const fs$25 = require("fs");
60669
+ const fs$24 = require("fs");
60713
60670
  const fsm = require_fs_minipass();
60714
- const path$26 = require("path");
60671
+ const path$25 = require("path");
60715
60672
  const stripSlash = require_strip_trailing_slashes();
60716
60673
  module.exports = (opt_, files, cb) => {
60717
60674
  if (typeof opt_ === "function") cb = opt_, files = null, opt_ = {};
@@ -60729,8 +60686,8 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60729
60686
  const map = new Map(files.map((f) => [stripSlash(f), true]));
60730
60687
  const filter = opt.filter;
60731
60688
  const mapHas = (file, r) => {
60732
- const root = r || path$26.parse(file).root || ".";
60733
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$26.dirname(file), root);
60689
+ const root = r || path$25.parse(file).root || ".";
60690
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$25.dirname(file), root);
60734
60691
  map.set(file, ret);
60735
60692
  return ret;
60736
60693
  };
@@ -60739,7 +60696,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60739
60696
  const extractFileSync = (opt) => {
60740
60697
  const u = new Unpack.Sync(opt);
60741
60698
  const file = opt.file;
60742
- const stat = fs$25.statSync(file);
60699
+ const stat = fs$24.statSync(file);
60743
60700
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
60744
60701
  new fsm.ReadStreamSync(file, {
60745
60702
  readSize,
@@ -60753,7 +60710,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60753
60710
  const p = new Promise((resolve, reject) => {
60754
60711
  u.on("error", reject);
60755
60712
  u.on("close", resolve);
60756
- fs$25.stat(file, (er, stat) => {
60713
+ fs$24.stat(file, (er, stat) => {
60757
60714
  if (er) reject(er);
60758
60715
  else {
60759
60716
  const stream = new fsm.ReadStream(file, {
@@ -60836,7 +60793,7 @@ var require_pend = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
60836
60793
  //#endregion
60837
60794
  //#region ../../node_modules/fd-slicer/index.js
60838
60795
  var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
60839
- var fs$24 = require("fs");
60796
+ var fs$23 = require("fs");
60840
60797
  var util$9 = require("util");
60841
60798
  var stream$1 = require("stream");
60842
60799
  var Readable = stream$1.Readable;
@@ -60861,7 +60818,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60861
60818
  FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
60862
60819
  var self = this;
60863
60820
  self.pend.go(function(cb) {
60864
- fs$24.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
60821
+ fs$23.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
60865
60822
  cb();
60866
60823
  callback(err, bytesRead, buffer);
60867
60824
  });
@@ -60870,7 +60827,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60870
60827
  FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
60871
60828
  var self = this;
60872
60829
  self.pend.go(function(cb) {
60873
- fs$24.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
60830
+ fs$23.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
60874
60831
  cb();
60875
60832
  callback(err, written, buffer);
60876
60833
  });
@@ -60890,7 +60847,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60890
60847
  self.refCount -= 1;
60891
60848
  if (self.refCount > 0) return;
60892
60849
  if (self.refCount < 0) throw new Error("invalid unref");
60893
- if (self.autoClose) fs$24.close(self.fd, onCloseDone);
60850
+ if (self.autoClose) fs$23.close(self.fd, onCloseDone);
60894
60851
  function onCloseDone(err) {
60895
60852
  if (err) self.emit("error", err);
60896
60853
  else self.emit("close");
@@ -60921,7 +60878,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60921
60878
  self.context.pend.go(function(cb) {
60922
60879
  if (self.destroyed) return cb();
60923
60880
  var buffer = new Buffer(toRead);
60924
- fs$24.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
60881
+ fs$23.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
60925
60882
  if (err) self.destroy(err);
60926
60883
  else if (bytesRead === 0) {
60927
60884
  self.destroyed = true;
@@ -60967,7 +60924,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60967
60924
  }
60968
60925
  self.context.pend.go(function(cb) {
60969
60926
  if (self.destroyed) return cb();
60970
- fs$24.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
60927
+ fs$23.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
60971
60928
  if (err) {
60972
60929
  self.destroy();
60973
60930
  cb();
@@ -61374,7 +61331,7 @@ var require_buffer_crc32 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
61374
61331
  //#endregion
61375
61332
  //#region ../../node_modules/yauzl/index.js
61376
61333
  var require_yauzl = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
61377
- var fs$23 = require("fs");
61334
+ var fs$22 = require("fs");
61378
61335
  var zlib$1 = require("zlib");
61379
61336
  var fd_slicer = require_fd_slicer();
61380
61337
  var crc32 = require_buffer_crc32();
@@ -61396,10 +61353,10 @@ var require_yauzl = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
61396
61353
  if (options.validateEntrySizes == null) options.validateEntrySizes = true;
61397
61354
  if (options.strictFileNames == null) options.strictFileNames = false;
61398
61355
  if (callback == null) callback = defaultCallback;
61399
- fs$23.open(path, "r", function(err, fd) {
61356
+ fs$22.open(path, "r", function(err, fd) {
61400
61357
  if (err) return callback(err);
61401
61358
  fromFd(fd, options, function(err, zipfile) {
61402
- if (err) fs$23.close(fd, defaultCallback);
61359
+ if (err) fs$22.close(fd, defaultCallback);
61403
61360
  callback(err, zipfile);
61404
61361
  });
61405
61362
  });
@@ -61416,7 +61373,7 @@ var require_yauzl = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
61416
61373
  if (options.validateEntrySizes == null) options.validateEntrySizes = true;
61417
61374
  if (options.strictFileNames == null) options.strictFileNames = false;
61418
61375
  if (callback == null) callback = defaultCallback;
61419
- fs$23.fstat(fd, function(err, stats) {
61376
+ fs$22.fstat(fd, function(err, stats) {
61420
61377
  if (err) return callback(err);
61421
61378
  fromRandomAccessReader(fd_slicer.createFromFd(fd, { autoClose: true }), stats.size, options, callback);
61422
61379
  });
@@ -62644,13 +62601,13 @@ var require_minimatch$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62644
62601
  //#region ../../node_modules/readdir-glob/index.js
62645
62602
  var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
62646
62603
  module.exports = readdirGlob;
62647
- const fs$22 = require("fs");
62604
+ const fs$21 = require("fs");
62648
62605
  const { EventEmitter } = require("events");
62649
62606
  const { Minimatch } = require_minimatch$1();
62650
62607
  const { resolve: resolve$12 } = require("path");
62651
62608
  function readdir(dir, strict) {
62652
62609
  return new Promise((resolve, reject) => {
62653
- fs$22.readdir(dir, { withFileTypes: true }, (err, files) => {
62610
+ fs$21.readdir(dir, { withFileTypes: true }, (err, files) => {
62654
62611
  if (err) switch (err.code) {
62655
62612
  case "ENOTDIR":
62656
62613
  if (strict) reject(err);
@@ -62672,7 +62629,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62672
62629
  }
62673
62630
  function stat(file, followSymlinks) {
62674
62631
  return new Promise((resolve, reject) => {
62675
- (followSymlinks ? fs$22.stat : fs$22.lstat)(file, (err, stats) => {
62632
+ (followSymlinks ? fs$21.stat : fs$21.lstat)(file, (err, stats) => {
62676
62633
  if (err) switch (err.code) {
62677
62634
  case "ENOENT":
62678
62635
  if (followSymlinks) resolve(stat(file, false));
@@ -62686,8 +62643,8 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62686
62643
  });
62687
62644
  });
62688
62645
  }
62689
- async function* exploreWalkAsync(dir, path$56, followSymlinks, useStat, shouldSkip, strict) {
62690
- let files = await readdir(path$56 + dir, strict);
62646
+ async function* exploreWalkAsync(dir, path$55, followSymlinks, useStat, shouldSkip, strict) {
62647
+ let files = await readdir(path$55 + dir, strict);
62691
62648
  for (const file of files) {
62692
62649
  let name = file.name;
62693
62650
  if (name === void 0) {
@@ -62696,7 +62653,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62696
62653
  }
62697
62654
  const filename = dir + "/" + name;
62698
62655
  const relative = filename.slice(1);
62699
- const absolute = path$56 + "/" + relative;
62656
+ const absolute = path$55 + "/" + relative;
62700
62657
  let stats = null;
62701
62658
  if (useStat || followSymlinks) stats = await stat(absolute, followSymlinks);
62702
62659
  if (!stats && file.name !== void 0) stats = file;
@@ -62708,7 +62665,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62708
62665
  absolute,
62709
62666
  stats
62710
62667
  };
62711
- yield* exploreWalkAsync(filename, path$56, followSymlinks, useStat, shouldSkip, false);
62668
+ yield* exploreWalkAsync(filename, path$55, followSymlinks, useStat, shouldSkip, false);
62712
62669
  }
62713
62670
  } else yield {
62714
62671
  relative,
@@ -62717,8 +62674,8 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62717
62674
  };
62718
62675
  }
62719
62676
  }
62720
- async function* explore(path$57, followSymlinks, useStat, shouldSkip) {
62721
- yield* exploreWalkAsync("", path$57, followSymlinks, useStat, shouldSkip, true);
62677
+ async function* explore(path$56, followSymlinks, useStat, shouldSkip) {
62678
+ yield* exploreWalkAsync("", path$56, followSymlinks, useStat, shouldSkip, true);
62722
62679
  }
62723
62680
  function readOptions(options) {
62724
62681
  return {
@@ -68711,7 +68668,7 @@ var require_clone$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
68711
68668
  //#endregion
68712
68669
  //#region ../../node_modules/graceful-fs/graceful-fs.js
68713
68670
  var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
68714
- var fs$21 = require("fs");
68671
+ var fs$20 = require("fs");
68715
68672
  var polyfills = require_polyfills();
68716
68673
  var legacy = require_legacy_streams();
68717
68674
  var clone = require_clone$1();
@@ -68740,36 +68697,36 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
68740
68697
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
68741
68698
  console.error(m);
68742
68699
  };
68743
- if (!fs$21[gracefulQueue]) {
68744
- publishQueue(fs$21, global[gracefulQueue] || []);
68745
- fs$21.close = (function(fs$close) {
68700
+ if (!fs$20[gracefulQueue]) {
68701
+ publishQueue(fs$20, global[gracefulQueue] || []);
68702
+ fs$20.close = (function(fs$close) {
68746
68703
  function close(fd, cb) {
68747
- return fs$close.call(fs$21, fd, function(err) {
68704
+ return fs$close.call(fs$20, fd, function(err) {
68748
68705
  if (!err) resetQueue();
68749
68706
  if (typeof cb === "function") cb.apply(this, arguments);
68750
68707
  });
68751
68708
  }
68752
68709
  Object.defineProperty(close, previousSymbol, { value: fs$close });
68753
68710
  return close;
68754
- })(fs$21.close);
68755
- fs$21.closeSync = (function(fs$closeSync) {
68711
+ })(fs$20.close);
68712
+ fs$20.closeSync = (function(fs$closeSync) {
68756
68713
  function closeSync(fd) {
68757
- fs$closeSync.apply(fs$21, arguments);
68714
+ fs$closeSync.apply(fs$20, arguments);
68758
68715
  resetQueue();
68759
68716
  }
68760
68717
  Object.defineProperty(closeSync, previousSymbol, { value: fs$closeSync });
68761
68718
  return closeSync;
68762
- })(fs$21.closeSync);
68719
+ })(fs$20.closeSync);
68763
68720
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) process.on("exit", function() {
68764
- debug(fs$21[gracefulQueue]);
68765
- require("assert").equal(fs$21[gracefulQueue].length, 0);
68721
+ debug(fs$20[gracefulQueue]);
68722
+ require("assert").equal(fs$20[gracefulQueue].length, 0);
68766
68723
  });
68767
68724
  }
68768
- if (!global[gracefulQueue]) publishQueue(global, fs$21[gracefulQueue]);
68769
- module.exports = patch(clone(fs$21));
68770
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$21.__patched) {
68771
- module.exports = patch(fs$21);
68772
- fs$21.__patched = true;
68725
+ if (!global[gracefulQueue]) publishQueue(global, fs$20[gracefulQueue]);
68726
+ module.exports = patch(clone(fs$20));
68727
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$20.__patched) {
68728
+ module.exports = patch(fs$20);
68729
+ fs$20.__patched = true;
68773
68730
  }
68774
68731
  function patch(fs) {
68775
68732
  polyfills(fs);
@@ -69024,23 +68981,23 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
69024
68981
  }
69025
68982
  function enqueue(elem) {
69026
68983
  debug("ENQUEUE", elem[0].name, elem[1]);
69027
- fs$21[gracefulQueue].push(elem);
68984
+ fs$20[gracefulQueue].push(elem);
69028
68985
  retry();
69029
68986
  }
69030
68987
  var retryTimer;
69031
68988
  function resetQueue() {
69032
68989
  var now = Date.now();
69033
- for (var i = 0; i < fs$21[gracefulQueue].length; ++i) if (fs$21[gracefulQueue][i].length > 2) {
69034
- fs$21[gracefulQueue][i][3] = now;
69035
- fs$21[gracefulQueue][i][4] = now;
68990
+ for (var i = 0; i < fs$20[gracefulQueue].length; ++i) if (fs$20[gracefulQueue][i].length > 2) {
68991
+ fs$20[gracefulQueue][i][3] = now;
68992
+ fs$20[gracefulQueue][i][4] = now;
69036
68993
  }
69037
68994
  retry();
69038
68995
  }
69039
68996
  function retry() {
69040
68997
  clearTimeout(retryTimer);
69041
68998
  retryTimer = void 0;
69042
- if (fs$21[gracefulQueue].length === 0) return;
69043
- var elem = fs$21[gracefulQueue].shift();
68999
+ if (fs$20[gracefulQueue].length === 0) return;
69000
+ var elem = fs$20[gracefulQueue].shift();
69044
69001
  var fn = elem[0];
69045
69002
  var args = elem[1];
69046
69003
  var err = elem[2];
@@ -69059,7 +69016,7 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
69059
69016
  if (sinceAttempt >= Math.min(sinceStart * 1.2, 100)) {
69060
69017
  debug("RETRY", fn.name, args);
69061
69018
  fn.apply(null, args.concat([startTime]));
69062
- } else fs$21[gracefulQueue].push(elem);
69019
+ } else fs$20[gracefulQueue].push(elem);
69063
69020
  }
69064
69021
  if (retryTimer === void 0) retryTimer = setTimeout(retry, 0);
69065
69022
  }
@@ -84185,7 +84142,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84185
84142
  * https://github.com/archiverjs/node-archiver/blob/master/LICENSE-MIT
84186
84143
  */
84187
84144
  var fs = require_graceful_fs();
84188
- var path$25 = require("path");
84145
+ var path$24 = require("path");
84189
84146
  var flatten = require_flatten();
84190
84147
  var difference = require_difference();
84191
84148
  var union = require_union();
@@ -84205,7 +84162,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84205
84162
  return result;
84206
84163
  };
84207
84164
  file.exists = function() {
84208
- var filepath = path$25.join.apply(path$25, arguments);
84165
+ var filepath = path$24.join.apply(path$24, arguments);
84209
84166
  return fs.existsSync(filepath);
84210
84167
  };
84211
84168
  file.expand = function(...args) {
@@ -84216,7 +84173,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84216
84173
  return glob.sync(pattern, options);
84217
84174
  });
84218
84175
  if (options.filter) matches = matches.filter(function(filepath) {
84219
- filepath = path$25.join(options.cwd || "", filepath);
84176
+ filepath = path$24.join(options.cwd || "", filepath);
84220
84177
  try {
84221
84178
  if (typeof options.filter === "function") return options.filter(filepath);
84222
84179
  else return fs.statSync(filepath)[options.filter]();
@@ -84228,16 +84185,16 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84228
84185
  };
84229
84186
  file.expandMapping = function(patterns, destBase, options) {
84230
84187
  options = Object.assign({ rename: function(destBase, destPath) {
84231
- return path$25.join(destBase || "", destPath);
84188
+ return path$24.join(destBase || "", destPath);
84232
84189
  } }, options);
84233
84190
  var files = [];
84234
84191
  var fileByDest = {};
84235
84192
  file.expand(options, patterns).forEach(function(src) {
84236
84193
  var destPath = src;
84237
- if (options.flatten) destPath = path$25.basename(destPath);
84194
+ if (options.flatten) destPath = path$24.basename(destPath);
84238
84195
  if (options.ext) destPath = destPath.replace(/(\.[^\/]*)?$/, options.ext);
84239
84196
  var dest = options.rename(destBase, destPath, options);
84240
- if (options.cwd) src = path$25.join(options.cwd, src);
84197
+ if (options.cwd) src = path$24.join(options.cwd, src);
84241
84198
  dest = dest.replace(pathSeparatorRe, "/");
84242
84199
  src = src.replace(pathSeparatorRe, "/");
84243
84200
  if (fileByDest[dest]) fileByDest[dest].src.push(src);
@@ -84312,7 +84269,7 @@ var require_archiver_utils = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
84312
84269
  * https://github.com/archiverjs/archiver-utils/blob/master/LICENSE
84313
84270
  */
84314
84271
  var fs = require_graceful_fs();
84315
- var path$24 = require("path");
84272
+ var path$23 = require("path");
84316
84273
  var isStream = require_is_stream$1();
84317
84274
  var lazystream = require_lazystream();
84318
84275
  var normalizePath = require_normalize_path();
@@ -84388,11 +84345,11 @@ var require_archiver_utils = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
84388
84345
  (function next() {
84389
84346
  file = list[i++];
84390
84347
  if (!file) return callback(null, results);
84391
- filepath = path$24.join(dirpath, file);
84348
+ filepath = path$23.join(dirpath, file);
84392
84349
  fs.stat(filepath, function(err, stats) {
84393
84350
  results.push({
84394
84351
  path: filepath,
84395
- relative: path$24.relative(base, filepath).replace(/\\/g, "/"),
84352
+ relative: path$23.relative(base, filepath).replace(/\\/g, "/"),
84396
84353
  stats
84397
84354
  });
84398
84355
  if (stats && stats.isDirectory()) utils.walkdir(filepath, base, function(err, res) {
@@ -84456,10 +84413,10 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84456
84413
  * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
84457
84414
  * @copyright (c) 2012-2014 Chris Talkington, contributors.
84458
84415
  */
84459
- var fs$20 = require("fs");
84416
+ var fs$19 = require("fs");
84460
84417
  var glob = require_readdir_glob();
84461
84418
  var async = require_async();
84462
- var path$23 = require("path");
84419
+ var path$22 = require("path");
84463
84420
  var util = require_archiver_utils();
84464
84421
  var inherits$5 = require("util").inherits;
84465
84422
  var ArchiverError = require_error$10();
@@ -84533,7 +84490,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84533
84490
  data.sourcePath = filepath;
84534
84491
  task.data = data;
84535
84492
  this._entriesCount++;
84536
- if (data.stats && data.stats instanceof fs$20.Stats) {
84493
+ if (data.stats && data.stats instanceof fs$19.Stats) {
84537
84494
  task = this._updateQueueTaskWithStats(task, data.stats);
84538
84495
  if (task) {
84539
84496
  if (data.stats.size) this._fsEntriesTotalBytes += data.stats.size;
@@ -84763,7 +84720,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84763
84720
  callback();
84764
84721
  return;
84765
84722
  }
84766
- fs$20.lstat(task.filepath, function(err, stats) {
84723
+ fs$19.lstat(task.filepath, function(err, stats) {
84767
84724
  if (this._state.aborted) {
84768
84725
  setImmediate(callback);
84769
84726
  return;
@@ -84829,10 +84786,10 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84829
84786
  task.data.sourceType = "buffer";
84830
84787
  task.source = Buffer.concat([]);
84831
84788
  } else if (stats.isSymbolicLink() && this._moduleSupports("symlink")) {
84832
- var linkPath = fs$20.readlinkSync(task.filepath);
84833
- var dirName = path$23.dirname(task.filepath);
84789
+ var linkPath = fs$19.readlinkSync(task.filepath);
84790
+ var dirName = path$22.dirname(task.filepath);
84834
84791
  task.data.type = "symlink";
84835
- task.data.linkname = path$23.relative(dirName, path$23.resolve(dirName, linkPath));
84792
+ task.data.linkname = path$22.relative(dirName, path$22.resolve(dirName, linkPath));
84836
84793
  task.data.sourceType = "buffer";
84837
84794
  task.source = Buffer.concat([]);
84838
84795
  } else {
@@ -95918,7 +95875,7 @@ var require_index_min$3 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
95918
95875
  //#region ../../node_modules/@npmcli/promise-spawn/node_modules/which/lib/index.js
95919
95876
  var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
95920
95877
  const { isexe, sync: isexeSync } = require_index_min$3();
95921
- const { join: join$15, delimiter: delimiter$4, sep: sep$4, posix: posix$1 } = require("path");
95878
+ const { join: join$13, delimiter: delimiter$4, sep: sep$4, posix: posix$1 } = require("path");
95922
95879
  const isWindows = process.platform === "win32";
95923
95880
  /* istanbul ignore next */
95924
95881
  const rSlash = new RegExp(`[${posix$1.sep}${sep$4 === posix$1.sep ? "" : sep$4}]`.replace(/(\\)/g, "\\$1"));
@@ -95948,7 +95905,7 @@ var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
95948
95905
  };
95949
95906
  const getPathPart = (raw, cmd) => {
95950
95907
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
95951
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$15(pathPart, cmd);
95908
+ return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$13(pathPart, cmd);
95952
95909
  };
95953
95910
  const which = async (cmd, opt = {}) => {
95954
95911
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
@@ -96697,7 +96654,7 @@ var require_index_min$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
96697
96654
  //#region ../../node_modules/@npmcli/git/node_modules/which/lib/index.js
96698
96655
  var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
96699
96656
  const { isexe, sync: isexeSync } = require_index_min$2();
96700
- const { join: join$14, delimiter: delimiter$3, sep: sep$3, posix } = require("path");
96657
+ const { join: join$12, delimiter: delimiter$3, sep: sep$3, posix } = require("path");
96701
96658
  const isWindows = process.platform === "win32";
96702
96659
  /* istanbul ignore next */
96703
96660
  const rSlash = new RegExp(`[${posix.sep}${sep$3 === posix.sep ? "" : sep$3}]`.replace(/(\\)/g, "\\$1"));
@@ -96727,7 +96684,7 @@ var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
96727
96684
  };
96728
96685
  const getPathPart = (raw, cmd) => {
96729
96686
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
96730
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$14(pathPart, cmd);
96687
+ return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$12(pathPart, cmd);
96731
96688
  };
96732
96689
  const which = async (cmd, opt = {}) => {
96733
96690
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
@@ -98625,7 +98582,7 @@ var require_lib$22 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
98625
98582
  //#endregion
98626
98583
  //#region ../../node_modules/npm-normalize-package-bin/lib/index.js
98627
98584
  var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
98628
- const { join: join$13, basename: basename$4 } = require("path");
98585
+ const { join: join$11, basename: basename$4 } = require("path");
98629
98586
  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);
98630
98587
  const normalizeString = (pkg) => {
98631
98588
  if (!pkg.name) return removeBin(pkg);
@@ -98648,9 +98605,9 @@ var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
98648
98605
  const clean = {};
98649
98606
  let hasBins = false;
98650
98607
  Object.keys(orig).forEach((binKey) => {
98651
- const base = join$13("/", basename$4(binKey.replace(/\\|:/g, "/"))).slice(1);
98608
+ const base = join$11("/", basename$4(binKey.replace(/\\|:/g, "/"))).slice(1);
98652
98609
  if (typeof orig[binKey] !== "string" || !base) return;
98653
- const binTarget = join$13("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
98610
+ const binTarget = join$11("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
98654
98611
  if (!binTarget) return;
98655
98612
  clean[base] = binTarget;
98656
98613
  hasBins = true;
@@ -100723,7 +100680,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100723
100680
  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();
100724
100681
  const { constants: { errno: { EEXIST, EISDIR, EINVAL, ENOTDIR } } } = require("os");
100725
100682
  const { chmod: chmod$2, copyFile, lstat: lstat$2, mkdir: mkdir$8, readdir: readdir$6, readlink, stat: stat$5, symlink, unlink, utimes } = require("fs/promises");
100726
- const { dirname: dirname$9, isAbsolute: isAbsolute$2, join: join$12, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
100683
+ const { dirname: dirname$9, isAbsolute: isAbsolute$2, join: join$10, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
100727
100684
  const { fileURLToPath } = require("url");
100728
100685
  const defaultOptions = {
100729
100686
  dereference: false,
@@ -100830,7 +100787,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100830
100787
  });
100831
100788
  return checkParentPaths(src, srcStat, destParent);
100832
100789
  }
100833
- const normalizePathToArray = (path$55) => resolve$10(path$55).split(sep$2).filter(Boolean);
100790
+ const normalizePathToArray = (path$54) => resolve$10(path$54).split(sep$2).filter(Boolean);
100834
100791
  function isSrcSubdir(src, dest) {
100835
100792
  const srcArr = normalizePathToArray(src);
100836
100793
  const destArr = normalizePathToArray(dest);
@@ -100932,8 +100889,8 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100932
100889
  const dir = await readdir$6(src);
100933
100890
  for (let i = 0; i < dir.length; i++) {
100934
100891
  const item = dir[i];
100935
- const srcItem = join$12(src, item);
100936
- const destItem = join$12(dest, item);
100892
+ const srcItem = join$10(src, item);
100893
+ const destItem = join$10(dest, item);
100937
100894
  const { destStat } = await checkPaths(srcItem, destItem, opts);
100938
100895
  await startCopy(destStat, srcItem, destItem, opts);
100939
100896
  }
@@ -100997,13 +100954,13 @@ var require_cp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
100997
100954
  //#endregion
100998
100955
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/with-temp-dir.js
100999
100956
  var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101000
- const { join: join$11, sep: sep$1 } = require("path");
100957
+ const { join: join$9, sep: sep$1 } = require("path");
101001
100958
  const getOptions = require_get_options();
101002
- const { mkdir: mkdir$7, mkdtemp, rm: rm$7 } = require("fs/promises");
100959
+ const { mkdir: mkdir$7, mkdtemp, rm: rm$8 } = require("fs/promises");
101003
100960
  const withTempDir = async (root, fn, opts) => {
101004
100961
  const options = getOptions(opts, { copy: ["tmpPrefix"] });
101005
100962
  await mkdir$7(root, { recursive: true });
101006
- const target = await mkdtemp(join$11(`${root}${sep$1}`, options.tmpPrefix || ""));
100963
+ const target = await mkdtemp(join$9(`${root}${sep$1}`, options.tmpPrefix || ""));
101007
100964
  let err;
101008
100965
  let result;
101009
100966
  try {
@@ -101012,7 +100969,7 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
101012
100969
  err = _err;
101013
100970
  }
101014
100971
  try {
101015
- await rm$7(target, {
100972
+ await rm$8(target, {
101016
100973
  force: true,
101017
100974
  recursive: true
101018
100975
  });
@@ -101026,10 +100983,10 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
101026
100983
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/readdir-scoped.js
101027
100984
  var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101028
100985
  const { readdir: readdir$5 } = require("fs/promises");
101029
- const { join: join$10 } = require("path");
100986
+ const { join: join$8 } = require("path");
101030
100987
  const readdirScoped = async (dir) => {
101031
100988
  const results = [];
101032
- 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));
100989
+ 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));
101033
100990
  else results.push(item);
101034
100991
  return results;
101035
100992
  };
@@ -101038,11 +100995,11 @@ var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
101038
100995
  //#endregion
101039
100996
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/move-file.js
101040
100997
  var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101041
- const { dirname: dirname$8, join: join$9, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
100998
+ const { dirname: dirname$8, join: join$7, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
101042
100999
  const fs$12 = require("fs/promises");
101043
- const pathExists = async (path$54) => {
101000
+ const pathExists = async (path$53) => {
101044
101001
  try {
101045
- await fs$12.access(path$54);
101002
+ await fs$12.access(path$53);
101046
101003
  return true;
101047
101004
  } catch (er) {
101048
101005
  return er.code !== "ENOENT";
@@ -101063,7 +101020,7 @@ var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
101063
101020
  const sourceStat = await fs$12.lstat(source);
101064
101021
  if (sourceStat.isDirectory()) {
101065
101022
  const files = await fs$12.readdir(source);
101066
- await Promise.all(files.map((file) => moveFile(join$9(source, file), join$9(destination, file), options, false, symlinks)));
101023
+ await Promise.all(files.map((file) => moveFile(join$7(source, file), join$7(destination, file), options, false, symlinks)));
101067
101024
  } else if (sourceStat.isSymbolicLink()) symlinks.push({
101068
101025
  source,
101069
101026
  destination
@@ -101239,7 +101196,7 @@ var require_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
101239
101196
  //#region ../../node_modules/cacache/lib/entry-index.js
101240
101197
  var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101241
101198
  const crypto$1 = require("crypto");
101242
- const { appendFile, mkdir: mkdir$6, readFile: readFile$7, readdir: readdir$4, rm: rm$6, writeFile: writeFile$3 } = require("fs/promises");
101199
+ const { appendFile, mkdir: mkdir$6, readFile: readFile$7, readdir: readdir$4, rm: rm$7, writeFile: writeFile$3 } = require("fs/promises");
101243
101200
  const { Minipass } = require_commonjs$10();
101244
101201
  const path$14 = require("path");
101245
101202
  const ssri = require_lib$17();
@@ -101280,7 +101237,7 @@ var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
101280
101237
  };
101281
101238
  };
101282
101239
  const teardown = async (tmp) => {
101283
- if (!tmp.moved) return rm$6(tmp.target, {
101240
+ if (!tmp.moved) return rm$7(tmp.target, {
101284
101241
  recursive: true,
101285
101242
  force: true
101286
101243
  });
@@ -101336,7 +101293,7 @@ var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
101336
101293
  module.exports.delete = del;
101337
101294
  function del(cache, key, opts = {}) {
101338
101295
  if (!opts.removeFully) return insert(cache, key, null, opts);
101339
- return rm$6(bucketPath(cache, key), {
101296
+ return rm$7(bucketPath(cache, key), {
101340
101297
  recursive: true,
101341
101298
  force: true
101342
101299
  });
@@ -106098,7 +106055,7 @@ var require_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
106098
106055
  const { glob } = require_index_min$1();
106099
106056
  const path$12 = require("path");
106100
106057
  const globify = (pattern) => pattern.split(path$12.win32.sep).join(path$12.posix.sep);
106101
- module.exports = (path$53, options) => glob(globify(path$53), options);
106058
+ module.exports = (path$52, options) => glob(globify(path$52), options);
106102
106059
  }));
106103
106060
  //#endregion
106104
106061
  //#region ../../node_modules/cacache/lib/content/rm.js
@@ -106121,7 +106078,7 @@ var require_rm$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
106121
106078
  //#endregion
106122
106079
  //#region ../../node_modules/cacache/lib/rm.js
106123
106080
  var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
106124
- const { rm: rm$5 } = require("fs/promises");
106081
+ const { rm: rm$6 } = require("fs/promises");
106125
106082
  const glob = require_glob();
106126
106083
  const index = require_entry_index();
106127
106084
  const memo = require_memoization();
@@ -106145,7 +106102,7 @@ var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
106145
106102
  silent: true,
106146
106103
  nosort: true
106147
106104
  });
106148
- return Promise.all(paths.map((p) => rm$5(p, {
106105
+ return Promise.all(paths.map((p) => rm$6(p, {
106149
106106
  recursive: true,
106150
106107
  force: true
106151
106108
  })));
@@ -106154,7 +106111,7 @@ var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
106154
106111
  //#endregion
106155
106112
  //#region ../../node_modules/cacache/lib/verify.js
106156
106113
  var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
106157
- const { mkdir: mkdir$5, readFile: readFile$6, rm: rm$4, stat: stat$4, truncate, writeFile: writeFile$2 } = require("fs/promises");
106114
+ const { mkdir: mkdir$5, readFile: readFile$6, rm: rm$5, stat: stat$4, truncate, writeFile: writeFile$2 } = require("fs/promises");
106158
106115
  const contentPath = require_path();
106159
106116
  const fsm = require_lib$15();
106160
106117
  const glob = require_glob();
@@ -106251,7 +106208,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106251
106208
  } else {
106252
106209
  stats.reclaimedCount++;
106253
106210
  const s = await stat$4(f);
106254
- await rm$4(f, {
106211
+ await rm$5(f, {
106255
106212
  recursive: true,
106256
106213
  force: true
106257
106214
  });
@@ -106274,7 +106231,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106274
106231
  valid: false
106275
106232
  };
106276
106233
  if (err.code !== "EINTEGRITY") throw err;
106277
- await rm$4(filepath, {
106234
+ await rm$5(filepath, {
106278
106235
  recursive: true,
106279
106236
  force: true
106280
106237
  });
@@ -106335,7 +106292,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106335
106292
  }
106336
106293
  function cleanTmp(cache, opts) {
106337
106294
  opts.log.silly("verify", "cleaning tmp directory");
106338
- return rm$4(path$10.join(cache, "tmp"), {
106295
+ return rm$5(path$10.join(cache, "tmp"), {
106339
106296
  recursive: true,
106340
106297
  force: true
106341
106298
  });
@@ -106896,14 +106853,14 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106896
106853
  const { readFile: readFile$5, readdir: readdir$3, stat: stat$3 } = require("fs/promises");
106897
106854
  const { resolve: resolve$8, basename: basename$3, dirname: dirname$7 } = require("path");
106898
106855
  const normalizePackageBin = require_lib$21();
106899
- const readPackage = ({ path: path$49, packageJsonCache }) => packageJsonCache.has(path$49) ? Promise.resolve(packageJsonCache.get(path$49)) : readFile$5(path$49).then((json) => {
106856
+ const readPackage = ({ path: path$48, packageJsonCache }) => packageJsonCache.has(path$48) ? Promise.resolve(packageJsonCache.get(path$48)) : readFile$5(path$48).then((json) => {
106900
106857
  const pkg = normalizePackageBin(JSON.parse(json));
106901
- packageJsonCache.set(path$49, pkg);
106858
+ packageJsonCache.set(path$48, pkg);
106902
106859
  return pkg;
106903
106860
  }).catch(() => null);
106904
106861
  const normalized = Symbol("package data has been normalized");
106905
- const rpj = ({ path: path$50, packageJsonCache }) => readPackage({
106906
- path: path$50,
106862
+ const rpj = ({ path: path$49, packageJsonCache }) => readPackage({
106863
+ path: path$49,
106907
106864
  packageJsonCache
106908
106865
  }).then((pkg) => {
106909
106866
  if (!pkg || pkg[normalized]) return pkg;
@@ -106917,14 +106874,14 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106917
106874
  pkg[normalized] = true;
106918
106875
  return pkg;
106919
106876
  });
106920
- const pkgContents = async ({ path: path$51, depth = 1, currentDepth = 0, pkg = null, result = null, packageJsonCache = null }) => {
106877
+ const pkgContents = async ({ path: path$50, depth = 1, currentDepth = 0, pkg = null, result = null, packageJsonCache = null }) => {
106921
106878
  if (!result) result = /* @__PURE__ */ new Set();
106922
106879
  if (!packageJsonCache) packageJsonCache = /* @__PURE__ */ new Map();
106923
106880
  if (pkg === true) return rpj({
106924
- path: path$51 + "/package.json",
106881
+ path: path$50 + "/package.json",
106925
106882
  packageJsonCache
106926
106883
  }).then((p) => pkgContents({
106927
- path: path$51,
106884
+ path: path$50,
106928
106885
  depth,
106929
106886
  currentDepth,
106930
106887
  pkg: p,
@@ -106933,7 +106890,7 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106933
106890
  }));
106934
106891
  if (pkg) {
106935
106892
  if (pkg.bin) {
106936
- const dir = dirname$7(path$51);
106893
+ const dir = dirname$7(path$50);
106937
106894
  const scope = basename$3(dir);
106938
106895
  const nm = /^@.+/.test(scope) ? dirname$7(dir) : dir;
106939
106896
  const binFiles = [];
@@ -106945,21 +106902,21 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106945
106902
  }
106946
106903
  }
106947
106904
  if (currentDepth >= depth) {
106948
- result.add(path$51);
106905
+ result.add(path$50);
106949
106906
  return result;
106950
106907
  }
106951
- const [dirEntries, bundleDeps] = await Promise.all([readdir$3(path$51, { withFileTypes: true }), currentDepth === 0 && pkg && pkg.bundleDependencies ? bundled({
106952
- path: path$51,
106908
+ const [dirEntries, bundleDeps] = await Promise.all([readdir$3(path$50, { withFileTypes: true }), currentDepth === 0 && pkg && pkg.bundleDependencies ? bundled({
106909
+ path: path$50,
106953
106910
  packageJsonCache
106954
106911
  }) : null]).catch(() => []);
106955
106912
  if (!dirEntries) return result;
106956
106913
  if (!dirEntries.length && !bundleDeps && currentDepth !== 0) {
106957
- result.add(path$51);
106914
+ result.add(path$50);
106958
106915
  return result;
106959
106916
  }
106960
106917
  const recursePromises = [];
106961
106918
  for (const entry of dirEntries) {
106962
- const p = resolve$8(path$51, entry.name);
106919
+ const p = resolve$8(path$50, entry.name);
106963
106920
  if (entry.isDirectory() === false) {
106964
106921
  result.add(p);
106965
106922
  continue;
@@ -106978,7 +106935,7 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106978
106935
  }
106979
106936
  if (bundleDeps) recursePromises.push(...bundleDeps.map((dep) => {
106980
106937
  return pkgContents({
106981
- path: resolve$8(path$51, "node_modules", dep),
106938
+ path: resolve$8(path$50, "node_modules", dep),
106982
106939
  packageJsonCache,
106983
106940
  pkg: true,
106984
106941
  depth,
@@ -106989,8 +106946,8 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106989
106946
  if (recursePromises.length) await Promise.all(recursePromises);
106990
106947
  return result;
106991
106948
  };
106992
- module.exports = ({ path: path$52, ...opts }) => pkgContents({
106993
- path: resolve$8(path$52),
106949
+ module.exports = ({ path: path$51, ...opts }) => pkgContents({
106950
+ path: resolve$8(path$51),
106994
106951
  ...opts,
106995
106952
  pkg: true
106996
106953
  }).then((results) => [...results]);
@@ -112426,7 +112383,7 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
112426
112383
  var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
112427
112384
  const { Walker: IgnoreWalker } = require_lib$10();
112428
112385
  const { lstatSync: lstat$1, readFileSync: readFile$4 } = require("fs");
112429
- const { basename: basename$2, dirname: dirname$6, extname: extname$1, join: join$8, relative, resolve: resolve$6, sep } = require("path");
112386
+ const { basename: basename$2, dirname: dirname$6, extname: extname$1, join: join$6, relative, resolve: resolve$6, sep } = require("path");
112430
112387
  const { log } = require_lib$29();
112431
112388
  const defaultRules = Symbol("npm-packlist.rules.default");
112432
112389
  const strictRules = Symbol("npm-packlist.rules.strict");
@@ -112456,10 +112413,10 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112456
112413
  "/archived-packages/**"
112457
112414
  ];
112458
112415
  const strictDefaults = ["/.git"];
112459
- const normalizePath = (path$46) => path$46.split("\\").join("/");
112416
+ const normalizePath = (path$45) => path$45.split("\\").join("/");
112460
112417
  const readOutOfTreeIgnoreFiles = (root, rel, result = []) => {
112461
112418
  for (const file of [".npmignore", ".gitignore"]) try {
112462
- const ignoreContent = readFile$4(join$8(root, file), { encoding: "utf8" });
112419
+ const ignoreContent = readFile$4(join$6(root, file), { encoding: "utf8" });
112463
112420
  result.push(ignoreContent);
112464
112421
  break;
112465
112422
  } catch (err) {
@@ -112468,8 +112425,8 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112468
112425
  }
112469
112426
  if (!rel) return result;
112470
112427
  const firstRel = rel.split(sep, 1)[0];
112471
- const newRoot = join$8(root, firstRel);
112472
- return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$8(root, rel)), result);
112428
+ const newRoot = join$6(root, firstRel);
112429
+ return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$6(root, rel)), result);
112473
112430
  };
112474
112431
  var PackWalker = class PackWalker extends IgnoreWalker {
112475
112432
  constructor(tree, opts) {
@@ -112493,14 +112450,14 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112493
112450
  this.requiredFiles = options.requiredFiles || [];
112494
112451
  const additionalDefaults = [];
112495
112452
  if (options.prefix && options.workspaces) {
112496
- const path$47 = normalizePath(options.path);
112453
+ const path$46 = normalizePath(options.path);
112497
112454
  const prefix = normalizePath(options.prefix);
112498
112455
  const workspaces = options.workspaces.map((ws) => normalizePath(ws));
112499
112456
  // istanbul ignore else - this does nothing unless we need it to
112500
- if (path$47 !== prefix && workspaces.includes(path$47)) {
112457
+ if (path$46 !== prefix && workspaces.includes(path$46)) {
112501
112458
  const relpath = relative(options.prefix, dirname$6(options.path));
112502
112459
  additionalDefaults.push(...readOutOfTreeIgnoreFiles(options.prefix, relpath));
112503
- } else if (path$47 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
112460
+ } else if (path$46 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
112504
112461
  }
112505
112462
  this.injectRules(defaultRules, [...defaults, ...additionalDefaults]);
112506
112463
  if (!this.isPackage) this.injectRules(strictRules, [...strictDefaults, ...this.requiredFiles.map((file) => `!${file}`)]);
@@ -112536,7 +112493,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112536
112493
  let ignoreFiles = null;
112537
112494
  if (this.tree.workspaces) {
112538
112495
  const workspaceDirs = [...this.tree.workspaces.values()].map((dir) => dir.replace(/\\/g, "/"));
112539
- const entryPath = join$8(this.path, entry).replace(/\\/g, "/");
112496
+ const entryPath = join$6(this.path, entry).replace(/\\/g, "/");
112540
112497
  if (workspaceDirs.includes(entryPath)) ignoreFiles = [
112541
112498
  defaultRules,
112542
112499
  "package.json",
@@ -112596,7 +112553,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112596
112553
  if (file.endsWith("/*")) file += "*";
112597
112554
  const inverse = `!${file}`;
112598
112555
  try {
112599
- const stat = lstat$1(join$8(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
112556
+ const stat = lstat$1(join$6(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
112600
112557
  if (stat.isFile()) {
112601
112558
  strict.unshift(inverse);
112602
112559
  this.requiredFiles.push(file.startsWith("/") ? file.slice(1) : file);
@@ -112631,10 +112588,10 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112631
112588
  if (!edge || edge.peer || edge.dev) continue;
112632
112589
  const node = this.tree.edgesOut.get(dep).to;
112633
112590
  if (!node) continue;
112634
- const path$48 = node.path;
112591
+ const path$47 = node.path;
112635
112592
  const tree = node.target;
112636
112593
  const walkerOpts = {
112637
- path: path$48,
112594
+ path: path$47,
112638
112595
  isPackage: true,
112639
112596
  ignoreFiles: [],
112640
112597
  seen: this.seen
@@ -112653,7 +112610,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112653
112610
  walker.start();
112654
112611
  });
112655
112612
  const relativeFrom = relative(this.root, walker.path);
112656
- for (const file of bundled) this.result.add(join$8(relativeFrom, file).replace(/\\/g, "/"));
112613
+ for (const file of bundled) this.result.add(join$6(relativeFrom, file).replace(/\\/g, "/"));
112657
112614
  }
112658
112615
  }
112659
112616
  };
@@ -112711,7 +112668,7 @@ var require_make_spawn_args = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
112711
112668
  const { resolve: resolve$4 } = require("path");
112712
112669
  let npm_config_node_gyp;
112713
112670
  const makeSpawnArgs = (options) => {
112714
- const { args, binPaths, cmd, env, event, nodeGyp, path: path$45, scriptShell = true, stdio, stdioString } = options;
112671
+ const { args, binPaths, cmd, env, event, nodeGyp, path: path$44, scriptShell = true, stdio, stdioString } = options;
112715
112672
  if (nodeGyp) npm_config_node_gyp = nodeGyp;
112716
112673
  else if (env.npm_config_node_gyp) npm_config_node_gyp = env.npm_config_node_gyp;
112717
112674
  else npm_config_node_gyp = require.resolve("node-gyp/bin/node-gyp.js");
@@ -112719,17 +112676,17 @@ var require_make_spawn_args = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
112719
112676
  cmd,
112720
112677
  args,
112721
112678
  {
112722
- env: setPATH(path$45, binPaths, {
112679
+ env: setPATH(path$44, binPaths, {
112723
112680
  ...process.env,
112724
112681
  ...env,
112725
- npm_package_json: resolve$4(path$45, "package.json"),
112682
+ npm_package_json: resolve$4(path$44, "package.json"),
112726
112683
  npm_lifecycle_event: event,
112727
112684
  npm_lifecycle_script: cmd,
112728
112685
  npm_config_node_gyp
112729
112686
  }),
112730
112687
  stdioString,
112731
112688
  stdio,
112732
- cwd: path$45,
112689
+ cwd: path$44,
112733
112690
  shell: scriptShell
112734
112691
  }
112735
112692
  ];
@@ -142047,7 +142004,7 @@ var require_registry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
142047
142004
  //#region ../../node_modules/pacote/lib/fetcher.js
142048
142005
  var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
142049
142006
  const { basename: basename$1, dirname: dirname$4 } = require("node:path");
142050
- const { rm: rm$3, mkdir: mkdir$4 } = require("node:fs/promises");
142007
+ const { rm: rm$4, mkdir: mkdir$4 } = require("node:fs/promises");
142051
142008
  const PackageJson = require_lib$18();
142052
142009
  const cacache = require_lib$14();
142053
142010
  const fsm = require_lib$13();
@@ -142224,7 +142181,7 @@ var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
142224
142181
  return getContents({
142225
142182
  path,
142226
142183
  depth: 1
142227
- }).then((contents) => Promise.all(contents.map((entry) => rm$3(entry, {
142184
+ }).then((contents) => Promise.all(contents.map((entry) => rm$4(entry, {
142228
142185
  recursive: true,
142229
142186
  force: true
142230
142187
  }))));
@@ -150021,9 +149978,9 @@ var require_mime_types = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
150021
149978
  * @param {string} path
150022
149979
  * @return {boolean|string}
150023
149980
  */
150024
- function lookup(path$44) {
150025
- if (!path$44 || typeof path$44 !== "string") return false;
150026
- var extension = extname("x." + path$44).toLowerCase().substr(1);
149981
+ function lookup(path$43) {
149982
+ if (!path$43 || typeof path$43 !== "string") return false;
149983
+ var extension = extname("x." + path$43).toLowerCase().substr(1);
150027
149984
  if (!extension) return false;
150028
149985
  return exports.types[extension] || false;
150029
149986
  }
@@ -151227,7 +151184,7 @@ async function fetchPackage(packageName, versionOrRange, options) {
151227
151184
  console.log(`[Fetcher] ${packageName}: Resolved to local fallback ${resolvedVersion} (${Date.now() - fallbackStart}ms)`);
151228
151185
  } else throw new Error(`Offline and no local fallback version available for ${packageName}`);
151229
151186
  } else try {
151230
- const cachePath = (0, node_path.join)(ctx.userDataPath, "cache", "pacote");
151187
+ const cachePath = ctx.getCachePath(CacheFolder.Pacote);
151231
151188
  let packumentPromise = packumentRequests.get(packageName);
151232
151189
  if (!packumentPromise) {
151233
151190
  packumentPromise = import_lib.default.packument(packageName, { cache: cachePath });
@@ -151258,7 +151215,7 @@ async function fetchPackage(packageName, versionOrRange, options) {
151258
151215
  console.log(`[Fetcher] ${packageName}: Resolved to local fallback ${resolvedVersion} (${Date.now() - fallbackStart}ms)`);
151259
151216
  } else throw error;
151260
151217
  }
151261
- const cachePath = (0, node_path.join)(ctx.userDataPath, "cache", "pacote");
151218
+ const cachePath = ctx.getCachePath(CacheFolder.Pacote);
151262
151219
  const packageDir = (0, node_path.join)(baseDir, resolvedVersion);
151263
151220
  const checkStart = Date.now();
151264
151221
  const isInstalled = options?.installDeps ? isPackageComplete(packageDir) && isDependenciesInstalledSync(packageDir) : isPackageComplete(packageDir);
@@ -151335,7 +151292,7 @@ async function runPnpm(cwd, options) {
151335
151292
  ...process.env,
151336
151293
  NODE_ENV: "production",
151337
151294
  PATH: nodePath ? `${(0, node_path.dirname)(nodePath)}${node_path.delimiter}${process.env.PATH}` : process.env.PATH,
151338
- PNPM_HOME: (0, node_path.join)(ctx.userDataPath, "pnpm"),
151295
+ PNPM_HOME: ctx.getPnpmPath(),
151339
151296
  PNPM_ONLY_ALLOW_TRUSTED_DEPENDENCIES: "false",
151340
151297
  ...extraEnv
151341
151298
  }
@@ -151562,7 +151519,7 @@ async function resolveEntryPoint(packageDir, packageName) {
151562
151519
  }
151563
151520
  //#endregion
151564
151521
  //#region ../../packages/core-node/src/handler-func.ts
151565
- const { join: join$6 } = node_path.default;
151522
+ const { join: join$4 } = node_path.default;
151566
151523
  //#endregion
151567
151524
  //#region ../../packages/core-node/src/handlers/plugins.ts
151568
151525
  const localPluginsMap = /* @__PURE__ */ new Map();
@@ -151592,15 +151549,15 @@ var src_default = createNodeDefinition({
151592
151549
  nodes: [{
151593
151550
  node: createAction({
151594
151551
  id: "poki-upload",
151595
- name: "Upload to Poki.io",
151596
- description: "",
151552
+ name: "Upload to Poki",
151553
+ description: "Upload and publish your build to the Poki Developer Portal.",
151597
151554
  icon: "",
151598
- displayString: "`Upload ${fmt.param(params['input-folder'], 'primary', 'No path selected')} to ${fmt.param(params['project'], 'primary', 'No project')} poki game (${fmt.param(params['name'], 'primary', 'No version name')})`",
151555
+ displayString: "`Upload ${fmt.param(params['input-folder'], 'primary', 'No path selected')} to Poki game ID ${fmt.param(params['project'], 'primary', 'No project')} (${fmt.param(params['name'], 'primary', 'No version name')})`",
151599
151556
  meta: {},
151600
151557
  params: {
151601
151558
  "input-folder": createPathParam("", {
151602
151559
  required: true,
151603
- label: "Folder to Upload",
151560
+ label: "Folder to upload",
151604
151561
  control: {
151605
151562
  type: "path",
151606
151563
  options: { properties: ["openDirectory"] }
@@ -151608,18 +151565,18 @@ var src_default = createNodeDefinition({
151608
151565
  }),
151609
151566
  project: createStringParam("", {
151610
151567
  required: true,
151611
- label: "Project",
151612
- description: "This is you Poki game id"
151568
+ label: "Poki Game ID",
151569
+ description: "Your unique Poki game ID."
151613
151570
  }),
151614
151571
  name: createStringParam("", {
151615
151572
  required: true,
151616
151573
  label: "Version name",
151617
- description: "This is the name of the version"
151574
+ description: "The version label for this build."
151618
151575
  }),
151619
151576
  notes: createStringParam("", {
151620
151577
  required: true,
151621
151578
  label: "Version notes",
151622
- description: "These are notes you want to specify with your version"
151579
+ description: "Release notes describing the changes in this version."
151623
151580
  })
151624
151581
  },
151625
151582
  outputs: {}