@socketsecurity/cli-with-sentry 1.1.18 → 1.1.20

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 (150) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/bin/npm-cli.js +2 -2
  3. package/bin/npx-cli.js +2 -2
  4. package/bin/pnpm-cli.js +2 -2
  5. package/bin/yarn-cli.js +2 -2
  6. package/dist/cli.js +285 -117
  7. package/dist/cli.js.map +1 -1
  8. package/dist/constants.js +8 -3
  9. package/dist/constants.js.map +1 -1
  10. package/dist/flags.js +3 -2
  11. package/dist/flags.js.map +1 -1
  12. package/dist/npm-cli.js +3 -4
  13. package/dist/npm-cli.js.map +1 -1
  14. package/dist/npx-cli.js +3 -3
  15. package/dist/npx-cli.js.map +1 -1
  16. package/dist/pnpm-cli.js +3 -3
  17. package/dist/pnpm-cli.js.map +1 -1
  18. package/dist/shadow-npm-bin.js +3 -106
  19. package/dist/shadow-npm-bin.js.map +1 -1
  20. package/dist/shadow-npm-bin2.js +125 -0
  21. package/dist/shadow-npm-bin2.js.map +1 -0
  22. package/dist/shadow-npx-bin.js +12 -0
  23. package/dist/shadow-npx-bin.js.map +1 -0
  24. package/dist/shadow-pnpm-bin.js +3 -228
  25. package/dist/shadow-pnpm-bin.js.map +1 -1
  26. package/dist/shadow-pnpm-bin2.js +323 -0
  27. package/dist/shadow-pnpm-bin2.js.map +1 -0
  28. package/dist/shadow-yarn-bin.js +62 -150
  29. package/dist/shadow-yarn-bin.js.map +1 -1
  30. package/dist/tsconfig.dts.tsbuildinfo +1 -1
  31. package/dist/types/commands/analytics/cmd-analytics.d.mts.map +1 -1
  32. package/dist/types/commands/analytics/output-analytics.d.mts.map +1 -1
  33. package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +1 -1
  34. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +1 -1
  35. package/dist/types/commands/ci/handle-ci.d.mts.map +1 -1
  36. package/dist/types/commands/config/cmd-config-auto.d.mts.map +1 -1
  37. package/dist/types/commands/config/cmd-config-get.d.mts.map +1 -1
  38. package/dist/types/commands/config/cmd-config-list.d.mts.map +1 -1
  39. package/dist/types/commands/config/cmd-config-set.d.mts.map +1 -1
  40. package/dist/types/commands/config/cmd-config-unset.d.mts.map +1 -1
  41. package/dist/types/commands/config/handle-config-set.d.mts.map +1 -1
  42. package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -1
  43. package/dist/types/commands/fix/coana-fix.d.mts.map +1 -1
  44. package/dist/types/commands/fix/handle-fix.d.mts.map +1 -1
  45. package/dist/types/commands/fix/pull-request.d.mts.map +1 -1
  46. package/dist/types/commands/login/attempt-login.d.mts.map +1 -1
  47. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +1 -1
  48. package/dist/types/commands/npm/cmd-npm.d.mts.map +1 -1
  49. package/dist/types/commands/optimize/handle-optimize.d.mts.map +1 -1
  50. package/dist/types/commands/optimize/ls-by-agent.d.mts.map +1 -1
  51. package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +1 -1
  52. package/dist/types/commands/organization/cmd-organization-list.d.mts.map +1 -1
  53. package/dist/types/commands/organization/handle-dependencies.d.mts.map +1 -1
  54. package/dist/types/commands/organization/handle-organization-list.d.mts.map +1 -1
  55. package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +1 -1
  56. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +1 -1
  57. package/dist/types/commands/pnpm/cmd-pnpm.d.mts.map +1 -1
  58. package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +1 -1
  59. package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +1 -1
  60. package/dist/types/commands/repository/cmd-repository-create.d.mts.map +1 -1
  61. package/dist/types/commands/repository/cmd-repository-del.d.mts.map +1 -1
  62. package/dist/types/commands/repository/cmd-repository-list.d.mts.map +1 -1
  63. package/dist/types/commands/repository/cmd-repository-update.d.mts.map +1 -1
  64. package/dist/types/commands/repository/cmd-repository-view.d.mts.map +1 -1
  65. package/dist/types/commands/repository/handle-create-repo.d.mts.map +1 -1
  66. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -1
  67. package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +1 -1
  68. package/dist/types/commands/scan/cmd-scan-list.d.mts.map +1 -1
  69. package/dist/types/commands/scan/create-scan-from-github.d.mts.map +1 -1
  70. package/dist/types/commands/scan/fetch-report-data.d.mts.map +1 -1
  71. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -1
  72. package/dist/types/commands/scan/output-diff-scan.d.mts.map +1 -1
  73. package/dist/types/commands/scan/output-scan-view.d.mts.map +1 -1
  74. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +1 -1
  75. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +1 -1
  76. package/dist/types/commands/yarn/cmd-yarn.d.mts.map +1 -1
  77. package/dist/types/constants.d.mts +1 -0
  78. package/dist/types/constants.d.mts.map +1 -1
  79. package/dist/types/flags.d.mts.map +1 -1
  80. package/dist/types/shadow/common.d.mts +31 -0
  81. package/dist/types/shadow/common.d.mts.map +1 -0
  82. package/dist/types/shadow/npm/bin.d.mts +4 -10
  83. package/dist/types/shadow/npm/bin.d.mts.map +1 -1
  84. package/dist/types/shadow/npm-base.d.mts +11 -0
  85. package/dist/types/shadow/npm-base.d.mts.map +1 -0
  86. package/dist/types/shadow/npx/bin.d.mts +5 -0
  87. package/dist/types/shadow/npx/bin.d.mts.map +1 -0
  88. package/dist/types/shadow/pnpm/bin.d.mts +1 -1
  89. package/dist/types/shadow/pnpm/bin.d.mts.map +1 -1
  90. package/dist/types/shadow/stdio-ipc.d.mts +7 -0
  91. package/dist/types/shadow/stdio-ipc.d.mts.map +1 -0
  92. package/dist/types/shadow/yarn/bin.d.mts +1 -1
  93. package/dist/types/shadow/yarn/bin.d.mts.map +1 -1
  94. package/dist/types/utils/agent.d.mts.map +1 -1
  95. package/dist/types/utils/alerts-map.d.mts.map +1 -1
  96. package/dist/types/utils/api.d.mts.map +1 -1
  97. package/dist/types/utils/cmd.d.mts.map +1 -1
  98. package/dist/types/utils/coana.d.mts.map +1 -1
  99. package/dist/types/utils/color-or-markdown.d.mts.map +1 -1
  100. package/dist/types/utils/config.d.mts.map +1 -1
  101. package/dist/types/utils/cve-to-ghsa.d.mts.map +1 -1
  102. package/dist/types/utils/debug.d.mts +45 -0
  103. package/dist/types/utils/debug.d.mts.map +1 -0
  104. package/dist/types/utils/determine-org-slug.d.mts.map +1 -1
  105. package/dist/types/utils/dlx.d.mts +1 -1
  106. package/dist/types/utils/dlx.d.mts.map +1 -1
  107. package/dist/types/utils/ecosystem.d.mts.map +1 -1
  108. package/dist/types/utils/errors.d.mts +48 -0
  109. package/dist/types/utils/errors.d.mts.map +1 -1
  110. package/dist/types/utils/filter-config.d.mts.map +1 -1
  111. package/dist/types/utils/fs.d.mts.map +1 -1
  112. package/dist/types/utils/get-output-kind.d.mts.map +1 -1
  113. package/dist/types/utils/git.d.mts.map +1 -1
  114. package/dist/types/utils/github.d.mts.map +1 -1
  115. package/dist/types/utils/markdown.d.mts +17 -0
  116. package/dist/types/utils/markdown.d.mts.map +1 -1
  117. package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -1
  118. package/dist/types/utils/npm-package-arg.d.mts +5 -1
  119. package/dist/types/utils/npm-package-arg.d.mts.map +1 -1
  120. package/dist/types/utils/npm-paths.d.mts.map +1 -1
  121. package/dist/types/utils/npm-spec.d.mts +57 -0
  122. package/dist/types/utils/npm-spec.d.mts.map +1 -0
  123. package/dist/types/utils/output-formatting.d.mts.map +1 -1
  124. package/dist/types/utils/package-environment.d.mts.map +1 -1
  125. package/dist/types/utils/pnpm-paths.d.mts.map +1 -1
  126. package/dist/types/utils/purl-to-ghsa.d.mts.map +1 -1
  127. package/dist/types/utils/purl.d.mts +24 -0
  128. package/dist/types/utils/purl.d.mts.map +1 -1
  129. package/dist/types/utils/requirements.d.mts.map +1 -1
  130. package/dist/types/utils/sdk.d.mts.map +1 -1
  131. package/dist/types/utils/serialize-result-json.d.mts.map +1 -1
  132. package/dist/types/utils/socket-json.d.mts.map +1 -1
  133. package/dist/types/utils/socket-package-alert.d.mts.map +1 -1
  134. package/dist/types/utils/socket-url.d.mts.map +1 -1
  135. package/dist/types/utils/strings.d.mts +12 -0
  136. package/dist/types/utils/strings.d.mts.map +1 -1
  137. package/dist/types/utils/terminal-link.d.mts +45 -0
  138. package/dist/types/utils/terminal-link.d.mts.map +1 -0
  139. package/dist/types/utils/tildify.d.mts +0 -2
  140. package/dist/types/utils/tildify.d.mts.map +1 -1
  141. package/dist/types/utils/yarn-paths.d.mts.map +1 -1
  142. package/dist/types/utils/yarn-version.d.mts.map +1 -1
  143. package/dist/utils.js +1393 -453
  144. package/dist/utils.js.map +1 -1
  145. package/dist/vendor.js +682 -682
  146. package/package.json +3 -3
  147. package/shadow-bin/npm +2 -2
  148. package/shadow-bin/npx +2 -2
  149. package/shadow-bin/pnpm +2 -2
  150. package/shadow-bin/yarn +2 -2
package/dist/vendor.js CHANGED
@@ -17,9 +17,8 @@ var require$$0$e = require$$0$7;
17
17
  var require$$1$7 = require('node:http');
18
18
  var require$$0$f = os$3;
19
19
  var fs$6 = require('node:fs/promises');
20
- var require$$1$8 = require('node:tty');
21
20
  var signalExit = require('../external/@socketsecurity/registry/external/signal-exit');
22
- var require$$0$g = require$$1$8;
21
+ var require$$0$g = require('node:tty');
23
22
  var require$$0$h = process$2;
24
23
  var require$$0$i = require('node:buffer');
25
24
  var require$$2$3 = require('node:https');
@@ -35,12 +34,13 @@ var require$$10 = require('../external/@socketsecurity/registry/lib/json');
35
34
  var require$$11 = require('../external/@socketsecurity/registry/lib/objects');
36
35
  var require$$12 = require('../external/@socketsecurity/registry/lib/promises');
37
36
  var require$$13 = require('../external/@socketsecurity/registry/lib/url');
37
+ var require$$1$8 = require$$0$g;
38
38
  var node_buffer = require$$0$i;
39
39
  var childProcess = require('node:child_process');
40
- var require$$0$k = fs$6;
41
40
  var require$$1$9 = require('node:path/win32');
42
- var require$$0$l = require('node:module');
43
- var require$$5$4 = require$$0$l;
41
+ var require$$0$k = require('node:module');
42
+ var require$$0$l = fs$6;
43
+ var require$$5$4 = require$$0$k;
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;
@@ -11224,375 +11224,6 @@ function registryUrl(scope) {
11224
11224
  return normalize$1(result[`${scope}:registry`] || npmConfigRegistry || result.registry || defaultUrl);
11225
11225
  }
11226
11226
 
