@socketsecurity/cli-with-sentry 1.1.15 → 1.1.18

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.
Files changed (103) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/dist/cli.js +14 -15
  3. package/dist/cli.js.map +1 -1
  4. package/dist/constants.js +35 -37
  5. package/dist/constants.js.map +1 -1
  6. package/dist/shadow-npm-bin.js +6 -6
  7. package/dist/shadow-npm-bin.js.map +1 -1
  8. package/dist/shadow-pnpm-bin.js +3 -5
  9. package/dist/shadow-pnpm-bin.js.map +1 -1
  10. package/dist/shadow-yarn-bin.js +2 -2
  11. package/dist/shadow-yarn-bin.js.map +1 -1
  12. package/dist/tsconfig.dts.tsbuildinfo +1 -1
  13. package/dist/types/commands/fix/coana-fix.d.mts.map +1 -1
  14. package/dist/types/commands/optimize/apply-optimization.d.mts.map +1 -1
  15. package/dist/types/commands/optimize/update-lockfile.d.mts.map +1 -1
  16. package/dist/types/commands/patch/cmd-patch.d.mts.map +1 -1
  17. package/dist/types/commands/patch/handle-patch.d.mts.map +1 -1
  18. package/dist/types/commands/yarn/cmd-yarn.d.mts +1 -1
  19. package/dist/types/commands/yarn/cmd-yarn.d.mts.map +1 -1
  20. package/dist/types/constants.d.mts +15 -19
  21. package/dist/types/constants.d.mts.map +1 -1
  22. package/dist/types/shadow/pnpm/bin.d.mts.map +1 -1
  23. package/dist/types/utils/agent.d.mts.map +1 -1
  24. package/dist/types/utils/dlx.d.mts.map +1 -1
  25. package/dist/types/utils/package-environment.d.mts.map +1 -1
  26. package/dist/types/utils/path-resolve.d.mts.map +1 -1
  27. package/dist/utils.js +65 -27
  28. package/dist/utils.js.map +1 -1
  29. package/dist/vendor.js +522 -524
  30. package/external/@socketsecurity/registry/external/@inquirer/confirm.js +45 -205
  31. package/external/@socketsecurity/registry/external/@inquirer/input.js +45 -205
  32. package/external/@socketsecurity/registry/external/@inquirer/password.js +181 -205
  33. package/external/@socketsecurity/registry/external/@inquirer/search.js +47 -207
  34. package/external/@socketsecurity/registry/external/@inquirer/select.js +183 -207
  35. package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +388 -2280
  36. package/external/@socketsecurity/registry/external/browserslist.js +11534 -567
  37. package/external/@socketsecurity/registry/external/cacache.js +2575 -4914
  38. package/external/@socketsecurity/registry/external/libnpmpack.js +64667 -166061
  39. package/external/@socketsecurity/registry/external/make-fetch-happen.js +384 -4044
  40. package/external/@socketsecurity/registry/external/normalize-package-data.js +30 -278
  41. package/external/@socketsecurity/registry/external/npm-package-arg.js +28 -9
  42. package/external/@socketsecurity/registry/external/pacote.js +46680 -66482
  43. package/external/@socketsecurity/registry/external/spdx-correct.js +19 -0
  44. package/external/@socketsecurity/registry/external/spdx-expression-parse.js +19 -0
  45. package/external/@socketsecurity/registry/lib/agent.js +390 -0
  46. package/external/@socketsecurity/registry/lib/arrays.js +31 -0
  47. package/external/@socketsecurity/registry/lib/bin.js +650 -0
  48. package/external/@socketsecurity/registry/lib/constants/bun-lock.js +3 -0
  49. package/external/@socketsecurity/registry/lib/constants/bun-lockb.js +3 -0
  50. package/external/@socketsecurity/registry/lib/constants/bun.js +3 -0
  51. package/external/@socketsecurity/registry/lib/constants/dot-git-dir.js +3 -0
  52. package/external/@socketsecurity/registry/lib/constants/dot-socket-dir.js +3 -0
  53. package/external/@socketsecurity/registry/lib/constants/empty-value.js +3 -0
  54. package/external/@socketsecurity/registry/lib/constants/env.js +17 -3
  55. package/external/@socketsecurity/registry/lib/constants/ext-yaml.js +3 -0
  56. package/external/@socketsecurity/registry/lib/constants/ext-yml.js +3 -0
  57. package/external/@socketsecurity/registry/lib/constants/index.js +20 -11
  58. package/external/@socketsecurity/registry/lib/constants/npm-exec-path.js +2 -2
  59. package/external/@socketsecurity/registry/lib/constants/npm-real-exec-path.js +1 -1
  60. package/external/@socketsecurity/registry/lib/constants/npm-shrinkwrap-json.js +3 -0
  61. package/external/@socketsecurity/registry/lib/constants/pnpm-exec-path.js +5 -0
  62. package/external/@socketsecurity/registry/lib/constants/pnpm-lock-yaml.js +3 -0
  63. package/external/@socketsecurity/registry/lib/constants/unknown-error.js +3 -0
  64. package/external/@socketsecurity/registry/lib/constants/unknown-value.js +3 -0
  65. package/external/@socketsecurity/registry/lib/constants/vlt-lock-json.js +3 -0
  66. package/external/@socketsecurity/registry/lib/constants/vlt.js +3 -0
  67. package/external/@socketsecurity/registry/lib/constants/yarn-berry.js +3 -0
  68. package/external/@socketsecurity/registry/lib/constants/yarn-classic.js +3 -0
  69. package/external/@socketsecurity/registry/lib/constants/yarn-exec-path.js +5 -0
  70. package/external/@socketsecurity/registry/lib/constants/yarn.js +3 -0
  71. package/external/@socketsecurity/registry/lib/debug.js +53 -0
  72. package/external/@socketsecurity/registry/lib/env.js +18 -0
  73. package/external/@socketsecurity/registry/lib/fs.js +218 -2
  74. package/external/@socketsecurity/registry/lib/functions.js +5 -0
  75. package/external/@socketsecurity/registry/lib/globs.js +22 -1
  76. package/external/@socketsecurity/registry/lib/json.js +16 -0
  77. package/external/@socketsecurity/registry/lib/logger.js +157 -0
  78. package/external/@socketsecurity/registry/lib/objects.js +103 -0
  79. package/external/@socketsecurity/registry/lib/packages.js +88 -0
  80. package/external/@socketsecurity/registry/lib/path.js +51 -1
  81. package/external/@socketsecurity/registry/lib/promises.js +55 -0
  82. package/external/@socketsecurity/registry/lib/regexps.js +5 -0
  83. package/external/@socketsecurity/registry/lib/sorts.js +17 -0
  84. package/external/@socketsecurity/registry/lib/spawn.js +105 -7
  85. package/external/@socketsecurity/registry/lib/streams.js +26 -0
  86. package/external/@socketsecurity/registry/lib/strings.js +123 -9
  87. package/external/@socketsecurity/registry/lib/url.js +21 -0
  88. package/external/@socketsecurity/registry/lib/words.js +16 -0
  89. package/external/@socketsecurity/registry/manifest.json +5 -4
  90. package/package.json +6 -5
  91. package/external/@socketsecurity/registry/external/ansi-regex.js +0 -13
  92. package/external/@socketsecurity/registry/lib/constants/node-workspaces.js +0 -3
  93. package/external/@socketsecurity/registry/lib/constants/parse-args-config.js +0 -14
  94. package/external/@socketsecurity/registry/lib/constants/skip-tests-by-ecosystem.js +0 -43
  95. package/external/@socketsecurity/registry/lib/constants/template-cjs-browser.js +0 -3
  96. package/external/@socketsecurity/registry/lib/constants/template-cjs-esm.js +0 -3
  97. package/external/@socketsecurity/registry/lib/constants/template-cjs.js +0 -3
  98. package/external/@socketsecurity/registry/lib/constants/template-es-shim-constructor.js +0 -3
  99. package/external/@socketsecurity/registry/lib/constants/template-es-shim-prototype-method.js +0 -3
  100. package/external/@socketsecurity/registry/lib/constants/template-es-shim-static-method.js +0 -3
  101. package/external/@socketsecurity/registry/lib/constants/win32-ensure-tests-by-ecosystem.js +0 -3
  102. package/external/@socketsecurity/registry/lib/npm.js +0 -404
  103. /package/external/@socketsecurity/registry/lib/constants/{hidden-package-lock-json.js → dot-package-lock-json.js} +0 -0
package/dist/vendor.js CHANGED
@@ -38,9 +38,9 @@ var require$$13 = require('../external/@socketsecurity/registry/lib/url');
38
38
  var node_buffer = require$$0$i;
39
39
  var childProcess = require('node:child_process');
40
40
  var require$$0$k = fs$6;
41
- var require$$5$4 = require('node:module');
42
41
  var require$$1$9 = require('node:path/win32');
43
- var require$$0$l = require$$5$4;
42
+ var require$$0$l = require('node:module');
43
+ var require$$5$4 = require$$0$l;
44
44
  var require$$2$5 = require('node:string_decoder');
45
45
  var require$$0$m = childProcess;
46
46
  var require$$2$6 = require$$2$5;
