@pipelab/plugin-netlify 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(),
@@ -45432,20 +45398,6 @@ var WebSocketError = class extends Error {
45432
45398
  const isWebSocketRequestMessage = (message) => {
45433
45399
  return message && typeof message.channel === "string" && message.requestId;
45434
45400
  };
45435
- object({
45436
- version: literal("1.0.0"),
45437
- data: optional(record(string(), SaveLocationValidator), {})
45438
- });
45439
- const FileRepoProjectValidatorV2 = object({
45440
- id: string(),
45441
- name: string(),
45442
- description: string()
45443
- });
45444
- object({
45445
- version: literal("2.0.0"),
45446
- projects: array(FileRepoProjectValidatorV2),
45447
- pipelines: optional(array(SaveLocationValidator), [])
45448
- });
45449
45401
  //#endregion
45450
45402
  //#region ../../packages/constants/src/index.ts
45451
45403
  const websocketPort = 33753;
@@ -45468,6 +45420,11 @@ function findProjectRoot(startDir) {
45468
45420
  return null;
45469
45421
  }
45470
45422
  const projectRoot = findProjectRoot(_dirname);
45423
+ const CacheFolder = {
45424
+ Actions: "actions",
45425
+ Pipelines: "pipelines",
45426
+ Pacote: "pacote"
45427
+ };
45471
45428
  //#endregion
45472
45429
  //#region ../../packages/core-node/node_modules/ws/lib/constants.js
45473
45430
  var require_constants$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
@@ -49987,7 +49944,7 @@ const handleCommand = (filePath, rawArguments, rawOptions) => {
49987
49944
  var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
49988
49945
  module.exports = isexe;
49989
49946
  isexe.sync = sync;
49990
- var fs$38 = require("fs");
49947
+ var fs$37 = require("fs");
49991
49948
  function checkPathExt(path, options) {
49992
49949
  var pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;
49993
49950
  if (!pathext) return true;
@@ -50004,12 +49961,12 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50004
49961
  return checkPathExt(path, options);
50005
49962
  }
50006
49963
  function isexe(path, options, cb) {
50007
- fs$38.stat(path, function(er, stat) {
49964
+ fs$37.stat(path, function(er, stat) {
50008
49965
  cb(er, er ? false : checkStat(stat, path, options));
50009
49966
  });
50010
49967
  }
50011
49968
  function sync(path, options) {
50012
- return checkStat(fs$38.statSync(path), path, options);
49969
+ return checkStat(fs$37.statSync(path), path, options);
50013
49970
  }
50014
49971
  }));
50015
49972
  //#endregion
@@ -50017,14 +49974,14 @@ var require_windows = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50017
49974
  var require_mode = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50018
49975
  module.exports = isexe;
50019
49976
  isexe.sync = sync;
50020
- var fs$37 = require("fs");
49977
+ var fs$36 = require("fs");
50021
49978
  function isexe(path, options, cb) {
50022
- fs$37.stat(path, function(er, stat) {
49979
+ fs$36.stat(path, function(er, stat) {
50023
49980
  cb(er, er ? false : checkStat(stat, options));
50024
49981
  });
50025
49982
  }
50026
49983
  function sync(path, options) {
50027
- return checkStat(fs$37.statSync(path), options);
49984
+ return checkStat(fs$36.statSync(path), options);
50028
49985
  }
50029
49986
  function checkStat(stat, options) {
50030
49987
  return stat.isFile() && checkMode(stat, options);
@@ -50088,7 +50045,7 @@ var require_isexe = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
50088
50045
  //#region ../../node_modules/which/which.js
50089
50046
  var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50090
50047
  const isWindows = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
50091
- const path$43 = require("path");
50048
+ const path$42 = require("path");
50092
50049
  const COLON = isWindows ? ";" : ":";
50093
50050
  const isexe = require_isexe();
50094
50051
  const getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: "ENOENT" });
@@ -50118,7 +50075,7 @@ var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50118
50075
  if (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));
50119
50076
  const ppRaw = pathEnv[i];
50120
50077
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
50121
- const pCmd = path$43.join(pathPart, cmd);
50078
+ const pCmd = path$42.join(pathPart, cmd);
50122
50079
  resolve(subStep(!pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i, 0));
50123
50080
  });