11227
- var terminalLink = {exports: {}};
11228
-
11229
- var ansiEscapes = {exports: {}};
11230
-
11231
- var hasRequiredAnsiEscapes;
11232
- function requireAnsiEscapes() {
11233
- if (hasRequiredAnsiEscapes) return ansiEscapes.exports;
11234
- hasRequiredAnsiEscapes = 1;
11235
- (function (module) {
11236
-
11237
- const ansiEscapes = module.exports;
11238
- // TODO: remove this in the next major version
11239
- module.exports.default = ansiEscapes;
11240
- const ESC = '\u001B[';
11241
- const OSC = '\u001B]';
11242
- const BEL = '\u0007';
11243
- const SEP = ';';
11244
- const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';
11245
- ansiEscapes.cursorTo = (x, y) => {
11246
- if (typeof x !== 'number') {
11247
- throw new TypeError('The `x` argument is required');
11248
- }
11249
- if (typeof y !== 'number') {
11250
- return ESC + (x + 1) + 'G';
11251
- }
11252
- return ESC + (y + 1) + ';' + (x + 1) + 'H';
11253
- };
11254
- ansiEscapes.cursorMove = (x, y) => {
11255
- if (typeof x !== 'number') {
11256
- throw new TypeError('The `x` argument is required');
11257
- }
11258
- let ret = '';
11259
- if (x < 0) {
11260
- ret += ESC + -x + 'D';
11261
- } else if (x > 0) {
11262
- ret += ESC + x + 'C';
11263
- }
11264
- if (y < 0) {
11265
- ret += ESC + -y + 'A';
11266
- } else if (y > 0) {
11267
- ret += ESC + y + 'B';
11268
- }
11269
- return ret;
11270
- };
11271
- ansiEscapes.cursorUp = (count = 1) => ESC + count + 'A';
11272
- ansiEscapes.cursorDown = (count = 1) => ESC + count + 'B';
11273
- ansiEscapes.cursorForward = (count = 1) => ESC + count + 'C';
11274
- ansiEscapes.cursorBackward = (count = 1) => ESC + count + 'D';
11275
- ansiEscapes.cursorLeft = ESC + 'G';
11276
- ansiEscapes.cursorSavePosition = isTerminalApp ? '\u001B7' : ESC + 's';
11277
- ansiEscapes.cursorRestorePosition = isTerminalApp ? '\u001B8' : ESC + 'u';
11278
- ansiEscapes.cursorGetPosition = ESC + '6n';
11279
- ansiEscapes.cursorNextLine = ESC + 'E';
11280
- ansiEscapes.cursorPrevLine = ESC + 'F';
11281
- ansiEscapes.cursorHide = ESC + '?25l';
11282
- ansiEscapes.cursorShow = ESC + '?25h';
11283
- ansiEscapes.eraseLines = count => {
11284
- let clear = '';
11285
- for (let i = 0; i < count; i++) {
11286
- clear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : '');
11287
- }
11288
- if (count) {
11289
- clear += ansiEscapes.cursorLeft;
11290
- }
11291
- return clear;
11292
- };
11293
- ansiEscapes.eraseEndLine = ESC + 'K';
11294
- ansiEscapes.eraseStartLine = ESC + '1K';
11295
- ansiEscapes.eraseLine = ESC + '2K';
11296
- ansiEscapes.eraseDown = ESC + 'J';
11297
- ansiEscapes.eraseUp = ESC + '1J';
11298
- ansiEscapes.eraseScreen = ESC + '2J';
11299
- ansiEscapes.scrollUp = ESC + 'S';
11300
- ansiEscapes.scrollDown = ESC + 'T';
11301
- ansiEscapes.clearScreen = '\u001Bc';
11302
- ansiEscapes.clearTerminal = process.platform === 'win32' ? `${ansiEscapes.eraseScreen}${ESC}0f` :
11303
- // 1. Erases the screen (Only done in case `2` is not supported)
11304
- // 2. Erases the whole screen including scrollback buffer
11305
- // 3. Moves cursor to the top-left position
11306
- // More info: https://www.real-world-systems.com/docs/ANSIcode.html
11307
- `${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`;
11308
- ansiEscapes.beep = BEL;
11309
- ansiEscapes.link = (text, url) => {
11310
- return [OSC, '8', SEP, SEP, url, BEL, text, OSC, '8', SEP, SEP, BEL].join('');
11311
- };
11312
- ansiEscapes.image = (buffer, options = {}) => {
11313
- let ret = `${OSC}1337;File=inline=1`;
11314
- if (options.width) {
11315
- ret += `;width=${options.width}`;
11316
- }
11317
- if (options.height) {
11318
- ret += `;height=${options.height}`;
11319
- }
11320
- if (options.preserveAspectRatio === false) {
11321
- ret += ';preserveAspectRatio=0';
11322
- }
11323
- return ret + ':' + buffer.toString('base64') + BEL;
11324
- };
11325
- ansiEscapes.iTerm = {
11326
- setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
11327
- annotation: (message, options = {}) => {
11328
- let ret = `${OSC}1337;`;
11329
- const hasX = typeof options.x !== 'undefined';
11330
- const hasY = typeof options.y !== 'undefined';
11331
- if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== 'undefined')) {
11332
- throw new Error('`x`, `y` and `length` must be defined when `x` or `y` is defined');
11333
- }
11334
- message = message.replace(/\|/g, '');
11335
- ret += options.isHidden ? 'AddHiddenAnnotation=' : 'AddAnnotation=';
11336
- if (options.length > 0) {
11337
- ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join('|');
11338
- } else {
11339
- ret += message;
11340
- }
11341
- return ret + BEL;
11342
- }
11343
- };
11344
- })(ansiEscapes);
11345
- return ansiEscapes.exports;
11346
- }
11347
-
11348
- var hasFlag$1;
11349
- var hasRequiredHasFlag$1;
11350
- function requireHasFlag$1() {
11351
- if (hasRequiredHasFlag$1) return hasFlag$1;
11352
- hasRequiredHasFlag$1 = 1;
11353
- hasFlag$1 = (flag, argv = process.argv) => {
11354
- const prefix = flag.startsWith('-') ? '' : flag.length === 1 ? '-' : '--';
11355
- const position = argv.indexOf(prefix + flag);
11356
- const terminatorPosition = argv.indexOf('--');
11357
- return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
11358
- };
11359
- return hasFlag$1;
11360
- }
11361
-
11362
- var supportsColor_1$1;
11363
- var hasRequiredSupportsColor$2;
11364
- function requireSupportsColor$2() {
11365
- if (hasRequiredSupportsColor$2) return supportsColor_1$1;
11366
- hasRequiredSupportsColor$2 = 1;
11367
- const os = require$$0$f;
11368
- const tty = require$$1$8;
11369
- const hasFlag = requireHasFlag$1();
11370
- const {
11371
- env
11372
- } = process;
11373
- let forceColor;
11374
- if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') || hasFlag('color=never')) {
11375
- forceColor = 0;
11376
- } else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) {
11377
- forceColor = 1;
11378
- }
11379
- if ('FORCE_COLOR' in env) {
11380
- if (env.FORCE_COLOR === 'true') {
11381
- forceColor = 1;
11382
- } else if (env.FORCE_COLOR === 'false') {
11383
- forceColor = 0;
11384
- } else {
11385
- forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
11386
- }
11387
- }
11388
- function translateLevel(level) {
11389
- if (level === 0) {
11390
- return false;
11391
- }
11392
- return {
11393
- level,
11394
- hasBasic: true,
11395
- has256: level >= 2,
11396
- has16m: level >= 3
11397
- };
11398
- }
11399
- function supportsColor(haveStream, streamIsTTY) {
11400
- if (forceColor === 0) {
11401
- return 0;
11402
- }
11403
- if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) {
11404
- return 3;
11405
- }
11406
- if (hasFlag('color=256')) {
11407
- return 2;
11408
- }
11409
- if (haveStream && !streamIsTTY && forceColor === undefined) {
11410
- return 0;
11411
- }
11412
- const min = forceColor || 0;
11413
- if (env.TERM === 'dumb') {
11414
- return min;
11415
- }
11416
- if (process.platform === 'win32') {
11417
- // Windows 10 build 10586 is the first Windows release that supports 256 colors.
11418
- // Windows 10 build 14931 is the first release that supports 16m/TrueColor.
11419
- const osRelease = os.release().split('.');
11420
- if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
11421
- return Number(osRelease[2]) >= 14931 ? 3 : 2;
11422
- }
11423
- return 1;
11424
- }
11425
- if ('CI' in env) {
11426
- if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
11427
- return 1;
11428
- }
11429
- return min;
11430
- }
11431
- if ('TEAMCITY_VERSION' in env) {
11432
- return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
11433
- }
11434
- if (env.COLORTERM === 'truecolor') {
11435
- return 3;
11436
- }
11437
- if ('TERM_PROGRAM' in env) {
11438
- const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
11439
- switch (env.TERM_PROGRAM) {
11440
- case 'iTerm.app':
11441
- return version >= 3 ? 3 : 2;
11442
- case 'Apple_Terminal':
11443
- return 2;
11444
- // No default
11445
- }
11446
- }
11447
- if (/-256(color)?$/i.test(env.TERM)) {
11448
- return 2;
11449
- }
11450
- if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
11451
- return 1;
11452
- }
11453
- if ('COLORTERM' in env) {
11454
- return 1;
11455
- }
11456
- return min;
11457
- }
11458
- function getSupportLevel(stream) {
11459
- const level = supportsColor(stream, stream && stream.isTTY);
11460
- return translateLevel(level);
11461
- }
11462
- supportsColor_1$1 = {
11463
- supportsColor: getSupportLevel,
11464
- stdout: translateLevel(supportsColor(true, tty.isatty(1))),
11465
- stderr: translateLevel(supportsColor(true, tty.isatty(2)))
11466
- };
11467
- return supportsColor_1$1;
11468
- }
11469
-
11470
- var supportsHyperlinks;
11471
- var hasRequiredSupportsHyperlinks;
11472
- function requireSupportsHyperlinks() {
11473
- if (hasRequiredSupportsHyperlinks) return supportsHyperlinks;
11474
- hasRequiredSupportsHyperlinks = 1;
11475
- const supportsColor = requireSupportsColor$2();
11476
- const hasFlag = requireHasFlag$1();
11477
- function parseVersion(versionString) {
11478
- if (/^\d{3,4}$/.test(versionString)) {
11479
- // Env var doesn't always use dots. example: 4601 => 46.1.0
11480
- const m = /(\d{1,2})(\d{2})/.exec(versionString);
11481
- return {
11482
- major: 0,
11483
- minor: parseInt(m[1], 10),
11484
- patch: parseInt(m[2], 10)
11485
- };
11486
- }
11487
- const versions = (versionString || '').split('.').map(n => parseInt(n, 10));
11488
- return {
11489
- major: versions[0],
11490
- minor: versions[1],
11491
- patch: versions[2]
11492
- };
11493
- }
11494
- function supportsHyperlink(stream) {
11495
- const {
11496
- env
11497
- } = process;
11498
- if ('FORCE_HYPERLINK' in env) {
11499
- return !(env.FORCE_HYPERLINK.length > 0 && parseInt(env.FORCE_HYPERLINK, 10) === 0);
11500
- }
11501
- if (hasFlag('no-hyperlink') || hasFlag('no-hyperlinks') || hasFlag('hyperlink=false') || hasFlag('hyperlink=never')) {
11502
- return false;
11503
- }
11504
- if (hasFlag('hyperlink=true') || hasFlag('hyperlink=always')) {
11505
- return true;
11506
- }
11507
-
11508
- // Netlify does not run a TTY, it does not need `supportsColor` check
11509
- if ('NETLIFY' in env) {
11510
- return true;
11511
- }
11512
-
11513
- // If they specify no colors, they probably don't want hyperlinks.
11514
- if (!supportsColor.supportsColor(stream)) {
11515
- return false;
11516
- }
11517
- if (stream && !stream.isTTY) {
11518
- return false;
11519
- }
11520
- if (process.platform === 'win32') {
11521
- return false;
11522
- }
11523
- if ('CI' in env) {
11524
- return false;
11525
- }
11526
- if ('TEAMCITY_VERSION' in env) {
11527
- return false;
11528
- }
11529
- if ('TERM_PROGRAM' in env) {
11530
- const version = parseVersion(env.TERM_PROGRAM_VERSION);
11531
- switch (env.TERM_PROGRAM) {
11532
- case 'iTerm.app':
11533
- if (version.major === 3) {
11534
- return version.minor >= 1;
11535
- }
11536
- return version.major > 3;
11537
- case 'WezTerm':
11538
- return version.major >= 20200620;
11539
- case 'vscode':
11540
- return version.major > 1 || version.major === 1 && version.minor >= 72;
11541
- // No default
11542
- }
11543
- }
11544
- if ('VTE_VERSION' in env) {
11545
- // 0.50.0 was supposed to support hyperlinks, but throws a segfault
11546
- if (env.VTE_VERSION === '0.50.0') {
11547
- return false;
11548
- }
11549
- const version = parseVersion(env.VTE_VERSION);
11550
- return version.major > 0 || version.minor >= 50;
11551
- }
11552
- return false;
11553
- }
11554
- supportsHyperlinks = {
11555
- supportsHyperlink,
11556
- stdout: supportsHyperlink(process.stdout),
11557
- stderr: supportsHyperlink(process.stderr)
11558
- };
11559
- return supportsHyperlinks;
11560
- }
11561
-
11562
- var hasRequiredTerminalLink;
11563
- function requireTerminalLink() {
11564
- if (hasRequiredTerminalLink) return terminalLink.exports;
11565
- hasRequiredTerminalLink = 1;
11566
- (function (module) {
11567
-
11568
- const ansiEscapes = requireAnsiEscapes();
11569
- const supportsHyperlinks = requireSupportsHyperlinks();
11570
- const terminalLink = (text, url, {
11571
- target = 'stdout',
11572
- ...options
11573
- } = {}) => {
11574
- if (!supportsHyperlinks[target]) {
11575
- // If the fallback has been explicitly disabled, don't modify the text itself.
11576
- if (options.fallback === false) {
11577
- return text;
11578
- }
11579
- return typeof options.fallback === 'function' ? options.fallback(text, url) : `${text} (\u200B${url}\u200B)`;
11580
- }
11581
- return ansiEscapes.link(text, url);
11582
- };
11583
- module.exports = (text, url, options = {}) => terminalLink(text, url, options);
11584
- module.exports.stderr = (text, url, options = {}) => terminalLink(text, url, {
11585
- target: 'stderr',
11586
- ...options
11587
- });
11588
- module.exports.isSupported = supportsHyperlinks.stdout;
11589
- module.exports.stderr.isSupported = supportsHyperlinks.stderr;
11590
- })(terminalLink);
11591
- return terminalLink.exports;
11592
- }
11593
-
11594
- var terminalLinkExports = requireTerminalLink();
11595
-
11596
11227
  /* MAIN */