@@ -8693,7 +8693,7 @@ function requirePolyfills() {
8693
8693
  var start = Date.now();
8694
8694
  var backoff = 0;
8695
8695
  fs$rename(from, to, function CB(er) {
8696
- if (er && (er.code === "EACCES" || er.code === "EPERM") && Date.now() - start < 60000) {
8696
+ if (er && (er.code === "EACCES" || er.code === "EPERM" || er.code === "EBUSY") && Date.now() - start < 60000) {
8697
8697
  setTimeout(function () {
8698
8698
  fs.stat(to, function (stater, st) {
8699
8699
  if (stater && stater.code === "ENOENT") fs$rename(from, to, CB);else cb(er);
@@ -9034,9 +9034,9 @@ function requireClone$1() {
9034
9034
  };
9035
9035
  function clone(obj) {
9036
9036
  if (obj === null || typeof obj !== 'object') return obj;
9037
- if (obj instanceof Object) var copy = {
9037
+ var copy = obj instanceof Object ? {
9038
9038
  __proto__: getPrototypeOf(obj)
9039
- };else var copy = Object.create(null);
9039
+ } : Object.create(null);
9040
9040
  Object.getOwnPropertyNames(obj).forEach(function (key) {
9041
9041
  Object.defineProperty(copy, key, Object.getOwnPropertyDescriptor(obj, key));
9042
9042
  });
@@ -34187,359 +34187,6 @@ defineLazyProperty(apps, 'edge', () => detectPlatformBinary({
34187
34187
  defineLazyProperty(apps, 'browser', () => 'browser');
34188
34188
  defineLazyProperty(apps, 'browserPrivate', () => 'browserPrivate');
34189
34189
 
34190
- var cjs$1 = {};
34191
-
34192
- var posix = {};
34193
-
34194
- var hasRequiredPosix;
34195
- function requirePosix() {
34196
- if (hasRequiredPosix) return posix;
34197
- hasRequiredPosix = 1;
34198
- /**
34199
- * This is the Posix implementation of isexe, which uses the file
34200
- * mode and uid/gid values.
34201
- *
34202
- * @module
34203
- */
34204
- Object.defineProperty(posix, "__esModule", {
34205
- value: true
34206
- });
34207
- posix.sync = posix.isexe = void 0;
34208
- const fs_1 = require$$0$b;
34209
- const promises_1 = require$$0$k;
34210
- /**
34211
- * Determine whether a path is executable according to the mode and
34212
- * current (or specified) user and group IDs.
34213
- */
34214
- const isexe = async (path, options = {}) => {
34215
- const {
34216
- ignoreErrors = false
34217
- } = options;
34218
- try {
34219
- return checkStat(await (0, promises_1.stat)(path), options);
34220
- } catch (e) {
34221
- const er = e;
34222
- if (ignoreErrors || er.code === 'EACCES') return false;
34223
- throw er;
34224
- }
34225
- };
34226
- posix.isexe = isexe;
34227
- /**
34228
- * Synchronously determine whether a path is executable according to
34229
- * the mode and current (or specified) user and group IDs.
34230
- */
34231
- const sync = (path, options = {}) => {
34232
- const {
34233
- ignoreErrors = false
34234
- } = options;
34235
- try {
34236
- return checkStat((0, fs_1.statSync)(path), options);
34237
- } catch (e) {
34238
- const er = e;
34239
- if (ignoreErrors || er.code === 'EACCES') return false;
34240
- throw er;
34241
- }
34242
- };
34243
- posix.sync = sync;
34244
- const checkStat = (stat, options) => stat.isFile() && checkMode(stat, options);
34245
- const checkMode = (stat, options) => {
34246
- const myUid = options.uid ?? process.getuid?.();
34247
- const myGroups = options.groups ?? process.getgroups?.() ?? [];
34248
- const myGid = options.gid ?? process.getgid?.() ?? myGroups[0];
34249
- if (myUid === undefined || myGid === undefined) {
34250
- throw new Error('cannot get uid or gid');
34251
- }
34252
- const groups = new Set([myGid, ...myGroups]);
34253
- const mod = stat.mode;
34254
- const uid = stat.uid;
34255
- const gid = stat.gid;
34256
- const u = parseInt('100', 8);
34257
- const g = parseInt('010', 8);
34258
- const o = parseInt('001', 8);
34259
- const ug = u | g;
34260
- return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);
34261
- };
34262
- return posix;
34263
- }
34264
-
34265
- var win32 = {};
34266
-
34267
- var hasRequiredWin32;
34268
- function requireWin32() {
34269
- if (hasRequiredWin32) return win32;
34270
- hasRequiredWin32 = 1;
34271
- /**
34272
- * This is the Windows implementation of isexe, which uses the file
34273
- * extension and PATHEXT setting.
34274
- *
34275
- * @module
34276
- */
34277
- Object.defineProperty(win32, "__esModule", {
34278
- value: true
34279
- });
34280
- win32.sync = win32.isexe = void 0;
34281
- const fs_1 = require$$0$b;
34282
- const promises_1 = require$$0$k;
34283
- /**
34284
- * Determine whether a path is executable based on the file extension
34285
- * and PATHEXT environment variable (or specified pathExt option)
34286
- */
34287
- const isexe = async (path, options = {}) => {
34288
- const {
34289
- ignoreErrors = false
34290
- } = options;
34291
- try {
34292
- return checkStat(await (0, promises_1.stat)(path), path, options);
34293
- } catch (e) {
34294
- const er = e;
34295
- if (ignoreErrors || er.code === 'EACCES') return false;
34296
- throw er;
34297
- }
34298
- };
34299
- win32.isexe = isexe;
34300
- /**
34301
- * Synchronously determine whether a path is executable based on the file
34302
- * extension and PATHEXT environment variable (or specified pathExt option)
34303
- */
34304
- const sync = (path, options = {}) => {
34305
- const {
34306
- ignoreErrors = false
34307
- } = options;
34308
- try {
34309
- return checkStat((0, fs_1.statSync)(path), path, options);
34310
- } catch (e) {
34311
- const er = e;
34312
- if (ignoreErrors || er.code === 'EACCES') return false;
34313
- throw er;
34314
- }
34315
- };
34316
- win32.sync = sync;
34317
- const checkPathExt = (path, options) => {
34318
- const {
34319
- pathExt = process.env.PATHEXT || ''
34320
- } = options;
34321
- const peSplit = pathExt.split(';');
34322
- if (peSplit.indexOf('') !== -1) {
34323
- return true;
34324
- }
34325
- for (let i = 0; i < peSplit.length; i++) {
34326
- const p = peSplit[i].toLowerCase();
34327
- const ext = path.substring(path.length - p.length).toLowerCase();
34328
- if (p && ext === p) {
34329
- return true;
34330
- }
34331
- }
34332
- return false;
34333
- };
34334
- const checkStat = (stat, path, options) => stat.isFile() && checkPathExt(path, options);
34335
- return win32;
34336
- }
34337
-
34338
- var options$4 = {};
34339
-
34340
- var hasRequiredOptions$4;
34341
- function requireOptions$4() {
34342
- if (hasRequiredOptions$4) return options$4;
34343
- hasRequiredOptions$4 = 1;
34344
- Object.defineProperty(options$4, "__esModule", {
34345
- value: true
34346
- });
34347
- return options$4;
34348
- }
34349
-
34350
- var hasRequiredCjs$1;
34351
- function requireCjs$1() {
34352
- if (hasRequiredCjs$1) return cjs$1;
34353
- hasRequiredCjs$1 = 1;
34354
- (function (exports) {
34355
-
34356
- var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
34357
- if (k2 === undefined) k2 = k;
34358
- var desc = Object.getOwnPropertyDescriptor(m, k);
34359
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
34360
- desc = {
34361
- enumerable: true,
34362
- get: function () {
34363
- return m[k];
34364
- }
34365
- };
34366
- }
34367
- Object.defineProperty(o, k2, desc);
34368
- } : function (o, m, k, k2) {
34369
- if (k2 === undefined) k2 = k;
34370
- o[k2] = m[k];
34371
- });
34372
- var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {
34373
- Object.defineProperty(o, "default", {
34374
- enumerable: true,
34375
- value: v
34376
- });
34377
- } : function (o, v) {
34378
- o["default"] = v;
34379
- });
34380
- var __importStar = this && this.__importStar || function (mod) {
34381
- if (mod && mod.__esModule) return mod;
34382
- var result = {};
34383
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
34384
- __setModuleDefault(result, mod);
34385
- return result;
34386
- };
34387
- var __exportStar = this && this.__exportStar || function (m, exports) {
34388
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
34389
- };
34390
- Object.defineProperty(exports, "__esModule", {
34391
- value: true
34392
- });
34393
- exports.sync = exports.isexe = exports.posix = exports.win32 = void 0;
34394
- const posix = __importStar(requirePosix());
34395
- exports.posix = posix;
34396
- const win32 = __importStar(requireWin32());
34397
- exports.win32 = win32;
34398
- __exportStar(requireOptions$4(), exports);
34399
- const platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;
34400
- const impl = platform === 'win32' ? win32 : posix;
34401
- /**
34402
- * Determine whether a path is executable on the current platform.
34403
- */
34404
- exports.isexe = impl.isexe;
34405
- /**
34406
- * Synchronously determine whether a path is executable on the
34407
- * current platform.
34408
- */
34409
- exports.sync = impl.sync;
34410
- })(cjs$1);
34411
- return cjs$1;
34412
- }
34413
-
34414
- var lib$K;
34415
- var hasRequiredLib$K;
34416
- function requireLib$K() {
34417
- if (hasRequiredLib$K) return lib$K;
34418
- hasRequiredLib$K = 1;
34419
- const {
34420
- isexe,
34421
- sync: isexeSync
34422
- } = requireCjs$1();
34423
- const {
34424
- join,
34425
- delimiter,
34426
- sep,
34427
- posix
34428
- } = require$$0$d;
34429
- const isWindows = process.platform === 'win32';
34430
-
34431
- // used to check for slashed in commands passed in. always checks for the posix
34432
- // seperator on all platforms, and checks for the current separator when not on
34433
- // a posix platform. don't use the isWindows check for this since that is mocked
34434
- // in tests but we still need the code to actually work when called. that is also
34435
- // why it is ignored from coverage.
34436
- /* istanbul ignore next */
34437
- const rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\)/g, '\\$1'));
34438
- const rRel = new RegExp(`^\\.${rSlash.source}`);
34439
- const getNotFoundError = cmd => Object.assign(new Error(`not found: ${cmd}`), {
34440
- code: 'ENOENT'
34441
- });
34442
- const getPathInfo = (cmd, {
34443
- path: optPath = process.env.PATH,
34444
- pathExt: optPathExt = process.env.PATHEXT,
34445
- delimiter: optDelimiter = delimiter
34446
- }) => {
34447
- // If it has a slash, then we don't bother searching the pathenv.
34448
- // just check the file itself, and that's it.
34449
- const pathEnv = cmd.match(rSlash) ? [''] : [
34450
- // windows always checks the cwd first
34451
- ...(isWindows ? [process.cwd()] : []), ...(optPath || /* istanbul ignore next: very unusual */'').split(optDelimiter)];
34452
- if (isWindows) {
34453
- const pathExtExe = optPathExt || ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter);
34454
- const pathExt = pathExtExe.split(optDelimiter).flatMap(item => [item, item.toLowerCase()]);
34455
- if (cmd.includes('.') && pathExt[0] !== '') {
34456
- pathExt.unshift('');
34457
- }
34458
- return {
34459
- pathEnv,
34460
- pathExt,
34461
- pathExtExe
34462
- };
34463
- }
34464
- return {
34465
- pathEnv,
34466
- pathExt: ['']
34467
- };
34468
- };
34469
- const getPathPart = (raw, cmd) => {
34470
- const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
34471
- const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : '';
34472
- return prefix + join(pathPart, cmd);
34473
- };
34474
- const which = async (cmd, opt = {}) => {
34475
- const {
34476
- pathEnv,
34477
- pathExt,
34478
- pathExtExe
34479
- } = getPathInfo(cmd, opt);
34480
- const found = [];
34481
- for (const envPart of pathEnv) {
34482
- const p = getPathPart(envPart, cmd);
34483
- for (const ext of pathExt) {
34484
- const withExt = p + ext;
34485
- const is = await isexe(withExt, {
34486
- pathExt: pathExtExe,
34487
- ignoreErrors: true
34488
- });
34489
- if (is) {
34490
- if (!opt.all) {
34491
- return withExt;
34492
- }
34493
- found.push(withExt);
34494
- }
34495
- }
34496
- }
34497
- if (opt.all && found.length) {
34498
- return found;
34499
- }
34500
- if (opt.nothrow) {
34501
- return null;
34502
- }
34503
- throw getNotFoundError(cmd);
34504
- };
34505
- const whichSync = (cmd, opt = {}) => {
34506
- const {
34507
- pathEnv,
34508
- pathExt,
34509
- pathExtExe
34510
- } = getPathInfo(cmd, opt);
34511
- const found = [];
34512
- for (const pathEnvPart of pathEnv) {
34513
- const p = getPathPart(pathEnvPart, cmd);
34514
- for (const ext of pathExt) {
34515
- const withExt = p + ext;
34516
- const is = isexeSync(withExt, {
34517
- pathExt: pathExtExe,
34518
- ignoreErrors: true
34519
- });
34520
- if (is) {
34521
- if (!opt.all) {
34522
- return withExt;
34523
- }
34524
- found.push(withExt);
34525
- }
34526
- }
34527
- }
34528
- if (opt.all && found.length) {
34529
- return found;
34530
- }
34531
- if (opt.nothrow) {
34532
- return null;
34533
- }
34534
- throw getNotFoundError(cmd);
34535
- };
34536
- lib$K = which;
34537
- which.sync = whichSync;
34538
- return lib$K;
34539
- }
34540
-
34541
- var libExports$1 = requireLib$K();
34542
-
34543
34190
  var tasks = {};
34544
34191
 
34545
34192
  var utils$7 = {};
@@ -42403,11 +42050,11 @@ function requireToBatchSyntax() {
42403
42050
  return toBatchSyntax;
42404
42051
  }
42405
42052
 
42406
- var lib$J;
42407
- var hasRequiredLib$J;
42408
- function requireLib$J() {
42409
- if (hasRequiredLib$J) return lib$J;
42410
- hasRequiredLib$J = 1;
42053
+ var lib$K;
42054
+ var hasRequiredLib$K;
42055
+ function requireLib$K() {
42056
+ if (hasRequiredLib$K) return lib$K;
42057
+ hasRequiredLib$K = 1;
42411
42058
  // On windows, create a .cmd file.
42412
42059
  // Read the #! in the file to see what it uses. The vast majority
42413
42060
  // of the time, this will be either:
@@ -42563,12 +42210,12 @@ function requireLib$J() {
42563
42210
  return Promise.all([writeFile(to + '.ps1', pwsh, 'utf8'), writeFile(to + '.cmd', cmd, 'utf8'), writeFile(to, sh, 'utf8')]).then(() => chmodShim(to));
42564
42211
  };
42565
42212
  const chmodShim = to => Promise.all([chmod(to, 0o755), chmod(to + '.cmd', 0o755), chmod(to + '.ps1', 0o755)]);
42566
- lib$J = cmdShim;
42213
+ lib$K = cmdShim;
42567
42214
  cmdShim.ifExists = cmdShimIfExists;
42568
- return lib$J;
42215
+ return lib$K;
42569
42216
  }
42570
42217
 
42571
- var libExports = requireLib$J();
42218
+ var libExports = requireLib$K();
42572
42219
 
42573
42220
  class RequestError extends Error {
42574
42221
  name;
@@ -47501,7 +47148,6 @@ var DefaultValuesForTypeKey;
47501
47148
  * Copyright (c) 2016, Contributors
47502
47149
  * SPDX-License-Identifier: ISC
47503
47150
  */
47504
- /* eslint-disable prefer-arrow-callback */
47505
47151
  let mixin;
47506
47152
  class YargsParser {
47507
47153
  constructor(_mixin) {
@@ -48438,6 +48084,7 @@ function stripQuotes(val) {
48438
48084
 
48439
48085
  /**
48440
48086
  * @fileoverview Main entrypoint for libraries using yargs-parser in Node.js
48087
+ * CJS and ESM environments.
48441
48088
  *
48442
48089
  * @license
48443
48090
  * Copyright (c) 2016, Contributors
@@ -48446,7 +48093,7 @@ function stripQuotes(val) {
48446
48093
  var _a, _b, _c;
48447
48094
  // See https://github.com/yargs/yargs-parser#supported-nodejs-versions for our
48448
48095
  // version support policy. The YARGS_MIN_NODE_VERSION is used for testing only.
48449
- const minNodeVersion = process && process.env && process.env.YARGS_MIN_NODE_VERSION ? Number(process.env.YARGS_MIN_NODE_VERSION) : 20;
48096
+ const minNodeVersion = process && process.env && process.env.YARGS_MIN_NODE_VERSION ? Number(process.env.YARGS_MIN_NODE_VERSION) : 12;
48450
48097
  const nodeVersion = (_b = (_a = process === null || process === void 0 ? void 0 : process.versions) === null || _a === void 0 ? void 0 : _a.node) !== null && _b !== void 0 ? _b : (_c = process === null || process === void 0 ? void 0 : process.version) === null || _c === void 0 ? void 0 : _c.slice(1);
48451
48098
  if (nodeVersion) {
48452
48099
  const major = Number(nodeVersion.match(/^([^.]+)/)[1]);
@@ -48456,7 +48103,6 @@ if (nodeVersion) {
48456
48103
  }
48457
48104
  // Creates a yargs-parser instance using Node.js standard libraries:
48458
48105
  const env = process ? process.env : {};
48459
- const require$1 = require$$5$4.createRequire ? require$$5$4.createRequire((typeof document === 'undefined' ? require$$0$7.pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.tagName.toUpperCase() === 'SCRIPT' && _documentCurrentScript.src || new URL('vendor.js', document.baseURI).href))) : undefined;
48460
48106
  const parser$1 = new YargsParser({
48461
48107
  cwd: process.cwd,
48462
48108
  env: () => {
@@ -48465,9 +48111,11 @@ const parser$1 = new YargsParser({
48465
48111
  format: require$$1$6.format,
48466
48112
  normalize: path$4.normalize,
48467
48113
  resolve: path$4.resolve,
48114
+ // TODO: figure out a way to combine ESM and CJS coverage, such that
48115
+ // we can exercise all the lines below:
48468
48116
  require: path => {
48469
- if (typeof require$1 !== 'undefined') {
48470
- return require$1(path);
48117
+ if (typeof require !== 'undefined') {
48118
+ return require(path);
48471
48119
  } else if (path.match(/\.json$/)) {
48472
48120
  // Addresses: https://github.com/yargs/yargs/issues/2040
48473
48121
  return JSON.parse(fs$5.readFileSync(path, 'utf8'));
@@ -50612,11 +50260,11 @@ function requireFromUrl$1() {
50612
50260
  return fromUrl$1;
50613
50261
  }
50614
50262
 
50615
- var lib$I;
50616
- var hasRequiredLib$I;
50617
- function requireLib$I() {
50618
- if (hasRequiredLib$I) return lib$I;
50619
- hasRequiredLib$I = 1;
50263
+ var lib$J;
50264
+ var hasRequiredLib$J;
50265
+ function requireLib$J() {
50266
+ if (hasRequiredLib$J) return lib$J;
50267
+ hasRequiredLib$J = 1;
50620
50268
  const {
50621
50269
  LRUCache
50622
50270
  } = /*@__PURE__*/requireCommonjs$h();
@@ -50845,15 +50493,15 @@ function requireLib$I() {
50845
50493
  for (const [name, host] of Object.entries(hosts)) {
50846
50494
  GitHost.addHost(name, host);
50847
50495
  }
50848
- lib$I = GitHost;
50849
- return lib$I;
50496
+ lib$J = GitHost;
50497
+ return lib$J;
50850
50498
  }
50851
50499
 
50852
- var lib$H;
50853
- var hasRequiredLib$H;
50854
- function requireLib$H() {
50855
- if (hasRequiredLib$H) return lib$H;
50856
- hasRequiredLib$H = 1;
50500
+ var lib$I;
50501
+ var hasRequiredLib$I;
50502
+ function requireLib$I() {
50503
+ if (hasRequiredLib$I) return lib$I;
50504
+ hasRequiredLib$I = 1;
50857
50505
  const {
50858
50506
  builtinModules: builtins
50859
50507
  } = require$$0$l;
@@ -50943,17 +50591,17 @@ function requireLib$H() {
50943
50591
  }
50944
50592
  return result;
50945
50593
  };
50946
- lib$H = validate;
50947
- return lib$H;
50594
+ lib$I = validate;
50595
+ return lib$I;
50948
50596
  }
50949
50597
 
50950
- var lib$G;
50951
- var hasRequiredLib$G;
50952
- function requireLib$G() {
50953
- if (hasRequiredLib$G) return lib$G;
50954
- hasRequiredLib$G = 1;
50598
+ var lib$H;
50599
+ var hasRequiredLib$H;
50600
+ function requireLib$H() {
50601
+ if (hasRequiredLib$H) return lib$H;
50602
+ hasRequiredLib$H = 1;
50955
50603
  const META = Symbol('proc-log.meta');
50956
- lib$G = {
50604
+ lib$H = {
50957
50605
  META: META,
50958
50606
  output: {
50959
50607
  LEVELS: ['standard', 'error', 'buffer', 'flush'],
@@ -51082,7 +50730,7 @@ function requireLib$G() {
51082
50730
  }
51083
50731
  }
51084
50732
  };
51085
- return lib$G;
50733
+ return lib$H;
51086
50734
  }
51087
50735
 
51088
50736
  var hasRequiredNpa;
@@ -51098,12 +50746,12 @@ function requireNpa() {
51098
50746
  const {
51099
50747
  homedir
51100
50748
  } = os$3;
51101
- const HostedGit = requireLib$I();
50749
+ const HostedGit = requireLib$J();
51102
50750
  const semver = requireSemver();
51103
- const validatePackageName = requireLib$H();
50751
+ const validatePackageName = requireLib$I();
51104
50752
  const {
51105
50753
  log
51106
- } = requireLib$G();
50754
+ } = requireLib$H();
51107
50755
  const hasSlashes = isWindows ? /\\|[/]/ : /[/]/;
51108
50756
  const isURL = /^(?:git[+])?[a-z]+:/i;
51109
50757
  const isGit = /^[^@]+@[^:.]+\.[^:]+:.+$/i;
@@ -67122,7 +66770,7 @@ function requireOverrideSet() {
67122
66770
  const semver = requireSemver();
67123
66771
  const {
67124
66772
  log
67125
- } = requireLib$G();
66773
+ } = requireLib$H();
67126
66774
  class OverrideSet {
67127
66775
  constructor({
67128
66776
  overrides,
@@ -67630,18 +67278,18 @@ function requireEdge() {
67630
67278
 
67631
67279
  var edgeExports = requireEdge();
67632
67280
 
67633
- var lib$F;
67634
- var hasRequiredLib$F;
67635
- function requireLib$F() {
67636
- if (hasRequiredLib$F) return lib$F;
67637
- hasRequiredLib$F = 1;
67281
+ var lib$G;
67282
+ var hasRequiredLib$G;
67283
+ function requireLib$G() {
67284
+ if (hasRequiredLib$G) return lib$G;
67285
+ hasRequiredLib$G = 1;
67638
67286
  const {
67639
67287
  basename,
67640
67288
  dirname
67641
67289
  } = require$$0$d;
67642
67290
  const getName = (parent, base) => parent.charAt(0) === '@' ? `${parent}/${base}` : base;
67643
- lib$F = dir => dir ? getName(basename(dirname(dir)), basename(dir)) : false;
67644
- return lib$F;
67291
+ lib$G = dir => dir ? getName(basename(dirname(dir)), basename(dir)) : false;
67292
+ return lib$G;
67645
67293
  }
67646
67294
 
67647
67295
  var debug = {exports: {}};
@@ -67820,11 +67468,11 @@ function requireInventory() {
67820
67468
  return inventory;
67821
67469
  }
67822
67470
 
67823
- var lib$E;
67824
- var hasRequiredLib$E;
67825
- function requireLib$E() {
67826
- if (hasRequiredLib$E) return lib$E;
67827
- hasRequiredLib$E = 1;
67471
+ var lib$F;
67472
+ var hasRequiredLib$F;
67473
+ function requireLib$F() {
67474
+ if (hasRequiredLib$F) return lib$F;
67475
+ hasRequiredLib$F = 1;
67828
67476
  const INDENT = Symbol.for('indent');
67829
67477
  const NEWLINE = Symbol.for('newline');
67830
67478
  const DEFAULT_NEWLINE = '\n';
@@ -67924,7 +67572,7 @@ function requireLib$E() {
67924
67572
  throw new JSONParseError(e, txt, context, parseJsonError);
67925
67573
  }
67926
67574
  };
67927
- lib$E = parseJsonError;
67575
+ lib$F = parseJsonError;
67928
67576
  parseJsonError.JSONParseError = JSONParseError;
67929
67577
  parseJsonError.noExceptions = (raw, reviver) => {
67930
67578
  try {
@@ -67933,14 +67581,14 @@ function requireLib$E() {
67933
67581
  // no exceptions
67934
67582
  }
67935
67583
  };
67936
- return lib$E;
67584
+ return lib$F;
67937
67585
  }
67938
67586
 
67939
- var lib$D;
67940
- var hasRequiredLib$D;
67941
- function requireLib$D() {
67942
- if (hasRequiredLib$D) return lib$D;
67943
- hasRequiredLib$D = 1;
67587
+ var lib$E;
67588
+ var hasRequiredLib$E;
67589
+ function requireLib$E() {
67590
+ if (hasRequiredLib$E) return lib$E;
67591
+ hasRequiredLib$E = 1;
67944
67592
  // pass in a manifest with a 'bin' field here, and it'll turn it
67945
67593
  // into a properly santized bin object
67946
67594
  const {
@@ -67991,22 +67639,22 @@ function requireLib$D() {
67991
67639
  }
67992
67640
  return pkg;
67993
67641
  };
67994
- lib$D = normalize;
67995
- return lib$D;
67642
+ lib$E = normalize;
67643
+ return lib$E;
67996
67644
  }
67997
67645
 
67998
- var lib$C;
67999
- var hasRequiredLib$C;
68000
- function requireLib$C() {
68001
- if (hasRequiredLib$C) return lib$C;
68002
- hasRequiredLib$C = 1;
67646
+ var lib$D;
67647
+ var hasRequiredLib$D;
67648
+ function requireLib$D() {
67649
+ if (hasRequiredLib$D) return lib$D;
67650
+ hasRequiredLib$D = 1;
68003
67651
  const {
68004
67652
  readFile,
68005
67653
  lstat,
68006
67654
  readdir
68007
67655
  } = require$$0$k;
68008
- const parse = requireLib$E();
68009
- const normalizePackageBin = requireLib$D();
67656
+ const parse = requireLib$F();
67657
+ const normalizePackageBin = requireLib$E();
68010
67658
  const {
68011
67659
  resolve,
68012
67660
  dirname,
@@ -68135,8 +67783,8 @@ function requireLib$C() {
68135
67783
  }
68136
67784
  return data;
68137
67785
  };
68138
- lib$C = rpj;
68139
- return lib$C;
67786
+ lib$D = rpj;
67787
+ return lib$D;
68140
67788
  }
68141
67789
 
68142
67790
  var isWindows;
@@ -68207,11 +67855,11 @@ function requireBinTarget() {
68207
67855
  return binTarget;
68208
67856
  }
68209
67857
 
68210
- var lib$B;
68211
- var hasRequiredLib$B;
68212
- function requireLib$B() {
68213
- if (hasRequiredLib$B) return lib$B;
68214
- hasRequiredLib$B = 1;
67858
+ var lib$C;
67859
+ var hasRequiredLib$C;
67860
+ function requireLib$C() {
67861
+ if (hasRequiredLib$C) return lib$C;
67862
+ hasRequiredLib$C = 1;
68215
67863
  const fs = require$$0$b;
68216
67864
  const {
68217
67865
  promisify
@@ -68280,11 +67928,11 @@ function requireLib$B() {
68280
67928
  return destination;
68281
67929
  };
68282
67930
  readCmdShim.sync = readCmdShimSync;
68283
- lib$B = readCmdShim;
68284
- return lib$B;
67931
+ lib$C = readCmdShim;
67932
+ return lib$C;
68285
67933
  }
68286
67934
 
68287
- var lib$A = {exports: {}};
67935
+ var lib$B = {exports: {}};
68288
67936
 
68289
67937
  var imurmurhash = {exports: {}};
68290
67938
 
@@ -68420,7 +68068,7 @@ function requireImurmurhash() {
68420
68068
  return imurmurhash.exports;
68421
68069
  }
68422
68070
 
68423
- var cjs = {};
68071
+ var cjs$1 = {};
68424
68072
 
68425
68073
  var signals$1 = {};
68426
68074
 
@@ -68476,10 +68124,10 @@ function requireSignals$1() {
68476
68124
  return signals$1;
68477
68125
  }
68478
68126
 
68479
- var hasRequiredCjs;
68480
- function requireCjs() {
68481
- if (hasRequiredCjs) return cjs;
68482
- hasRequiredCjs = 1;
68127
+ var hasRequiredCjs$1;
68128
+ function requireCjs$1() {
68129
+ if (hasRequiredCjs$1) return cjs$1;
68130
+ hasRequiredCjs$1 = 1;
68483
68131
  (function (exports) {
68484
68132
 
68485
68133
  var _a;
@@ -68751,23 +68399,23 @@ function requireCjs() {
68751
68399
  * @internal
68752
68400
  */
68753
68401
  exports.unload = _a.unload;
68754
- })(cjs);
68755
- return cjs;
68402
+ })(cjs$1);
68403
+ return cjs$1;
68756
68404
  }
68757
68405
 
68758
- var hasRequiredLib$A;
68759
- function requireLib$A() {
68760
- if (hasRequiredLib$A) return lib$A.exports;
68761
- hasRequiredLib$A = 1;
68762
- lib$A.exports = writeFile;
68763
- lib$A.exports.sync = writeFileSync;
68764
- lib$A.exports._getTmpname = getTmpname; // for testing
68765
- lib$A.exports._cleanupOnExit = cleanupOnExit;
68406
+ var hasRequiredLib$B;
68407
+ function requireLib$B() {
68408
+ if (hasRequiredLib$B) return lib$B.exports;
68409
+ hasRequiredLib$B = 1;
68410
+ lib$B.exports = writeFile;
68411
+ lib$B.exports.sync = writeFileSync;
68412
+ lib$B.exports._getTmpname = getTmpname; // for testing
68413
+ lib$B.exports._cleanupOnExit = cleanupOnExit;
68766
68414
  const fs = require$$0$b;
68767
68415
  const MurmurHash3 = requireImurmurhash();
68768
68416
  const {
68769
68417
  onExit
68770
- } = requireCjs();
68418
+ } = requireCjs$1();
68771
68419
  const path = require$$0$d;
68772
68420
  const {
68773
68421
  promisify
@@ -69003,7 +68651,7 @@ function requireLib$A() {
69003
68651
  }
69004
68652
  }
69005
68653
  }
69006
- return lib$A.exports;
68654
+ return lib$B.exports;
69007
68655
  }
69008
68656
 
69009
68657
  var fixBin_1;
@@ -69019,7 +68667,7 @@ function requireFixBin() {
69019
68667
  readFile
69020
68668
  } = require$$0$k;
69021
68669
  const execMode = 0o777 & ~process.umask();
69022
- const writeFileAtomic = requireLib$A();
68670
+ const writeFileAtomic = requireLib$B();
69023
68671
  const isWindowsHashBang = buf => buf[0] === '#'.charCodeAt(0) && buf[1] === '!'.charCodeAt(0) && /^#![^\n]+\r\n/.test(buf.toString());
69024
68672
  const isWindowsHashbangFile = file => {
69025
68673
  const FALSE = () => false;
@@ -69056,8 +68704,8 @@ function requireShimBin() {
69056
68704
  throw er;
69057
68705
  }
69058
68706
  };
69059
- const cmdShim = requireLib$J();
69060
- const readCmdShim = requireLib$B();
68707
+ const cmdShim = requireLib$K();
68708
+ const readCmdShim = requireLib$C();
69061
68709
  const fixBin = requireFixBin();
69062
68710
 
69063
68711
  // even in --force mode, we never create a shim over a shim we've
@@ -69160,7 +68808,7 @@ function requireLinkGently() {
69160
68808
  } = require$$0$k;
69161
68809
  const {
69162
68810
  log
69163
- } = requireLib$G();
68811
+ } = requireLib$H();
69164
68812
  const throwSignificant = er => {
69165
68813
  if (er.code === 'ENOENT') {
69166
68814
  return;
@@ -69290,7 +68938,7 @@ function requireLinkBins() {
69290
68938
  relative
69291
68939
  } = require$$0$d;
69292
68940
  const linkBin = isWindows ? requireShimBin() : requireLinkBin();
69293
- const normalize = requireLib$D();
68941
+ const normalize = requireLib$E();
69294
68942
  const linkBins = ({
69295
68943
  path,
69296
68944
  pkg,
@@ -69426,7 +69074,7 @@ function requireCheckBin() {
69426
69074
  resolve,
69427
69075
  dirname
69428
69076
  } = require$$0$d;
69429
- const readCmdShim = requireLib$B();
69077
+ const readCmdShim = requireLib$C();
69430
69078
  const {
69431
69079
  readlink
69432
69080
  } = require$$0$k;
@@ -69526,7 +69174,7 @@ function requireCheckBins() {
69526
69174
  if (hasRequiredCheckBins) return checkBins_1;
69527
69175
  hasRequiredCheckBins = 1;
69528
69176
  const checkBin = requireCheckBin();
69529
- const normalize = requireLib$D();
69177
+ const normalize = requireLib$E();
69530
69178
  const checkBins = async ({
69531
69179
  pkg,
69532
69180
  path,
@@ -69615,11 +69263,11 @@ function requireGetPaths() {
69615
69263
  return getPaths;
69616
69264
  }
69617
69265
 
69618
- var lib$z;
69619
- var hasRequiredLib$z;
69620
- function requireLib$z() {
69621
- if (hasRequiredLib$z) return lib$z;
69622
- hasRequiredLib$z = 1;
69266
+ var lib$A;
69267
+ var hasRequiredLib$A;
69268
+ function requireLib$A() {
69269
+ if (hasRequiredLib$A) return lib$A;
69270
+ hasRequiredLib$A = 1;
69623
69271
  const linkBins = requireLinkBins();
69624
69272
  const linkMans = requireLinkMans();
69625
69273
  const binLinks = opts => {
@@ -69668,12 +69316,12 @@ function requireLib$z() {
69668
69316
  };
69669
69317
  const checkBins = requireCheckBins();
69670
69318
  const getPaths = requireGetPaths();
69671
- lib$z = Object.assign(binLinks, {
69319
+ lib$A = Object.assign(binLinks, {
69672
69320
  checkBins,
69673
69321
  resetSeen,
69674
69322
  getPaths
69675
69323
  });
69676
- return lib$z;
69324
+ return lib$A;
69677
69325
  }
69678
69326
 
69679
69327
  var gatherDepSet_1;
@@ -74299,11 +73947,11 @@ function requireDist$d() {
74299
73947
  return dist$d.exports;
74300
73948
  }
74301
73949
 
74302
- var lib$y;
74303
- var hasRequiredLib$y;
74304
- function requireLib$y() {
74305
- if (hasRequiredLib$y) return lib$y;
74306
- hasRequiredLib$y = 1;
73950
+ var lib$z;
73951
+ var hasRequiredLib$z;
73952
+ function requireLib$z() {
73953
+ if (hasRequiredLib$z) return lib$z;
73954
+ hasRequiredLib$z = 1;
74307
73955
  const parser = requireDist$d();
74308
73956
  const arrayDelimiter = Symbol('arrayDelimiter');
74309
73957
  const escapeSlashes = str => str.replace(/\//g, '\\/');
@@ -74530,11 +74178,11 @@ function requireLib$y() {
74530
74178
  lossless: false
74531
74179
  });
74532
74180
  };
74533
- lib$y = {
74181
+ lib$z = {
74534
74182
  parser: queryParser,
74535
74183
  arrayDelimiter
74536
74184
  };
74537
- return lib$y;
74185
+ return lib$z;
74538
74186
  }
74539
74187
 
74540
74188
  var commonjs$f = {};
@@ -84216,7 +83864,7 @@ function requireNormalizeData$1() {
84216
83864
  const {
84217
83865
  URL
84218
83866
  } = require$$0$7;
84219
- const hostedGitInfo = requireLib$I();
83867
+ const hostedGitInfo = requireLib$J();
84220
83868
  const validateLicense = requireValidateNpmPackageLicense();
84221
83869
  const typos = {
84222
83870
  dependancies: 'dependencies',
@@ -84473,6 +84121,357 @@ function requireNormalizeData$1() {
84473
84121
  return normalizeData_1$1;
84474
84122
  }
84475
84123
 
84124
+ var cjs = {};
84125
+
84126
+ var posix = {};
84127
+
84128
+ var hasRequiredPosix;
84129
+ function requirePosix() {
84130
+ if (hasRequiredPosix) return posix;
84131
+ hasRequiredPosix = 1;
84132
+ /**
84133
+ * This is the Posix implementation of isexe, which uses the file
84134
+ * mode and uid/gid values.
84135
+ *
84136
+ * @module
84137
+ */
84138
+ Object.defineProperty(posix, "__esModule", {
84139
+ value: true
84140
+ });
84141
+ posix.sync = posix.isexe = void 0;
84142
+ const fs_1 = require$$0$b;
84143
+ const promises_1 = require$$0$k;
84144
+ /**
84145
+ * Determine whether a path is executable according to the mode and
84146
+ * current (or specified) user and group IDs.
84147
+ */
84148
+ const isexe = async (path, options = {}) => {
84149
+ const {
84150
+ ignoreErrors = false
84151
+ } = options;
84152
+ try {
84153
+ return checkStat(await (0, promises_1.stat)(path), options);
84154
+ } catch (e) {
84155
+ const er = e;
84156
+ if (ignoreErrors || er.code === 'EACCES') return false;
84157
+ throw er;
84158
+ }
84159
+ };
84160
+ posix.isexe = isexe;
84161
+ /**
84162
+ * Synchronously determine whether a path is executable according to
84163
+ * the mode and current (or specified) user and group IDs.
84164
+ */
84165
+ const sync = (path, options = {}) => {
84166
+ const {
84167
+ ignoreErrors = false
84168
+ } = options;
84169
+ try {
84170
+ return checkStat((0, fs_1.statSync)(path), options);
84171
+ } catch (e) {
84172
+ const er = e;
84173
+ if (ignoreErrors || er.code === 'EACCES') return false;
84174
+ throw er;
84175
+ }
84176
+ };
84177
+ posix.sync = sync;
84178
+ const checkStat = (stat, options) => stat.isFile() && checkMode(stat, options);
84179
+ const checkMode = (stat, options) => {
84180
+ const myUid = options.uid ?? process.getuid?.();
84181
+ const myGroups = options.groups ?? process.getgroups?.() ?? [];
84182
+ const myGid = options.gid ?? process.getgid?.() ?? myGroups[0];
84183
+ if (myUid === undefined || myGid === undefined) {
84184
+ throw new Error('cannot get uid or gid');
84185
+ }
84186
+ const groups = new Set([myGid, ...myGroups]);
84187
+ const mod = stat.mode;
84188
+ const uid = stat.uid;
84189
+ const gid = stat.gid;
84190
+ const u = parseInt('100', 8);
84191
+ const g = parseInt('010', 8);
84192
+ const o = parseInt('001', 8);
84193
+ const ug = u | g;
84194
+ return !!(mod & o || mod & g && groups.has(gid) || mod & u && uid === myUid || mod & ug && myUid === 0);
84195
+ };
84196
+ return posix;
84197
+ }
84198
+
84199
+ var win32 = {};
84200
+
84201
+ var hasRequiredWin32;
84202
+ function requireWin32() {
84203
+ if (hasRequiredWin32) return win32;
84204
+ hasRequiredWin32 = 1;
84205
+ /**
84206
+ * This is the Windows implementation of isexe, which uses the file
84207
+ * extension and PATHEXT setting.
84208
+ *
84209
+ * @module
84210
+ */
84211
+ Object.defineProperty(win32, "__esModule", {
84212
+ value: true
84213
+ });
84214
+ win32.sync = win32.isexe = void 0;
84215
+ const fs_1 = require$$0$b;
84216
+ const promises_1 = require$$0$k;
84217
+ /**
84218
+ * Determine whether a path is executable based on the file extension
84219
+ * and PATHEXT environment variable (or specified pathExt option)
84220
+ */
84221
+ const isexe = async (path, options = {}) => {
84222
+ const {
84223
+ ignoreErrors = false
84224
+ } = options;
84225
+ try {
84226
+ return checkStat(await (0, promises_1.stat)(path), path, options);
84227
+ } catch (e) {
84228
+ const er = e;
84229
+ if (ignoreErrors || er.code === 'EACCES') return false;
84230
+ throw er;
84231
+ }
84232
+ };
84233
+ win32.isexe = isexe;
84234
+ /**
84235
+ * Synchronously determine whether a path is executable based on the file
84236
+ * extension and PATHEXT environment variable (or specified pathExt option)
84237
+ */
84238
+ const sync = (path, options = {}) => {
84239
+ const {
84240
+ ignoreErrors = false
84241
+ } = options;
84242
+ try {
84243
+ return checkStat((0, fs_1.statSync)(path), path, options);
84244
+ } catch (e) {
84245
+ const er = e;
84246
+ if (ignoreErrors || er.code === 'EACCES') return false;
84247
+ throw er;
84248
+ }
84249
+ };
84250
+ win32.sync = sync;
84251
+ const checkPathExt = (path, options) => {
84252
+ const {
84253
+ pathExt = process.env.PATHEXT || ''
84254
+ } = options;
84255
+ const peSplit = pathExt.split(';');
84256
+ if (peSplit.indexOf('') !== -1) {
84257
+ return true;
84258
+ }
84259
+ for (let i = 0; i < peSplit.length; i++) {
84260
+ const p = peSplit[i].toLowerCase();
84261
+ const ext = path.substring(path.length - p.length).toLowerCase();
84262
+ if (p && ext === p) {
84263
+ return true;
84264
+ }
84265
+ }
84266
+ return false;
84267
+ };
84268
+ const checkStat = (stat, path, options) => stat.isFile() && checkPathExt(path, options);
84269
+ return win32;
84270
+ }
84271
+
84272
+ var options$4 = {};
84273
+
84274
+ var hasRequiredOptions$4;
84275
+ function requireOptions$4() {
84276
+ if (hasRequiredOptions$4) return options$4;
84277
+ hasRequiredOptions$4 = 1;
84278
+ Object.defineProperty(options$4, "__esModule", {
84279
+ value: true
84280
+ });
84281
+ return options$4;
84282
+ }
84283
+
84284
+ var hasRequiredCjs;
84285
+ function requireCjs() {
84286
+ if (hasRequiredCjs) return cjs;
84287
+ hasRequiredCjs = 1;
84288
+ (function (exports) {
84289
+
84290
+ var __createBinding = this && this.__createBinding || (Object.create ? function (o, m, k, k2) {
84291
+ if (k2 === undefined) k2 = k;
84292
+ var desc = Object.getOwnPropertyDescriptor(m, k);
84293
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
84294
+ desc = {
84295
+ enumerable: true,
84296
+ get: function () {
84297
+ return m[k];
84298
+ }
84299
+ };
84300
+ }
84301
+ Object.defineProperty(o, k2, desc);
84302
+ } : function (o, m, k, k2) {
84303
+ if (k2 === undefined) k2 = k;
84304
+ o[k2] = m[k];
84305
+ });
84306
+ var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {
84307
+ Object.defineProperty(o, "default", {
84308
+ enumerable: true,
84309
+ value: v
84310
+ });
84311
+ } : function (o, v) {
84312
+ o["default"] = v;
84313
+ });
84314
+ var __importStar = this && this.__importStar || function (mod) {
84315
+ if (mod && mod.__esModule) return mod;
84316
+ var result = {};
84317
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
84318
+ __setModuleDefault(result, mod);
84319
+ return result;
84320
+ };
84321
+ var __exportStar = this && this.__exportStar || function (m, exports) {
84322
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
84323
+ };
84324
+ Object.defineProperty(exports, "__esModule", {
84325
+ value: true
84326
+ });
84327
+ exports.sync = exports.isexe = exports.posix = exports.win32 = void 0;
84328
+ const posix = __importStar(requirePosix());
84329
+ exports.posix = posix;
84330
+ const win32 = __importStar(requireWin32());
84331
+ exports.win32 = win32;
84332
+ __exportStar(requireOptions$4(), exports);
84333
+ const platform = process.env._ISEXE_TEST_PLATFORM_ || process.platform;
84334
+ const impl = platform === 'win32' ? win32 : posix;
84335
+ /**
84336
+ * Determine whether a path is executable on the current platform.
84337
+ */
84338
+ exports.isexe = impl.isexe;
84339
+ /**
84340
+ * Synchronously determine whether a path is executable on the
84341
+ * current platform.
84342
+ */
84343
+ exports.sync = impl.sync;
84344
+ })(cjs);
84345
+ return cjs;
84346
+ }
84347
+
84348
+ var lib$y;
84349
+ var hasRequiredLib$y;
84350
+ function requireLib$y() {
84351
+ if (hasRequiredLib$y) return lib$y;
84352
+ hasRequiredLib$y = 1;
84353
+ const {
84354
+ isexe,
84355
+ sync: isexeSync
84356
+ } = requireCjs();
84357
+ const {
84358
+ join,
84359
+ delimiter,
84360
+ sep,
84361
+ posix
84362
+ } = require$$0$d;
84363
+ const isWindows = process.platform === 'win32';
84364
+
84365
+ // used to check for slashed in commands passed in. always checks for the posix
84366
+ // seperator on all platforms, and checks for the current separator when not on
84367
+ // a posix platform. don't use the isWindows check for this since that is mocked
84368
+ // in tests but we still need the code to actually work when called. that is also
84369
+ // why it is ignored from coverage.
84370
+ /* istanbul ignore next */
84371
+ const rSlash = new RegExp(`[${posix.sep}${sep === posix.sep ? '' : sep}]`.replace(/(\\)/g, '\\$1'));
84372
+ const rRel = new RegExp(`^\\.${rSlash.source}`);
84373
+ const getNotFoundError = cmd => Object.assign(new Error(`not found: ${cmd}`), {
84374
+ code: 'ENOENT'
84375
+ });
84376
+ const getPathInfo = (cmd, {
84377
+ path: optPath = process.env.PATH,
84378
+ pathExt: optPathExt = process.env.PATHEXT,
84379
+ delimiter: optDelimiter = delimiter
84380
+ }) => {
84381
+ // If it has a slash, then we don't bother searching the pathenv.
84382
+ // just check the file itself, and that's it.
84383
+ const pathEnv = cmd.match(rSlash) ? [''] : [
84384
+ // windows always checks the cwd first
84385
+ ...(isWindows ? [process.cwd()] : []), ...(optPath || /* istanbul ignore next: very unusual */'').split(optDelimiter)];
84386
+ if (isWindows) {
84387
+ const pathExtExe = optPathExt || ['.EXE', '.CMD', '.BAT', '.COM'].join(optDelimiter);
84388
+ const pathExt = pathExtExe.split(optDelimiter).flatMap(item => [item, item.toLowerCase()]);
84389
+ if (cmd.includes('.') && pathExt[0] !== '') {
84390
+ pathExt.unshift('');
84391
+ }
84392
+ return {
84393
+ pathEnv,
84394
+ pathExt,
84395
+ pathExtExe
84396
+ };
84397
+ }
84398
+ return {
84399
+ pathEnv,
84400
+ pathExt: ['']
84401
+ };
84402
+ };
84403
+ const getPathPart = (raw, cmd) => {
84404
+ const pathPart = /^".*"$/.test(raw) ? raw.slice(1, -1) : raw;
84405
+ const prefix = !pathPart && rRel.test(cmd) ? cmd.slice(0, 2) : '';
84406
+ return prefix + join(pathPart, cmd);
84407
+ };
84408
+ const which = async (cmd, opt = {}) => {
84409
+ const {
84410
+ pathEnv,
84411
+ pathExt,
84412
+ pathExtExe
84413
+ } = getPathInfo(cmd, opt);
84414
+ const found = [];
84415
+ for (const envPart of pathEnv) {
84416
+ const p = getPathPart(envPart, cmd);
84417
+ for (const ext of pathExt) {
84418
+ const withExt = p + ext;
84419
+ const is = await isexe(withExt, {
84420
+ pathExt: pathExtExe,
84421
+ ignoreErrors: true
84422
+ });
84423
+ if (is) {
84424
+ if (!opt.all) {
84425
+ return withExt;
84426
+ }
84427
+ found.push(withExt);
84428
+ }
84429
+ }
84430
+ }
84431
+ if (opt.all && found.length) {
84432
+ return found;
84433
+ }
84434
+ if (opt.nothrow) {
84435
+ return null;
84436
+ }
84437
+ throw getNotFoundError(cmd);
84438
+ };
84439
+ const whichSync = (cmd, opt = {}) => {
84440
+ const {
84441
+ pathEnv,
84442
+ pathExt,
84443
+ pathExtExe
84444
+ } = getPathInfo(cmd, opt);
84445
+ const found = [];
84446
+ for (const pathEnvPart of pathEnv) {
84447
+ const p = getPathPart(pathEnvPart, cmd);
84448
+ for (const ext of pathExt) {
84449
+ const withExt = p + ext;
84450
+ const is = isexeSync(withExt, {
84451
+ pathExt: pathExtExe,
84452
+ ignoreErrors: true
84453
+ });
84454
+ if (is) {
84455
+ if (!opt.all) {
84456
+ return withExt;
84457
+ }
84458
+ found.push(withExt);
84459
+ }
84460
+ }
84461
+ }
84462
+ if (opt.all && found.length) {
84463
+ return found;
84464
+ }
84465
+ if (opt.nothrow) {
84466
+ return null;
84467
+ }
84468
+ throw getNotFoundError(cmd);
84469
+ };
84470
+ lib$y = which;
84471
+ which.sync = whichSync;
84472
+ return lib$y;
84473
+ }
84474
+
84476
84475
  var _escape;
84477
84476
  var hasRequired_escape;
84478
84477
  function require_escape() {
@@ -84548,7 +84547,7 @@ function requireLib$x() {
84548
84547
  spawn
84549
84548
  } = require$$0$m;
84550
84549
  const os = require$$0$f;
84551
- const which = requireLib$K();
84550
+ const which = requireLib$y();
84552
84551
  const escape = require_escape();
84553
84552
 
84554
84553
  // 'extra' object is for decorating the error a bit more
@@ -85220,7 +85219,7 @@ var hasRequiredWhich;
85220
85219
  function requireWhich() {
85221
85220
  if (hasRequiredWhich) return which_1;
85222
85221
  hasRequiredWhich = 1;
85223
- const which = requireLib$K();
85222
+ const which = requireLib$y();
85224
85223
  let gitPath;
85225
85224
  try {
85226
85225
  gitPath = which.sync('git');
@@ -85250,7 +85249,7 @@ function requireSpawn() {
85250
85249
  const promiseRetry = requirePromiseRetry();
85251
85250
  const {
85252
85251
  log
85253
- } = requireLib$G();
85252
+ } = requireLib$H();
85254
85253
  const makeError = requireMakeError();
85255
85254
  const makeOpts = requireOpts();
85256
85255
  spawn_1 = (gitArgs, opts = {}) => {
@@ -87324,7 +87323,7 @@ function requireLib$v() {
87324
87323
  const {
87325
87324
  checkEngine
87326
87325
  } = requireLib$w();
87327
- const normalizeBin = requireLib$D();
87326
+ const normalizeBin = requireLib$E();
87328
87327
  const engineOk = (manifest, npmVersion, nodeVersion) => {
87329
87328
  try {
87330
87329
  checkEngine(manifest, npmVersion, nodeVersion);
@@ -87739,7 +87738,7 @@ function requireNormalize$1() {
87739
87738
  const path = path$4;
87740
87739
  const {
87741
87740
  log
87742
- } = requireLib$G();
87741
+ } = requireLib$H();
87743
87742
  const moduleBuiltin = require$$5$4;
87744
87743
 
87745
87744
  /**
@@ -87748,7 +87747,7 @@ function requireNormalize$1() {
87748
87747
  let _hostedGitInfo;
87749
87748
  function lazyHostedGitInfo() {
87750
87749
  if (!_hostedGitInfo) {
87751
- _hostedGitInfo = requireLib$I();
87750
+ _hostedGitInfo = requireLib$J();
87752
87751
  }
87753
87752
  return _hostedGitInfo;
87754
87753
  }
@@ -88357,7 +88356,7 @@ function requireReadPackage$1() {
88357
88356
  const {
88358
88357
  readFile
88359
88358
  } = require$$0$k;
88360
- const parseJSON = requireLib$E();
88359
+ const parseJSON = requireLib$F();
88361
88360
  async function read(filename) {
88362
88361
  try {
88363
88362
  const data = await readFile(filename, 'utf8');
@@ -88591,7 +88590,7 @@ function requireLib$t() {
88591
88590
  const {
88592
88591
  resolve
88593
88592
  } = path$4;
88594
- const parseJSON = requireLib$E();
88593
+ const parseJSON = requireLib$F();
88595
88594
  const updateDeps = requireUpdateDependencies$1();
88596
88595
  const updateScripts = requireUpdateScripts$1();
88597
88596
  const updateWorkspaces = requireUpdateWorkspaces$1();
@@ -92776,7 +92775,7 @@ function requireLib$m() {
92776
92775
  const EE = require$$0$c.EventEmitter;
92777
92776
  // we don't care about the package bins, but we share a pj cache
92778
92777
  // with other modules that DO care about it, so keep it nice.
92779
- const normalizePackageBin = requireLib$D();
92778
+ const normalizePackageBin = requireLib$E();
92780
92779
  class BundleWalker extends EE {
92781
92780
  constructor(opt) {
92782
92781
  opt = opt || {};
@@ -93018,7 +93017,7 @@ function requireLib$l() {
93018
93017
  basename,
93019
93018
  dirname
93020
93019
  } = require$$0$d;
93021
- const normalizePackageBin = requireLib$D();
93020
+ const normalizePackageBin = requireLib$E();
93022
93021
  const readPackage = ({
93023
93022
  path,
93024
93023
  packageJsonCache
@@ -100868,7 +100867,7 @@ function requireRunScriptPkg$1() {
100868
100867
  const {
100869
100868
  output,
100870
100869
  input
100871
- } = requireLib$G();
100870
+ } = requireLib$H();
100872
100871
  output.standard(banner);
100873
100872
  inputEnd = input.start();
100874
100873
  }
@@ -114254,7 +114253,7 @@ function requireCheckResponse$1() {
114254
114253
  const defaultOpts = requireDefaultOpts$1();
114255
114254
  const {
114256
114255
  log
114257
- } = requireLib$G();
114256
+ } = requireLib$H();
114258
114257
  const {
114259
114258
  redact: cleanUrl
114260
114259
  } = requireLib$f();
@@ -123252,7 +123251,7 @@ function requireRemote$2() {
123252
123251
  const ssri = requireLib$s();
123253
123252
  const {
123254
123253
  log
123255
- } = requireLib$G();
123254
+ } = requireLib$H();
123256
123255
  const CachingMinipassPipeline = requirePipeline$1();
123257
123256
  const {
123258
123257
  getAgent
@@ -125106,7 +125105,7 @@ function requireGit() {
125106
125105
  } = requireCommonjs$b();
125107
125106
  const {
125108
125107
  log
125109
- } = requireLib$G();
125108
+ } = requireLib$H();
125110
125109
  const DirFetcher = requireDir();
125111
125110
  const Fetcher = requireFetcher();
125112
125111
  const FileFetcher = requireFile$1();
@@ -130264,7 +130263,7 @@ function requireFetch$1() {
130264
130263
  */
130265
130264
  const http2_1 = require$$0$s;
130266
130265
  const make_fetch_happen_1 = __importDefault(requireLib$d());
130267
- const proc_log_1 = requireLib$G();
130266
+ const proc_log_1 = requireLib$H();
130268
130267
  const promise_retry_1 = __importDefault(requirePromiseRetry());
130269
130268
  const util_1 = requireUtil();
130270
130269
  const error_1 = requireError$5();
@@ -137028,7 +137027,7 @@ function requireFetcher() {
137028
137027
  } = requireCommonjs$b();
137029
137028
  const {
137030
137029
  log
137031
- } = requireLib$G();
137030
+ } = requireLib$H();
137032
137031
  const _ = require_protected();
137033
137032
  const cacheDir = requireCacheDir();
137034
137033
  const isPackageBin = requireIsPackageBin();
@@ -137597,7 +137596,7 @@ function requireCheckResponse() {
137597
137596
  const defaultOpts = requireDefaultOpts();
137598
137597
  const {
137599
137598
  log
137600
- } = requireLib$G();
137599
+ } = requireLib$H();
137601
137600
  const {
137602
137601
  redact: cleanUrl
137603
137602
  } = requireLib$f();
@@ -143057,7 +143056,7 @@ function requireRemote() {
143057
143056
  const ssri = requireLib$s();
143058
143057
  const {
143059
143058
  log
143060
- } = requireLib$G();
143059
+ } = requireLib$H();
143061
143060
  const CachingMinipassPipeline = requirePipeline();
143062
143061
  const {
143063
143062
  getAgent
@@ -144262,11 +144261,11 @@ function requireQuerySelectorAll() {
144262
144261
  const {
144263
144262
  parser,
144264
144263
  arrayDelimiter
144265
- } = requireLib$y();
144264
+ } = requireLib$z();
144266
144265
  const localeCompare = requireStringLocaleCompare()('en');
144267
144266
  const {
144268
144267
  log
144269
- } = requireLib$G();
144268
+ } = requireLib$H();
144270
144269
  const {
144271
144270
  minimatch
144272
144271
  } = requireCommonjs$f();
@@ -145211,16 +145210,16 @@ function requireNode() {
145211
145210
  // tree.
145212
145211
 
145213
145212
  const semver = requireSemver();
145214
- const nameFromFolder = requireLib$F();
145213
+ const nameFromFolder = requireLib$G();
145215
145214
  const Edge = requireEdge();
145216
145215
  const Inventory = requireInventory();
145217
145216
  const OverrideSet = requireOverrideSet();
145218
145217
  const {
145219
145218
  normalize
145220
- } = requireLib$C();
145219
+ } = requireLib$D();
145221
145220
  const {
145222
145221
  getPaths: getBinPaths
145223
- } = requireLib$z();
145222
+ } = requireLib$A();
145224
145223
  const npa = requireNpa();
145225
145224
  const debug = requireDebug();
145226
145225
  const gatherDepSet = requireGatherDepSet();
@@ -145230,7 +145229,7 @@ function requireNode() {
145230
145229
  } = requireCommonjs$g();
145231
145230
  const {
145232
145231
  log
145233
- } = requireLib$G();
145232
+ } = requireLib$H();
145234
145233
  const {
145235
145234
  resolve,
145236
145235
  relative,
@@ -148166,7 +148165,7 @@ function requireNormalize() {
148166
148165
  const path = path$4;
148167
148166
  const {
148168
148167
  log
148169
- } = requireLib$G();
148168
+ } = requireLib$H();
148170
148169
  const moduleBuiltin = require$$5$4;
148171
148170
 
148172
148171
  /**
@@ -148765,7 +148764,7 @@ function requireReadPackage() {
148765
148764
  const {
148766
148765
  readFile
148767
148766
  } = require$$0$k;
148768
- const parseJSON = requireLib$E();
148767
+ const parseJSON = requireLib$F();
148769
148768
  async function read(filename) {
148770
148769
  try {
148771
148770
  const data = await readFile(filename, 'utf8');
@@ -148999,7 +148998,7 @@ function requireLib$4() {
148999
148998
  const {
149000
148999
  resolve
149001
149000
  } = path$4;
149002
- const parseJSON = requireLib$E();
149001
+ const parseJSON = requireLib$F();
149003
149002
  const updateDeps = requireUpdateDependencies();
149004
149003
  const updateScripts = requireUpdateScripts();
149005
149004
  const updateWorkspaces = requireUpdateWorkspaces();
@@ -149228,7 +149227,7 @@ function requireLib$3() {
149228
149227
  if (hasRequiredLib$3) return lib$3;
149229
149228
  hasRequiredLib$3 = 1;
149230
149229
  const path = require$$0$d;
149231
- const getName = requireLib$F();
149230
+ const getName = requireLib$G();
149232
149231
  const {
149233
149232
  minimatch
149234
149233
  } = requireCommonjs$f();
@@ -149455,7 +149454,7 @@ function requireAddRmPkgDeps() {
149455
149454
 
149456
149455
  const {
149457
149456
  log
149458
- } = requireLib$G();
149457
+ } = requireLib$H();
149459
149458
  const localeCompare = requireStringLocaleCompare()('en');
149460
149459
  const add = ({
149461
149460
  pkg,
@@ -150235,12 +150234,12 @@ function requireLib$2() {
150235
150234
  const cacache = requireLib$9();
150236
150235
  const {
150237
150236
  time
150238
- } = requireLib$G();
150237
+ } = requireLib$H();
150239
150238
  const Advisory = requireAdvisory();
150240
150239
  const {
150241
150240
  homedir
150242
150241
  } = require$$0$f;
150243
- const jsonParse = requireLib$E();
150242
+ const jsonParse = requireLib$F();
150244
150243
  const _packument = Symbol('packument');
150245
150244
  const _cachePut = Symbol('cachePut');
150246
150245
  const _cacheGet = Symbol('cacheGet');
@@ -150378,7 +150377,7 @@ function requireAuditReport() {
150378
150377
  const {
150379
150378
  log,
150380
150379
  time
150381
- } = requireLib$G();
150380
+ } = requireLib$H();
150382
150381
  const npmFetch = requireLib$7();
150383
150382
  class AuditReport extends Map {
150384
150383
  #omit;
@@ -150692,7 +150691,7 @@ function requirePackumentCache() {
150692
150691
  } = require$$1$c;
150693
150692
  const {
150694
150693
  log
150695
- } = requireLib$G();
150694
+ } = requireLib$H();
150696
150695
 
150697
150696
  // This is an in-memory cache that Pacote uses for packuments.
150698
150697
  // Packuments are usually cached on disk. This allows for rapid re-requests
@@ -151935,7 +151934,7 @@ function requirePlaceDep() {
151935
151934
  const localeCompare = requireStringLocaleCompare()('en');
151936
151935
  const {
151937
151936
  log
151938
- } = requireLib$G();
151937
+ } = requireLib$H();
151939
151938
  const {
151940
151939
  redact
151941
151940
  } = requireLib$f();
@@ -153432,7 +153431,7 @@ var hasRequiredLib;
153432
153431
  function requireLib() {
153433
153432
  if (hasRequiredLib) return lib;
153434
153433
  hasRequiredLib = 1;
153435
- const parseJSON = requireLib$E();
153434
+ const parseJSON = requireLib$F();
153436
153435
  const {
153437
153436
  diff
153438
153437
  } = requireJustDiff();
@@ -153614,7 +153613,7 @@ function requireShrinkwrap() {
153614
153613
 
153615
153614
  const {
153616
153615
  log
153617
- } = requireLib$G();
153616
+ } = requireLib$H();
153618
153617
  const YarnLock = requireYarnLock();
153619
153618
  const {
153620
153619
  readFile,
@@ -153634,7 +153633,7 @@ function requireShrinkwrap() {
153634
153633
  const npa = requireNpa();
153635
153634
  const pkgJson = requireLib$4();
153636
153635
  const parseJSON = requireLib();
153637
- const nameFromFolder = requireLib$F();
153636
+ const nameFromFolder = requireLib$G();
153638
153637
  const stringify = requireJsonStringifyNice();
153639
153638
  const swKeyOrder = ['name', 'version', 'lockfileVersion', 'resolved', 'integrity', 'requires', 'packages', 'dependencies'];
153640
153639
 
@@ -154724,7 +154723,7 @@ function requireBuildIdealTree() {
154724
154723
  hasRequiredBuildIdealTree = 1;
154725
154724
  // mixin implementing the buildIdealTree method
154726
154725
  const localeCompare = requireStringLocaleCompare()('en');
154727
- const rpj = requireLib$C();
154726
+ const rpj = requireLib$D();
154728
154727
  const npa = requireNpa();
154729
154728
  const pacote = requireLib$a();
154730
154729
  const cacache = requireLib$9();
@@ -154751,7 +154750,7 @@ function requireBuildIdealTree() {
154751
154750
  const {
154752
154751
  log,
154753
154752
  time
154754
- } = requireLib$G();
154753
+ } = requireLib$H();
154755
154754
  const {
154756
154755
  redact
154757
154756
  } = requireLib$f();
@@ -156341,7 +156340,7 @@ function requireLoadActual() {
156341
156340
  join,
156342
156341
  normalize
156343
156342
  } = path$4;
156344
- const rpj = requireLib$C();
156343
+ const rpj = requireLib$D();
156345
156344
  const {
156346
156345
  readdirScoped
156347
156346
  } = requireLib$p();
@@ -156788,14 +156787,14 @@ function requireLoadVirtual() {
156788
156787
  const {
156789
156788
  resolve
156790
156789
  } = path$4;
156791
- const nameFromFolder = requireLib$F();
156790
+ const nameFromFolder = requireLib$G();
156792
156791
  const consistentResolve = requireConsistentResolve();
156793
156792
  const Shrinkwrap = requireShrinkwrap();
156794
156793
  const Node = requireNode();
156795
156794
  const Link = requireLink();
156796
156795
  const relpath = requireRelpath();
156797
156796
  const calcDepFlags = requireCalcDepFlags();
156798
- const rpj = requireLib$C();
156797
+ const rpj = requireLib$D();
156799
156798
  const treeCheck = requireTreeCheck();
156800
156799
  const flagsSuspect = Symbol.for('flagsSuspect');
156801
156800
  const setWorkspaces = Symbol.for('setWorkspaces');
@@ -157415,7 +157414,7 @@ function requireRunScriptPkg() {
157415
157414
  const {
157416
157415
  output,
157417
157416
  input
157418
- } = requireLib$G();
157417
+ } = requireLib$H();
157419
157418
  output.standard(banner);
157420
157419
  inputEnd = input.start();
157421
157420
  }
@@ -157556,8 +157555,8 @@ function requireRebuild() {
157556
157555
  depth: dfwalk
157557
157556
  } = requireLib$6();
157558
157557
  const promiseAllRejectLate = requirePromiseAllRejectLate();
157559
- const rpj = requireLib$C();
157560
- const binLinks = requireLib$z();
157558
+ const rpj = requireLib$D();
157559
+ const binLinks = requireLib$A();
157561
157560
  const runScript = requireRunScript();
157562
157561
  const {
157563
157562
  callLimit: promiseCallLimit
@@ -157572,7 +157571,7 @@ function requireRebuild() {
157572
157571
  const {
157573
157572
  log,
157574
157573
  time
157575
- } = requireLib$G();
157574
+ } = requireLib$H();
157576
157575
  const boolEnv = b => b ? '1' : '';
157577
157576
  const sortNodes = (a, b) => a.depth - b.depth || localeCompare(a.path, b.path);
157578
157577
  const _checkBins = Symbol.for('checkBins');
@@ -158474,8 +158473,8 @@ function requireReify() {
158474
158473
  const {
158475
158474
  log,
158476
158475
  time
158477
- } = requireLib$G();
158478
- const rpj = requireLib$C();
158476
+ } = requireLib$H();
158477
+ const rpj = requireLib$D();
158479
158478
  const hgi = requireLib$5();
158480
158479
  const {
158481
158480
  dirname,
@@ -160554,7 +160553,7 @@ function requireArborist() {
160554
160553
  const {
160555
160554
  log,
160556
160555
  time
160557
- } = requireLib$G();
160556
+ } = requireLib$H();
160558
160557
  const {
160559
160558
  saveTypeMap
160560
160559
  } = requireAddRmPkgDeps();
@@ -160958,7 +160957,6 @@ exports.indentStringExports = indentStringExports;
160958
160957
  exports.isInteractiveExports = isInteractiveExports;
160959
160958
  exports.jsYaml = jsYaml;
160960
160959
  exports.libExports = libExports;
160961
- exports.libExports$1 = libExports$1;
160962
160960
  exports.meow = meow;
160963
160961
  exports.messageWithCauses = messageWithCauses;
160964
160962
  exports.micromatchExports = micromatchExports;
@@ -160980,5 +160978,5 @@ exports.terminalLinkExports = terminalLinkExports;
160980
160978
  exports.updater = updater$1;
160981
160979
  exports.yargsParser = yargsParser;
160982
160980
  exports.yoctocolorsCjsExports = yoctocolorsCjsExports;
160983
- //# debugId=839cfdba-0d80-46fa-a8c3-0eb7f8ad5239
160981
+ //# debugId=59077137-40e2-4323-b7ba-aa238fc43b99
160984
160982
  //# sourceMappingURL=vendor.js.map