50124
50081
  const subStep = (p, i, ii) => new Promise((resolve, reject) => {
@@ -50139,7 +50096,7 @@ var require_which$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50139
50096
  for (let i = 0; i < pathEnv.length; i++) {
50140
50097
  const ppRaw = pathEnv[i];
50141
50098
  const pathPart = /^".*"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;
50142
- const pCmd = path$43.join(pathPart, cmd);
50099
+ const pCmd = path$42.join(pathPart, cmd);
50143
50100
  const p = !pathPart && /^\.[\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;
50144
50101
  for (let j = 0; j < pathExt.length; j++) {
50145
50102
  const cur = p + pathExt[j];
@@ -50170,7 +50127,7 @@ var require_path_key = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
50170
50127
  //#endregion
50171
50128
  //#region ../../node_modules/cross-spawn/lib/util/resolveCommand.js
50172
50129
  var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50173
- const path$42 = require("path");
50130
+ const path$41 = require("path");
50174
50131
  const which = require_which$1();
50175
50132
  const getPathKey = require_path_key();
50176
50133
  function resolveCommandAttempt(parsed, withoutPathExt) {
@@ -50185,12 +50142,12 @@ var require_resolveCommand = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
50185
50142
  try {
50186
50143
  resolved = which.sync(parsed.command, {
50187
50144
  path: env[getPathKey({ env })],
50188
- pathExt: withoutPathExt ? path$42.delimiter : void 0
50145
+ pathExt: withoutPathExt ? path$41.delimiter : void 0
50189
50146
  });
50190
50147
  } catch (e) {} finally {
50191
50148
  if (shouldSwitchCwd) process.chdir(cwd);
50192
50149
  }
50193
- if (resolved) resolved = path$42.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
50150
+ if (resolved) resolved = path$41.resolve(hasCustomCwd ? parsed.options.cwd : "", resolved);
50194
50151
  return resolved;
50195
50152
  }
50196
50153
  function resolveCommand(parsed) {
@@ -50239,16 +50196,16 @@ var require_shebang_command = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
50239
50196
  //#endregion
50240
50197
  //#region ../../node_modules/cross-spawn/lib/util/readShebang.js
50241
50198
  var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50242
- const fs$36 = require("fs");
50199
+ const fs$35 = require("fs");
50243
50200
  const shebangCommand = require_shebang_command();
50244
50201
  function readShebang(command) {
50245
50202
  const size = 150;
50246
50203
  const buffer = Buffer.alloc(size);
50247
50204
  let fd;
50248
50205
  try {
50249
- fd = fs$36.openSync(command, "r");
50250
- fs$36.readSync(fd, buffer, 0, size, 0);
50251
- fs$36.closeSync(fd);
50206
+ fd = fs$35.openSync(command, "r");
50207
+ fs$35.readSync(fd, buffer, 0, size, 0);
50208
+ fs$35.closeSync(fd);
50252
50209
  } catch (e) {}
50253
50210
  return shebangCommand(buffer.toString());
50254
50211
  }
@@ -50257,7 +50214,7 @@ var require_readShebang = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
50257
50214
  //#endregion
50258
50215
  //#region ../../node_modules/cross-spawn/lib/parse.js
50259
50216
  var require_parse$5 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
50260
- const path$41 = require("path");
50217
+ const path$40 = require("path");
50261
50218
  const resolveCommand = require_resolveCommand();
50262
50219
  const escape = require_escape$4();
50263
50220
  const readShebang = require_readShebang();
@@ -50280,7 +50237,7 @@ var require_parse$5 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
50280
50237
  const needsShell = !isExecutableRegExp.test(commandFile);
50281
50238
  if (parsed.options.forceShell || needsShell) {
50282
50239
  const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);
50283
- parsed.command = path$41.normalize(parsed.command);
50240
+ parsed.command = path$40.normalize(parsed.command);
50284
50241
  parsed.command = escape.command(parsed.command);
50285
50242
  parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));
50286
50243
  parsed.args = [
@@ -56936,10 +56893,10 @@ var require_header = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
56936
56893
  if (!(buf.length >= off + 512)) throw new Error("need 512 bytes for header");
56937
56894
  const prefixSize = this.ctime || this.atime ? 130 : 155;
56938
56895
  const split = splitPrefix(this.path || "", prefixSize);
56939
- const path$94 = split[0];
56896
+ const path$93 = split[0];
56940
56897
  const prefix = split[1];
56941
56898
  this.needPax = split[2];
56942
- this.needPax = encString(buf, off, 100, path$94) || this.needPax;
56899
+ this.needPax = encString(buf, off, 100, path$93) || this.needPax;
56943
56900
  this.needPax = encNumber(buf, off + 100, 8, this.mode) || this.needPax;
56944
56901
  this.needPax = encNumber(buf, off + 108, 8, this.uid) || this.needPax;
56945
56902
  this.needPax = encNumber(buf, off + 116, 8, this.gid) || this.needPax;
@@ -57042,7 +56999,7 @@ var require_header = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57042
56999
  //#region ../../node_modules/tar/lib/pax.js
57043
57000
  var require_pax = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57044
57001
  const Header = require_header();
57045
- const path$35 = require("path");
57002
+ const path$34 = require("path");
57046
57003
  var Pax = class {
57047
57004
  constructor(obj, global) {
57048
57005
  this.atime = obj.atime || null;
@@ -57070,7 +57027,7 @@ var require_pax = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
57070
57027
  const buf = Buffer.allocUnsafe(bufLen);
57071
57028
  for (let i = 0; i < 512; i++) buf[i] = 0;
57072
57029
  new Header({
57073
- path: ("PaxHeader/" + path$35.basename(this.path)).slice(0, 99),
57030
+ path: ("PaxHeader/" + path$34.basename(this.path)).slice(0, 99),
57074
57031
  mode: this.mode || 420,
57075
57032
  uid: this.uid || null,
57076
57033
  gid: this.gid || null,
@@ -57173,16 +57130,16 @@ var require_winchars = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
57173
57130
  //#region ../../node_modules/tar/lib/strip-absolute-path.js
57174
57131
  var require_strip_absolute_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57175
57132
  const { isAbsolute: isAbsolute$3, parse: parse$3 } = require("path").win32;
57176
- module.exports = (path$93) => {
57133
+ module.exports = (path$92) => {
57177
57134
  let r = "";
57178
- let parsed = parse$3(path$93);
57179
- while (isAbsolute$3(path$93) || parsed.root) {
57180
- const root = path$93.charAt(0) === "/" && path$93.slice(0, 4) !== "//?/" ? "/" : parsed.root;
57181
- path$93 = path$93.slice(root.length);
57135
+ let parsed = parse$3(path$92);
57136
+ while (isAbsolute$3(path$92) || parsed.root) {
57137
+ const root = path$92.charAt(0) === "/" && path$92.slice(0, 4) !== "//?/" ? "/" : parsed.root;
57138
+ path$92 = path$92.slice(root.length);
57182
57139
  r += root;
57183
- parsed = parse$3(path$93);
57140
+ parsed = parse$3(path$92);
57184
57141
  }
57185
- return [r, path$93];
57142
+ return [r, path$92];
57186
57143
  };
57187
57144
  }));
57188
57145
  //#endregion
@@ -57205,14 +57162,14 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57205
57162
  const { Minipass } = require_minipass$4();
57206
57163
  const Pax = require_pax();
57207
57164
  const Header = require_header();
57208
- const fs$35 = require("fs");
57209
- const path$34 = require("path");
57165
+ const fs$34 = require("fs");
57166
+ const path$33 = require("path");
57210
57167
  const normPath = require_normalize_windows_path();
57211
57168
  const stripSlash = require_strip_trailing_slashes();
57212
- const prefixPath = (path$90, prefix) => {
57213
- if (!prefix) return normPath(path$90);
57214
- path$90 = normPath(path$90).replace(/^\.(\/|$)/, "");
57215
- return stripSlash(prefix) + "/" + path$90;
57169
+ const prefixPath = (path$89, prefix) => {
57170
+ if (!prefix) return normPath(path$89);
57171
+ path$89 = normPath(path$89).replace(/^\.(\/|$)/, "");
57172
+ return stripSlash(prefix) + "/" + path$89;
57216
57173
  };
57217
57174
  const maxReadSize = 16 * 1024 * 1024;
57218
57175
  const PROCESS = Symbol("process");
@@ -57279,7 +57236,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57279
57236
  this.path = winchars.decode(this.path.replace(/\\/g, "/"));
57280
57237
  p = p.replace(/\\/g, "/");
57281
57238
  }
57282
- this.absolute = normPath(opt.absolute || path$34.resolve(this.cwd, p));
57239
+ this.absolute = normPath(opt.absolute || path$33.resolve(this.cwd, p));
57283
57240
  if (this.path === "") this.path = "./";
57284
57241
  if (pathWarn) this.warn("TAR_ENTRY_INFO", `stripping ${pathWarn} from absolute path`, {
57285
57242
  entry: this,
@@ -57293,7 +57250,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57293
57250
  return super.emit(ev, ...data);
57294
57251
  }
57295
57252
  [LSTAT]() {
57296
- fs$35.lstat(this.absolute, (er, stat) => {
57253
+ fs$34.lstat(this.absolute, (er, stat) => {
57297
57254
  if (er) return this.emit("error", er);
57298
57255
  this[ONLSTAT](stat);
57299
57256
  });
@@ -57317,8 +57274,8 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57317
57274
  [MODE](mode) {
57318
57275
  return modeFix(mode, this.type === "Directory", this.portable);
57319
57276
  }
57320
- [PREFIX](path$91) {
57321
- return prefixPath(path$91, this.prefix);
57277
+ [PREFIX](path$90) {
57278
+ return prefixPath(path$90, this.prefix);
57322
57279
  }
57323
57280
  [HEADER]() {
57324
57281
  if (this.type === "Directory" && this.portable) this.noMtime = true;
@@ -57358,7 +57315,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57358
57315
  this.end();
57359
57316
  }
57360
57317
  [SYMLINK]() {
57361
- fs$35.readlink(this.absolute, (er, linkpath) => {
57318
+ fs$34.readlink(this.absolute, (er, linkpath) => {
57362
57319
  if (er) return this.emit("error", er);
57363
57320
  this[ONREADLINK](linkpath);
57364
57321
  });
@@ -57370,7 +57327,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57370
57327
  }
57371
57328
  [HARDLINK](linkpath) {
57372
57329
  this.type = "Link";
57373
- this.linkpath = normPath(path$34.relative(this.cwd, linkpath));
57330
+ this.linkpath = normPath(path$33.relative(this.cwd, linkpath));
57374
57331
  this.stat.size = 0;
57375
57332
  this[HEADER]();
57376
57333
  this.end();
@@ -57389,7 +57346,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57389
57346
  this[OPENFILE]();
57390
57347
  }
57391
57348
  [OPENFILE]() {
57392
- fs$35.open(this.absolute, "r", (er, fd) => {
57349
+ fs$34.open(this.absolute, "r", (er, fd) => {
57393
57350
  if (er) return this.emit("error", er);
57394
57351
  this[ONOPENFILE](fd);
57395
57352
  });
@@ -57409,13 +57366,13 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57409
57366
  }
57410
57367
  [READ]() {
57411
57368
  const { fd, buf, offset, length, pos } = this;
57412
- fs$35.read(fd, buf, offset, length, pos, (er, bytesRead) => {
57369
+ fs$34.read(fd, buf, offset, length, pos, (er, bytesRead) => {
57413
57370
  if (er) return this[CLOSE](() => this.emit("error", er));
57414
57371
  this[ONREAD](bytesRead);
57415
57372
  });
57416
57373
  }
57417
57374
  [CLOSE](cb) {
57418
- fs$35.close(this.fd, cb);
57375
+ fs$34.close(this.fd, cb);
57419
57376
  }
57420
57377
  [ONREAD](bytesRead) {
57421
57378
  if (bytesRead <= 0 && this.remain > 0) {
@@ -57471,19 +57428,19 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57471
57428
  });
57472
57429
  var WriteEntrySync = class extends WriteEntry {
57473
57430
  [LSTAT]() {
57474
- this[ONLSTAT](fs$35.lstatSync(this.absolute));
57431
+ this[ONLSTAT](fs$34.lstatSync(this.absolute));
57475
57432
  }
57476
57433
  [SYMLINK]() {
57477
- this[ONREADLINK](fs$35.readlinkSync(this.absolute));
57434
+ this[ONREADLINK](fs$34.readlinkSync(this.absolute));
57478
57435
  }
57479
57436
  [OPENFILE]() {
57480
- this[ONOPENFILE](fs$35.openSync(this.absolute, "r"));
57437
+ this[ONOPENFILE](fs$34.openSync(this.absolute, "r"));
57481
57438
  }
57482
57439
  [READ]() {
57483
57440
  let threw = true;
57484
57441
  try {
57485
57442
  const { fd, buf, offset, length, pos } = this;
57486
- const bytesRead = fs$35.readSync(fd, buf, offset, length, pos);
57443
+ const bytesRead = fs$34.readSync(fd, buf, offset, length, pos);
57487
57444
  this[ONREAD](bytesRead);
57488
57445
  threw = false;
57489
57446
  } finally {
@@ -57496,7 +57453,7 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57496
57453
  cb();
57497
57454
  }
57498
57455
  [CLOSE](cb) {
57499
- fs$35.closeSync(this.fd);
57456
+ fs$34.closeSync(this.fd);
57500
57457
  cb();
57501
57458
  }
57502
57459
  };
@@ -57569,8 +57526,8 @@ var require_write_entry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
57569
57526
  super.write(this.header.block);
57570
57527
  readEntry.pipe(this);
57571
57528
  }
57572
- [PREFIX](path$92) {
57573
- return prefixPath(path$92, this.prefix);
57529
+ [PREFIX](path$91) {
57530
+ return prefixPath(path$91, this.prefix);
57574
57531
  }
57575
57532
  [MODE](mode) {
57576
57533
  return modeFix(mode, this.type === "Directory", this.portable);
@@ -57854,8 +57811,8 @@ var require_yallist = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
57854
57811
  //#region ../../node_modules/tar/lib/pack.js
57855
57812
  var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
57856
57813
  var PackJob = class {
57857
- constructor(path$86, absolute) {
57858
- this.path = path$86 || "./";
57814
+ constructor(path$85, absolute) {
57815
+ this.path = path$85 || "./";
57859
57816
  this.absolute = absolute;
57860
57817
  this.entry = null;
57861
57818
  this.stat = null;
@@ -57893,8 +57850,8 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57893
57850
  const WRITEENTRYCLASS = Symbol("writeEntryClass");
57894
57851
  const WRITE = Symbol("write");
57895
57852
  const ONDRAIN = Symbol("ondrain");
57896
- const fs$34 = require("fs");
57897
- const path$33 = require("path");
57853
+ const fs$33 = require("fs");
57854
+ const path$32 = require("path");
57898
57855
  const warner = require_warn_mixin();
57899
57856
  const normPath = require_normalize_windows_path();
57900
57857
  const Pack = warner(class Pack extends Minipass {
@@ -57946,24 +57903,24 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57946
57903
  [WRITE](chunk) {
57947
57904
  return super.write(chunk);
57948
57905
  }
57949
- add(path$87) {
57950
- this.write(path$87);
57906
+ add(path$86) {
57907
+ this.write(path$86);
57951
57908
  return this;
57952
57909
  }
57953
- end(path$88) {
57954
- if (path$88) this.write(path$88);
57910
+ end(path$87) {
57911
+ if (path$87) this.write(path$87);
57955
57912
  this[ENDED] = true;
57956
57913
  this[PROCESS]();
57957
57914
  return this;
57958
57915
  }
57959
- write(path$89) {
57916
+ write(path$88) {
57960
57917
  if (this[ENDED]) throw new Error("write after end");
57961
- if (path$89 instanceof ReadEntry) this[ADDTARENTRY](path$89);
57962
- else this[ADDFSENTRY](path$89);
57918
+ if (path$88 instanceof ReadEntry) this[ADDTARENTRY](path$88);
57919
+ else this[ADDFSENTRY](path$88);
57963
57920
  return this.flowing;
57964
57921
  }
57965
57922
  [ADDTARENTRY](p) {
57966
- const absolute = normPath(path$33.resolve(this.cwd, p.path));
57923
+ const absolute = normPath(path$32.resolve(this.cwd, p.path));
57967
57924
  if (!this.filter(p.path, p)) p.resume();
57968
57925
  else {
57969
57926
  const job = new PackJob(p.path, absolute, false);
@@ -57975,14 +57932,14 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57975
57932
  this[PROCESS]();
57976
57933
  }
57977
57934
  [ADDFSENTRY](p) {
57978
- const absolute = normPath(path$33.resolve(this.cwd, p));
57935
+ const absolute = normPath(path$32.resolve(this.cwd, p));
57979
57936
  this[QUEUE].push(new PackJob(p, absolute));
57980
57937
  this[PROCESS]();
57981
57938
  }
57982
57939
  [STAT](job) {
57983
57940
  job.pending = true;
57984
57941
  this[JOBS] += 1;
57985
- fs$34[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
57942
+ fs$33[this.follow ? "stat" : "lstat"](job.absolute, (er, stat) => {
57986
57943
  job.pending = false;
57987
57944
  this[JOBS] -= 1;
57988
57945
  if (er) this.emit("error", er);
@@ -57998,7 +57955,7 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
57998
57955
  [READDIR](job) {
57999
57956
  job.pending = true;
58000
57957
  this[JOBS] += 1;
58001
- fs$34.readdir(job.absolute, (er, entries) => {
57958
+ fs$33.readdir(job.absolute, (er, entries) => {
58002
57959
  job.pending = false;
58003
57960
  this[JOBS] -= 1;
58004
57961
  if (er) return this.emit("error", er);
@@ -58116,10 +58073,10 @@ var require_pack$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
58116
58073
  resume() {}
58117
58074
  [STAT](job) {
58118
58075
  const stat = this.follow ? "statSync" : "lstatSync";
58119
- this[ONSTAT](job, fs$34[stat](job.absolute));
58076
+ this[ONSTAT](job, fs$33[stat](job.absolute));
58120
58077
  }
58121
58078
  [READDIR](job, stat) {
58122
- this[ONREADDIR](job, fs$34.readdirSync(job.absolute));
58079
+ this[ONREADDIR](job, fs$33.readdirSync(job.absolute));
58123
58080
  }
58124
58081
  [PIPE](job) {
58125
58082
  const source = job.entry;
@@ -58575,8 +58532,8 @@ while (this[FLUSHCHUNK](this[BUFFERSHIFT]()));
58575
58532
  var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
58576
58533
  const MiniPass = require_minipass$2();
58577
58534
  const EE$11 = require("events").EventEmitter;
58578
- const fs$33 = require("fs");
58579
- let writev = fs$33.writev;
58535
+ const fs$32 = require("fs");
58536
+ let writev = fs$32.writev;
58580
58537
  /* istanbul ignore next */
58581
58538
  if (!writev) {
58582
58539
  const binding = process.binding("fs");
@@ -58647,7 +58604,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58647
58604
  throw new TypeError("this is a readable stream");
58648
58605
  }
58649
58606
  [_open]() {
58650
- fs$33.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
58607
+ fs$32.open(this[_path], "r", (er, fd) => this[_onopen](er, fd));
58651
58608
  }
58652
58609
  [_onopen](er, fd) {
58653
58610
  if (er) this[_onerror](er);
@@ -58666,7 +58623,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58666
58623
  const buf = this[_makeBuf]();
58667
58624
  /* istanbul ignore if */
58668
58625
  if (buf.length === 0) return process.nextTick(() => this[_onread](null, 0, buf));
58669
- fs$33.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
58626
+ fs$32.read(this[_fd], buf, 0, buf.length, null, (er, br, buf) => this[_onread](er, br, buf));
58670
58627
  }
58671
58628
  }
58672
58629
  [_onread](er, br, buf) {
@@ -58678,7 +58635,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58678
58635
  if (this[_autoClose] && typeof this[_fd] === "number") {
58679
58636
  const fd = this[_fd];
58680
58637
  this[_fd] = null;
58681
- fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58638
+ fs$32.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58682
58639
  }
58683
58640
  }
58684
58641
  [_onerror](er) {
@@ -58716,7 +58673,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58716
58673
  [_open]() {
58717
58674
  let threw = true;
58718
58675
  try {
58719
- this[_onopen](null, fs$33.openSync(this[_path], "r"));
58676
+ this[_onopen](null, fs$32.openSync(this[_path], "r"));
58720
58677
  threw = false;
58721
58678
  } finally {
58722
58679
  if (threw) this[_close]();
@@ -58730,7 +58687,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58730
58687
  do {
58731
58688
  const buf = this[_makeBuf]();
58732
58689
  /* istanbul ignore next */
58733
- const br = buf.length === 0 ? 0 : fs$33.readSync(this[_fd], buf, 0, buf.length, null);
58690
+ const br = buf.length === 0 ? 0 : fs$32.readSync(this[_fd], buf, 0, buf.length, null);
58734
58691
  if (!this[_handleChunk](br, buf)) break;
58735
58692
  } while (true);
58736
58693
  this[_reading] = false;
@@ -58744,7 +58701,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58744
58701
  if (this[_autoClose] && typeof this[_fd] === "number") {
58745
58702
  const fd = this[_fd];
58746
58703
  this[_fd] = null;
58747
- fs$33.closeSync(fd);
58704
+ fs$32.closeSync(fd);
58748
58705
  this.emit("close");
58749
58706
  }
58750
58707
  }
@@ -58789,7 +58746,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58789
58746
  this.emit("error", er);
58790
58747
  }
58791
58748
  [_open]() {
58792
- fs$33.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
58749
+ fs$32.open(this[_path], this[_flags], this[_mode], (er, fd) => this[_onopen](er, fd));
58793
58750
  }
58794
58751
  [_onopen](er, fd) {
58795
58752
  if (this[_defaultFlag] && this[_flags] === "r+" && er && er.code === "ENOENT") {
@@ -58824,7 +58781,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58824
58781
  return true;
58825
58782
  }
58826
58783
  [_write](buf) {
58827
- fs$33.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
58784
+ fs$32.write(this[_fd], buf, 0, buf.length, this[_pos], (er, bw) => this[_onwrite](er, bw));
58828
58785
  }
58829
58786
  [_onwrite](er, bw) {
58830
58787
  if (er) this[_onerror](er);
@@ -58858,7 +58815,7 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58858
58815
  if (this[_autoClose] && typeof this[_fd] === "number") {
58859
58816
  const fd = this[_fd];
58860
58817
  this[_fd] = null;
58861
- fs$33.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58818
+ fs$32.close(fd, (er) => er ? this.emit("error", er) : this.emit("close"));
58862
58819
  }
58863
58820
  }
58864
58821
  };
@@ -58866,28 +58823,28 @@ var require_fs_minipass = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
58866
58823
  [_open]() {
58867
58824
  let fd;
58868
58825
  if (this[_defaultFlag] && this[_flags] === "r+") try {
58869
- fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
58826
+ fd = fs$32.openSync(this[_path], this[_flags], this[_mode]);
58870
58827
  } catch (er) {
58871
58828
  if (er.code === "ENOENT") {
58872
58829
  this[_flags] = "w";
58873
58830
  return this[_open]();
58874
58831
  } else throw er;
58875
58832
  }
58876
- else fd = fs$33.openSync(this[_path], this[_flags], this[_mode]);
58833
+ else fd = fs$32.openSync(this[_path], this[_flags], this[_mode]);
58877
58834
  this[_onopen](null, fd);
58878
58835
  }
58879
58836
  [_close]() {
58880
58837
  if (this[_autoClose] && typeof this[_fd] === "number") {
58881
58838
  const fd = this[_fd];
58882
58839
  this[_fd] = null;
58883
- fs$33.closeSync(fd);
58840
+ fs$32.closeSync(fd);
58884
58841
  this.emit("close");
58885
58842
  }
58886
58843
  }
58887
58844
  [_write](buf) {
58888
58845
  let threw = true;
58889
58846
  try {
58890
- this[_onwrite](null, fs$33.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
58847
+ this[_onwrite](null, fs$32.writeSync(this[_fd], buf, 0, buf.length, this[_pos]));
58891
58848
  threw = false;
58892
58849
  } finally {
58893
58850
  if (threw) try {
@@ -59252,9 +59209,9 @@ while (this[PROCESSENTRY](this[QUEUE].shift()));
59252
59209
  var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59253
59210
  const hlo = require_high_level_opt();
59254
59211
  const Parser = require_parse$4();
59255
- const fs$32 = require("fs");
59212
+ const fs$31 = require("fs");
59256
59213
  const fsm = require_fs_minipass();
59257
- const path$32 = require("path");
59214
+ const path$31 = require("path");
59258
59215
  const stripSlash = require_strip_trailing_slashes();
59259
59216
  module.exports = (opt_, files, cb) => {
59260
59217
  if (typeof opt_ === "function") cb = opt_, files = null, opt_ = {};
@@ -59280,8 +59237,8 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59280
59237
  const map = new Map(files.map((f) => [stripSlash(f), true]));
59281
59238
  const filter = opt.filter;
59282
59239
  const mapHas = (file, r) => {
59283
- const root = r || path$32.parse(file).root || ".";
59284
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$32.dirname(file), root);
59240
+ const root = r || path$31.parse(file).root || ".";
59241
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$31.dirname(file), root);
59285
59242
  map.set(file, ret);
59286
59243
  return ret;
59287
59244
  };
@@ -59293,15 +59250,15 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59293
59250
  let threw = true;
59294
59251
  let fd;
59295
59252
  try {
59296
- const stat = fs$32.statSync(file);
59253
+ const stat = fs$31.statSync(file);
59297
59254
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
59298
- if (stat.size < readSize) p.end(fs$32.readFileSync(file));
59255
+ if (stat.size < readSize) p.end(fs$31.readFileSync(file));
59299
59256
  else {
59300
59257
  let pos = 0;
59301
59258
  const buf = Buffer.allocUnsafe(readSize);
59302
- fd = fs$32.openSync(file, "r");
59259
+ fd = fs$31.openSync(file, "r");
59303
59260
  while (pos < stat.size) {
59304
- const bytesRead = fs$32.readSync(fd, buf, 0, readSize, pos);
59261
+ const bytesRead = fs$31.readSync(fd, buf, 0, readSize, pos);
59305
59262
  pos += bytesRead;
59306
59263
  p.write(buf.slice(0, bytesRead));
59307
59264
  }
@@ -59310,7 +59267,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59310
59267
  threw = false;
59311
59268
  } finally {
59312
59269
  if (threw && fd) try {
59313
- fs$32.closeSync(fd);
59270
+ fs$31.closeSync(fd);
59314
59271
  } catch (er) {}
59315
59272
  }
59316
59273
  };
@@ -59321,7 +59278,7 @@ var require_list = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
59321
59278
  const p = new Promise((resolve, reject) => {
59322
59279
  parse.on("error", reject);
59323
59280
  parse.on("end", resolve);
59324
- fs$32.stat(file, (er, stat) => {
59281
+ fs$31.stat(file, (er, stat) => {
59325
59282
  if (er) reject(er);
59326
59283
  else {
59327
59284
  const stream = new fsm.ReadStream(file, {
@@ -59344,7 +59301,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59344
59301
  const Pack = require_pack$1();
59345
59302
  const fsm = require_fs_minipass();
59346
59303
  const t = require_list();
59347
- const path$31 = require("path");
59304
+ const path$30 = require("path");
59348
59305
  module.exports = (opt_, files, cb) => {
59349
59306
  if (typeof files === "function") cb = files;
59350
59307
  if (Array.isArray(opt_)) files = opt_, opt_ = {};
@@ -59376,7 +59333,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59376
59333
  const addFilesSync = (p, files) => {
59377
59334
  files.forEach((file) => {
59378
59335
  if (file.charAt(0) === "@") t({
59379
- file: path$31.resolve(p.cwd, file.slice(1)),
59336
+ file: path$30.resolve(p.cwd, file.slice(1)),
59380
59337
  sync: true,
59381
59338
  noResume: true,
59382
59339
  onentry: (entry) => p.add(entry)
@@ -59389,7 +59346,7 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59389
59346
  while (files.length) {
59390
59347
  const file = files.shift();
59391
59348
  if (file.charAt(0) === "@") return t({
59392
- file: path$31.resolve(p.cwd, file.slice(1)),
59349
+ file: path$30.resolve(p.cwd, file.slice(1)),
59393
59350
  noResume: true,
59394
59351
  onentry: (entry) => p.add(entry)
59395
59352
  }).then((_) => addFilesAsync(p, files));
@@ -59413,10 +59370,10 @@ var require_create = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59413
59370
  var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59414
59371
  const hlo = require_high_level_opt();
59415
59372
  const Pack = require_pack$1();
59416
- const fs$31 = require("fs");
59373
+ const fs$30 = require("fs");
59417
59374
  const fsm = require_fs_minipass();
59418
59375
  const t = require_list();
59419
- const path$30 = require("path");
59376
+ const path$29 = require("path");
59420
59377
  const Header = require_header();
59421
59378
  module.exports = (opt_, files, cb) => {
59422
59379
  const opt = hlo(opt_);
@@ -59433,16 +59390,16 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59433
59390
  let position;
59434
59391
  try {
59435
59392
  try {
59436
- fd = fs$31.openSync(opt.file, "r+");
59393
+ fd = fs$30.openSync(opt.file, "r+");
59437
59394
  } catch (er) {
59438
- if (er.code === "ENOENT") fd = fs$31.openSync(opt.file, "w+");
59395
+ if (er.code === "ENOENT") fd = fs$30.openSync(opt.file, "w+");
59439
59396
  else throw er;
59440
59397
  }
59441
- const st = fs$31.fstatSync(fd);
59398
+ const st = fs$30.fstatSync(fd);
59442
59399
  const headBuf = Buffer.alloc(512);
59443
59400
  POSITION: for (position = 0; position < st.size; position += 512) {
59444
59401
  for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
59445
- bytes = fs$31.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
59402
+ bytes = fs$30.readSync(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos);
59446
59403
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) throw new Error("cannot append to compressed archives");
59447
59404
  if (!bytes) break POSITION;
59448
59405
  }
@@ -59457,7 +59414,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59457
59414
  streamSync(opt, p, position, fd, files);
59458
59415
  } finally {
59459
59416
  if (threw) try {
59460
- fs$31.closeSync(fd);
59417
+ fs$30.closeSync(fd);
59461
59418
  } catch (er) {}
59462
59419
  }
59463
59420
  };
@@ -59474,7 +59431,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59474
59431
  const p = new Pack(opt);
59475
59432
  const getPos = (fd, size, cb_) => {
59476
59433
  const cb = (er, pos) => {
59477
- if (er) fs$31.close(fd, (_) => cb_(er));
59434
+ if (er) fs$30.close(fd, (_) => cb_(er));
59478
59435
  else cb_(null, pos);
59479
59436
  };
59480
59437
  let position = 0;
@@ -59484,7 +59441,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59484
59441
  const onread = (er, bytes) => {
59485
59442
  if (er) return cb(er);
59486
59443
  bufPos += bytes;
59487
- if (bufPos < 512 && bytes) return fs$31.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
59444
+ if (bufPos < 512 && bytes) return fs$30.read(fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos, onread);
59488
59445
  if (position === 0 && headBuf[0] === 31 && headBuf[1] === 139) return cb(/* @__PURE__ */ new Error("cannot append to compressed archives"));
59489
59446
  if (bufPos < 512) return cb(null, position);
59490
59447
  const h = new Header(headBuf);
@@ -59495,9 +59452,9 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59495
59452
  if (position >= size) return cb(null, position);
59496
59453
  if (opt.mtimeCache) opt.mtimeCache.set(h.path, h.mtime);
59497
59454
  bufPos = 0;
59498
- fs$31.read(fd, headBuf, 0, 512, position, onread);
59455
+ fs$30.read(fd, headBuf, 0, 512, position, onread);
59499
59456
  };
59500
- fs$31.read(fd, headBuf, 0, 512, position, onread);
59457
+ fs$30.read(fd, headBuf, 0, 512, position, onread);
59501
59458
  };
59502
59459
  const promise = new Promise((resolve, reject) => {
59503
59460
  p.on("error", reject);
@@ -59505,11 +59462,11 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59505
59462
  const onopen = (er, fd) => {
59506
59463
  if (er && er.code === "ENOENT" && flag === "r+") {
59507
59464
  flag = "w+";
59508
- return fs$31.open(opt.file, flag, onopen);
59465
+ return fs$30.open(opt.file, flag, onopen);
59509
59466
  }
59510
59467
  if (er) return reject(er);
59511
- fs$31.fstat(fd, (er, st) => {
59512
- if (er) return fs$31.close(fd, () => reject(er));
59468
+ fs$30.fstat(fd, (er, st) => {
59469
+ if (er) return fs$30.close(fd, () => reject(er));
59513
59470
  getPos(fd, st.size, (er, position) => {
59514
59471
  if (er) return reject(er);
59515
59472
  const stream = new fsm.WriteStream(opt.file, {
@@ -59523,14 +59480,14 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59523
59480
  });
59524
59481
  });
59525
59482
  };
59526
- fs$31.open(opt.file, flag, onopen);
59483
+ fs$30.open(opt.file, flag, onopen);
59527
59484
  });
59528
59485
  return cb ? promise.then(cb, cb) : promise;
59529
59486
  };
59530
59487
  const addFilesSync = (p, files) => {
59531
59488
  files.forEach((file) => {
59532
59489
  if (file.charAt(0) === "@") t({
59533
- file: path$30.resolve(p.cwd, file.slice(1)),
59490
+ file: path$29.resolve(p.cwd, file.slice(1)),
59534
59491
  sync: true,
59535
59492
  noResume: true,
59536
59493
  onentry: (entry) => p.add(entry)
@@ -59543,7 +59500,7 @@ var require_replace = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
59543
59500
  while (files.length) {
59544
59501
  const file = files.shift();
59545
59502
  if (file.charAt(0) === "@") return t({
59546
- file: path$30.resolve(p.cwd, file.slice(1)),
59503
+ file: path$29.resolve(p.cwd, file.slice(1)),
59547
59504
  noResume: true,
59548
59505
  onentry: (entry) => p.add(entry)
59549
59506
  }).then((_) => addFilesAsync(p, files));
@@ -59576,32 +59533,32 @@ var require_update = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59576
59533
  //#region ../../node_modules/mkdirp/lib/opts-arg.js
59577
59534
  var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59578
59535
  const { promisify: promisify$1 } = require("util");
59579
- const fs$30 = require("fs");
59536
+ const fs$29 = require("fs");
59580
59537
  const optsArg = (opts) => {
59581
59538
  if (!opts) opts = {
59582
59539
  mode: 511,
59583
- fs: fs$30
59540
+ fs: fs$29
59584
59541
  };
59585
59542
  else if (typeof opts === "object") opts = {
59586
59543
  mode: 511,
59587
- fs: fs$30,
59544
+ fs: fs$29,
59588
59545
  ...opts
59589
59546
  };
59590
59547
  else if (typeof opts === "number") opts = {
59591
59548
  mode: opts,
59592
- fs: fs$30
59549
+ fs: fs$29
59593
59550
  };
59594
59551
  else if (typeof opts === "string") opts = {
59595
59552
  mode: parseInt(opts, 8),
59596
- fs: fs$30
59553
+ fs: fs$29
59597
59554
  };
59598
59555
  else throw new TypeError("invalid options argument");
59599
- opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$30.mkdir;
59556
+ opts.mkdir = opts.mkdir || opts.fs.mkdir || fs$29.mkdir;
59600
59557
  opts.mkdirAsync = promisify$1(opts.mkdir);
59601
- opts.stat = opts.stat || opts.fs.stat || fs$30.stat;
59558
+ opts.stat = opts.stat || opts.fs.stat || fs$29.stat;
59602
59559
  opts.statAsync = promisify$1(opts.stat);
59603
- opts.statSync = opts.statSync || opts.fs.statSync || fs$30.statSync;
59604
- opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$30.mkdirSync;
59560
+ opts.statSync = opts.statSync || opts.fs.statSync || fs$29.statSync;
59561
+ opts.mkdirSync = opts.mkdirSync || opts.fs.mkdirSync || fs$29.mkdirSync;
59605
59562
  return opts;
59606
59563
  };
59607
59564
  module.exports = optsArg;
@@ -59611,21 +59568,21 @@ var require_opts_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
59611
59568
  var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59612
59569
  const platform = process.env.__TESTING_MKDIRP_PLATFORM__ || process.platform;
59613
59570
  const { resolve: resolve$13, parse: parse$2 } = require("path");
59614
- const pathArg = (path$85) => {
59615
- if (/\0/.test(path$85)) throw Object.assign(/* @__PURE__ */ new TypeError("path must be a string without null bytes"), {
59616
- path: path$85,
59571
+ const pathArg = (path$84) => {
59572
+ if (/\0/.test(path$84)) throw Object.assign(/* @__PURE__ */ new TypeError("path must be a string without null bytes"), {
59573
+ path: path$84,
59617
59574
  code: "ERR_INVALID_ARG_VALUE"
59618
59575
  });
59619
- path$85 = resolve$13(path$85);
59576
+ path$84 = resolve$13(path$84);
59620
59577
  if (platform === "win32") {
59621
59578
  const badWinChars = /[*|"<>?:]/;
59622
- const { root } = parse$2(path$85);
59623
- if (badWinChars.test(path$85.substr(root.length))) throw Object.assign(/* @__PURE__ */ new Error("Illegal characters in path."), {
59624
- path: path$85,
59579
+ const { root } = parse$2(path$84);
59580
+ if (badWinChars.test(path$84.substr(root.length))) throw Object.assign(/* @__PURE__ */ new Error("Illegal characters in path."), {
59581
+ path: path$84,
59625
59582
  code: "EINVAL"
59626
59583
  });
59627
59584
  }
59628
- return path$85;
59585
+ return path$84;
59629
59586
  };
59630
59587
  module.exports = pathArg;
59631
59588
  }));
@@ -59633,14 +59590,14 @@ var require_path_arg = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
59633
59590
  //#region ../../node_modules/mkdirp/lib/find-made.js
59634
59591
  var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59635
59592
  const { dirname: dirname$13 } = require("path");
59636
- const findMade = (opts, parent, path$83 = void 0) => {
59637
- if (path$83 === parent) return Promise.resolve();
59638
- return opts.statAsync(parent).then((st) => st.isDirectory() ? path$83 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$13(parent), parent) : void 0);
59593
+ const findMade = (opts, parent, path$82 = void 0) => {
59594
+ if (path$82 === parent) return Promise.resolve();
59595
+ return opts.statAsync(parent).then((st) => st.isDirectory() ? path$82 : void 0, (er) => er.code === "ENOENT" ? findMade(opts, dirname$13(parent), parent) : void 0);
59639
59596
  };
59640
- const findMadeSync = (opts, parent, path$84 = void 0) => {
59641
- if (path$84 === parent) return void 0;
59597
+ const findMadeSync = (opts, parent, path$83 = void 0) => {
59598
+ if (path$83 === parent) return void 0;
59642
59599
  try {
59643
- return opts.statSync(parent).isDirectory() ? path$84 : void 0;
59600
+ return opts.statSync(parent).isDirectory() ? path$83 : void 0;
59644
59601
  } catch (er) {
59645
59602
  return er.code === "ENOENT" ? findMadeSync(opts, dirname$13(parent), parent) : void 0;
59646
59603
  }
@@ -59654,16 +59611,16 @@ var require_find_made = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
59654
59611
  //#region ../../node_modules/mkdirp/lib/mkdirp-manual.js
59655
59612
  var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59656
59613
  const { dirname: dirname$12 } = require("path");
59657
- const mkdirpManual = (path$81, opts, made) => {
59614
+ const mkdirpManual = (path$80, opts, made) => {
59658
59615
  opts.recursive = false;
59659
- const parent = dirname$12(path$81);
59660
- if (parent === path$81) return opts.mkdirAsync(path$81, opts).catch((er) => {
59616
+ const parent = dirname$12(path$80);
59617
+ if (parent === path$80) return opts.mkdirAsync(path$80, opts).catch((er) => {
59661
59618
  if (er.code !== "EISDIR") throw er;
59662
59619
  });
59663
- return opts.mkdirAsync(path$81, opts).then(() => made || path$81, (er) => {
59664
- if (er.code === "ENOENT") return mkdirpManual(parent, opts).then((made) => mkdirpManual(path$81, opts, made));
59620
+ return opts.mkdirAsync(path$80, opts).then(() => made || path$80, (er) => {
59621
+ if (er.code === "ENOENT") return mkdirpManual(parent, opts).then((made) => mkdirpManual(path$80, opts, made));
59665
59622
  if (er.code !== "EEXIST" && er.code !== "EROFS") throw er;
59666
- return opts.statAsync(path$81).then((st) => {
59623
+ return opts.statAsync(path$80).then((st) => {
59667
59624
  if (st.isDirectory()) return made;
59668
59625
  else throw er;
59669
59626
  }, () => {
@@ -59671,23 +59628,23 @@ var require_mkdirp_manual = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59671
59628
  });
59672
59629
  });
59673
59630
  };
59674
- const mkdirpManualSync = (path$82, opts, made) => {
59675
- const parent = dirname$12(path$82);
59631
+ const mkdirpManualSync = (path$81, opts, made) => {
59632
+ const parent = dirname$12(path$81);
59676
59633
  opts.recursive = false;
59677
- if (parent === path$82) try {
59678
- return opts.mkdirSync(path$82, opts);
59634
+ if (parent === path$81) try {
59635
+ return opts.mkdirSync(path$81, opts);
59679
59636
  } catch (er) {
59680
59637
  if (er.code !== "EISDIR") throw er;
59681
59638
  else return;
59682
59639
  }
59683
59640
  try {
59684
- opts.mkdirSync(path$82, opts);
59685
- return made || path$82;
59641
+ opts.mkdirSync(path$81, opts);
59642
+ return made || path$81;
59686
59643
  } catch (er) {
59687
- if (er.code === "ENOENT") return mkdirpManualSync(path$82, opts, mkdirpManualSync(parent, opts, made));
59644
+ if (er.code === "ENOENT") return mkdirpManualSync(path$81, opts, mkdirpManualSync(parent, opts, made));
59688
59645
  if (er.code !== "EEXIST" && er.code !== "EROFS") throw er;
59689
59646
  try {
59690
- if (!opts.statSync(path$82).isDirectory()) throw er;
59647
+ if (!opts.statSync(path$81).isDirectory()) throw er;
59691
59648
  } catch (_) {
59692
59649
  throw er;
59693
59650
  }
@@ -59704,23 +59661,23 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59704
59661
  const { dirname: dirname$11 } = require("path");
59705
59662
  const { findMade, findMadeSync } = require_find_made();
59706
59663
  const { mkdirpManual, mkdirpManualSync } = require_mkdirp_manual();
59707
- const mkdirpNative = (path$79, opts) => {
59664
+ const mkdirpNative = (path$78, opts) => {
59708
59665
  opts.recursive = true;
59709
- if (dirname$11(path$79) === path$79) return opts.mkdirAsync(path$79, opts);
59710
- return findMade(opts, path$79).then((made) => opts.mkdirAsync(path$79, opts).then(() => made).catch((er) => {
59711
- if (er.code === "ENOENT") return mkdirpManual(path$79, opts);
59666
+ if (dirname$11(path$78) === path$78) return opts.mkdirAsync(path$78, opts);
59667
+ return findMade(opts, path$78).then((made) => opts.mkdirAsync(path$78, opts).then(() => made).catch((er) => {
59668
+ if (er.code === "ENOENT") return mkdirpManual(path$78, opts);
59712
59669
  else throw er;
59713
59670
  }));
59714
59671
  };
59715
- const mkdirpNativeSync = (path$80, opts) => {
59672
+ const mkdirpNativeSync = (path$79, opts) => {
59716
59673
  opts.recursive = true;
59717
- if (dirname$11(path$80) === path$80) return opts.mkdirSync(path$80, opts);
59718
- const made = findMadeSync(opts, path$80);
59674
+ if (dirname$11(path$79) === path$79) return opts.mkdirSync(path$79, opts);
59675
+ const made = findMadeSync(opts, path$79);
59719
59676
  try {
59720
- opts.mkdirSync(path$80, opts);
59677
+ opts.mkdirSync(path$79, opts);
59721
59678
  return made;
59722
59679
  } catch (er) {
59723
- if (er.code === "ENOENT") return mkdirpManualSync(path$80, opts);
59680
+ if (er.code === "ENOENT") return mkdirpManualSync(path$79, opts);
59724
59681
  else throw er;
59725
59682
  }
59726
59683
  };
@@ -59732,12 +59689,12 @@ var require_mkdirp_native = /* @__PURE__ */ require_chunk.__commonJSMin(((export
59732
59689
  //#endregion
59733
59690
  //#region ../../node_modules/mkdirp/lib/use-native.js
59734
59691
  var require_use_native = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59735
- const fs$29 = require("fs");
59692
+ const fs$28 = require("fs");
59736
59693
  const versArr = (process.env.__TESTING_MKDIRP_NODE_VERSION__ || process.version).replace(/^v/, "").split(".");
59737
59694
  const hasNative = +versArr[0] > 10 || +versArr[0] === 10 && +versArr[1] >= 12;
59738
59695
  module.exports = {
59739
- useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$29.mkdir,
59740
- useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$29.mkdirSync
59696
+ useNative: !hasNative ? () => false : (opts) => opts.mkdir === fs$28.mkdir,
59697
+ useNativeSync: !hasNative ? () => false : (opts) => opts.mkdirSync === fs$28.mkdirSync
59741
59698
  };
59742
59699
  }));
59743
59700
  //#endregion
@@ -59768,64 +59725,64 @@ var require_mkdirp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59768
59725
  //#endregion
59769
59726
  //#region ../../node_modules/chownr/chownr.js
59770
59727
  var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59771
- const fs$28 = require("fs");
59772
- const path$29 = require("path");
59728
+ const fs$27 = require("fs");
59729
+ const path$28 = require("path");
59773
59730
  /* istanbul ignore next */
59774
- const LCHOWN = fs$28.lchown ? "lchown" : "chown";
59731
+ const LCHOWN = fs$27.lchown ? "lchown" : "chown";
59775
59732
  /* istanbul ignore next */
59776
- const LCHOWNSYNC = fs$28.lchownSync ? "lchownSync" : "chownSync";
59733
+ const LCHOWNSYNC = fs$27.lchownSync ? "lchownSync" : "chownSync";
59777
59734
  /* istanbul ignore next */
59778
- const needEISDIRHandled = fs$28.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
59779
- const lchownSync = (path$71, uid, gid) => {
59735
+ const needEISDIRHandled = fs$27.lchown && !process.version.match(/v1[1-9]+\./) && !process.version.match(/v10\.[6-9]/);
59736
+ const lchownSync = (path$70, uid, gid) => {
59780
59737
  try {
59781
- return fs$28[LCHOWNSYNC](path$71, uid, gid);
59738
+ return fs$27[LCHOWNSYNC](path$70, uid, gid);
59782
59739
  } catch (er) {
59783
59740
  if (er.code !== "ENOENT") throw er;
59784
59741
  }
59785
59742
  };
59786
59743
  /* istanbul ignore next */
59787
- const chownSync = (path$72, uid, gid) => {
59744
+ const chownSync = (path$71, uid, gid) => {
59788
59745
  try {
59789
- return fs$28.chownSync(path$72, uid, gid);
59746
+ return fs$27.chownSync(path$71, uid, gid);
59790
59747
  } catch (er) {
59791
59748
  if (er.code !== "ENOENT") throw er;
59792
59749
  }
59793
59750
  };
59794
59751
  /* istanbul ignore next */
59795
- const handleEISDIR = needEISDIRHandled ? (path$73, uid, gid, cb) => (er) => {
59752
+ const handleEISDIR = needEISDIRHandled ? (path$72, uid, gid, cb) => (er) => {
59796
59753
  if (!er || er.code !== "EISDIR") cb(er);
59797
- else fs$28.chown(path$73, uid, gid, cb);
59754
+ else fs$27.chown(path$72, uid, gid, cb);
59798
59755
  } : (_, __, ___, cb) => cb;
59799
59756
  /* istanbul ignore next */
59800
- const handleEISDirSync = needEISDIRHandled ? (path$74, uid, gid) => {
59757
+ const handleEISDirSync = needEISDIRHandled ? (path$73, uid, gid) => {
59801
59758
  try {
59802
- return lchownSync(path$74, uid, gid);
59759
+ return lchownSync(path$73, uid, gid);
59803
59760
  } catch (er) {
59804
59761
  if (er.code !== "EISDIR") throw er;
59805
- chownSync(path$74, uid, gid);
59762
+ chownSync(path$73, uid, gid);
59806
59763
  }
59807
- } : (path$75, uid, gid) => lchownSync(path$75, uid, gid);
59764
+ } : (path$74, uid, gid) => lchownSync(path$74, uid, gid);
59808
59765
  const nodeVersion = process.version;
59809
- let readdir = (path$76, options, cb) => fs$28.readdir(path$76, options, cb);
59810
- let readdirSync = (path$77, options) => fs$28.readdirSync(path$77, options);
59766
+ let readdir = (path$75, options, cb) => fs$27.readdir(path$75, options, cb);
59767
+ let readdirSync = (path$76, options) => fs$27.readdirSync(path$76, options);
59811
59768
  /* istanbul ignore next */
59812
- if (/^v4\./.test(nodeVersion)) readdir = (path$78, options, cb) => fs$28.readdir(path$78, cb);
59769
+ if (/^v4\./.test(nodeVersion)) readdir = (path$77, options, cb) => fs$27.readdir(path$77, cb);
59813
59770
  const chown = (cpath, uid, gid, cb) => {
59814
- fs$28[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
59771
+ fs$27[LCHOWN](cpath, uid, gid, handleEISDIR(cpath, uid, gid, (er) => {
59815
59772
  cb(er && er.code !== "ENOENT" ? er : null);
59816
59773
  }));
59817
59774
  };
59818
59775
  const chownrKid = (p, child, uid, gid, cb) => {
59819
- if (typeof child === "string") return fs$28.lstat(path$29.resolve(p, child), (er, stats) => {
59776
+ if (typeof child === "string") return fs$27.lstat(path$28.resolve(p, child), (er, stats) => {
59820
59777
  if (er) return cb(er.code !== "ENOENT" ? er : null);
59821
59778
  stats.name = child;
59822
59779
  chownrKid(p, stats, uid, gid, cb);
59823
59780
  });
59824
- if (child.isDirectory()) chownr(path$29.resolve(p, child.name), uid, gid, (er) => {
59781
+ if (child.isDirectory()) chownr(path$28.resolve(p, child.name), uid, gid, (er) => {
59825
59782
  if (er) return cb(er);
59826
- chown(path$29.resolve(p, child.name), uid, gid, cb);
59783
+ chown(path$28.resolve(p, child.name), uid, gid, cb);
59827
59784
  });
59828
- else chown(path$29.resolve(p, child.name), uid, gid, cb);
59785
+ else chown(path$28.resolve(p, child.name), uid, gid, cb);
59829
59786
  };
59830
59787
  const chownr = (p, uid, gid, cb) => {
59831
59788
  readdir(p, { withFileTypes: true }, (er, children) => {
@@ -59846,15 +59803,15 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59846
59803
  };
59847
59804
  const chownrKidSync = (p, child, uid, gid) => {
59848
59805
  if (typeof child === "string") try {
59849
- const stats = fs$28.lstatSync(path$29.resolve(p, child));
59806
+ const stats = fs$27.lstatSync(path$28.resolve(p, child));
59850
59807
  stats.name = child;
59851
59808
  child = stats;
59852
59809
  } catch (er) {
59853
59810
  if (er.code === "ENOENT") return;
59854
59811
  else throw er;
59855
59812
  }
59856
- if (child.isDirectory()) chownrSync(path$29.resolve(p, child.name), uid, gid);
59857
- handleEISDirSync(path$29.resolve(p, child.name), uid, gid);
59813
+ if (child.isDirectory()) chownrSync(path$28.resolve(p, child.name), uid, gid);
59814
+ handleEISDirSync(path$28.resolve(p, child.name), uid, gid);
59858
59815
  };
59859
59816
  const chownrSync = (p, uid, gid) => {
59860
59817
  let children;
@@ -59875,14 +59832,14 @@ var require_chownr = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
59875
59832
  //#region ../../node_modules/tar/lib/mkdir.js
59876
59833
  var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
59877
59834
  const mkdirp = require_mkdirp();
59878
- const fs$27 = require("fs");
59879
- const path$28 = require("path");
59835
+ const fs$26 = require("fs");
59836
+ const path$27 = require("path");
59880
59837
  const chownr = require_chownr();
59881
59838
  const normPath = require_normalize_windows_path();
59882
59839
  var SymlinkError = class extends Error {
59883
- constructor(symlink, path$69) {
59840
+ constructor(symlink, path$68) {
59884
59841
  super("Cannot extract through symbolic link");
59885
- this.path = path$69;
59842
+ this.path = path$68;
59886
59843
  this.symlink = symlink;
59887
59844
  }
59888
59845
  get name() {
@@ -59890,9 +59847,9 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59890
59847
  }
59891
59848
  };
59892
59849
  var CwdError = class extends Error {
59893
- constructor(path$70, code) {
59894
- super(code + ": Cannot cd into '" + path$70 + "'");
59895
- this.path = path$70;
59850
+ constructor(path$69, code) {
59851
+ super(code + ": Cannot cd into '" + path$69 + "'");
59852
+ this.path = path$69;
59896
59853
  this.code = code;
59897
59854
  }
59898
59855
  get name() {
@@ -59902,7 +59859,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59902
59859
  const cGet = (cache, key) => cache.get(normPath(key));
59903
59860
  const cSet = (cache, key, val) => cache.set(normPath(key), val);
59904
59861
  const checkCwd = (dir, cb) => {
59905
- fs$27.stat(dir, (er, st) => {
59862
+ fs$26.stat(dir, (er, st) => {
59906
59863
  if (er || !st.isDirectory()) er = new CwdError(dir, er && er.code || "ENOTDIR");
59907
59864
  cb(er);
59908
59865
  });
@@ -59924,31 +59881,31 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59924
59881
  else {
59925
59882
  cSet(cache, dir, true);
59926
59883
  if (created && doChown) chownr(created, uid, gid, (er) => done(er));
59927
- else if (needChmod) fs$27.chmod(dir, mode, cb);
59884
+ else if (needChmod) fs$26.chmod(dir, mode, cb);
59928
59885
  else cb();
59929
59886
  }
59930
59887
  };
59931
59888
  if (cache && cGet(cache, dir) === true) return done();
59932
59889
  if (dir === cwd) return checkCwd(dir, done);
59933
59890
  if (preserve) return mkdirp(dir, { mode }).then((made) => done(null, made), done);
59934
- mkdir_(cwd, normPath(path$28.relative(cwd, dir)).split("/"), mode, cache, unlink, cwd, null, done);
59891
+ mkdir_(cwd, normPath(path$27.relative(cwd, dir)).split("/"), mode, cache, unlink, cwd, null, done);
59935
59892
  };
59936
59893
  const mkdir_ = (base, parts, mode, cache, unlink, cwd, created, cb) => {
59937
59894
  if (!parts.length) return cb(null, created);
59938
59895
  const p = parts.shift();
59939
- const part = normPath(path$28.resolve(base + "/" + p));
59896
+ const part = normPath(path$27.resolve(base + "/" + p));
59940
59897
  if (cGet(cache, part)) return mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
59941
- fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59898
+ fs$26.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59942
59899
  };
59943
59900
  const onmkdir = (part, parts, mode, cache, unlink, cwd, created, cb) => (er) => {
59944
- if (er) fs$27.lstat(part, (statEr, st) => {
59901
+ if (er) fs$26.lstat(part, (statEr, st) => {
59945
59902
  if (statEr) {
59946
59903
  statEr.path = statEr.path && normPath(statEr.path);
59947
59904
  cb(statEr);
59948
59905
  } else if (st.isDirectory()) mkdir_(part, parts, mode, cache, unlink, cwd, created, cb);
59949
- else if (unlink) fs$27.unlink(part, (er) => {
59906
+ else if (unlink) fs$26.unlink(part, (er) => {
59950
59907
  if (er) return cb(er);
59951
- fs$27.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59908
+ fs$26.mkdir(part, mode, onmkdir(part, parts, mode, cache, unlink, cwd, created, cb));
59952
59909
  });
59953
59910
  else if (st.isSymbolicLink()) return cb(new SymlinkError(part, part + "/" + parts.join("/")));
59954
59911
  else cb(er);
@@ -59962,7 +59919,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59962
59919
  let ok = false;
59963
59920
  let code = "ENOTDIR";
59964
59921
  try {
59965
- ok = fs$27.statSync(dir).isDirectory();
59922
+ ok = fs$26.statSync(dir).isDirectory();
59966
59923
  } catch (er) {
59967
59924
  code = er.code;
59968
59925
  } finally {
@@ -59984,7 +59941,7 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59984
59941
  const done = (created) => {
59985
59942
  cSet(cache, dir, true);
59986
59943
  if (created && doChown) chownr.sync(created, uid, gid);
59987
- if (needChmod) fs$27.chmodSync(dir, mode);
59944
+ if (needChmod) fs$26.chmodSync(dir, mode);
59988
59945
  };
59989
59946
  if (cache && cGet(cache, dir) === true) return done();
59990
59947
  if (dir === cwd) {
@@ -59992,23 +59949,23 @@ var require_mkdir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
59992
59949
  return done();
59993
59950
  }
59994
59951
  if (preserve) return done(mkdirp.sync(dir, mode));
59995
- const parts = normPath(path$28.relative(cwd, dir)).split("/");
59952
+ const parts = normPath(path$27.relative(cwd, dir)).split("/");
59996
59953
  let created = null;
59997
59954
  for (let p = parts.shift(), part = cwd; p && (part += "/" + p); p = parts.shift()) {
59998
- part = normPath(path$28.resolve(part));
59955
+ part = normPath(path$27.resolve(part));
59999
59956
  if (cGet(cache, part)) continue;
60000
59957
  try {
60001
- fs$27.mkdirSync(part, mode);
59958
+ fs$26.mkdirSync(part, mode);
60002
59959
  created = created || part;
60003
59960
  cSet(cache, part, true);
60004
59961
  } catch (er) {
60005
- const st = fs$27.lstatSync(part);
59962
+ const st = fs$26.lstatSync(part);
60006
59963
  if (st.isDirectory()) {
60007
59964
  cSet(cache, part, true);
60008
59965
  continue;
60009
59966
  } else if (unlink) {
60010
- fs$27.unlinkSync(part);
60011
- fs$27.mkdirSync(part, mode);
59967
+ fs$26.unlinkSync(part);
59968
+ fs$26.mkdirSync(part, mode);
60012
59969
  created = created || part;
60013
59970
  cSet(cache, part, true);
60014
59971
  continue;
@@ -60034,15 +59991,15 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60034
59991
  const assert$1 = require("assert");
60035
59992
  const normalize = require_normalize_unicode();
60036
59993
  const stripSlashes = require_strip_trailing_slashes();
60037
- const { join: join$19 } = require("path");
59994
+ const { join: join$17 } = require("path");
60038
59995
  const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
60039
59996
  module.exports = () => {
60040
59997
  const queues = /* @__PURE__ */ new Map();
60041
59998
  const reservations = /* @__PURE__ */ new Map();
60042
- const getDirs = (path$62) => {
60043
- return path$62.split("/").slice(0, -1).reduce((set, path$63) => {
60044
- if (set.length) path$63 = join$19(set[set.length - 1], path$63);
60045
- set.push(path$63 || "/");
59999
+ const getDirs = (path$61) => {
60000
+ return path$61.split("/").slice(0, -1).reduce((set, path$62) => {
60001
+ if (set.length) path$62 = join$17(set[set.length - 1], path$62);
60002
+ set.push(path$62 || "/");
60046
60003
  return set;
60047
60004
  }, []);
60048
60005
  };
@@ -60052,8 +60009,8 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60052
60009
  /* istanbul ignore if - unpossible */
60053
60010
  if (!res) throw new Error("function does not have any path reservations");
60054
60011
  return {
60055
- paths: res.paths.map((path$64) => queues.get(path$64)),
60056
- dirs: [...res.dirs].map((path$65) => queues.get(path$65))
60012
+ paths: res.paths.map((path$63) => queues.get(path$63)),
60013
+ dirs: [...res.dirs].map((path$64) => queues.get(path$64))
60057
60014
  };
60058
60015
  };
60059
60016
  const check = (fn) => {
@@ -60070,10 +60027,10 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60070
60027
  if (!running.has(fn)) return false;
60071
60028
  const { paths, dirs } = reservations.get(fn);
60072
60029
  const next = /* @__PURE__ */ new Set();
60073
- paths.forEach((path$66) => {
60074
- const q = queues.get(path$66);
60030
+ paths.forEach((path$65) => {
60031
+ const q = queues.get(path$65);
60075
60032
  assert$1.equal(q[0], fn);
60076
- if (q.length === 1) queues.delete(path$66);
60033
+ if (q.length === 1) queues.delete(path$65);
60077
60034
  else {
60078
60035
  q.shift();
60079
60036
  if (typeof q[0] === "function") next.add(q[0]);
@@ -60095,16 +60052,16 @@ var require_path_reservations = /* @__PURE__ */ require_chunk.__commonJSMin(((ex
60095
60052
  };
60096
60053
  const reserve = (paths, fn) => {
60097
60054
  paths = isWindows ? ["win32 parallelization disabled"] : paths.map((p) => {
60098
- return stripSlashes(join$19(normalize(p))).toLowerCase();
60055
+ return stripSlashes(join$17(normalize(p))).toLowerCase();
60099
60056
  });
60100
- const dirs = new Set(paths.map((path$67) => getDirs(path$67)).reduce((a, b) => a.concat(b)));
60057
+ const dirs = new Set(paths.map((path$66) => getDirs(path$66)).reduce((a, b) => a.concat(b)));
60101
60058
  reservations.set(fn, {
60102
60059
  dirs,
60103
60060
  paths
60104
60061
  });
60105
- paths.forEach((path$68) => {
60106
- const q = queues.get(path$68);
60107
- if (!q) queues.set(path$68, [fn]);
60062
+ paths.forEach((path$67) => {
60063
+ const q = queues.get(path$67);
60064
+ if (!q) queues.set(path$67, [fn]);
60108
60065
  else q.push(fn);
60109
60066
  });
60110
60067
  dirs.forEach((dir) => {
@@ -60137,9 +60094,9 @@ var require_get_write_flag = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
60137
60094
  var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
60138
60095
  const assert = require("assert");
60139
60096
  const Parser = require_parse$4();
60140
- const fs$26 = require("fs");
60097
+ const fs$25 = require("fs");
60141
60098
  const fsm = require_fs_minipass();
60142
- const path$27 = require("path");
60099
+ const path$26 = require("path");
60143
60100
  const mkdir = require_mkdir();
60144
60101
  const wc = require_winchars();
60145
60102
  const pathReservations = require_path_reservations();
@@ -60177,28 +60134,28 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60177
60134
  const isWindows = (process.env.TESTING_TAR_FAKE_PLATFORM || process.platform) === "win32";
60178
60135
  const DEFAULT_MAX_DEPTH = 1024;
60179
60136
  /* istanbul ignore next */
60180
- const unlinkFile = (path$58, cb) => {
60181
- if (!isWindows) return fs$26.unlink(path$58, cb);
60182
- const name = path$58 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60183
- fs$26.rename(path$58, name, (er) => {
60137
+ const unlinkFile = (path$57, cb) => {
60138
+ if (!isWindows) return fs$25.unlink(path$57, cb);
60139
+ const name = path$57 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60140
+ fs$25.rename(path$57, name, (er) => {
60184
60141
  if (er) return cb(er);
60185
- fs$26.unlink(name, cb);
60142
+ fs$25.unlink(name, cb);
60186
60143
  });
60187
60144
  };
60188
60145
  /* istanbul ignore next */
60189
- const unlinkFileSync = (path$59) => {
60190
- if (!isWindows) return fs$26.unlinkSync(path$59);
60191
- const name = path$59 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60192
- fs$26.renameSync(path$59, name);
60193
- fs$26.unlinkSync(name);
60146
+ const unlinkFileSync = (path$58) => {
60147
+ if (!isWindows) return fs$25.unlinkSync(path$58);
60148
+ const name = path$58 + ".DELETE." + crypto$4.randomBytes(16).toString("hex");
60149
+ fs$25.renameSync(path$58, name);
60150
+ fs$25.unlinkSync(name);
60194
60151
  };
60195
60152
  const uint32 = (a, b, c) => a === a >>> 0 ? a : b === b >>> 0 ? b : c;
60196
- const cacheKeyNormalize = (path$60) => stripSlash(normPath(normalize(path$60))).toLowerCase();
60153
+ const cacheKeyNormalize = (path$59) => stripSlash(normPath(normalize(path$59))).toLowerCase();
60197
60154
  const pruneCache = (cache, abs) => {
60198
60155
  abs = cacheKeyNormalize(abs);
60199
- for (const path$61 of cache.keys()) {
60200
- const pnorm = cacheKeyNormalize(path$61);
60201
- if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) cache.delete(path$61);
60156
+ for (const path$60 of cache.keys()) {
60157
+ const pnorm = cacheKeyNormalize(path$60);
60158
+ if (pnorm === abs || pnorm.indexOf(abs + "/") === 0) cache.delete(path$60);
60202
60159
  }
60203
60160
  };
60204
60161
  const dropCache = (cache) => {
@@ -60243,7 +60200,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60243
60200
  this.noMtime = !!opt.noMtime;
60244
60201
  this.preservePaths = !!opt.preservePaths;
60245
60202
  this.unlink = !!opt.unlink;
60246
- this.cwd = normPath(path$27.resolve(opt.cwd || process.cwd()));
60203
+ this.cwd = normPath(path$26.resolve(opt.cwd || process.cwd()));
60247
60204
  this.strip = +opt.strip || 0;
60248
60205
  this.processUmask = opt.noChmod ? 0 : process.umask();
60249
60206
  this.umask = typeof opt.umask === "number" ? opt.umask : this.processUmask;
@@ -60301,8 +60258,8 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60301
60258
  });
60302
60259
  }
60303
60260
  }
60304
- if (path$27.isAbsolute(entry.path)) entry.absolute = normPath(path$27.resolve(entry.path));
60305
- else entry.absolute = normPath(path$27.resolve(this.cwd, entry.path));
60261
+ if (path$26.isAbsolute(entry.path)) entry.absolute = normPath(path$26.resolve(entry.path));
60262
+ else entry.absolute = normPath(path$26.resolve(this.cwd, entry.path));
60306
60263
  /* istanbul ignore if - defense in depth */
60307
60264
  if (!this.preservePaths && entry.absolute.indexOf(this.cwd + "/") !== 0 && entry.absolute !== this.cwd) {
60308
60265
  this.warn("TAR_ENTRY_ERROR", "path escaped extraction target", {
@@ -60315,9 +60272,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60315
60272
  }
60316
60273
  if (entry.absolute === this.cwd && entry.type !== "Directory" && entry.type !== "GNUDumpDir") return false;
60317
60274
  if (this.win32) {
60318
- const { root: aRoot } = path$27.win32.parse(entry.absolute);
60275
+ const { root: aRoot } = path$26.win32.parse(entry.absolute);
60319
60276
  entry.absolute = aRoot + wc.encode(entry.absolute.slice(aRoot.length));
60320
- const { root: pRoot } = path$27.win32.parse(entry.path);
60277
+ const { root: pRoot } = path$26.win32.parse(entry.path);
60321
60278
  entry.path = pRoot + wc.encode(entry.path.slice(pRoot.length));
60322
60279
  }
60323
60280
  return true;
@@ -60376,7 +60333,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60376
60333
  autoClose: false
60377
60334
  });
60378
60335
  stream.on("error", (er) => {
60379
- if (stream.fd) fs$26.close(stream.fd, () => {});
60336
+ if (stream.fd) fs$25.close(stream.fd, () => {});
60380
60337
  stream.write = () => true;
60381
60338
  this[ONERROR](er, entry);
60382
60339
  fullyDone();
@@ -60385,12 +60342,12 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60385
60342
  const done = (er) => {
60386
60343
  if (er) {
60387
60344
  /* istanbul ignore else - we should always have a fd by now */
60388
- if (stream.fd) fs$26.close(stream.fd, () => {});
60345
+ if (stream.fd) fs$25.close(stream.fd, () => {});
60389
60346
  this[ONERROR](er, entry);
60390
60347
  fullyDone();
60391
60348
  return;
60392
60349
  }
60393
- if (--actions === 0) fs$26.close(stream.fd, (er) => {
60350
+ if (--actions === 0) fs$25.close(stream.fd, (er) => {
60394
60351
  if (er) this[ONERROR](er, entry);
60395
60352
  else this[UNPEND]();
60396
60353
  fullyDone();
@@ -60403,13 +60360,13 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60403
60360
  actions++;
60404
60361
  const atime = entry.atime || /* @__PURE__ */ new Date();
60405
60362
  const mtime = entry.mtime;
60406
- fs$26.futimes(fd, atime, mtime, (er) => er ? fs$26.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
60363
+ fs$25.futimes(fd, atime, mtime, (er) => er ? fs$25.utimes(abs, atime, mtime, (er2) => done(er2 && er)) : done());
60407
60364
  }
60408
60365
  if (this[DOCHOWN](entry)) {
60409
60366
  actions++;
60410
60367
  const uid = this[UID](entry);
60411
60368
  const gid = this[GID](entry);
60412
- fs$26.fchown(fd, uid, gid, (er) => er ? fs$26.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
60369
+ fs$25.fchown(fd, uid, gid, (er) => er ? fs$25.chown(abs, uid, gid, (er2) => done(er2 && er)) : done());
60413
60370
  }
60414
60371
  done();
60415
60372
  });
@@ -60441,11 +60398,11 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60441
60398
  };
60442
60399
  if (entry.mtime && !this.noMtime) {
60443
60400
  actions++;
60444
- fs$26.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
60401
+ fs$25.utimes(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime, done);
60445
60402
  }
60446
60403
  if (this[DOCHOWN](entry)) {
60447
60404
  actions++;
60448
- fs$26.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
60405
+ fs$25.chown(entry.absolute, this[UID](entry), this[GID](entry), done);
60449
60406
  }
60450
60407
  done();
60451
60408
  });
@@ -60459,7 +60416,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60459
60416
  this[LINK](entry, entry.linkpath, "symlink", done);
60460
60417
  }
60461
60418
  [HARDLINK](entry, done) {
60462
- const linkpath = normPath(path$27.resolve(this.cwd, entry.linkpath));
60419
+ const linkpath = normPath(path$26.resolve(this.cwd, entry.linkpath));
60463
60420
  this[LINK](entry, linkpath, "link", done);
60464
60421
  }
60465
60422
  [PEND]() {
@@ -60505,7 +60462,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60505
60462
  };
60506
60463
  const start = () => {
60507
60464
  if (entry.absolute !== this.cwd) {
60508
- const parent = normPath(path$27.dirname(entry.absolute));
60465
+ const parent = normPath(path$26.dirname(entry.absolute));
60509
60466
  if (parent !== this.cwd) return this[MKDIR](parent, this.dmode, (er) => {
60510
60467
  if (er) {
60511
60468
  this[ONERROR](er, entry);
@@ -60518,7 +60475,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60518
60475
  afterMakeParent();
60519
60476
  };
60520
60477
  const afterMakeParent = () => {
60521
- fs$26.lstat(entry.absolute, (lstatEr, st) => {
60478
+ fs$25.lstat(entry.absolute, (lstatEr, st) => {
60522
60479
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) {
60523
60480
  this[SKIP](entry);
60524
60481
  done();
@@ -60530,9 +60487,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60530
60487
  const needChmod = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode;
60531
60488
  const afterChmod = (er) => this[MAKEFS](er, entry, done);
60532
60489
  if (!needChmod) return afterChmod();
60533
- return fs$26.chmod(entry.absolute, entry.mode, afterChmod);
60490
+ return fs$25.chmod(entry.absolute, entry.mode, afterChmod);
60534
60491
  }
60535
- if (entry.absolute !== this.cwd) return fs$26.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
60492
+ if (entry.absolute !== this.cwd) return fs$25.rmdir(entry.absolute, (er) => this[MAKEFS](er, entry, done));
60536
60493
  }
60537
60494
  if (entry.absolute === this.cwd) return this[MAKEFS](null, entry, done);
60538
60495
  unlinkFile(entry.absolute, (er) => this[MAKEFS](er, entry, done));
@@ -60558,7 +60515,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60558
60515
  }
60559
60516
  }
60560
60517
  [LINK](entry, linkpath, link, done) {
60561
- fs$26[link](linkpath, entry.absolute, (er) => {
60518
+ fs$25[link](linkpath, entry.absolute, (er) => {
60562
60519
  if (er) this[ONERROR](er, entry);
60563
60520
  else {
60564
60521
  this[UNPEND]();
@@ -60587,23 +60544,23 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60587
60544
  this[CHECKED_CWD] = true;
60588
60545
  }
60589
60546
  if (entry.absolute !== this.cwd) {
60590
- const parent = normPath(path$27.dirname(entry.absolute));
60547
+ const parent = normPath(path$26.dirname(entry.absolute));
60591
60548
  if (parent !== this.cwd) {
60592
60549
  const mkParent = this[MKDIR](parent, this.dmode);
60593
60550
  if (mkParent) return this[ONERROR](mkParent, entry);
60594
60551
  }
60595
60552
  }
60596
- const [lstatEr, st] = callSync(() => fs$26.lstatSync(entry.absolute));
60553
+ const [lstatEr, st] = callSync(() => fs$25.lstatSync(entry.absolute));
60597
60554
  if (st && (this.keep || this.newer && st.mtime > entry.mtime)) return this[SKIP](entry);
60598
60555
  if (lstatEr || this[ISREUSABLE](entry, st)) return this[MAKEFS](null, entry);
60599
60556
  if (st.isDirectory()) {
60600
60557
  if (entry.type === "Directory") {
60601
60558
  const [er] = !this.noChmod && entry.mode && (st.mode & 4095) !== entry.mode ? callSync(() => {
60602
- fs$26.chmodSync(entry.absolute, entry.mode);
60559
+ fs$25.chmodSync(entry.absolute, entry.mode);
60603
60560
  }) : [];
60604
60561
  return this[MAKEFS](er, entry);
60605
60562
  }
60606
- const [er] = callSync(() => fs$26.rmdirSync(entry.absolute));
60563
+ const [er] = callSync(() => fs$25.rmdirSync(entry.absolute));
60607
60564
  this[MAKEFS](er, entry);
60608
60565
  }
60609
60566
  const [er] = entry.absolute === this.cwd ? [] : callSync(() => unlinkFileSync(entry.absolute));
@@ -60614,7 +60571,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60614
60571
  const oner = (er) => {
60615
60572
  let closeError;
60616
60573
  try {
60617
- fs$26.closeSync(fd);
60574
+ fs$25.closeSync(fd);
60618
60575
  } catch (e) {
60619
60576
  closeError = e;
60620
60577
  }
@@ -60623,7 +60580,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60623
60580
  };
60624
60581
  let fd;
60625
60582
  try {
60626
- fd = fs$26.openSync(entry.absolute, getFlag(entry.size), mode);
60583
+ fd = fs$25.openSync(entry.absolute, getFlag(entry.size), mode);
60627
60584
  } catch (er) {
60628
60585
  return oner(er);
60629
60586
  }
@@ -60634,7 +60591,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60634
60591
  }
60635
60592
  tx.on("data", (chunk) => {
60636
60593
  try {
60637
- fs$26.writeSync(fd, chunk, 0, chunk.length);
60594
+ fs$25.writeSync(fd, chunk, 0, chunk.length);
60638
60595
  } catch (er) {
60639
60596
  oner(er);
60640
60597
  }
@@ -60645,10 +60602,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60645
60602
  const atime = entry.atime || /* @__PURE__ */ new Date();
60646
60603
  const mtime = entry.mtime;
60647
60604
  try {
60648
- fs$26.futimesSync(fd, atime, mtime);
60605
+ fs$25.futimesSync(fd, atime, mtime);
60649
60606
  } catch (futimeser) {
60650
60607
  try {
60651
- fs$26.utimesSync(entry.absolute, atime, mtime);
60608
+ fs$25.utimesSync(entry.absolute, atime, mtime);
60652
60609
  } catch (utimeser) {
60653
60610
  er = futimeser;
60654
60611
  }
@@ -60658,10 +60615,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60658
60615
  const uid = this[UID](entry);
60659
60616
  const gid = this[GID](entry);
60660
60617
  try {
60661
- fs$26.fchownSync(fd, uid, gid);
60618
+ fs$25.fchownSync(fd, uid, gid);
60662
60619
  } catch (fchowner) {
60663
60620
  try {
60664
- fs$26.chownSync(entry.absolute, uid, gid);
60621
+ fs$25.chownSync(entry.absolute, uid, gid);
60665
60622
  } catch (chowner) {
60666
60623
  er = er || fchowner;
60667
60624
  }
@@ -60679,10 +60636,10 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60679
60636
  return;
60680
60637
  }
60681
60638
  if (entry.mtime && !this.noMtime) try {
60682
- fs$26.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
60639
+ fs$25.utimesSync(entry.absolute, entry.atime || /* @__PURE__ */ new Date(), entry.mtime);
60683
60640
  } catch (er) {}
60684
60641
  if (this[DOCHOWN](entry)) try {
60685
- fs$26.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
60642
+ fs$25.chownSync(entry.absolute, this[UID](entry), this[GID](entry));
60686
60643
  } catch (er) {}
60687
60644
  done();
60688
60645
  entry.resume();
@@ -60707,7 +60664,7 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60707
60664
  }
60708
60665
  [LINK](entry, linkpath, link, done) {
60709
60666
  try {
60710
- fs$26[link + "Sync"](linkpath, entry.absolute);
60667
+ fs$25[link + "Sync"](linkpath, entry.absolute);
60711
60668
  done();
60712
60669
  entry.resume();
60713
60670
  } catch (er) {
@@ -60723,9 +60680,9 @@ var require_unpack = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
60723
60680
  var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
60724
60681
  const hlo = require_high_level_opt();
60725
60682
  const Unpack = require_unpack();
60726
- const fs$25 = require("fs");
60683
+ const fs$24 = require("fs");
60727
60684
  const fsm = require_fs_minipass();
60728
- const path$26 = require("path");
60685
+ const path$25 = require("path");
60729
60686
  const stripSlash = require_strip_trailing_slashes();
60730
60687
  module.exports = (opt_, files, cb) => {
60731
60688
  if (typeof opt_ === "function") cb = opt_, files = null, opt_ = {};
@@ -60743,8 +60700,8 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60743
60700
  const map = new Map(files.map((f) => [stripSlash(f), true]));
60744
60701
  const filter = opt.filter;
60745
60702
  const mapHas = (file, r) => {
60746
- const root = r || path$26.parse(file).root || ".";
60747
- const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$26.dirname(file), root);
60703
+ const root = r || path$25.parse(file).root || ".";
60704
+ const ret = file === root ? false : map.has(file) ? map.get(file) : mapHas(path$25.dirname(file), root);
60748
60705
  map.set(file, ret);
60749
60706
  return ret;
60750
60707
  };
@@ -60753,7 +60710,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60753
60710
  const extractFileSync = (opt) => {
60754
60711
  const u = new Unpack.Sync(opt);
60755
60712
  const file = opt.file;
60756
- const stat = fs$25.statSync(file);
60713
+ const stat = fs$24.statSync(file);
60757
60714
  const readSize = opt.maxReadSize || 16 * 1024 * 1024;
60758
60715
  new fsm.ReadStreamSync(file, {
60759
60716
  readSize,
@@ -60767,7 +60724,7 @@ var require_extract$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
60767
60724
  const p = new Promise((resolve, reject) => {
60768
60725
  u.on("error", reject);
60769
60726
  u.on("close", resolve);
60770
- fs$25.stat(file, (er, stat) => {
60727
+ fs$24.stat(file, (er, stat) => {
60771
60728
  if (er) reject(er);
60772
60729
  else {
60773
60730
  const stream = new fsm.ReadStream(file, {
@@ -60850,7 +60807,7 @@ var require_pend = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
60850
60807
  //#endregion
60851
60808
  //#region ../../node_modules/fd-slicer/index.js
60852
60809
  var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
60853
- var fs$24 = require("fs");
60810
+ var fs$23 = require("fs");
60854
60811
  var util$9 = require("util");
60855
60812
  var stream$1 = require("stream");
60856
60813
  var Readable = stream$1.Readable;
@@ -60875,7 +60832,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60875
60832
  FdSlicer.prototype.read = function(buffer, offset, length, position, callback) {
60876
60833
  var self = this;
60877
60834
  self.pend.go(function(cb) {
60878
- fs$24.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
60835
+ fs$23.read(self.fd, buffer, offset, length, position, function(err, bytesRead, buffer) {
60879
60836
  cb();
60880
60837
  callback(err, bytesRead, buffer);
60881
60838
  });
@@ -60884,7 +60841,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60884
60841
  FdSlicer.prototype.write = function(buffer, offset, length, position, callback) {
60885
60842
  var self = this;
60886
60843
  self.pend.go(function(cb) {
60887
- fs$24.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
60844
+ fs$23.write(self.fd, buffer, offset, length, position, function(err, written, buffer) {
60888
60845
  cb();
60889
60846
  callback(err, written, buffer);
60890
60847
  });
@@ -60904,7 +60861,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60904
60861
  self.refCount -= 1;
60905
60862
  if (self.refCount > 0) return;
60906
60863
  if (self.refCount < 0) throw new Error("invalid unref");
60907
- if (self.autoClose) fs$24.close(self.fd, onCloseDone);
60864
+ if (self.autoClose) fs$23.close(self.fd, onCloseDone);
60908
60865
  function onCloseDone(err) {
60909
60866
  if (err) self.emit("error", err);
60910
60867
  else self.emit("close");
@@ -60935,7 +60892,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60935
60892
  self.context.pend.go(function(cb) {
60936
60893
  if (self.destroyed) return cb();
60937
60894
  var buffer = new Buffer(toRead);
60938
- fs$24.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
60895
+ fs$23.read(self.context.fd, buffer, 0, toRead, self.pos, function(err, bytesRead) {
60939
60896
  if (err) self.destroy(err);
60940
60897
  else if (bytesRead === 0) {
60941
60898
  self.destroyed = true;
@@ -60981,7 +60938,7 @@ var require_fd_slicer = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) =
60981
60938
  }
60982
60939
  self.context.pend.go(function(cb) {
60983
60940
  if (self.destroyed) return cb();
60984
- fs$24.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
60941
+ fs$23.write(self.context.fd, buffer, 0, buffer.length, self.pos, function(err, bytes) {
60985
60942
  if (err) {
60986
60943
  self.destroy();
60987
60944
  cb();
@@ -61388,7 +61345,7 @@ var require_buffer_crc32 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
61388
61345
  //#endregion
61389
61346
  //#region ../../node_modules/yauzl/index.js
61390
61347
  var require_yauzl = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
61391
- var fs$23 = require("fs");
61348
+ var fs$22 = require("fs");
61392
61349
  var zlib$1 = require("zlib");
61393
61350
  var fd_slicer = require_fd_slicer();
61394
61351
  var crc32 = require_buffer_crc32();
@@ -61410,10 +61367,10 @@ var require_yauzl = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
61410
61367
  if (options.validateEntrySizes == null) options.validateEntrySizes = true;
61411
61368
  if (options.strictFileNames == null) options.strictFileNames = false;
61412
61369
  if (callback == null) callback = defaultCallback;
61413
- fs$23.open(path, "r", function(err, fd) {
61370
+ fs$22.open(path, "r", function(err, fd) {
61414
61371
  if (err) return callback(err);
61415
61372
  fromFd(fd, options, function(err, zipfile) {
61416
- if (err) fs$23.close(fd, defaultCallback);
61373
+ if (err) fs$22.close(fd, defaultCallback);
61417
61374
  callback(err, zipfile);
61418
61375
  });
61419
61376
  });
@@ -61430,7 +61387,7 @@ var require_yauzl = /* @__PURE__ */ require_chunk.__commonJSMin(((exports) => {
61430
61387
  if (options.validateEntrySizes == null) options.validateEntrySizes = true;
61431
61388
  if (options.strictFileNames == null) options.strictFileNames = false;
61432
61389
  if (callback == null) callback = defaultCallback;
61433
- fs$23.fstat(fd, function(err, stats) {
61390
+ fs$22.fstat(fd, function(err, stats) {
61434
61391
  if (err) return callback(err);
61435
61392
  fromRandomAccessReader(fd_slicer.createFromFd(fd, { autoClose: true }), stats.size, options, callback);
61436
61393
  });
@@ -62658,13 +62615,13 @@ var require_minimatch$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
62658
62615
  //#region ../../node_modules/readdir-glob/index.js
62659
62616
  var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
62660
62617
  module.exports = readdirGlob;
62661
- const fs$22 = require("fs");
62618
+ const fs$21 = require("fs");
62662
62619
  const { EventEmitter } = require("events");
62663
62620
  const { Minimatch } = require_minimatch$1();
62664
62621
  const { resolve: resolve$12 } = require("path");
62665
62622
  function readdir(dir, strict) {
62666
62623
  return new Promise((resolve, reject) => {
62667
- fs$22.readdir(dir, { withFileTypes: true }, (err, files) => {
62624
+ fs$21.readdir(dir, { withFileTypes: true }, (err, files) => {
62668
62625
  if (err) switch (err.code) {
62669
62626
  case "ENOTDIR":
62670
62627
  if (strict) reject(err);
@@ -62686,7 +62643,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62686
62643
  }
62687
62644
  function stat(file, followSymlinks) {
62688
62645
  return new Promise((resolve, reject) => {
62689
- (followSymlinks ? fs$22.stat : fs$22.lstat)(file, (err, stats) => {
62646
+ (followSymlinks ? fs$21.stat : fs$21.lstat)(file, (err, stats) => {
62690
62647
  if (err) switch (err.code) {
62691
62648
  case "ENOENT":
62692
62649
  if (followSymlinks) resolve(stat(file, false));
@@ -62700,8 +62657,8 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62700
62657
  });
62701
62658
  });
62702
62659
  }
62703
- async function* exploreWalkAsync(dir, path$56, followSymlinks, useStat, shouldSkip, strict) {
62704
- let files = await readdir(path$56 + dir, strict);
62660
+ async function* exploreWalkAsync(dir, path$55, followSymlinks, useStat, shouldSkip, strict) {
62661
+ let files = await readdir(path$55 + dir, strict);
62705
62662
  for (const file of files) {
62706
62663
  let name = file.name;
62707
62664
  if (name === void 0) {
@@ -62710,7 +62667,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62710
62667
  }
62711
62668
  const filename = dir + "/" + name;
62712
62669
  const relative = filename.slice(1);
62713
- const absolute = path$56 + "/" + relative;
62670
+ const absolute = path$55 + "/" + relative;
62714
62671
  let stats = null;
62715
62672
  if (useStat || followSymlinks) stats = await stat(absolute, followSymlinks);
62716
62673
  if (!stats && file.name !== void 0) stats = file;
@@ -62722,7 +62679,7 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62722
62679
  absolute,
62723
62680
  stats
62724
62681
  };
62725
- yield* exploreWalkAsync(filename, path$56, followSymlinks, useStat, shouldSkip, false);
62682
+ yield* exploreWalkAsync(filename, path$55, followSymlinks, useStat, shouldSkip, false);
62726
62683
  }
62727
62684
  } else yield {
62728
62685
  relative,
@@ -62731,8 +62688,8 @@ var require_readdir_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports
62731
62688
  };
62732
62689
  }
62733
62690
  }
62734
- async function* explore(path$57, followSymlinks, useStat, shouldSkip) {
62735
- yield* exploreWalkAsync("", path$57, followSymlinks, useStat, shouldSkip, true);
62691
+ async function* explore(path$56, followSymlinks, useStat, shouldSkip) {
62692
+ yield* exploreWalkAsync("", path$56, followSymlinks, useStat, shouldSkip, true);
62736
62693
  }
62737
62694
  function readOptions(options) {
62738
62695
  return {
@@ -68725,7 +68682,7 @@ var require_clone$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
68725
68682
  //#endregion
68726
68683
  //#region ../../node_modules/graceful-fs/graceful-fs.js
68727
68684
  var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
68728
- var fs$21 = require("fs");
68685
+ var fs$20 = require("fs");
68729
68686
  var polyfills = require_polyfills();
68730
68687
  var legacy = require_legacy_streams();
68731
68688
  var clone = require_clone$1();
@@ -68754,36 +68711,36 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
68754
68711
  m = "GFS4: " + m.split(/\n/).join("\nGFS4: ");
68755
68712
  console.error(m);
68756
68713
  };
68757
- if (!fs$21[gracefulQueue]) {
68758
- publishQueue(fs$21, global[gracefulQueue] || []);
68759
- fs$21.close = (function(fs$close) {
68714
+ if (!fs$20[gracefulQueue]) {
68715
+ publishQueue(fs$20, global[gracefulQueue] || []);
68716
+ fs$20.close = (function(fs$close) {
68760
68717
  function close(fd, cb) {
68761
- return fs$close.call(fs$21, fd, function(err) {
68718
+ return fs$close.call(fs$20, fd, function(err) {
68762
68719
  if (!err) resetQueue();
68763
68720
  if (typeof cb === "function") cb.apply(this, arguments);
68764
68721
  });
68765
68722
  }
68766
68723
  Object.defineProperty(close, previousSymbol, { value: fs$close });
68767
68724
  return close;
68768
- })(fs$21.close);
68769
- fs$21.closeSync = (function(fs$closeSync) {
68725
+ })(fs$20.close);
68726
+ fs$20.closeSync = (function(fs$closeSync) {
68770
68727
  function closeSync(fd) {
68771
- fs$closeSync.apply(fs$21, arguments);
68728
+ fs$closeSync.apply(fs$20, arguments);
68772
68729
  resetQueue();
68773
68730
  }
68774
68731
  Object.defineProperty(closeSync, previousSymbol, { value: fs$closeSync });
68775
68732
  return closeSync;
68776
- })(fs$21.closeSync);
68733
+ })(fs$20.closeSync);
68777
68734
  if (/\bgfs4\b/i.test(process.env.NODE_DEBUG || "")) process.on("exit", function() {
68778
- debug(fs$21[gracefulQueue]);
68779
- require("assert").equal(fs$21[gracefulQueue].length, 0);
68735
+ debug(fs$20[gracefulQueue]);
68736
+ require("assert").equal(fs$20[gracefulQueue].length, 0);
68780
68737
  });
68781
68738
  }
68782
- if (!global[gracefulQueue]) publishQueue(global, fs$21[gracefulQueue]);
68783
- module.exports = patch(clone(fs$21));
68784
- if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$21.__patched) {
68785
- module.exports = patch(fs$21);
68786
- fs$21.__patched = true;
68739
+ if (!global[gracefulQueue]) publishQueue(global, fs$20[gracefulQueue]);
68740
+ module.exports = patch(clone(fs$20));
68741
+ if (process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH && !fs$20.__patched) {
68742
+ module.exports = patch(fs$20);
68743
+ fs$20.__patched = true;
68787
68744
  }
68788
68745
  function patch(fs) {
68789
68746
  polyfills(fs);
@@ -69038,23 +68995,23 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
69038
68995
  }
69039
68996
  function enqueue(elem) {
69040
68997
  debug("ENQUEUE", elem[0].name, elem[1]);
69041
- fs$21[gracefulQueue].push(elem);
68998
+ fs$20[gracefulQueue].push(elem);
69042
68999
  retry();
69043
69000
  }
69044
69001
  var retryTimer;
69045
69002
  function resetQueue() {
69046
69003
  var now = Date.now();
69047
- for (var i = 0; i < fs$21[gracefulQueue].length; ++i) if (fs$21[gracefulQueue][i].length > 2) {
69048
- fs$21[gracefulQueue][i][3] = now;
69049
- fs$21[gracefulQueue][i][4] = now;
69004
+ for (var i = 0; i < fs$20[gracefulQueue].length; ++i) if (fs$20[gracefulQueue][i].length > 2) {
69005
+ fs$20[gracefulQueue][i][3] = now;
69006
+ fs$20[gracefulQueue][i][4] = now;
69050
69007
  }
69051
69008
  retry();
69052
69009
  }
69053
69010
  function retry() {
69054
69011
  clearTimeout(retryTimer);
69055
69012
  retryTimer = void 0;
69056
- if (fs$21[gracefulQueue].length === 0) return;
69057
- var elem = fs$21[gracefulQueue].shift();
69013
+ if (fs$20[gracefulQueue].length === 0) return;
69014
+ var elem = fs$20[gracefulQueue].shift();
69058
69015
  var fn = elem[0];
69059
69016
  var args = elem[1];
69060
69017
  var err = elem[2];
@@ -69073,7 +69030,7 @@ var require_graceful_fs = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
69073
69030
  if (sinceAttempt >= Math.min(sinceStart * 1.2, 100)) {
69074
69031
  debug("RETRY", fn.name, args);
69075
69032
  fn.apply(null, args.concat([startTime]));
69076
- } else fs$21[gracefulQueue].push(elem);
69033
+ } else fs$20[gracefulQueue].push(elem);
69077
69034
  }
69078
69035
  if (retryTimer === void 0) retryTimer = setTimeout(retry, 0);
69079
69036
  }
@@ -84199,7 +84156,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84199
84156
  * https://github.com/archiverjs/node-archiver/blob/master/LICENSE-MIT
84200
84157
  */
84201
84158
  var fs = require_graceful_fs();
84202
- var path$25 = require("path");
84159
+ var path$24 = require("path");
84203
84160
  var flatten = require_flatten();
84204
84161
  var difference = require_difference();
84205
84162
  var union = require_union();
@@ -84219,7 +84176,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84219
84176
  return result;
84220
84177
  };
84221
84178
  file.exists = function() {
84222
- var filepath = path$25.join.apply(path$25, arguments);
84179
+ var filepath = path$24.join.apply(path$24, arguments);
84223
84180
  return fs.existsSync(filepath);
84224
84181
  };
84225
84182
  file.expand = function(...args) {
@@ -84230,7 +84187,7 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84230
84187
  return glob.sync(pattern, options);
84231
84188
  });
84232
84189
  if (options.filter) matches = matches.filter(function(filepath) {
84233
- filepath = path$25.join(options.cwd || "", filepath);
84190
+ filepath = path$24.join(options.cwd || "", filepath);
84234
84191
  try {
84235
84192
  if (typeof options.filter === "function") return options.filter(filepath);
84236
84193
  else return fs.statSync(filepath)[options.filter]();
@@ -84242,16 +84199,16 @@ var require_file$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
84242
84199
  };
84243
84200
  file.expandMapping = function(patterns, destBase, options) {
84244
84201
  options = Object.assign({ rename: function(destBase, destPath) {
84245
- return path$25.join(destBase || "", destPath);
84202
+ return path$24.join(destBase || "", destPath);
84246
84203
  } }, options);
84247
84204
  var files = [];
84248
84205
  var fileByDest = {};
84249
84206
  file.expand(options, patterns).forEach(function(src) {
84250
84207
  var destPath = src;
84251
- if (options.flatten) destPath = path$25.basename(destPath);
84208
+ if (options.flatten) destPath = path$24.basename(destPath);
84252
84209
  if (options.ext) destPath = destPath.replace(/(\.[^\/]*)?$/, options.ext);
84253
84210
  var dest = options.rename(destBase, destPath, options);
84254
- if (options.cwd) src = path$25.join(options.cwd, src);
84211
+ if (options.cwd) src = path$24.join(options.cwd, src);
84255
84212
  dest = dest.replace(pathSeparatorRe, "/");
84256
84213
  src = src.replace(pathSeparatorRe, "/");
84257
84214
  if (fileByDest[dest]) fileByDest[dest].src.push(src);
@@ -84326,7 +84283,7 @@ var require_archiver_utils = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
84326
84283
  * https://github.com/archiverjs/archiver-utils/blob/master/LICENSE
84327
84284
  */
84328
84285
  var fs = require_graceful_fs();
84329
- var path$24 = require("path");
84286
+ var path$23 = require("path");
84330
84287
  var isStream = require_is_stream$1();
84331
84288
  var lazystream = require_lazystream();
84332
84289
  var normalizePath = require_normalize_path();
@@ -84402,11 +84359,11 @@ var require_archiver_utils = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
84402
84359
  (function next() {
84403
84360
  file = list[i++];
84404
84361
  if (!file) return callback(null, results);
84405
- filepath = path$24.join(dirpath, file);
84362
+ filepath = path$23.join(dirpath, file);
84406
84363
  fs.stat(filepath, function(err, stats) {
84407
84364
  results.push({
84408
84365
  path: filepath,
84409
- relative: path$24.relative(base, filepath).replace(/\\/g, "/"),
84366
+ relative: path$23.relative(base, filepath).replace(/\\/g, "/"),
84410
84367
  stats
84411
84368
  });
84412
84369
  if (stats && stats.isDirectory()) utils.walkdir(filepath, base, function(err, res) {
@@ -84470,10 +84427,10 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84470
84427
  * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE}
84471
84428
  * @copyright (c) 2012-2014 Chris Talkington, contributors.
84472
84429
  */
84473
- var fs$20 = require("fs");
84430
+ var fs$19 = require("fs");
84474
84431
  var glob = require_readdir_glob();
84475
84432
  var async = require_async();
84476
- var path$23 = require("path");
84433
+ var path$22 = require("path");
84477
84434
  var util = require_archiver_utils();
84478
84435
  var inherits$5 = require("util").inherits;
84479
84436
  var ArchiverError = require_error$10();
@@ -84547,7 +84504,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84547
84504
  data.sourcePath = filepath;
84548
84505
  task.data = data;
84549
84506
  this._entriesCount++;
84550
- if (data.stats && data.stats instanceof fs$20.Stats) {
84507
+ if (data.stats && data.stats instanceof fs$19.Stats) {
84551
84508
  task = this._updateQueueTaskWithStats(task, data.stats);
84552
84509
  if (task) {
84553
84510
  if (data.stats.size) this._fsEntriesTotalBytes += data.stats.size;
@@ -84777,7 +84734,7 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84777
84734
  callback();
84778
84735
  return;
84779
84736
  }
84780
- fs$20.lstat(task.filepath, function(err, stats) {
84737
+ fs$19.lstat(task.filepath, function(err, stats) {
84781
84738
  if (this._state.aborted) {
84782
84739
  setImmediate(callback);
84783
84740
  return;
@@ -84843,10 +84800,10 @@ var require_core = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
84843
84800
  task.data.sourceType = "buffer";
84844
84801
  task.source = Buffer.concat([]);
84845
84802
  } else if (stats.isSymbolicLink() && this._moduleSupports("symlink")) {
84846
- var linkPath = fs$20.readlinkSync(task.filepath);
84847
- var dirName = path$23.dirname(task.filepath);
84803
+ var linkPath = fs$19.readlinkSync(task.filepath);
84804
+ var dirName = path$22.dirname(task.filepath);
84848
84805
  task.data.type = "symlink";
84849
- task.data.linkname = path$23.relative(dirName, path$23.resolve(dirName, linkPath));
84806
+ task.data.linkname = path$22.relative(dirName, path$22.resolve(dirName, linkPath));
84850
84807
  task.data.sourceType = "buffer";
84851
84808
  task.source = Buffer.concat([]);
84852
84809
  } else {
@@ -95902,7 +95859,7 @@ var require_index_min$3 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
95902
95859
  //#region ../../node_modules/@npmcli/promise-spawn/node_modules/which/lib/index.js
95903
95860
  var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
95904
95861
  const { isexe, sync: isexeSync } = require_index_min$3();
95905
- const { join: join$16, delimiter: delimiter$3, sep: sep$4, posix: posix$1 } = require("path");
95862
+ const { join: join$14, delimiter: delimiter$3, sep: sep$4, posix: posix$1 } = require("path");
95906
95863
  const isWindows = process.platform === "win32";
95907
95864
  /* istanbul ignore next */
95908
95865
  const rSlash = new RegExp(`[${posix$1.sep}${sep$4 === posix$1.sep ? "" : sep$4}]`.replace(/(\\)/g, "\\$1"));
@@ -95932,7 +95889,7 @@ var require_lib$27 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
95932
95889
  };
95933
95890
  const getPathPart = (raw, cmd) => {
95934
95891
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
95935
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$16(pathPart, cmd);
95892
+ return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$14(pathPart, cmd);
95936
95893
  };
95937
95894
  const which = async (cmd, opt = {}) => {
95938
95895
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
@@ -96681,7 +96638,7 @@ var require_index_min$2 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
96681
96638
  //#region ../../node_modules/@npmcli/git/node_modules/which/lib/index.js
96682
96639
  var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
96683
96640
  const { isexe, sync: isexeSync } = require_index_min$2();
96684
- const { join: join$15, delimiter: delimiter$2, sep: sep$3, posix } = require("path");
96641
+ const { join: join$13, delimiter: delimiter$2, sep: sep$3, posix } = require("path");
96685
96642
  const isWindows = process.platform === "win32";
96686
96643
  /* istanbul ignore next */
96687
96644
  const rSlash = new RegExp(`[${posix.sep}${sep$3 === posix.sep ? "" : sep$3}]`.replace(/(\\)/g, "\\$1"));
@@ -96711,7 +96668,7 @@ var require_lib$24 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
96711
96668
  };
96712
96669
  const getPathPart = (raw, cmd) => {
96713
96670
  const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
96714
- return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$15(pathPart, cmd);
96671
+ return (!pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : "") + join$13(pathPart, cmd);
96715
96672
  };
96716
96673
  const which = async (cmd, opt = {}) => {
96717
96674
  const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);
@@ -98609,7 +98566,7 @@ var require_lib$22 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
98609
98566
  //#endregion
98610
98567
  //#region ../../node_modules/npm-normalize-package-bin/lib/index.js
98611
98568
  var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
98612
- const { join: join$14, basename: basename$5 } = require("path");
98569
+ const { join: join$12, basename: basename$5 } = require("path");
98613
98570
  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);
98614
98571
  const normalizeString = (pkg) => {
98615
98572
  if (!pkg.name) return removeBin(pkg);
@@ -98632,9 +98589,9 @@ var require_lib$21 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
98632
98589
  const clean = {};
98633
98590
  let hasBins = false;
98634
98591
  Object.keys(orig).forEach((binKey) => {
98635
- const base = join$14("/", basename$5(binKey.replace(/\\|:/g, "/"))).slice(1);
98592
+ const base = join$12("/", basename$5(binKey.replace(/\\|:/g, "/"))).slice(1);
98636
98593
  if (typeof orig[binKey] !== "string" || !base) return;
98637
- const binTarget = join$14("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
98594
+ const binTarget = join$12("/", orig[binKey].replace(/\\/g, "/")).replace(/\\/g, "/").slice(1);
98638
98595
  if (!binTarget) return;
98639
98596
  clean[base] = binTarget;
98640
98597
  hasBins = true;
@@ -100707,7 +100664,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100707
100664
  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();
100708
100665
  const { constants: { errno: { EEXIST, EISDIR, EINVAL, ENOTDIR } } } = require("os");
100709
100666
  const { chmod: chmod$2, copyFile, lstat: lstat$2, mkdir: mkdir$9, readdir: readdir$6, readlink, stat: stat$5, symlink, unlink, utimes } = require("fs/promises");
100710
- const { dirname: dirname$8, isAbsolute: isAbsolute$2, join: join$13, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
100667
+ const { dirname: dirname$8, isAbsolute: isAbsolute$2, join: join$11, parse, resolve: resolve$10, sep: sep$2, toNamespacedPath } = require("path");
100711
100668
  const { fileURLToPath } = require("url");
100712
100669
  const defaultOptions = {
100713
100670
  dereference: false,
@@ -100814,7 +100771,7 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100814
100771
  });
100815
100772
  return checkParentPaths(src, srcStat, destParent);
100816
100773
  }
100817
- const normalizePathToArray = (path$55) => resolve$10(path$55).split(sep$2).filter(Boolean);
100774
+ const normalizePathToArray = (path$54) => resolve$10(path$54).split(sep$2).filter(Boolean);
100818
100775
  function isSrcSubdir(src, dest) {
100819
100776
  const srcArr = normalizePathToArray(src);
100820
100777
  const destArr = normalizePathToArray(dest);
@@ -100916,8 +100873,8 @@ var require_polyfill = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
100916
100873
  const dir = await readdir$6(src);
100917
100874
  for (let i = 0; i < dir.length; i++) {
100918
100875
  const item = dir[i];
100919
- const srcItem = join$13(src, item);
100920
- const destItem = join$13(dest, item);
100876
+ const srcItem = join$11(src, item);
100877
+ const destItem = join$11(dest, item);
100921
100878
  const { destStat } = await checkPaths(srcItem, destItem, opts);
100922
100879
  await startCopy(destStat, srcItem, destItem, opts);
100923
100880
  }
@@ -100981,13 +100938,13 @@ var require_cp = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
100981
100938
  //#endregion
100982
100939
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/with-temp-dir.js
100983
100940
  var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
100984
- const { join: join$12, sep: sep$1 } = require("path");
100941
+ const { join: join$10, sep: sep$1 } = require("path");
100985
100942
  const getOptions = require_get_options();
100986
- const { mkdir: mkdir$8, mkdtemp, rm: rm$7 } = require("fs/promises");
100943
+ const { mkdir: mkdir$8, mkdtemp, rm: rm$8 } = require("fs/promises");
100987
100944
  const withTempDir = async (root, fn, opts) => {
100988
100945
  const options = getOptions(opts, { copy: ["tmpPrefix"] });
100989
100946
  await mkdir$8(root, { recursive: true });
100990
- const target = await mkdtemp(join$12(`${root}${sep$1}`, options.tmpPrefix || ""));
100947
+ const target = await mkdtemp(join$10(`${root}${sep$1}`, options.tmpPrefix || ""));
100991
100948
  let err;
100992
100949
  let result;
100993
100950
  try {
@@ -100996,7 +100953,7 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
100996
100953
  err = _err;
100997
100954
  }
100998
100955
  try {
100999
- await rm$7(target, {
100956
+ await rm$8(target, {
101000
100957
  force: true,
101001
100958
  recursive: true
101002
100959
  });
@@ -101010,10 +100967,10 @@ var require_with_temp_dir = /* @__PURE__ */ require_chunk.__commonJSMin(((export
101010
100967
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/readdir-scoped.js
101011
100968
  var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101012
100969
  const { readdir: readdir$5 } = require("fs/promises");
101013
- const { join: join$11 } = require("path");
100970
+ const { join: join$9 } = require("path");
101014
100971
  const readdirScoped = async (dir) => {
101015
100972
  const results = [];
101016
- for (const item of await readdir$5(dir)) if (item.startsWith("@")) for (const scopedItem of await readdir$5(join$11(dir, item))) results.push(join$11(item, scopedItem));
100973
+ for (const item of await readdir$5(dir)) if (item.startsWith("@")) for (const scopedItem of await readdir$5(join$9(dir, item))) results.push(join$9(item, scopedItem));
101017
100974
  else results.push(item);
101018
100975
  return results;
101019
100976
  };
@@ -101022,11 +100979,11 @@ var require_readdir_scoped = /* @__PURE__ */ require_chunk.__commonJSMin(((expor
101022
100979
  //#endregion
101023
100980
  //#region ../../node_modules/cacache/node_modules/@npmcli/fs/lib/move-file.js
101024
100981
  var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101025
- const { dirname: dirname$7, join: join$10, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
100982
+ const { dirname: dirname$7, join: join$8, resolve: resolve$9, relative: relative$1, isAbsolute: isAbsolute$1 } = require("path");
101026
100983
  const fs$12 = require("fs/promises");
101027
- const pathExists = async (path$54) => {
100984
+ const pathExists = async (path$53) => {
101028
100985
  try {
101029
- await fs$12.access(path$54);
100986
+ await fs$12.access(path$53);
101030
100987
  return true;
101031
100988
  } catch (er) {
101032
100989
  return er.code !== "ENOENT";
@@ -101047,7 +101004,7 @@ var require_move_file = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, m
101047
101004
  const sourceStat = await fs$12.lstat(source);
101048
101005
  if (sourceStat.isDirectory()) {
101049
101006
  const files = await fs$12.readdir(source);
101050
- await Promise.all(files.map((file) => moveFile(join$10(source, file), join$10(destination, file), options, false, symlinks)));
101007
+ await Promise.all(files.map((file) => moveFile(join$8(source, file), join$8(destination, file), options, false, symlinks)));
101051
101008
  } else if (sourceStat.isSymbolicLink()) symlinks.push({
101052
101009
  source,
101053
101010
  destination
@@ -101223,7 +101180,7 @@ var require_path = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
101223
101180
  //#region ../../node_modules/cacache/lib/entry-index.js
101224
101181
  var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
101225
101182
  const crypto$1 = require("crypto");
101226
- const { appendFile, mkdir: mkdir$7, readFile: readFile$7, readdir: readdir$4, rm: rm$6, writeFile: writeFile$4 } = require("fs/promises");
101183
+ const { appendFile, mkdir: mkdir$7, readFile: readFile$7, readdir: readdir$4, rm: rm$7, writeFile: writeFile$4 } = require("fs/promises");
101227
101184
  const { Minipass } = require_commonjs$10();
101228
101185
  const path$14 = require("path");
101229
101186
  const ssri = require_lib$17();
@@ -101264,7 +101221,7 @@ var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
101264
101221
  };
101265
101222
  };
101266
101223
  const teardown = async (tmp) => {
101267
- if (!tmp.moved) return rm$6(tmp.target, {
101224
+ if (!tmp.moved) return rm$7(tmp.target, {
101268
101225
  recursive: true,
101269
101226
  force: true
101270
101227
  });
@@ -101320,7 +101277,7 @@ var require_entry_index = /* @__PURE__ */ require_chunk.__commonJSMin(((exports,
101320
101277
  module.exports.delete = del;
101321
101278
  function del(cache, key, opts = {}) {
101322
101279
  if (!opts.removeFully) return insert(cache, key, null, opts);
101323
- return rm$6(bucketPath(cache, key), {
101280
+ return rm$7(bucketPath(cache, key), {
101324
101281
  recursive: true,
101325
101282
  force: true
101326
101283
  });
@@ -106082,7 +106039,7 @@ var require_glob = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
106082
106039
  const { glob } = require_index_min$1();
106083
106040
  const path$12 = require("path");
106084
106041
  const globify = (pattern) => pattern.split(path$12.win32.sep).join(path$12.posix.sep);
106085
- module.exports = (path$53, options) => glob(globify(path$53), options);
106042
+ module.exports = (path$52, options) => glob(globify(path$52), options);
106086
106043
  }));
106087
106044
  //#endregion
106088
106045
  //#region ../../node_modules/cacache/lib/content/rm.js
@@ -106105,7 +106062,7 @@ var require_rm$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module
106105
106062
  //#endregion
106106
106063
  //#region ../../node_modules/cacache/lib/rm.js
106107
106064
  var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
106108
- const { rm: rm$5 } = require("fs/promises");
106065
+ const { rm: rm$6 } = require("fs/promises");
106109
106066
  const glob = require_glob();
106110
106067
  const index = require_entry_index();
106111
106068
  const memo = require_memoization();
@@ -106129,7 +106086,7 @@ var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
106129
106086
  silent: true,
106130
106087
  nosort: true
106131
106088
  });
106132
- return Promise.all(paths.map((p) => rm$5(p, {
106089
+ return Promise.all(paths.map((p) => rm$6(p, {
106133
106090
  recursive: true,
106134
106091
  force: true
106135
106092
  })));
@@ -106138,7 +106095,7 @@ var require_rm = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module)
106138
106095
  //#endregion
106139
106096
  //#region ../../node_modules/cacache/lib/verify.js
106140
106097
  var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
106141
- const { mkdir: mkdir$6, readFile: readFile$6, rm: rm$4, stat: stat$4, truncate, writeFile: writeFile$3 } = require("fs/promises");
106098
+ const { mkdir: mkdir$6, readFile: readFile$6, rm: rm$5, stat: stat$4, truncate, writeFile: writeFile$3 } = require("fs/promises");
106142
106099
  const contentPath = require_path();
106143
106100
  const fsm = require_lib$15();
106144
106101
  const glob = require_glob();
@@ -106235,7 +106192,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106235
106192
  } else {
106236
106193
  stats.reclaimedCount++;
106237
106194
  const s = await stat$4(f);
106238
- await rm$4(f, {
106195
+ await rm$5(f, {
106239
106196
  recursive: true,
106240
106197
  force: true
106241
106198
  });
@@ -106258,7 +106215,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106258
106215
  valid: false
106259
106216
  };
106260
106217
  if (err.code !== "EINTEGRITY") throw err;
106261
- await rm$4(filepath, {
106218
+ await rm$5(filepath, {
106262
106219
  recursive: true,
106263
106220
  force: true
106264
106221
  });
@@ -106319,7 +106276,7 @@ var require_verify$1 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
106319
106276
  }
106320
106277
  function cleanTmp(cache, opts) {
106321
106278
  opts.log.silly("verify", "cleaning tmp directory");
106322
- return rm$4(path$10.join(cache, "tmp"), {
106279
+ return rm$5(path$10.join(cache, "tmp"), {
106323
106280
  recursive: true,
106324
106281
  force: true
106325
106282
  });
@@ -106880,14 +106837,14 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106880
106837
  const { readFile: readFile$5, readdir: readdir$3, stat: stat$3 } = require("fs/promises");
106881
106838
  const { resolve: resolve$8, basename: basename$4, dirname: dirname$6 } = require("path");
106882
106839
  const normalizePackageBin = require_lib$21();
106883
- const readPackage = ({ path: path$49, packageJsonCache }) => packageJsonCache.has(path$49) ? Promise.resolve(packageJsonCache.get(path$49)) : readFile$5(path$49).then((json) => {
106840
+ const readPackage = ({ path: path$48, packageJsonCache }) => packageJsonCache.has(path$48) ? Promise.resolve(packageJsonCache.get(path$48)) : readFile$5(path$48).then((json) => {
106884
106841
  const pkg = normalizePackageBin(JSON.parse(json));
106885
- packageJsonCache.set(path$49, pkg);
106842
+ packageJsonCache.set(path$48, pkg);
106886
106843
  return pkg;
106887
106844
  }).catch(() => null);
106888
106845
  const normalized = Symbol("package data has been normalized");
106889
- const rpj = ({ path: path$50, packageJsonCache }) => readPackage({
106890
- path: path$50,
106846
+ const rpj = ({ path: path$49, packageJsonCache }) => readPackage({
106847
+ path: path$49,
106891
106848
  packageJsonCache
106892
106849
  }).then((pkg) => {
106893
106850
  if (!pkg || pkg[normalized]) return pkg;
@@ -106901,14 +106858,14 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106901
106858
  pkg[normalized] = true;
106902
106859
  return pkg;
106903
106860
  });
106904
- const pkgContents = async ({ path: path$51, depth = 1, currentDepth = 0, pkg = null, result = null, packageJsonCache = null }) => {
106861
+ const pkgContents = async ({ path: path$50, depth = 1, currentDepth = 0, pkg = null, result = null, packageJsonCache = null }) => {
106905
106862
  if (!result) result = /* @__PURE__ */ new Set();
106906
106863
  if (!packageJsonCache) packageJsonCache = /* @__PURE__ */ new Map();
106907
106864
  if (pkg === true) return rpj({
106908
- path: path$51 + "/package.json",
106865
+ path: path$50 + "/package.json",
106909
106866
  packageJsonCache
106910
106867
  }).then((p) => pkgContents({
106911
- path: path$51,
106868
+ path: path$50,
106912
106869
  depth,
106913
106870
  currentDepth,
106914
106871
  pkg: p,
@@ -106917,7 +106874,7 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106917
106874
  }));
106918
106875
  if (pkg) {
106919
106876
  if (pkg.bin) {
106920
- const dir = dirname$6(path$51);
106877
+ const dir = dirname$6(path$50);
106921
106878
  const scope = basename$4(dir);
106922
106879
  const nm = /^@.+/.test(scope) ? dirname$6(dir) : dir;
106923
106880
  const binFiles = [];
@@ -106929,21 +106886,21 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106929
106886
  }
106930
106887
  }
106931
106888
  if (currentDepth >= depth) {
106932
- result.add(path$51);
106889
+ result.add(path$50);
106933
106890
  return result;
106934
106891
  }
106935
- const [dirEntries, bundleDeps] = await Promise.all([readdir$3(path$51, { withFileTypes: true }), currentDepth === 0 && pkg && pkg.bundleDependencies ? bundled({
106936
- path: path$51,
106892
+ const [dirEntries, bundleDeps] = await Promise.all([readdir$3(path$50, { withFileTypes: true }), currentDepth === 0 && pkg && pkg.bundleDependencies ? bundled({
106893
+ path: path$50,
106937
106894
  packageJsonCache
106938
106895
  }) : null]).catch(() => []);
106939
106896
  if (!dirEntries) return result;
106940
106897
  if (!dirEntries.length && !bundleDeps && currentDepth !== 0) {
106941
- result.add(path$51);
106898
+ result.add(path$50);
106942
106899
  return result;
106943
106900
  }
106944
106901
  const recursePromises = [];
106945
106902
  for (const entry of dirEntries) {
106946
- const p = resolve$8(path$51, entry.name);
106903
+ const p = resolve$8(path$50, entry.name);
106947
106904
  if (entry.isDirectory() === false) {
106948
106905
  result.add(p);
106949
106906
  continue;
@@ -106962,7 +106919,7 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106962
106919
  }
106963
106920
  if (bundleDeps) recursePromises.push(...bundleDeps.map((dep) => {
106964
106921
  return pkgContents({
106965
- path: resolve$8(path$51, "node_modules", dep),
106922
+ path: resolve$8(path$50, "node_modules", dep),
106966
106923
  packageJsonCache,
106967
106924
  pkg: true,
106968
106925
  depth,
@@ -106973,8 +106930,8 @@ var require_lib$11 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
106973
106930
  if (recursePromises.length) await Promise.all(recursePromises);
106974
106931
  return result;
106975
106932
  };
106976
- module.exports = ({ path: path$52, ...opts }) => pkgContents({
106977
- path: resolve$8(path$52),
106933
+ module.exports = ({ path: path$51, ...opts }) => pkgContents({
106934
+ path: resolve$8(path$51),
106978
106935
  ...opts,
106979
106936
  pkg: true
106980
106937
  }).then((results) => [...results]);
@@ -112410,7 +112367,7 @@ var require_lib$10 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modu
112410
112367
  var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
112411
112368
  const { Walker: IgnoreWalker } = require_lib$10();
112412
112369
  const { lstatSync: lstat$1, readFileSync: readFile$4 } = require("fs");
112413
- const { basename: basename$3, dirname: dirname$5, extname: extname$1, join: join$9, relative, resolve: resolve$6, sep } = require("path");
112370
+ const { basename: basename$3, dirname: dirname$5, extname: extname$1, join: join$7, relative, resolve: resolve$6, sep } = require("path");
112414
112371
  const { log } = require_lib$29();
112415
112372
  const defaultRules = Symbol("npm-packlist.rules.default");
112416
112373
  const strictRules = Symbol("npm-packlist.rules.strict");
@@ -112440,10 +112397,10 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112440
112397
  "/archived-packages/**"
112441
112398
  ];
112442
112399
  const strictDefaults = ["/.git"];
112443
- const normalizePath = (path$46) => path$46.split("\\").join("/");
112400
+ const normalizePath = (path$45) => path$45.split("\\").join("/");
112444
112401
  const readOutOfTreeIgnoreFiles = (root, rel, result = []) => {
112445
112402
  for (const file of [".npmignore", ".gitignore"]) try {
112446
- const ignoreContent = readFile$4(join$9(root, file), { encoding: "utf8" });
112403
+ const ignoreContent = readFile$4(join$7(root, file), { encoding: "utf8" });
112447
112404
  result.push(ignoreContent);
112448
112405
  break;
112449
112406
  } catch (err) {
@@ -112452,8 +112409,8 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112452
112409
  }
112453
112410
  if (!rel) return result;
112454
112411
  const firstRel = rel.split(sep, 1)[0];
112455
- const newRoot = join$9(root, firstRel);
112456
- return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$9(root, rel)), result);
112412
+ const newRoot = join$7(root, firstRel);
112413
+ return readOutOfTreeIgnoreFiles(newRoot, relative(newRoot, join$7(root, rel)), result);
112457
112414
  };
112458
112415
  var PackWalker = class PackWalker extends IgnoreWalker {
112459
112416
  constructor(tree, opts) {
@@ -112477,14 +112434,14 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112477
112434
  this.requiredFiles = options.requiredFiles || [];
112478
112435
  const additionalDefaults = [];
112479
112436
  if (options.prefix && options.workspaces) {
112480
- const path$47 = normalizePath(options.path);
112437
+ const path$46 = normalizePath(options.path);
112481
112438
  const prefix = normalizePath(options.prefix);
112482
112439
  const workspaces = options.workspaces.map((ws) => normalizePath(ws));
112483
112440
  // istanbul ignore else - this does nothing unless we need it to
112484
- if (path$47 !== prefix && workspaces.includes(path$47)) {
112441
+ if (path$46 !== prefix && workspaces.includes(path$46)) {
112485
112442
  const relpath = relative(options.prefix, dirname$5(options.path));
112486
112443
  additionalDefaults.push(...readOutOfTreeIgnoreFiles(options.prefix, relpath));
112487
- } else if (path$47 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
112444
+ } else if (path$46 === prefix) additionalDefaults.push(...workspaces.map((w) => normalizePath(relative(options.path, w))));
112488
112445
  }
112489
112446
  this.injectRules(defaultRules, [...defaults, ...additionalDefaults]);
112490
112447
  if (!this.isPackage) this.injectRules(strictRules, [...strictDefaults, ...this.requiredFiles.map((file) => `!${file}`)]);
@@ -112520,7 +112477,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112520
112477
  let ignoreFiles = null;
112521
112478
  if (this.tree.workspaces) {
112522
112479
  const workspaceDirs = [...this.tree.workspaces.values()].map((dir) => dir.replace(/\\/g, "/"));
112523
- const entryPath = join$9(this.path, entry).replace(/\\/g, "/");
112480
+ const entryPath = join$7(this.path, entry).replace(/\\/g, "/");
112524
112481
  if (workspaceDirs.includes(entryPath)) ignoreFiles = [
112525
112482
  defaultRules,
112526
112483
  "package.json",
@@ -112580,7 +112537,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112580
112537
  if (file.endsWith("/*")) file += "*";
112581
112538
  const inverse = `!${file}`;
112582
112539
  try {
112583
- const stat = lstat$1(join$9(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
112540
+ const stat = lstat$1(join$7(this.path, file.replace(/^!+/, "")).replace(/\\/g, "/"));
112584
112541
  if (stat.isFile()) {
112585
112542
  strict.unshift(inverse);
112586
112543
  this.requiredFiles.push(file.startsWith("/") ? file.slice(1) : file);
@@ -112615,10 +112572,10 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112615
112572
  if (!edge || edge.peer || edge.dev) continue;
112616
112573
  const node = this.tree.edgesOut.get(dep).to;
112617
112574
  if (!node) continue;
112618
- const path$48 = node.path;
112575
+ const path$47 = node.path;
112619
112576
  const tree = node.target;
112620
112577
  const walkerOpts = {
112621
- path: path$48,
112578
+ path: path$47,
112622
112579
  isPackage: true,
112623
112580
  ignoreFiles: [],
112624
112581
  seen: this.seen
@@ -112637,7 +112594,7 @@ var require_lib$9 = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, modul
112637
112594
  walker.start();
112638
112595
  });
112639
112596
  const relativeFrom = relative(this.root, walker.path);
112640
- for (const file of bundled) this.result.add(join$9(relativeFrom, file).replace(/\\/g, "/"));
112597
+ for (const file of bundled) this.result.add(join$7(relativeFrom, file).replace(/\\/g, "/"));
112641
112598
  }
112642
112599
  }
112643
112600
  };
@@ -112695,7 +112652,7 @@ var require_make_spawn_args = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
112695
112652
  const { resolve: resolve$4 } = require("path");
112696
112653
  let npm_config_node_gyp;
112697
112654
  const makeSpawnArgs = (options) => {
112698
- const { args, binPaths, cmd, env, event, nodeGyp, path: path$45, scriptShell = true, stdio, stdioString } = options;
112655
+ const { args, binPaths, cmd, env, event, nodeGyp, path: path$44, scriptShell = true, stdio, stdioString } = options;
112699
112656
  if (nodeGyp) npm_config_node_gyp = nodeGyp;
112700
112657
  else if (env.npm_config_node_gyp) npm_config_node_gyp = env.npm_config_node_gyp;
112701
112658
  else npm_config_node_gyp = require.resolve("node-gyp/bin/node-gyp.js");
@@ -112703,17 +112660,17 @@ var require_make_spawn_args = /* @__PURE__ */ require_chunk.__commonJSMin(((expo
112703
112660
  cmd,
112704
112661
  args,
112705
112662
  {
112706
- env: setPATH(path$45, binPaths, {
112663
+ env: setPATH(path$44, binPaths, {
112707
112664
  ...process.env,
112708
112665
  ...env,
112709
- npm_package_json: resolve$4(path$45, "package.json"),
112666
+ npm_package_json: resolve$4(path$44, "package.json"),
112710
112667
  npm_lifecycle_event: event,
112711
112668
  npm_lifecycle_script: cmd,
112712
112669
  npm_config_node_gyp
112713
112670
  }),
112714
112671
  stdioString,
112715
112672
  stdio,
112716
- cwd: path$45,
112673
+ cwd: path$44,
112717
112674
  shell: scriptShell
112718
112675
  }
112719
112676
  ];
@@ -142031,7 +141988,7 @@ var require_registry = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mo
142031
141988
  //#region ../../node_modules/pacote/lib/fetcher.js
142032
141989
  var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, module) => {
142033
141990
  const { basename: basename$2, dirname: dirname$3 } = require("node:path");
142034
- const { rm: rm$3, mkdir: mkdir$5 } = require("node:fs/promises");
141991
+ const { rm: rm$4, mkdir: mkdir$5 } = require("node:fs/promises");
142035
141992
  const PackageJson = require_lib$18();
142036
141993
  const cacache = require_lib$14();
142037
141994
  const fsm = require_lib$13();
@@ -142208,7 +142165,7 @@ var require_fetcher = /* @__PURE__ */ require_chunk.__commonJSMin(((exports, mod
142208
142165
  return getContents({
142209
142166
  path,
142210
142167
  depth: 1
142211
- }).then((contents) => Promise.all(contents.map((entry) => rm$3(entry, {
142168
+ }).then((contents) => Promise.all(contents.map((entry) => rm$4(entry, {
142212
142169
  recursive: true,
142213
142170
  force: true
142214
142171
  }))));
@@ -150005,9 +149962,9 @@ var require_mime_types = /* @__PURE__ */ require_chunk.__commonJSMin(((exports)
150005
149962
  * @param {string} path
150006
149963
  * @return {boolean|string}
150007
149964
  */
150008
- function lookup(path$44) {
150009
- if (!path$44 || typeof path$44 !== "string") return false;
150010
- var extension = extname("x." + path$44).toLowerCase().substr(1);
149965
+ function lookup(path$43) {
149966
+ if (!path$43 || typeof path$43 !== "string") return false;
149967
+ var extension = extname("x." + path$43).toLowerCase().substr(1);
150011
149968
  if (!extension) return false;
150012
149969
  return exports.types[extension] || false;
150013
149970
  }
@@ -151211,7 +151168,7 @@ async function fetchPackage(packageName, versionOrRange, options) {
151211
151168
  console.log(`[Fetcher] ${packageName}: Resolved to local fallback ${resolvedVersion} (${Date.now() - fallbackStart}ms)`);
151212
151169
  } else throw new Error(`Offline and no local fallback version available for ${packageName}`);
151213
151170
  } else try {
151214
- const cachePath = (0, node_path.join)(ctx.userDataPath, "cache", "pacote");
151171
+ const cachePath = ctx.getCachePath(CacheFolder.Pacote);
151215
151172
  let packumentPromise = packumentRequests.get(packageName);
151216
151173
  if (!packumentPromise) {
151217
151174
  packumentPromise = import_lib.default.packument(packageName, { cache: cachePath });
@@ -151242,7 +151199,7 @@ async function fetchPackage(packageName, versionOrRange, options) {
151242
151199
  console.log(`[Fetcher] ${packageName}: Resolved to local fallback ${resolvedVersion} (${Date.now() - fallbackStart}ms)`);
151243
151200
  } else throw error;
151244
151201
  }
151245
- const cachePath = (0, node_path.join)(ctx.userDataPath, "cache", "pacote");
151202
+ const cachePath = ctx.getCachePath(CacheFolder.Pacote);
151246
151203
  const packageDir = (0, node_path.join)(baseDir, resolvedVersion);
151247
151204
  const checkStart = Date.now();
151248
151205
  const isInstalled = options?.installDeps ? isPackageComplete(packageDir) && isDependenciesInstalledSync(packageDir) : isPackageComplete(packageDir);
@@ -151319,7 +151276,7 @@ async function runPnpm(cwd, options) {
151319
151276
  ...process.env,
151320
151277
  NODE_ENV: "production",
151321
151278
  PATH: nodePath ? `${(0, node_path.dirname)(nodePath)}${node_path.delimiter}${process.env.PATH}` : process.env.PATH,
151322
- PNPM_HOME: (0, node_path.join)(ctx.userDataPath, "pnpm"),
151279
+ PNPM_HOME: ctx.getPnpmPath(),
151323
151280
  PNPM_ONLY_ALLOW_TRUSTED_DEPENDENCIES: "false",
151324
151281
  ...extraEnv
151325
151282
  }
@@ -151554,7 +151511,7 @@ async function resolveEntryPoint(packageDir, packageName) {
151554
151511
  }
151555
151512
  //#endregion
151556
151513
  //#region ../../packages/core-node/src/handler-func.ts
151557
- const { join: join$7 } = node_path.default;
151514
+ const { join: join$5 } = node_path.default;
151558
151515
  //#endregion
151559
151516
  //#region ../../packages/core-node/src/handlers/plugins.ts
151560
151517
  const localPluginsMap = /* @__PURE__ */ new Map();
@@ -151592,14 +151549,14 @@ const fileExists = async (path) => {
151592
151549
  const uploadToNetlify = createAction({
151593
151550
  id: "netlify-upload",
151594
151551
  name: "Upload to Netlify",
151595
- description: "",
151552
+ description: "Deploy your web application or static folder directly to Netlify.",
151596
151553
  icon: "",
151597
151554
  displayString: "`Upload ${fmt.param(params['input-folder'], 'primary', 'No path selected')} to ${fmt.param(params['site'], 'primary', 'No site')}`",
151598
151555
  meta: {},
151599
151556
  params: {
151600
151557
  "input-folder": createPathParam("", {
151601
151558
  required: true,
151602
- label: "Path to the folder to upload to netlify",
151559
+ label: "Folder to deploy",
151603
151560
  control: {
151604
151561
  type: "path",
151605
151562
  options: { properties: ["openDirectory"] }
@@ -151607,11 +151564,11 @@ const uploadToNetlify = createAction({
151607
151564
  }),
151608
151565
  token: createStringParam("", {
151609
151566
  required: true,
151610
- label: "Token"
151567
+ label: "Personal Access Token"
151611
151568
  }),
151612
151569
  site: createNetlifySiteParam("", "token", {
151613
151570
  required: true,
151614
- label: "Site"
151571
+ label: "Netlify Site"
151615
151572
  })
151616
151573
  },
151617
151574
  outputs: {}
@@ -151671,14 +151628,14 @@ var src_default = createNodeDefinition({
151671
151628
  node: createAction({
151672
151629
  id: "netlify-build",
151673
151630
  name: "Build Netlify site",
151674
- description: "",
151631
+ description: "Build your Netlify site.",
151675
151632
  icon: "",
151676
151633
  displayString: "`Build ${fmt.param(params['input-folder'], 'primary', 'No path selected')}`",
151677
151634
  meta: {},
151678
151635
  params: {
151679
151636
  "input-folder": createPathParam("", {
151680
151637
  required: true,
151681
- label: "Path to the folder to upload to netlify",
151638
+ label: "Folder to build",
151682
151639
  control: {
151683
151640
  type: "path",
151684
151641
  options: { properties: ["openDirectory"] }
@@ -151686,7 +151643,7 @@ var src_default = createNodeDefinition({
151686
151643
  }),
151687
151644
  token: createStringParam("", {
151688
151645
  required: true,
151689
- label: "Token"
151646
+ label: "Personal Access Token"
151690
151647
  })
151691
151648
  },
151692
151649
  outputs: {}