11597
11228
  const attempt = (fn, fallback) => {
11598
11229
  try {
@@ -29263,6 +28894,375 @@ function requireDist$e () {
29263
28894
 
29264
28895
  var distExports$1 = requireDist$e();
29265
28896
 
28897
+ var terminalLink = {exports: {}};
28898
+
28899
+ var ansiEscapes = {exports: {}};
28900
+
28901
+ var hasRequiredAnsiEscapes;
28902
+ function requireAnsiEscapes() {
28903
+ if (hasRequiredAnsiEscapes) return ansiEscapes.exports;
28904
+ hasRequiredAnsiEscapes = 1;
28905
+ (function (module) {
28906
+
28907
+ const ansiEscapes = module.exports;
28908
+ // TODO: remove this in the next major version
28909
+ module.exports.default = ansiEscapes;
28910
+ const ESC = '\u001B[';
28911
+ const OSC = '\u001B]';
28912
+ const BEL = '\u0007';
28913
+ const SEP = ';';
28914
+ const isTerminalApp = process.env.TERM_PROGRAM === 'Apple_Terminal';
28915
+ ansiEscapes.cursorTo = (x, y) => {
28916
+ if (typeof x !== 'number') {
28917
+ throw new TypeError('The `x` argument is required');
28918
+ }
28919
+ if (typeof y !== 'number') {
28920
+ return ESC + (x + 1) + 'G';
28921
+ }
28922
+ return ESC + (y + 1) + ';' + (x + 1) + 'H';
28923
+ };
28924
+ ansiEscapes.cursorMove = (x, y) => {
28925
+ if (typeof x !== 'number') {
28926
+ throw new TypeError('The `x` argument is required');
28927
+ }
28928
+ let ret = '';
28929
+ if (x < 0) {
28930
+ ret += ESC + -x + 'D';
28931
+ } else if (x > 0) {
28932
+ ret += ESC + x + 'C';
28933
+ }
28934
+ if (y < 0) {
28935
+ ret += ESC + -y + 'A';
28936
+ } else if (y > 0) {
28937
+ ret += ESC + y + 'B';
28938
+ }
28939
+ return ret;
28940
+ };
28941
+ ansiEscapes.cursorUp = (count = 1) => ESC + count + 'A';
28942
+ ansiEscapes.cursorDown = (count = 1) => ESC + count + 'B';
28943
+ ansiEscapes.cursorForward = (count = 1) => ESC + count + 'C';
28944
+ ansiEscapes.cursorBackward = (count = 1) => ESC + count + 'D';
28945
+ ansiEscapes.cursorLeft = ESC + 'G';
28946
+ ansiEscapes.cursorSavePosition = isTerminalApp ? '\u001B7' : ESC + 's';
28947
+ ansiEscapes.cursorRestorePosition = isTerminalApp ? '\u001B8' : ESC + 'u';
28948
+ ansiEscapes.cursorGetPosition = ESC + '6n';
28949
+ ansiEscapes.cursorNextLine = ESC + 'E';
28950
+ ansiEscapes.cursorPrevLine = ESC + 'F';
28951
+ ansiEscapes.cursorHide = ESC + '?25l';
28952
+ ansiEscapes.cursorShow = ESC + '?25h';
28953
+ ansiEscapes.eraseLines = count => {
28954
+ let clear = '';
28955
+ for (let i = 0; i < count; i++) {
28956
+ clear += ansiEscapes.eraseLine + (i < count - 1 ? ansiEscapes.cursorUp() : '');
28957
+ }
28958
+ if (count) {
28959
+ clear += ansiEscapes.cursorLeft;
28960
+ }
28961
+ return clear;
28962
+ };
28963
+ ansiEscapes.eraseEndLine = ESC + 'K';
28964
+ ansiEscapes.eraseStartLine = ESC + '1K';
28965
+ ansiEscapes.eraseLine = ESC + '2K';
28966
+ ansiEscapes.eraseDown = ESC + 'J';
28967
+ ansiEscapes.eraseUp = ESC + '1J';
28968
+ ansiEscapes.eraseScreen = ESC + '2J';
28969
+ ansiEscapes.scrollUp = ESC + 'S';
28970
+ ansiEscapes.scrollDown = ESC + 'T';
28971
+ ansiEscapes.clearScreen = '\u001Bc';
28972
+ ansiEscapes.clearTerminal = process.platform === 'win32' ? `${ansiEscapes.eraseScreen}${ESC}0f` :
28973
+ // 1. Erases the screen (Only done in case `2` is not supported)
28974
+ // 2. Erases the whole screen including scrollback buffer
28975
+ // 3. Moves cursor to the top-left position
28976
+ // More info: https://www.real-world-systems.com/docs/ANSIcode.html
28977
+ `${ansiEscapes.eraseScreen}${ESC}3J${ESC}H`;
28978
+ ansiEscapes.beep = BEL;
28979
+ ansiEscapes.link = (text, url) => {
28980
+ return [OSC, '8', SEP, SEP, url, BEL, text, OSC, '8', SEP, SEP, BEL].join('');
28981
+ };
28982
+ ansiEscapes.image = (buffer, options = {}) => {
28983
+ let ret = `${OSC}1337;File=inline=1`;
28984
+ if (options.width) {
28985
+ ret += `;width=${options.width}`;
28986
+ }
28987
+ if (options.height) {
28988
+ ret += `;height=${options.height}`;
28989
+ }
28990
+ if (options.preserveAspectRatio === false) {
28991
+ ret += ';preserveAspectRatio=0';
28992
+ }
28993
+ return ret + ':' + buffer.toString('base64') + BEL;
28994
+ };
28995
+ ansiEscapes.iTerm = {
28996
+ setCwd: (cwd = process.cwd()) => `${OSC}50;CurrentDir=${cwd}${BEL}`,
28997
+ annotation: (message, options = {}) => {
28998
+ let ret = `${OSC}1337;`;
28999
+ const hasX = typeof options.x !== 'undefined';
29000
+ const hasY = typeof options.y !== 'undefined';
29001
+ if ((hasX || hasY) && !(hasX && hasY && typeof options.length !== 'undefined')) {
29002
+ throw new Error('`x`, `y` and `length` must be defined when `x` or `y` is defined');
29003
+ }
29004
+ message = message.replace(/\|/g, '');
29005
+ ret += options.isHidden ? 'AddHiddenAnnotation=' : 'AddAnnotation=';
29006
+ if (options.length > 0) {
29007
+ ret += (hasX ? [message, options.length, options.x, options.y] : [options.length, message]).join('|');
29008
+ } else {
29009
+ ret += message;
29010
+ }
29011
+ return ret + BEL;
29012
+ }
29013
+ };
29014
+ })(ansiEscapes);
29015
+ return ansiEscapes.exports;
29016
+ }
29017
+
29018
+ var hasFlag$1;
29019
+ var hasRequiredHasFlag$1;
29020
+ function requireHasFlag$1() {
29021
+ if (hasRequiredHasFlag$1) return hasFlag$1;
29022
+ hasRequiredHasFlag$1 = 1;
29023
+ hasFlag$1 = (flag, argv = process.argv) => {
29024
+ const prefix = flag.startsWith('-') ? '' : flag.length === 1 ? '-' : '--';
29025
+ const position = argv.indexOf(prefix + flag);
29026
+ const terminatorPosition = argv.indexOf('--');
29027
+ return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
29028
+ };
29029
+ return hasFlag$1;
29030
+ }
29031
+
29032
+ var supportsColor_1$1;
29033
+ var hasRequiredSupportsColor$2;
29034
+ function requireSupportsColor$2() {
29035
+ if (hasRequiredSupportsColor$2) return supportsColor_1$1;
29036
+ hasRequiredSupportsColor$2 = 1;
29037
+ const os = require$$0$f;
29038
+ const tty = require$$1$8;
29039
+ const hasFlag = requireHasFlag$1();
29040
+ const {
29041
+ env
29042
+ } = process;
29043
+ let forceColor;
29044
+ if (hasFlag('no-color') || hasFlag('no-colors') || hasFlag('color=false') || hasFlag('color=never')) {
29045
+ forceColor = 0;
29046
+ } else if (hasFlag('color') || hasFlag('colors') || hasFlag('color=true') || hasFlag('color=always')) {
29047
+ forceColor = 1;
29048
+ }
29049
+ if ('FORCE_COLOR' in env) {
29050
+ if (env.FORCE_COLOR === 'true') {
29051
+ forceColor = 1;
29052
+ } else if (env.FORCE_COLOR === 'false') {
29053
+ forceColor = 0;
29054
+ } else {
29055
+ forceColor = env.FORCE_COLOR.length === 0 ? 1 : Math.min(parseInt(env.FORCE_COLOR, 10), 3);
29056
+ }
29057
+ }
29058
+ function translateLevel(level) {
29059
+ if (level === 0) {
29060
+ return false;
29061
+ }
29062
+ return {
29063
+ level,
29064
+ hasBasic: true,
29065
+ has256: level >= 2,
29066
+ has16m: level >= 3
29067
+ };
29068
+ }
29069
+ function supportsColor(haveStream, streamIsTTY) {
29070
+ if (forceColor === 0) {
29071
+ return 0;
29072
+ }
29073
+ if (hasFlag('color=16m') || hasFlag('color=full') || hasFlag('color=truecolor')) {
29074
+ return 3;
29075
+ }
29076
+ if (hasFlag('color=256')) {
29077
+ return 2;
29078
+ }
29079
+ if (haveStream && !streamIsTTY && forceColor === undefined) {
29080
+ return 0;
29081
+ }
29082
+ const min = forceColor || 0;
29083
+ if (env.TERM === 'dumb') {
29084
+ return min;
29085
+ }
29086
+ if (process.platform === 'win32') {
29087
+ // Windows 10 build 10586 is the first Windows release that supports 256 colors.
29088
+ // Windows 10 build 14931 is the first release that supports 16m/TrueColor.
29089
+ const osRelease = os.release().split('.');
29090
+ if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) {
29091
+ return Number(osRelease[2]) >= 14931 ? 3 : 2;
29092
+ }
29093
+ return 1;
29094
+ }
29095
+ if ('CI' in env) {
29096
+ if (['TRAVIS', 'CIRCLECI', 'APPVEYOR', 'GITLAB_CI', 'GITHUB_ACTIONS', 'BUILDKITE'].some(sign => sign in env) || env.CI_NAME === 'codeship') {
29097
+ return 1;
29098
+ }
29099
+ return min;
29100
+ }
29101
+ if ('TEAMCITY_VERSION' in env) {
29102
+ return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
29103
+ }
29104
+ if (env.COLORTERM === 'truecolor') {
29105
+ return 3;
29106
+ }
29107
+ if ('TERM_PROGRAM' in env) {
29108
+ const version = parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
29109
+ switch (env.TERM_PROGRAM) {
29110
+ case 'iTerm.app':
29111
+ return version >= 3 ? 3 : 2;
29112
+ case 'Apple_Terminal':
29113
+ return 2;
29114
+ // No default
29115
+ }
29116
+ }
29117
+ if (/-256(color)?$/i.test(env.TERM)) {
29118
+ return 2;
29119
+ }
29120
+ if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) {
29121
+ return 1;
29122
+ }
29123
+ if ('COLORTERM' in env) {
29124
+ return 1;
29125
+ }
29126
+ return min;
29127
+ }
29128
+ function getSupportLevel(stream) {
29129
+ const level = supportsColor(stream, stream && stream.isTTY);
29130
+ return translateLevel(level);
29131
+ }
29132
+ supportsColor_1$1 = {
29133
+ supportsColor: getSupportLevel,
29134
+ stdout: translateLevel(supportsColor(true, tty.isatty(1))),
29135
+ stderr: translateLevel(supportsColor(true, tty.isatty(2)))
29136
+ };
29137
+ return supportsColor_1$1;
29138
+ }
29139
+
29140
+ var supportsHyperlinks;
29141
+ var hasRequiredSupportsHyperlinks;
29142
+ function requireSupportsHyperlinks() {
29143
+ if (hasRequiredSupportsHyperlinks) return supportsHyperlinks;
29144
+ hasRequiredSupportsHyperlinks = 1;
29145
+ const supportsColor = requireSupportsColor$2();
29146
+ const hasFlag = requireHasFlag$1();
29147
+ function parseVersion(versionString) {
29148
+ if (/^\d{3,4}$/.test(versionString)) {
29149
+ // Env var doesn't always use dots. example: 4601 => 46.1.0
29150
+ const m = /(\d{1,2})(\d{2})/.exec(versionString);
29151
+ return {
29152
+ major: 0,
29153
+ minor: parseInt(m[1], 10),
29154
+ patch: parseInt(m[2], 10)
29155
+ };
29156
+ }
29157
+ const versions = (versionString || '').split('.').map(n => parseInt(n, 10));
29158
+ return {
29159
+ major: versions[0],
29160
+ minor: versions[1],
29161
+ patch: versions[2]
29162
+ };
29163
+ }
29164
+ function supportsHyperlink(stream) {
29165
+ const {
29166
+ env
29167
+ } = process;
29168
+ if ('FORCE_HYPERLINK' in env) {
29169
+ return !(env.FORCE_HYPERLINK.length > 0 && parseInt(env.FORCE_HYPERLINK, 10) === 0);
29170
+ }
29171
+ if (hasFlag('no-hyperlink') || hasFlag('no-hyperlinks') || hasFlag('hyperlink=false') || hasFlag('hyperlink=never')) {
29172
+ return false;
29173
+ }
29174
+ if (hasFlag('hyperlink=true') || hasFlag('hyperlink=always')) {
29175
+ return true;
29176
+ }
29177
+
29178
+ // Netlify does not run a TTY, it does not need `supportsColor` check
29179
+ if ('NETLIFY' in env) {
29180
+ return true;
29181
+ }
29182
+
29183
+ // If they specify no colors, they probably don't want hyperlinks.
29184
+ if (!supportsColor.supportsColor(stream)) {
29185
+ return false;
29186
+ }
29187
+ if (stream && !stream.isTTY) {
29188
+ return false;
29189
+ }
29190
+ if (process.platform === 'win32') {
29191
+ return false;
29192
+ }
29193
+ if ('CI' in env) {
29194
+ return false;
29195
+ }
29196
+ if ('TEAMCITY_VERSION' in env) {
29197
+ return false;
29198
+ }
29199
+ if ('TERM_PROGRAM' in env) {
29200
+ const version = parseVersion(env.TERM_PROGRAM_VERSION);
29201
+ switch (env.TERM_PROGRAM) {
29202
+ case 'iTerm.app':
29203
+ if (version.major === 3) {
29204
+ return version.minor >= 1;
29205
+ }
29206
+ return version.major > 3;
29207
+ case 'WezTerm':
29208
+ return version.major >= 20200620;
29209
+ case 'vscode':
29210
+ return version.major > 1 || version.major === 1 && version.minor >= 72;
29211
+ // No default
29212
+ }
29213
+ }
29214
+ if ('VTE_VERSION' in env) {
29215
+ // 0.50.0 was supposed to support hyperlinks, but throws a segfault
29216
+ if (env.VTE_VERSION === '0.50.0') {
29217
+ return false;
29218
+ }
29219
+ const version = parseVersion(env.VTE_VERSION);
29220
+ return version.major > 0 || version.minor >= 50;
29221
+ }
29222
+ return false;
29223
+ }
29224
+ supportsHyperlinks = {
29225
+ supportsHyperlink,
29226
+ stdout: supportsHyperlink(process.stdout),
29227
+ stderr: supportsHyperlink(process.stderr)
29228
+ };
29229
+ return supportsHyperlinks;
29230
+ }
29231
+
29232
+ var hasRequiredTerminalLink;
29233
+ function requireTerminalLink() {
29234
+ if (hasRequiredTerminalLink) return terminalLink.exports;
29235
+ hasRequiredTerminalLink = 1;
29236
+ (function (module) {
29237
+
29238
+ const ansiEscapes = requireAnsiEscapes();
29239
+ const supportsHyperlinks = requireSupportsHyperlinks();
29240
+ const terminalLink = (text, url, {
29241
+ target = 'stdout',
29242
+ ...options
29243
+ } = {}) => {
29244
+ if (!supportsHyperlinks[target]) {
29245
+ // If the fallback has been explicitly disabled, don't modify the text itself.
29246
+ if (options.fallback === false) {
29247
+ return text;
29248
+ }
29249
+ return typeof options.fallback === 'function' ? options.fallback(text, url) : `${text} (\u200B${url}\u200B)`;
29250
+ }
29251
+ return ansiEscapes.link(text, url);
29252
+ };
29253
+ module.exports = (text, url, options = {}) => terminalLink(text, url, options);
29254
+ module.exports.stderr = (text, url, options = {}) => terminalLink(text, url, {
29255
+ target: 'stderr',
29256
+ ...options
29257
+ });
29258
+ module.exports.isSupported = supportsHyperlinks.stdout;
29259
+ module.exports.stderr.isSupported = supportsHyperlinks.stderr;
29260
+ })(terminalLink);
29261
+ return terminalLink.exports;
29262
+ }
29263
+
29264
+ var terminalLinkExports = requireTerminalLink();
29265
+
29266
29266
  var error$b;
29267
29267
  var hasRequiredError$b;
29268
29268
  function requireError$b() {
@@ -41996,227 +41996,6 @@ var micromatchExports = requireMicromatch();
41996
41996
 
41997
41997
  var distExports = requireDist$f();
41998
41998
 
41999
- var toBatchSyntax = {};
42000
-
42001
- var hasRequiredToBatchSyntax;
42002
- function requireToBatchSyntax() {
42003
- if (hasRequiredToBatchSyntax) return toBatchSyntax;
42004
- hasRequiredToBatchSyntax = 1;
42005
- toBatchSyntax.replaceDollarWithPercentPair = replaceDollarWithPercentPair;
42006
- toBatchSyntax.convertToSetCommand = convertToSetCommand;
42007
- toBatchSyntax.convertToSetCommands = convertToSetCommands;
42008
- function convertToSetCommand(key, value) {
42009
- var line = '';
42010
- key = key || '';
42011
- key = key.trim();
42012
- value = value || '';
42013
- value = value.trim();
42014
- if (key && value && value.length > 0) {
42015
- line = '@SET ' + key + '=' + replaceDollarWithPercentPair(value) + '\r\n';
42016
- }
42017
- return line;
42018
- }
42019
- function extractVariableValuePairs(declarations) {
42020
- var pairs = {};
42021
- declarations.map(function (declaration) {
42022
- var split = declaration.split('=');
42023
- pairs[split[0]] = split[1];
42024
- });
42025
- return pairs;
42026
- }
42027
- function convertToSetCommands(variableString) {
42028
- var variableValuePairs = extractVariableValuePairs(variableString.split(' '));
42029
- var variableDeclarationsAsBatch = '';
42030
- Object.keys(variableValuePairs).forEach(function (key) {
42031
- variableDeclarationsAsBatch += convertToSetCommand(key, variableValuePairs[key]);
42032
- });
42033
- return variableDeclarationsAsBatch;
42034
- }
42035
- function replaceDollarWithPercentPair(value) {
42036
- var dollarExpressions = /\$\{?([^$@#?\- \t{}:]+)\}?/g;
42037
- var result = '';
42038
- var startIndex = 0;
42039
- do {
42040
- var match = dollarExpressions.exec(value);
42041
- if (match) {
42042
- var betweenMatches = value.substring(startIndex, match.index) || '';
42043
- result += betweenMatches + '%' + match[1] + '%';
42044
- startIndex = dollarExpressions.lastIndex;
42045
- }
42046
- } while (dollarExpressions.lastIndex > 0);
42047
- result += value.slice(startIndex);
42048
- return result;
42049
- }
42050
- return toBatchSyntax;
42051
- }
42052
-
42053
- var lib$K;
42054
- var hasRequiredLib$K;
42055
- function requireLib$K() {
42056
- if (hasRequiredLib$K) return lib$K;
42057
- hasRequiredLib$K = 1;
42058
- // On windows, create a .cmd file.
42059
- // Read the #! in the file to see what it uses. The vast majority
42060
- // of the time, this will be either:
42061
- // "#!/usr/bin/env <prog> <args...>"
42062
- // or:
42063
- // "#!<prog> <args...>"
42064
- //
42065
- // Write a binroot/pkg.bin + ".cmd" file that has this line in it:
42066
- // @<prog> <args...> %dp0%<target> %*
42067
-
42068
- const {
42069
- chmod,
42070
- mkdir,
42071
- readFile,
42072
- stat,
42073
- unlink,
42074
- writeFile
42075
- } = require$$0$k;
42076
- const {
42077
- dirname,
42078
- relative
42079
- } = require$$0$d;
42080
- const toBatchSyntax = requireToBatchSyntax();
42081
- // linting disabled because this regex is really long
42082
- // eslint-disable-next-line max-len
42083
- const shebangExpr = /^#!\s*(?:\/usr\/bin\/env\s+(?:-S\s+)?((?:[^ \t=]+=[^ \t=]+\s+)*))?([^ \t]+)(.*)$/;
42084
- const cmdShimIfExists = (from, to) => stat(from).then(() => cmdShim(from, to), () => {});
42085
-
42086
- // Try to unlink, but ignore errors.
42087
- // Any problems will surface later.
42088
- const rm = path => unlink(path).catch(() => {});
42089
- const cmdShim = (from, to) => stat(from).then(() => cmdShim_(from, to));
42090
- const cmdShim_ = (from, to) => Promise.all([rm(to), rm(to + '.cmd'), rm(to + '.ps1')]).then(() => writeShim(from, to));
42091
- const writeShim = (from, to) =>
42092
- // make a cmd file and a sh script
42093
- // First, check if the bin is a #! of some sort.
42094
- // If not, then assume it's something that'll be compiled, or some other
42095
- // sort of script, and just call it directly.
42096
- mkdir(dirname(to), {
42097
- recursive: true
42098
- }).then(() => readFile(from, 'utf8')).then(data => {
42099
- const firstLine = data.trim().split(/\r*\n/)[0];
42100
- const shebang = firstLine.match(shebangExpr);
42101
- if (!shebang) {
42102
- return writeShim_(from, to);
42103
- }
42104
- const vars = shebang[1] || '';
42105
- const prog = shebang[2];
42106
- const args = shebang[3] || '';
42107
- return writeShim_(from, to, prog, args, vars);
42108
- }, () => writeShim_(from, to));
42109
- const writeShim_ = (from, to, prog, args, variables) => {
42110
- let shTarget = relative(dirname(to), from);
42111
- let target = shTarget.split('/').join('\\');
42112
- let longProg;
42113
- let shProg = prog && prog.split('\\').join('/');
42114
- let shLongProg;
42115
- let pwshProg = shProg && `"${shProg}$exe"`;
42116
- let pwshLongProg;
42117
- shTarget = shTarget.split('\\').join('/');
42118
- args = args || '';
42119
- variables = variables || '';
42120
- if (!prog) {
42121
- prog = `"%dp0%\\${target}"`;
42122
- shProg = `"$basedir/${shTarget}"`;
42123
- pwshProg = shProg;
42124
- args = '';
42125
- target = '';
42126
- shTarget = '';
42127
- } else {
42128
- longProg = `"%dp0%\\${prog}.exe"`;
42129
- shLongProg = `"$basedir/${prog}"`;
42130
- pwshLongProg = `"$basedir/${prog}$exe"`;
42131
- target = `"%dp0%\\${target}"`;
42132
- shTarget = `"$basedir/${shTarget}"`;
42133
- }
42134
-
42135
- // Subroutine trick to fix https://github.com/npm/cmd-shim/issues/10
42136
- // and https://github.com/npm/cli/issues/969
42137
- const head = '@ECHO off\r\n' + 'GOTO start\r\n' + ':find_dp0\r\n' + 'SET dp0=%~dp0\r\n' + 'EXIT /b\r\n' + ':start\r\n' + 'SETLOCAL\r\n' + 'CALL :find_dp0\r\n';
42138
- let cmd;
42139
- if (longProg) {
42140
- shLongProg = shLongProg.trim();
42141
- args = args.trim();
42142
- const variablesBatch = toBatchSyntax.convertToSetCommands(variables);
42143
- cmd = head + variablesBatch + '\r\n' + `IF EXIST ${longProg} (\r\n` + ` SET "_prog=${longProg.replace(/(^")|("$)/g, '')}"\r\n` + ') ELSE (\r\n' + ` SET "_prog=${prog.replace(/(^")|("$)/g, '')}"\r\n` + ' SET PATHEXT=%PATHEXT:;.JS;=;%\r\n' + ')\r\n' + '\r\n'
42144
- // prevent "Terminate Batch Job? (Y/n)" message
42145
- // https://github.com/npm/cli/issues/969#issuecomment-737496588
42146
- + 'endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & ' + `"%_prog%" ${args} ${target} %*\r\n`;
42147
- } else {
42148
- cmd = `${head}${prog} ${args} ${target} %*\r\n`;
42149
- }
42150
-
42151
- // #!/bin/sh
42152
- // basedir=`dirname "$0"`
42153
- //
42154
- // case `uname` in
42155
- // *CYGWIN*|*MINGW*|*MSYS*)
42156
- // if command -v cygpath > /dev/null 2>&1; then
42157
- // basedir=`cygpath -w "$basedir"`
42158
- // fi
42159
- // ;;
42160
- // esac
42161
- //
42162
- // if [ -x "$basedir/node.exe" ]; then
42163
- // exec "$basedir/node.exe" "$basedir/node_modules/npm/bin/npm-cli.js" "$@"
42164
- // else
42165
- // exec node "$basedir/node_modules/npm/bin/npm-cli.js" "$@"
42166
- // fi
42167
-
42168
- let sh = '#!/bin/sh\n';
42169
- sh = sh + `basedir=$(dirname "$(echo "$0" | sed -e 's,\\\\,/,g')")\n` + '\n' + 'case `uname` in\n' + ' *CYGWIN*|*MINGW*|*MSYS*)\n' + ' if command -v cygpath > /dev/null 2>&1; then\n' + ' basedir=`cygpath -w "$basedir"`\n' + ' fi\n' + ' ;;\n' + 'esac\n' + '\n';
42170
- if (shLongProg) {
42171
- sh = sh + `if [ -x ${shLongProg} ]; then\n` + ` exec ${variables}${shLongProg} ${args} ${shTarget} "$@"\n` + 'else \n' + ` exec ${variables}${shProg} ${args} ${shTarget} "$@"\n` + 'fi\n';
42172
- } else {
42173
- sh = sh + `exec ${shProg} ${args} ${shTarget} "$@"\n`;
42174
- }
42175
-
42176
- // #!/usr/bin/env pwsh
42177
- // $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
42178
- //
42179
- // $ret=0
42180
- // $exe = ""
42181
- // if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
42182
- // # Fix case when both the Windows and Linux builds of Node
42183
- // # are installed in the same directory
42184
- // $exe = ".exe"
42185
- // }
42186
- // if (Test-Path "$basedir/node") {
42187
- // # Suport pipeline input
42188
- // if ($MyInvocation.ExpectingInput) {
42189
- // input | & "$basedir/node$exe" "$basedir/node_modules/npm/bin/npm-cli.js" $args
42190
- // } else {
42191
- // & "$basedir/node$exe" "$basedir/node_modules/npm/bin/npm-cli.js" $args
42192
- // }
42193
- // $ret=$LASTEXITCODE
42194
- // } else {
42195
- // # Support pipeline input
42196
- // if ($MyInvocation.ExpectingInput) {
42197
- // $input | & "node$exe" "$basedir/node_modules/npm/bin/npm-cli.js" $args
42198
- // } else {
42199
- // & "node$exe" "$basedir/node_modules/npm/bin/npm-cli.js" $args
42200
- // }
42201
- // $ret=$LASTEXITCODE
42202
- // }
42203
- // exit $ret
42204
- let pwsh = '#!/usr/bin/env pwsh\n' + '$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent\n' + '\n' + '$exe=""\n' + 'if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {\n' + ' # Fix case when both the Windows and Linux builds of Node\n' + ' # are installed in the same directory\n' + ' $exe=".exe"\n' + '}\n';
42205
- if (shLongProg) {
42206
- pwsh = pwsh + '$ret=0\n' + `if (Test-Path ${pwshLongProg}) {\n` + ' # Support pipeline input\n' + ' if ($MyInvocation.ExpectingInput) {\n' + ` $input | & ${pwshLongProg} ${args} ${shTarget} $args\n` + ' } else {\n' + ` & ${pwshLongProg} ${args} ${shTarget} $args\n` + ' }\n' + ' $ret=$LASTEXITCODE\n' + '} else {\n' + ' # Support pipeline input\n' + ' if ($MyInvocation.ExpectingInput) {\n' + ` $input | & ${pwshProg} ${args} ${shTarget} $args\n` + ' } else {\n' + ` & ${pwshProg} ${args} ${shTarget} $args\n` + ' }\n' + ' $ret=$LASTEXITCODE\n' + '}\n' + 'exit $ret\n';
42207
- } else {
42208
- pwsh = pwsh + '# Support pipeline input\n' + 'if ($MyInvocation.ExpectingInput) {\n' + ` $input | & ${pwshProg} ${args} ${shTarget} $args\n` + '} else {\n' + ` & ${pwshProg} ${args} ${shTarget} $args\n` + '}\n' + 'exit $LASTEXITCODE\n';
42209
- }
42210
- return Promise.all([writeFile(to + '.ps1', pwsh, 'utf8'), writeFile(to + '.cmd', cmd, 'utf8'), writeFile(to, sh, 'utf8')]).then(() => chmodShim(to));
42211
- };
42212
- const chmodShim = to => Promise.all([chmod(to, 0o755), chmod(to + '.cmd', 0o755), chmod(to + '.ps1', 0o755)]);
42213
- lib$K = cmdShim;
42214
- cmdShim.ifExists = cmdShimIfExists;
42215
- return lib$K;
42216
- }
42217
-
42218
- var libExports = requireLib$K();
42219
-
42220
41999
  class RequestError extends Error {
42221
42000
  name;
42222
42001
  /**
@@ -50260,11 +50039,11 @@ function requireFromUrl$1() {
50260
50039
  return fromUrl$1;
50261
50040
  }
50262
50041
 
50263
- var lib$J;
50264
- var hasRequiredLib$J;
50265
- function requireLib$J() {
50266
- if (hasRequiredLib$J) return lib$J;
50267
- hasRequiredLib$J = 1;
50042
+ var lib$K;
50043
+ var hasRequiredLib$K;
50044
+ function requireLib$K() {
50045
+ if (hasRequiredLib$K) return lib$K;
50046
+ hasRequiredLib$K = 1;
50268
50047
  const {
50269
50048
  LRUCache
50270
50049
  } = /*@__PURE__*/requireCommonjs$h();
@@ -50493,18 +50272,18 @@ function requireLib$J() {
50493
50272
  for (const [name, host] of Object.entries(hosts)) {
50494
50273
  GitHost.addHost(name, host);
50495
50274
  }
50496
- lib$J = GitHost;
50497
- return lib$J;
50275
+ lib$K = GitHost;
50276
+ return lib$K;
50498
50277
  }
50499
50278
 
50500
- var lib$I;
50501
- var hasRequiredLib$I;
50502
- function requireLib$I() {
50503
- if (hasRequiredLib$I) return lib$I;
50504
- hasRequiredLib$I = 1;
50279
+ var lib$J;
50280
+ var hasRequiredLib$J;
50281
+ function requireLib$J() {
50282
+ if (hasRequiredLib$J) return lib$J;
50283
+ hasRequiredLib$J = 1;
50505
50284
  const {
50506
50285
  builtinModules: builtins
50507
- } = require$$0$l;
50286
+ } = require$$0$k;
50508
50287
  var scopedPackagePattern = new RegExp('^(?:@([^/]+?)[/])?([^/]+?)$');
50509
50288
  var exclusionList = ['node_modules', 'favicon.ico'];
50510
50289
  function validate(name) {
@@ -50591,17 +50370,17 @@ function requireLib$I() {
50591
50370
  }
50592
50371
  return result;
50593
50372
  };
50594
- lib$I = validate;
50595
- return lib$I;
50373
+ lib$J = validate;
50374
+ return lib$J;
50596
50375
  }
50597
50376
 
50598
- var lib$H;
50599
- var hasRequiredLib$H;
50600
- function requireLib$H() {
50601
- if (hasRequiredLib$H) return lib$H;
50602
- hasRequiredLib$H = 1;
50377
+ var lib$I;
50378
+ var hasRequiredLib$I;
50379
+ function requireLib$I() {
50380
+ if (hasRequiredLib$I) return lib$I;
50381
+ hasRequiredLib$I = 1;
50603
50382
  const META = Symbol('proc-log.meta');
50604
- lib$H = {
50383
+ lib$I = {
50605
50384
  META: META,
50606
50385
  output: {
50607
50386
  LEVELS: ['standard', 'error', 'buffer', 'flush'],
@@ -50730,7 +50509,7 @@ function requireLib$H() {
50730
50509
  }
50731
50510
  }
50732
50511
  };
50733
- return lib$H;
50512
+ return lib$I;
50734
50513
  }
50735
50514
 
50736
50515
  var hasRequiredNpa;
@@ -50746,12 +50525,12 @@ function requireNpa() {
50746
50525
  const {
50747
50526
  homedir
50748
50527
  } = os$3;
50749
- const HostedGit = requireLib$J();
50528
+ const HostedGit = requireLib$K();
50750
50529
  const semver = requireSemver();
50751
- const validatePackageName = requireLib$I();
50530
+ const validatePackageName = requireLib$J();
50752
50531
  const {
50753
50532
  log
50754
- } = requireLib$H();
50533
+ } = requireLib$I();
50755
50534
  const hasSlashes = isWindows ? /\\|[/]/ : /[/]/;
50756
50535
  const isURL = /^(?:git[+])?[a-z]+:/i;
50757
50536
  const isGit = /^[^@]+@[^:.]+\.[^:]+:.+$/i;
@@ -63450,6 +63229,227 @@ function superRefine(fn) {
63450
63229
  return _superRefine(fn);
63451
63230
  }
63452
63231
 
63232
+ var toBatchSyntax = {};
63233
+
63234
+ var hasRequiredToBatchSyntax;
63235
+ function requireToBatchSyntax() {
63236
+ if (hasRequiredToBatchSyntax) return toBatchSyntax;
63237
+ hasRequiredToBatchSyntax = 1;
63238
+ toBatchSyntax.replaceDollarWithPercentPair = replaceDollarWithPercentPair;
63239
+ toBatchSyntax.convertToSetCommand = convertToSetCommand;
63240
+ toBatchSyntax.convertToSetCommands = convertToSetCommands;
63241
+ function convertToSetCommand(key, value) {
63242
+ var line = '';
63243
+ key = key || '';
63244
+ key = key.trim();
63245
+ value = value || '';
63246
+ value = value.trim();
63247
+ if (key && value && value.length > 0) {
63248
+ line = '@SET ' + key + '=' + replaceDollarWithPercentPair(value) + '\r\n';
63249
+ }
63250
+ return line;
63251
+ }
63252
+ function extractVariableValuePairs(declarations) {
63253
+ var pairs = {};
63254
+ declarations.map(function (declaration) {
63255
+ var split = declaration.split('=');
63256
+ pairs[split[0]] = split[1];
63257
+ });
63258
+ return pairs;
63259
+ }
63260
+ function convertToSetCommands(variableString) {
63261
+ var variableValuePairs = extractVariableValuePairs(variableString.split(' '));
63262
+ var variableDeclarationsAsBatch = '';
63263
+ Object.keys(variableValuePairs).forEach(function (key) {
63264
+ variableDeclarationsAsBatch += convertToSetCommand(key, variableValuePairs[key]);
63265
+ });
63266
+ return variableDeclarationsAsBatch;
63267
+ }
63268
+ function replaceDollarWithPercentPair(value) {
63269
+ var dollarExpressions = /\$\{?([^$@#?\- \t{}:]+)\}?/g;
63270
+ var result = '';
63271
+ var startIndex = 0;
63272
+ do {
63273
+ var match = dollarExpressions.exec(value);
63274
+ if (match) {
63275
+ var betweenMatches = value.substring(startIndex, match.index) || '';
63276
+ result += betweenMatches + '%' + match[1] + '%';
63277
+ startIndex = dollarExpressions.lastIndex;
63278
+ }
63279
+ } while (dollarExpressions.lastIndex > 0);
63280
+ result += value.slice(startIndex);
63281
+ return result;
63282
+ }
63283
+ return toBatchSyntax;
63284
+ }
63285
+
63286
+ var lib$H;
63287
+ var hasRequiredLib$H;
63288
+ function requireLib$H() {
63289
+ if (hasRequiredLib$H) return lib$H;
63290
+ hasRequiredLib$H = 1;
63291
+ // On windows, create a .cmd file.
63292
+ // Read the #! in the file to see what it uses. The vast majority
63293
+ // of the time, this will be either:
63294
+ // "#!/usr/bin/env <prog> <args...>"
63295
+ // or:
63296
+ // "#!<prog> <args...>"
63297
+ //
63298
+ // Write a binroot/pkg.bin + ".cmd" file that has this line in it:
63299
+ // @<prog> <args...> %dp0%<target> %*
63300
+
63301
+ const {
63302
+ chmod,
63303
+ mkdir,
63304
+ readFile,
63305
+ stat,
63306
+ unlink,
63307
+ writeFile
63308
+ } = require$$0$l;
63309
+ const {
63310
+ dirname,
63311
+ relative
63312
+ } = require$$0$d;
63313
+ const toBatchSyntax = requireToBatchSyntax();
63314
+ // linting disabled because this regex is really long
63315
+ // eslint-disable-next-line max-len
63316
+ const shebangExpr = /^#!\s*(?:\/usr\/bin\/env\s+(?:-S\s+)?((?:[^ \t=]+=[^ \t=]+\s+)*))?([^ \t]+)(.*)$/;
63317
+ const cmdShimIfExists = (from, to) => stat(from).then(() => cmdShim(from, to), () => {});
63318
+
63319
+ // Try to unlink, but ignore errors.
63320
+ // Any problems will surface later.
63321
+ const rm = path => unlink(path).catch(() => {});
63322
+ const cmdShim = (from, to) => stat(from).then(() => cmdShim_(from, to));
63323
+ const cmdShim_ = (from, to) => Promise.all([rm(to), rm(to + '.cmd'), rm(to + '.ps1')]).then(() => writeShim(from, to));
63324
+ const writeShim = (from, to) =>
63325
+ // make a cmd file and a sh script
63326
+ // First, check if the bin is a #! of some sort.
63327
+ // If not, then assume it's something that'll be compiled, or some other
63328
+ // sort of script, and just call it directly.
63329
+ mkdir(dirname(to), {
63330
+ recursive: true
63331
+ }).then(() => readFile(from, 'utf8')).then(data => {
63332
+ const firstLine = data.trim().split(/\r*\n/)[0];
63333
+ const shebang = firstLine.match(shebangExpr);
63334
+ if (!shebang) {
63335
+ return writeShim_(from, to);
63336
+ }
63337
+ const vars = shebang[1] || '';
63338
+ const prog = shebang[2];
63339
+ const args = shebang[3] || '';
63340
+ return writeShim_(from, to, prog, args, vars);
63341
+ }, () => writeShim_(from, to));
63342
+ const writeShim_ = (from, to, prog, args, variables) => {
63343
+ let shTarget = relative(dirname(to), from);
63344
+ let target = shTarget.split('/').join('\\');
63345
+ let longProg;
63346
+ let shProg = prog && prog.split('\\').join('/');
63347
+ let shLongProg;
63348
+ let pwshProg = shProg && `"${shProg}$exe"`;
63349
+ let pwshLongProg;
63350
+ shTarget = shTarget.split('\\').join('/');
63351
+ args = args || '';
63352
+ variables = variables || '';
63353
+ if (!prog) {
63354
+ prog = `"%dp0%\\${target}"`;
63355
+ shProg = `"$basedir/${shTarget}"`;
63356
+ pwshProg = shProg;
63357
+ args = '';
63358
+ target = '';
63359
+ shTarget = '';
63360
+ } else {
63361
+ longProg = `"%dp0%\\${prog}.exe"`;
63362
+ shLongProg = `"$basedir/${prog}"`;
63363
+ pwshLongProg = `"$basedir/${prog}$exe"`;
63364
+ target = `"%dp0%\\${target}"`;
63365
+ shTarget = `"$basedir/${shTarget}"`;
63366
+ }
63367
+
63368
+ // Subroutine trick to fix https://github.com/npm/cmd-shim/issues/10
63369
+ // and https://github.com/npm/cli/issues/969
63370
+ const head = '@ECHO off\r\n' + 'GOTO start\r\n' + ':find_dp0\r\n' + 'SET dp0=%~dp0\r\n' + 'EXIT /b\r\n' + ':start\r\n' + 'SETLOCAL\r\n' + 'CALL :find_dp0\r\n';
63371
+ let cmd;
63372
+ if (longProg) {
63373
+ shLongProg = shLongProg.trim();
63374
+ args = args.trim();
63375
+ const variablesBatch = toBatchSyntax.convertToSetCommands(variables);
63376
+ cmd = head + variablesBatch + '\r\n' + `IF EXIST ${longProg} (\r\n` + ` SET "_prog=${longProg.replace(/(^")|("$)/g, '')}"\r\n` + ') ELSE (\r\n' + ` SET "_prog=${prog.replace(/(^")|("$)/g, '')}"\r\n` + ' SET PATHEXT=%PATHEXT:;.JS;=;%\r\n' + ')\r\n' + '\r\n'
63377
+ // prevent "Terminate Batch Job? (Y/n)" message
63378
+ // https://github.com/npm/cli/issues/969#issuecomment-737496588
63379
+ + 'endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & ' + `"%_prog%" ${args} ${target} %*\r\n`;
63380
+ } else {
63381
+ cmd = `${head}${prog} ${args} ${target} %*\r\n`;
63382
+ }
63383
+
63384
+ // #!/bin/sh
63385
+ // basedir=`dirname "$0"`
63386
+ //
63387
+ // case `uname` in
63388
+ // *CYGWIN*|*MINGW*|*MSYS*)
63389
+ // if command -v cygpath > /dev/null 2>&1; then
63390
+ // basedir=`cygpath -w "$basedir"`
63391
+ // fi
63392
+ // ;;
63393
+ // esac
63394
+ //
63395
+ // if [ -x "$basedir/node.exe" ]; then
63396
+ // exec "$basedir/node.exe" "$basedir/node_modules/npm/bin/npm-cli.js" "$@"
63397
+ // else
63398
+ // exec node "$basedir/node_modules/npm/bin/npm-cli.js" "$@"
63399
+ // fi
63400
+
63401
+ let sh = '#!/bin/sh\n';
63402
+ sh = sh + `basedir=$(dirname "$(echo "$0" | sed -e 's,\\\\,/,g')")\n` + '\n' + 'case `uname` in\n' + ' *CYGWIN*|*MINGW*|*MSYS*)\n' + ' if command -v cygpath > /dev/null 2>&1; then\n' + ' basedir=`cygpath -w "$basedir"`\n' + ' fi\n' + ' ;;\n' + 'esac\n' + '\n';
63403
+ if (shLongProg) {
63404
+ sh = sh + `if [ -x ${shLongProg} ]; then\n` + ` exec ${variables}${shLongProg} ${args} ${shTarget} "$@"\n` + 'else \n' + ` exec ${variables}${shProg} ${args} ${shTarget} "$@"\n` + 'fi\n';
63405
+ } else {
63406
+ sh = sh + `exec ${shProg} ${args} ${shTarget} "$@"\n`;
63407
+ }
63408
+
63409
+ // #!/usr/bin/env pwsh
63410
+ // $basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
63411
+ //
63412
+ // $ret=0
63413
+ // $exe = ""
63414
+ // if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
63415
+ // # Fix case when both the Windows and Linux builds of Node
63416
+ // # are installed in the same directory
63417
+ // $exe = ".exe"
63418
+ // }
63419
+ // if (Test-Path "$basedir/node") {
63420
+ // # Suport pipeline input
63421
+ // if ($MyInvocation.ExpectingInput) {
63422
+ // input | & "$basedir/node$exe" "$basedir/node_modules/npm/bin/npm-cli.js" $args
63423
+ // } else {
63424
+ // & "$basedir/node$exe" "$basedir/node_modules/npm/bin/npm-cli.js" $args
63425
+ // }
63426
+ // $ret=$LASTEXITCODE
63427
+ // } else {
63428
+ // # Support pipeline input
63429
+ // if ($MyInvocation.ExpectingInput) {
63430
+ // $input | & "node$exe" "$basedir/node_modules/npm/bin/npm-cli.js" $args
63431
+ // } else {
63432
+ // & "node$exe" "$basedir/node_modules/npm/bin/npm-cli.js" $args
63433
+ // }
63434
+ // $ret=$LASTEXITCODE
63435
+ // }
63436
+ // exit $ret
63437
+ let pwsh = '#!/usr/bin/env pwsh\n' + '$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent\n' + '\n' + '$exe=""\n' + 'if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {\n' + ' # Fix case when both the Windows and Linux builds of Node\n' + ' # are installed in the same directory\n' + ' $exe=".exe"\n' + '}\n';
63438
+ if (shLongProg) {
63439
+ pwsh = pwsh + '$ret=0\n' + `if (Test-Path ${pwshLongProg}) {\n` + ' # Support pipeline input\n' + ' if ($MyInvocation.ExpectingInput) {\n' + ` $input | & ${pwshLongProg} ${args} ${shTarget} $args\n` + ' } else {\n' + ` & ${pwshLongProg} ${args} ${shTarget} $args\n` + ' }\n' + ' $ret=$LASTEXITCODE\n' + '} else {\n' + ' # Support pipeline input\n' + ' if ($MyInvocation.ExpectingInput) {\n' + ` $input | & ${pwshProg} ${args} ${shTarget} $args\n` + ' } else {\n' + ` & ${pwshProg} ${args} ${shTarget} $args\n` + ' }\n' + ' $ret=$LASTEXITCODE\n' + '}\n' + 'exit $ret\n';
63440
+ } else {
63441
+ pwsh = pwsh + '# Support pipeline input\n' + 'if ($MyInvocation.ExpectingInput) {\n' + ` $input | & ${pwshProg} ${args} ${shTarget} $args\n` + '} else {\n' + ` & ${pwshProg} ${args} ${shTarget} $args\n` + '}\n' + 'exit $LASTEXITCODE\n';
63442
+ }
63443
+ return Promise.all([writeFile(to + '.ps1', pwsh, 'utf8'), writeFile(to + '.cmd', cmd, 'utf8'), writeFile(to, sh, 'utf8')]).then(() => chmodShim(to));
63444
+ };
63445
+ const chmodShim = to => Promise.all([chmod(to, 0o755), chmod(to + '.cmd', 0o755), chmod(to + '.ps1', 0o755)]);
63446
+ lib$H = cmdShim;
63447
+ cmdShim.ifExists = cmdShimIfExists;
63448
+ return lib$H;
63449
+ }
63450
+
63451
+ var libExports = requireLib$H();
63452
+
63453
63453
  /*! @zkochan/js-yaml 0.0.10 https://github.com/nodeca/js-yaml @license MIT */
63454
63454
  function isNothing(subject) {
63455
63455
  return typeof subject === 'undefined' || subject === null;
@@ -66770,7 +66770,7 @@ function requireOverrideSet() {
66770
66770
  const semver = requireSemver();
66771
66771
  const {
66772
66772
  log
66773
- } = requireLib$H();
66773
+ } = requireLib$I();
66774
66774
  class OverrideSet {
66775
66775
  constructor({
66776
66776
  overrides,
@@ -67652,7 +67652,7 @@ function requireLib$D() {
67652
67652
  readFile,
67653
67653
  lstat,
67654
67654
  readdir
67655
- } = require$$0$k;
67655
+ } = require$$0$l;
67656
67656
  const parse = requireLib$F();
67657
67657
  const normalizePackageBin = requireLib$E();
67658
67658
  const {
@@ -68665,7 +68665,7 @@ function requireFixBin() {
68665
68665
  chmod,
68666
68666
  open,
68667
68667
  readFile
68668
- } = require$$0$k;
68668
+ } = require$$0$l;
68669
68669
  const execMode = 0o777 & ~process.umask();
68670
68670
  const writeFileAtomic = requireLib$B();
68671
68671
  const isWindowsHashBang = buf => buf[0] === '#'.charCodeAt(0) && buf[1] === '!'.charCodeAt(0) && /^#![^\n]+\r\n/.test(buf.toString());
@@ -68698,13 +68698,13 @@ function requireShimBin() {
68698
68698
  } = require$$0$d;
68699
68699
  const {
68700
68700
  lstat
68701
- } = require$$0$k;
68701
+ } = require$$0$l;
68702
68702
  const throwNonEnoent = er => {
68703
68703
  if (er.code !== 'ENOENT') {
68704
68704
  throw er;
68705
68705
  }
68706
68706
  };
68707
- const cmdShim = requireLib$K();
68707
+ const cmdShim = requireLib$H();
68708
68708
  const readCmdShim = requireLib$C();
68709
68709
  const fixBin = requireFixBin();
68710
68710
 
@@ -68805,10 +68805,10 @@ function requireLinkGently() {
68805
68805
  readlink,
68806
68806
  rm,
68807
68807
  symlink
68808
- } = require$$0$k;
68808
+ } = require$$0$l;
68809
68809
  const {
68810
68810
  log
68811
- } = requireLib$H();
68811
+ } = requireLib$I();
68812
68812
  const throwSignificant = er => {
68813
68813
  if (er.code === 'ENOENT') {
68814
68814
  return;
@@ -69077,7 +69077,7 @@ function requireCheckBin() {
69077
69077
  const readCmdShim = requireLib$C();
69078
69078
  const {
69079
69079
  readlink
69080
- } = require$$0$k;
69080
+ } = require$$0$l;
69081
69081
  const checkBin = async ({
69082
69082
  bin,
69083
69083
  path,
@@ -83864,7 +83864,7 @@ function requireNormalizeData$1() {
83864
83864
  const {
83865
83865
  URL
83866
83866
  } = require$$0$7;
83867
- const hostedGitInfo = requireLib$J();
83867
+ const hostedGitInfo = requireLib$K();
83868
83868
  const validateLicense = requireValidateNpmPackageLicense();
83869
83869
  const typos = {
83870
83870
  dependancies: 'dependencies',
@@ -84140,7 +84140,7 @@ function requirePosix() {
84140
84140
  });
84141
84141
  posix.sync = posix.isexe = void 0;
84142
84142
  const fs_1 = require$$0$b;
84143
- const promises_1 = require$$0$k;
84143
+ const promises_1 = require$$0$l;
84144
84144
  /**
84145
84145
  * Determine whether a path is executable according to the mode and
84146
84146
  * current (or specified) user and group IDs.
@@ -84213,7 +84213,7 @@ function requireWin32() {
84213
84213
  });
84214
84214
  win32.sync = win32.isexe = void 0;
84215
84215
  const fs_1 = require$$0$b;
84216
- const promises_1 = require$$0$k;
84216
+ const promises_1 = require$$0$l;
84217
84217
  /**
84218
84218
  * Determine whether a path is executable based on the file extension
84219
84219
  * and PATHEXT environment variable (or specified pathExt option)
@@ -85249,7 +85249,7 @@ function requireSpawn() {
85249
85249
  const promiseRetry = requirePromiseRetry();
85250
85250
  const {
85251
85251
  log
85252
- } = requireLib$H();
85252
+ } = requireLib$I();
85253
85253
  const makeError = requireMakeError();
85254
85254
  const makeOpts = requireOpts();
85255
85255
  spawn_1 = (gitArgs, opts = {}) => {
@@ -87547,7 +87547,7 @@ function requireClone() {
87547
87547
  isWindows
87548
87548
  } = requireUtils$3();
87549
87549
  const pickManifest = requireLib$v();
87550
- const fs = require$$0$k;
87550
+ const fs = require$$0$l;
87551
87551
  clone_1 = (repo, ref = 'HEAD', target = null, opts = {}) => getRevs(repo, opts).then(revs => clone(repo, revs, ref, resolveRef(revs, ref, opts), target || defaultTarget(repo, opts.cwd), opts));
87552
87552
  const maybeShallow = (repo, opts) => {
87553
87553
  if (opts.gitShallow === false || opts.gitShallow) {
@@ -87664,7 +87664,7 @@ function requireIs() {
87664
87664
  // not an airtight indicator, but a good gut-check to even bother trying
87665
87665
  const {
87666
87666
  stat
87667
- } = require$$0$k;
87667
+ } = require$$0$l;
87668
87668
  is = ({
87669
87669
  cwd = process.cwd()
87670
87670
  } = {}) => stat(cwd + '/.git').then(() => true, () => false);
@@ -87738,7 +87738,7 @@ function requireNormalize$1() {
87738
87738
  const path = path$4;
87739
87739
  const {
87740
87740
  log
87741
- } = requireLib$H();
87741
+ } = requireLib$I();
87742
87742
  const moduleBuiltin = require$$5$4;
87743
87743
 
87744
87744
  /**
@@ -87747,7 +87747,7 @@ function requireNormalize$1() {
87747
87747
  let _hostedGitInfo;
87748
87748
  function lazyHostedGitInfo() {
87749
87749
  if (!_hostedGitInfo) {
87750
- _hostedGitInfo = requireLib$J();
87750
+ _hostedGitInfo = requireLib$K();
87751
87751
  }
87752
87752
  return _hostedGitInfo;
87753
87753
  }
@@ -88355,7 +88355,7 @@ function requireReadPackage$1() {
88355
88355
 
88356
88356
  const {
88357
88357
  readFile
88358
- } = require$$0$k;
88358
+ } = require$$0$l;
88359
88359
  const parseJSON = requireLib$F();
88360
88360
  async function read(filename) {
88361
88361
  try {
@@ -90302,7 +90302,7 @@ function requirePolyfill() {
90302
90302
  symlink,
90303
90303
  unlink,
90304
90304
  utimes
90305
- } = require$$0$k;
90305
+ } = require$$0$l;
90306
90306
  const {
90307
90307
  dirname,
90308
90308
  isAbsolute,
@@ -90666,7 +90666,7 @@ var hasRequiredCp;
90666
90666
  function requireCp() {
90667
90667
  if (hasRequiredCp) return cp_1;
90668
90668
  hasRequiredCp = 1;
90669
- const fs = require$$0$k;
90669
+ const fs = require$$0$l;
90670
90670
  const getOptions = requireGetOptions();
90671
90671
  const node = requireNode$2();
90672
90672
  const polyfill = requirePolyfill();
@@ -90701,7 +90701,7 @@ function requireWithTempDir() {
90701
90701
  mkdir,
90702
90702
  mkdtemp,
90703
90703
  rm
90704
- } = require$$0$k;
90704
+ } = require$$0$l;
90705
90705
 
90706
90706
  // create a temp directory, ensure its permissions match its parent, then call
90707
90707
  // the supplied function passing it the path to the directory. clean up after
@@ -90746,7 +90746,7 @@ function requireReaddirScoped() {
90746
90746
  hasRequiredReaddirScoped = 1;
90747
90747
  const {
90748
90748
  readdir
90749
- } = require$$0$k;
90749
+ } = require$$0$l;
90750
90750
  const {
90751
90751
  join
90752
90752
  } = require$$0$d;
@@ -90779,7 +90779,7 @@ function requireMoveFile() {
90779
90779
  relative,
90780
90780
  isAbsolute
90781
90781
  } = require$$0$d;
90782
- const fs = require$$0$k;
90782
+ const fs = require$$0$l;
90783
90783
  const pathExists = async path => {
90784
90784
  try {
90785
90785
  await fs.access(path);
@@ -90886,7 +90886,7 @@ function requireEntryIndex$1() {
90886
90886
  readdir,
90887
90887
  rm,
90888
90888
  writeFile
90889
- } = require$$0$k;
90889
+ } = require$$0$l;
90890
90890
  const {
90891
90891
  Minipass
90892
90892
  } = requireCommonjs$b();
@@ -91666,7 +91666,7 @@ var hasRequiredRead$1;
91666
91666
  function requireRead$1() {
91667
91667
  if (hasRequiredRead$1) return read$1.exports;
91668
91668
  hasRequiredRead$1 = 1;
91669
- const fs = require$$0$k;
91669
+ const fs = require$$0$l;
91670
91670
  const fsm = requireLib$o();
91671
91671
  const ssri = requireLib$s();
91672
91672
  const contentPath = requirePath$1();
@@ -92054,7 +92054,7 @@ function requireWrite$1() {
92054
92054
  hasRequiredWrite$1 = 1;
92055
92055
  const events = require$$0$c;
92056
92056
  const contentPath = requirePath$1();
92057
- const fs = require$$0$k;
92057
+ const fs = require$$0$l;
92058
92058
  const {
92059
92059
  moveFile
92060
92060
  } = requireLib$p();
@@ -92359,7 +92359,7 @@ var hasRequiredRm$3;
92359
92359
  function requireRm$3() {
92360
92360
  if (hasRequiredRm$3) return rm_1$1;
92361
92361
  hasRequiredRm$3 = 1;
92362
- const fs = require$$0$k;
92362
+ const fs = require$$0$l;
92363
92363
  const contentPath = requirePath$1();
92364
92364
  const {
92365
92365
  hasContent
@@ -92387,7 +92387,7 @@ function requireRm$2() {
92387
92387
  hasRequiredRm$2 = 1;
92388
92388
  const {
92389
92389
  rm
92390
- } = require$$0$k;
92390
+ } = require$$0$l;
92391
92391
  const glob = requireGlob$2();
92392
92392
  const index = requireEntryIndex$1();
92393
92393
  const memo = requireMemoization$1();
@@ -92432,7 +92432,7 @@ function requireVerify$2() {
92432
92432
  stat,
92433
92433
  truncate,
92434
92434
  writeFile
92435
- } = require$$0$k;
92435
+ } = require$$0$l;
92436
92436
  const contentPath = requirePath$1();
92437
92437
  const fsm = requireLib$o();
92438
92438
  const glob = requireGlob$2();
@@ -92683,7 +92683,7 @@ function requireTmp$1() {
92683
92683
  const {
92684
92684
  withTempDir
92685
92685
  } = requireLib$p();
92686
- const fs = require$$0$k;
92686
+ const fs = require$$0$l;
92687
92687
  const path = require$$0$d;
92688
92688
  tmp$1.mkdir = mktmpdir;
92689
92689
  async function mktmpdir(cache, opts = {}) {
@@ -93011,7 +93011,7 @@ function requireLib$l() {
93011
93011
  readFile,
93012
93012
  readdir,
93013
93013
  stat
93014
- } = require$$0$k;
93014
+ } = require$$0$l;
93015
93015
  const {
93016
93016
  resolve,
93017
93017
  basename,
@@ -100867,7 +100867,7 @@ function requireRunScriptPkg$1() {
100867
100867
  const {
100868
100868
  output,
100869
100869
  input
100870
- } = requireLib$H();
100870
+ } = requireLib$I();
100871
100871
  output.standard(banner);
100872
100872
  inputEnd = input.start();
100873
100873
  }
@@ -114253,7 +114253,7 @@ function requireCheckResponse$1() {
114253
114253
  const defaultOpts = requireDefaultOpts$1();
114254
114254
  const {
114255
114255
  log
114256
- } = requireLib$H();
114256
+ } = requireLib$I();
114257
114257
  const {
114258
114258
  redact: cleanUrl
114259
114259
  } = requireLib$f();
@@ -123251,7 +123251,7 @@ function requireRemote$2() {
123251
123251
  const ssri = requireLib$s();
123252
123252
  const {
123253
123253
  log
123254
- } = requireLib$H();
123254
+ } = requireLib$I();
123255
123255
  const CachingMinipassPipeline = requirePipeline$1();
123256
123256
  const {
123257
123257
  getAgent
@@ -125105,7 +125105,7 @@ function requireGit() {
125105
125105
  } = requireCommonjs$b();
125106
125106
  const {
125107
125107
  log
125108
- } = requireLib$H();
125108
+ } = requireLib$I();
125109
125109
  const DirFetcher = requireDir();
125110
125110
  const Fetcher = requireFetcher();
125111
125111
  const FileFetcher = requireFile$1();
@@ -130263,7 +130263,7 @@ function requireFetch$1() {
130263
130263
  */
130264
130264
  const http2_1 = require$$0$s;
130265
130265
  const make_fetch_happen_1 = __importDefault(requireLib$d());
130266
- const proc_log_1 = requireLib$H();
130266
+ const proc_log_1 = requireLib$I();
130267
130267
  const promise_retry_1 = __importDefault(requirePromiseRetry());
130268
130268
  const util_1 = requireUtil();
130269
130269
  const error_1 = requireError$5();
@@ -133465,7 +133465,7 @@ function requireTmpfile() {
133465
133465
  value: true
133466
133466
  });
133467
133467
  tmpfile.withTempFile = void 0;
133468
- const promises_1 = __importDefault(require$$0$k);
133468
+ const promises_1 = __importDefault(require$$0$l);
133469
133469
  const os_1 = __importDefault(require$$0$f);
133470
133470
  const path_1 = __importDefault(require$$0$d);
133471
133471
  // Invokes the given handler with the path to a temporary file. The file
@@ -137027,7 +137027,7 @@ function requireFetcher() {
137027
137027
  } = requireCommonjs$b();
137028
137028
  const {
137029
137029
  log
137030
- } = requireLib$H();
137030
+ } = requireLib$I();
137031
137031
  const _ = require_protected();
137032
137032
  const cacheDir = requireCacheDir();
137033
137033
  const isPackageBin = requireIsPackageBin();
@@ -137596,7 +137596,7 @@ function requireCheckResponse() {
137596
137596
  const defaultOpts = requireDefaultOpts();
137597
137597
  const {
137598
137598
  log
137599
- } = requireLib$H();
137599
+ } = requireLib$I();
137600
137600
  const {
137601
137601
  redact: cleanUrl
137602
137602
  } = requireLib$f();
@@ -138212,7 +138212,7 @@ function requireEntryIndex() {
138212
138212
  readdir,
138213
138213
  rm,
138214
138214
  writeFile
138215
- } = require$$0$k;
138215
+ } = require$$0$l;
138216
138216
  const {
138217
138217
  Minipass
138218
138218
  } = requireCommonjs$b();
@@ -138603,7 +138603,7 @@ var hasRequiredRead;
138603
138603
  function requireRead() {
138604
138604
  if (hasRequiredRead) return read.exports;
138605
138605
  hasRequiredRead = 1;
138606
- const fs = require$$0$k;
138606
+ const fs = require$$0$l;
138607
138607
  const fsm = requireLib$o();
138608
138608
  const ssri = requireLib$s();
138609
138609
  const contentPath = requirePath();
@@ -138955,7 +138955,7 @@ function requireWrite() {
138955
138955
  hasRequiredWrite = 1;
138956
138956
  const events = require$$0$c;
138957
138957
  const contentPath = requirePath();
138958
- const fs = require$$0$k;
138958
+ const fs = require$$0$l;
138959
138959
  const {
138960
138960
  moveFile
138961
138961
  } = requireLib$p();
@@ -142572,7 +142572,7 @@ var hasRequiredRm$1;
142572
142572
  function requireRm$1() {
142573
142573
  if (hasRequiredRm$1) return rm_1;
142574
142574
  hasRequiredRm$1 = 1;
142575
- const fs = require$$0$k;
142575
+ const fs = require$$0$l;
142576
142576
  const contentPath = requirePath();
142577
142577
  const {
142578
142578
  hasContent
@@ -142600,7 +142600,7 @@ function requireRm() {
142600
142600
  hasRequiredRm = 1;
142601
142601
  const {
142602
142602
  rm: rm$1
142603
- } = require$$0$k;
142603
+ } = require$$0$l;
142604
142604
  const glob = requireGlob();
142605
142605
  const index = requireEntryIndex();
142606
142606
  const memo = requireMemoization();
@@ -142645,7 +142645,7 @@ function requireVerify() {
142645
142645
  stat,
142646
142646
  truncate,
142647
142647
  writeFile
142648
- } = require$$0$k;
142648
+ } = require$$0$l;
142649
142649
  const contentPath = requirePath();
142650
142650
  const fsm = requireLib$o();
142651
142651
  const glob = requireGlob();
@@ -142896,7 +142896,7 @@ function requireTmp() {
142896
142896
  const {
142897
142897
  withTempDir
142898
142898
  } = requireLib$p();
142899
- const fs = require$$0$k;
142899
+ const fs = require$$0$l;
142900
142900
  const path = require$$0$d;
142901
142901
  tmp.mkdir = mktmpdir;
142902
142902
  async function mktmpdir(cache, opts = {}) {
@@ -143056,7 +143056,7 @@ function requireRemote() {
143056
143056
  const ssri = requireLib$s();
143057
143057
  const {
143058
143058
  log
143059
- } = requireLib$H();
143059
+ } = requireLib$I();
143060
143060
  const CachingMinipassPipeline = requirePipeline();
143061
143061
  const {
143062
143062
  getAgent
@@ -144265,7 +144265,7 @@ function requireQuerySelectorAll() {
144265
144265
  const localeCompare = requireStringLocaleCompare()('en');
144266
144266
  const {
144267
144267
  log
144268
- } = requireLib$H();
144268
+ } = requireLib$I();
144269
144269
  const {
144270
144270
  minimatch
144271
144271
  } = requireCommonjs$f();
@@ -145229,7 +145229,7 @@ function requireNode() {
145229
145229
  } = requireCommonjs$g();
145230
145230
  const {
145231
145231
  log
145232
- } = requireLib$H();
145232
+ } = requireLib$I();
145233
145233
  const {
145234
145234
  resolve,
145235
145235
  relative,
@@ -148165,7 +148165,7 @@ function requireNormalize() {
148165
148165
  const path = path$4;
148166
148166
  const {
148167
148167
  log
148168
- } = requireLib$H();
148168
+ } = requireLib$I();
148169
148169
  const moduleBuiltin = require$$5$4;
148170
148170
 
148171
148171
  /**
@@ -148763,7 +148763,7 @@ function requireReadPackage() {
148763
148763
 
148764
148764
  const {
148765
148765
  readFile
148766
- } = require$$0$k;
148766
+ } = require$$0$l;
148767
148767
  const parseJSON = requireLib$F();
148768
148768
  async function read(filename) {
148769
148769
  try {
@@ -149454,7 +149454,7 @@ function requireAddRmPkgDeps() {
149454
149454
 
149455
149455
  const {
149456
149456
  log
149457
- } = requireLib$H();
149457
+ } = requireLib$I();
149458
149458
  const localeCompare = requireStringLocaleCompare()('en');
149459
149459
  const add = ({
149460
149460
  pkg,
@@ -150234,7 +150234,7 @@ function requireLib$2() {
150234
150234
  const cacache = requireLib$9();
150235
150235
  const {
150236
150236
  time
150237
- } = requireLib$H();
150237
+ } = requireLib$I();
150238
150238
  const Advisory = requireAdvisory();
150239
150239
  const {
150240
150240
  homedir
@@ -150377,7 +150377,7 @@ function requireAuditReport() {
150377
150377
  const {
150378
150378
  log,
150379
150379
  time
150380
- } = requireLib$H();
150380
+ } = requireLib$I();
150381
150381
  const npmFetch = requireLib$7();
150382
150382
  class AuditReport extends Map {
150383
150383
  #omit;
@@ -150691,7 +150691,7 @@ function requirePackumentCache() {
150691
150691
  } = require$$1$c;
150692
150692
  const {
150693
150693
  log
150694
- } = requireLib$H();
150694
+ } = requireLib$I();
150695
150695
 
150696
150696
  // This is an in-memory cache that Pacote uses for packuments.
150697
150697
  // Packuments are usually cached on disk. This allows for rapid re-requests
@@ -151934,7 +151934,7 @@ function requirePlaceDep() {
151934
151934
  const localeCompare = requireStringLocaleCompare()('en');
151935
151935
  const {
151936
151936
  log
151937
- } = requireLib$H();
151937
+ } = requireLib$I();
151938
151938
  const {
151939
151939
  redact
151940
151940
  } = requireLib$f();
@@ -153613,7 +153613,7 @@ function requireShrinkwrap() {
153613
153613
 
153614
153614
  const {
153615
153615
  log
153616
- } = requireLib$H();
153616
+ } = requireLib$I();
153617
153617
  const YarnLock = requireYarnLock();
153618
153618
  const {
153619
153619
  readFile,
@@ -154750,7 +154750,7 @@ function requireBuildIdealTree() {
154750
154750
  const {
154751
154751
  log,
154752
154752
  time
154753
- } = requireLib$H();
154753
+ } = requireLib$I();
154754
154754
  const {
154755
154755
  redact
154756
154756
  } = requireLib$f();
@@ -157414,7 +157414,7 @@ function requireRunScriptPkg() {
157414
157414
  const {
157415
157415
  output,
157416
157416
  input
157417
- } = requireLib$H();
157417
+ } = requireLib$I();
157418
157418
  output.standard(banner);
157419
157419
  inputEnd = input.start();
157420
157420
  }
@@ -157571,7 +157571,7 @@ function requireRebuild() {
157571
157571
  const {
157572
157572
  log,
157573
157573
  time
157574
- } = requireLib$H();
157574
+ } = requireLib$I();
157575
157575
  const boolEnv = b => b ? '1' : '';
157576
157576
  const sortNodes = (a, b) => a.depth - b.depth || localeCompare(a.path, b.path);
157577
157577
  const _checkBins = Symbol.for('checkBins');
@@ -158473,7 +158473,7 @@ function requireReify() {
158473
158473
  const {
158474
158474
  log,
158475
158475
  time
158476
- } = requireLib$H();
158476
+ } = requireLib$I();
158477
158477
  const rpj = requireLib$D();
158478
158478
  const hgi = requireLib$5();
158479
158479
  const {
@@ -160553,7 +160553,7 @@ function requireArborist() {
160553
160553
  const {
160554
160554
  log,
160555
160555
  time
160556
- } = requireLib$H();
160556
+ } = requireLib$I();
160557
160557
  const {
160558
160558
  saveTypeMap
160559
160559
  } = requireAddRmPkgDeps();
@@ -160978,5 +160978,5 @@ exports.terminalLinkExports = terminalLinkExports;
160978
160978
  exports.updater = updater$1;
160979
160979
  exports.yargsParser = yargsParser;
160980
160980
  exports.yoctocolorsCjsExports = yoctocolorsCjsExports;
160981
- //# debugId=59077137-40e2-4323-b7ba-aa238fc43b99
160981
+ //# debugId=55276b69-a85b-4093-b8dc-9ccc5865c66c
160982
160982
  //# sourceMappingURL=vendor.js.map