@shopify/cli-hydrogen 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @shopify/cli-hydrogen
2
2
 
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [c6a9450b]
8
+ - Updated dependencies [70d8d50d]
9
+ - @shopify/cli-kit@2.0.2
10
+
3
11
  ## 2.0.1
4
12
 
5
13
  ### Patch Changes
@@ -21,7 +21,7 @@ import 'prettier';
21
21
  import { Command as Command$1 } from '@oclif/core';
22
22
 
23
23
  var name = "@shopify/cli-hydrogen";
24
- var version$1 = "2.0.1";
24
+ var version$1 = "2.0.2";
25
25
  var description$1 = "Commands for building Hydrogen storefronts";
26
26
  var type$2 = "module";
27
27
  var files = [
@@ -53,17 +53,17 @@ var eslintConfig = {
53
53
  ]
54
54
  };
55
55
  var dependencies$1 = {
56
- "@oclif/core": "1.3.6",
56
+ "@oclif/core": "1.7.0",
57
57
  "@shopify/mini-oxygen": "^0.0.5",
58
58
  "@types/prettier": "^2.4.4",
59
59
  prettier: "^2.6.1",
60
- vite: "^2.9.1"
60
+ vite: "^2.9.6"
61
61
  };
62
62
  var peerDependencies = {
63
- "@shopify/cli-kit": "2.0.1"
63
+ "@shopify/cli-kit": "2.0.2"
64
64
  };
65
65
  var devDependencies = {
66
- "@babel/core": "^7.17.8",
66
+ "@babel/core": "^7.17.10",
67
67
  "@shopify/ast-utilities": "^1.3.4",
68
68
  "@shopify/cli-testing": "0.30.2",
69
69
  "@shopify/prettier-config": "^1.1.2",
@@ -90,16 +90,16 @@ var devDependencies = {
90
90
  "fast-glob": "^3.2.11",
91
91
  "fs-extra": "^10.0.0",
92
92
  "get-port": "^5.1.1",
93
- inquirer: "^8.2.2",
93
+ inquirer: "^8.2.4",
94
94
  mime: "^3.0.0",
95
95
  minimist: "^1.2.6",
96
96
  "playwright-chromium": "^1.20.1",
97
97
  semver: "^7.3.5",
98
98
  sirv: "^1.0.14",
99
- typescript: "^4.2.3",
99
+ typescript: "^4.6.4",
100
100
  unconfig: "^0.3.2",
101
- vite: "^2.9.1",
102
- vitest: "0.9.4"
101
+ vite: "^2.9.6",
102
+ vitest: "0.10.0"
103
103
  };
104
104
  var engines = {
105
105
  node: "^14.13.1 || ^16.0.0 || ^17.0.0 || ^18.0.0"
@@ -13515,7 +13515,7 @@ class Package {
13515
13515
 
13516
13516
  var inquirer$1 = {exports: {}};
13517
13517
 
13518
- var ansiStyles$1 = {exports: {}};
13518
+ var ansiStyles$2 = {exports: {}};
13519
13519
 
13520
13520
  var colorName = {
13521
13521
  "aliceblue": [240, 248, 255],
@@ -14851,7 +14851,7 @@ Object.defineProperty(module, 'exports', {
14851
14851
  enumerable: true,
14852
14852
  get: assembleStyles
14853
14853
  });
14854
- }(ansiStyles$1));
14854
+ }(ansiStyles$2));
14855
14855
 
14856
14856
  var hasFlag$1 = (flag, argv = process.argv) => {
14857
14857
  const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--');
@@ -15038,7 +15038,7 @@ const STYLE_REGEX = /(?:^|\.)(\w+)(?:\(([^)]*)\))?/g;
15038
15038
  const STRING_REGEX = /^(['"])((?:\\.|(?!\1)[^\\])*)\1$/;
15039
15039
  const ESCAPE_REGEX = /\\(u(?:[a-f\d]{4}|{[a-f\d]{1,6}})|x[a-f\d]{2}|.)|([^\\])/gi;
15040
15040
 
15041
- const ESCAPES = new Map([
15041
+ const ESCAPES$1 = new Map([
15042
15042
  ['n', '\n'],
15043
15043
  ['r', '\r'],
15044
15044
  ['t', '\t'],
@@ -15063,7 +15063,7 @@ function unescape(c) {
15063
15063
  return String.fromCodePoint(parseInt(c.slice(2, -1), 16));
15064
15064
  }
15065
15065
 
15066
- return ESCAPES.get(c) || c;
15066
+ return ESCAPES$1.get(c) || c;
15067
15067
  }
15068
15068
 
15069
15069
  function parseArguments(name, arguments_) {
@@ -15167,7 +15167,7 @@ var templates = (chalk, temporary) => {
15167
15167
  return chunks.join('');
15168
15168
  };
15169
15169
 
15170
- const ansiStyles = ansiStyles$1.exports;
15170
+ const ansiStyles$1 = ansiStyles$2.exports;
15171
15171
  const {stdout: stdoutColor, stderr: stderrColor} = supportsColor_1;
15172
15172
  const {
15173
15173
  stringReplaceAll,
@@ -15225,7 +15225,7 @@ function Chalk(options) {
15225
15225
  return chalkFactory(options);
15226
15226
  }
15227
15227
 
15228
- for (const [styleName, style] of Object.entries(ansiStyles)) {
15228
+ for (const [styleName, style] of Object.entries(ansiStyles$1)) {
15229
15229
  styles[styleName] = {
15230
15230
  get() {
15231
15231
  const builder = createBuilder(this, createStyler(style.open, style.close, this._styler), this._isEmpty);
@@ -15250,7 +15250,7 @@ for (const model of usedModels) {
15250
15250
  get() {
15251
15251
  const {level} = this;
15252
15252
  return function (...arguments_) {
15253
- const styler = createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_), ansiStyles.color.close, this._styler);
15253
+ const styler = createStyler(ansiStyles$1.color[levelMapping[level]][model](...arguments_), ansiStyles$1.color.close, this._styler);
15254
15254
  return createBuilder(this, styler, this._isEmpty);
15255
15255
  };
15256
15256
  }
@@ -15263,7 +15263,7 @@ for (const model of usedModels) {
15263
15263
  get() {
15264
15264
  const {level} = this;
15265
15265
  return function (...arguments_) {
15266
- const styler = createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_), ansiStyles.bgColor.close, this._styler);
15266
+ const styler = createStyler(ansiStyles$1.bgColor[levelMapping[level]][model](...arguments_), ansiStyles$1.bgColor.close, this._styler);
15267
15267
  return createBuilder(this, styler, this._isEmpty);
15268
15268
  };
15269
15269
  }
@@ -29870,6 +29870,8 @@ function cliWidth(options) {
29870
29870
  }
29871
29871
  }(cliWidth$1));
29872
29872
 
29873
+ var stringWidth$3 = {exports: {}};
29874
+
29873
29875
  var ansiRegex$1 = ({onlyFirst = false} = {}) => {
29874
29876
  const pattern = [
29875
29877
  '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)',
@@ -29881,9 +29883,7 @@ var ansiRegex$1 = ({onlyFirst = false} = {}) => {
29881
29883
 
29882
29884
  const ansiRegex = ansiRegex$1;
29883
29885
 
29884
- var stripAnsi$3 = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
29885
-
29886
- var stringWidth$2 = {exports: {}};
29886
+ var stripAnsi$4 = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
29887
29887
 
29888
29888
  var isFullwidthCodePoint$2 = {exports: {}};
29889
29889
 
@@ -29942,16 +29942,16 @@ var emojiRegex$1 = function () {
29942
29942
  return /\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[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u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g;
29943
29943
  };
29944
29944
 
29945
- const stripAnsi$2 = stripAnsi$3;
29945
+ const stripAnsi$3 = stripAnsi$4;
29946
29946
  const isFullwidthCodePoint = isFullwidthCodePoint$2.exports;
29947
29947
  const emojiRegex = emojiRegex$1;
29948
29948
 
29949
- const stringWidth$1 = string => {
29949
+ const stringWidth$2 = string => {
29950
29950
  if (typeof string !== 'string' || string.length === 0) {
29951
29951
  return 0;
29952
29952
  }
29953
29953
 
29954
- string = stripAnsi$2(string);
29954
+ string = stripAnsi$3(string);
29955
29955
 
29956
29956
  if (string.length === 0) {
29957
29957
  return 0;
@@ -29985,9 +29985,225 @@ const stringWidth$1 = string => {
29985
29985
  return width;
29986
29986
  };
29987
29987
 
29988
- stringWidth$2.exports = stringWidth$1;
29988
+ stringWidth$3.exports = stringWidth$2;
29989
29989
  // TODO: remove this in the next major version
29990
- stringWidth$2.exports.default = stringWidth$1;
29990
+ stringWidth$3.exports.default = stringWidth$2;
29991
+
29992
+ const stringWidth$1 = stringWidth$3.exports;
29993
+ const stripAnsi$2 = stripAnsi$4;
29994
+ const ansiStyles = ansiStyles$2.exports;
29995
+
29996
+ const ESCAPES = new Set([
29997
+ '\u001B',
29998
+ '\u009B'
29999
+ ]);
30000
+
30001
+ const END_CODE = 39;
30002
+
30003
+ const ANSI_ESCAPE_BELL = '\u0007';
30004
+ const ANSI_CSI = '[';
30005
+ const ANSI_OSC = ']';
30006
+ const ANSI_SGR_TERMINATOR = 'm';
30007
+ const ANSI_ESCAPE_LINK = `${ANSI_OSC}8;;`;
30008
+
30009
+ const wrapAnsi$1 = code => `${ESCAPES.values().next().value}${ANSI_CSI}${code}${ANSI_SGR_TERMINATOR}`;
30010
+ const wrapAnsiHyperlink = uri => `${ESCAPES.values().next().value}${ANSI_ESCAPE_LINK}${uri}${ANSI_ESCAPE_BELL}`;
30011
+
30012
+ // Calculate the length of words split on ' ', ignoring
30013
+ // the extra characters added by ansi escape codes
30014
+ const wordLengths = string => string.split(' ').map(character => stringWidth$1(character));
30015
+
30016
+ // Wrap a long word across multiple rows
30017
+ // Ansi escape codes do not count towards length
30018
+ const wrapWord = (rows, word, columns) => {
30019
+ const characters = [...word];
30020
+
30021
+ let isInsideEscape = false;
30022
+ let isInsideLinkEscape = false;
30023
+ let visible = stringWidth$1(stripAnsi$2(rows[rows.length - 1]));
30024
+
30025
+ for (const [index, character] of characters.entries()) {
30026
+ const characterLength = stringWidth$1(character);
30027
+
30028
+ if (visible + characterLength <= columns) {
30029
+ rows[rows.length - 1] += character;
30030
+ } else {
30031
+ rows.push(character);
30032
+ visible = 0;
30033
+ }
30034
+
30035
+ if (ESCAPES.has(character)) {
30036
+ isInsideEscape = true;
30037
+ isInsideLinkEscape = characters.slice(index + 1).join('').startsWith(ANSI_ESCAPE_LINK);
30038
+ }
30039
+
30040
+ if (isInsideEscape) {
30041
+ if (isInsideLinkEscape) {
30042
+ if (character === ANSI_ESCAPE_BELL) {
30043
+ isInsideEscape = false;
30044
+ isInsideLinkEscape = false;
30045
+ }
30046
+ } else if (character === ANSI_SGR_TERMINATOR) {
30047
+ isInsideEscape = false;
30048
+ }
30049
+
30050
+ continue;
30051
+ }
30052
+
30053
+ visible += characterLength;
30054
+
30055
+ if (visible === columns && index < characters.length - 1) {
30056
+ rows.push('');
30057
+ visible = 0;
30058
+ }
30059
+ }
30060
+
30061
+ // It's possible that the last row we copy over is only
30062
+ // ansi escape characters, handle this edge-case
30063
+ if (!visible && rows[rows.length - 1].length > 0 && rows.length > 1) {
30064
+ rows[rows.length - 2] += rows.pop();
30065
+ }
30066
+ };
30067
+
30068
+ // Trims spaces from a string ignoring invisible sequences
30069
+ const stringVisibleTrimSpacesRight = string => {
30070
+ const words = string.split(' ');
30071
+ let last = words.length;
30072
+
30073
+ while (last > 0) {
30074
+ if (stringWidth$1(words[last - 1]) > 0) {
30075
+ break;
30076
+ }
30077
+
30078
+ last--;
30079
+ }
30080
+
30081
+ if (last === words.length) {
30082
+ return string;
30083
+ }
30084
+
30085
+ return words.slice(0, last).join(' ') + words.slice(last).join('');
30086
+ };
30087
+
30088
+ // The wrap-ansi module can be invoked in either 'hard' or 'soft' wrap mode
30089
+ //
30090
+ // 'hard' will never allow a string to take up more than columns characters
30091
+ //
30092
+ // 'soft' allows long words to expand past the column length
30093
+ const exec = (string, columns, options = {}) => {
30094
+ if (options.trim !== false && string.trim() === '') {
30095
+ return '';
30096
+ }
30097
+
30098
+ let returnValue = '';
30099
+ let escapeCode;
30100
+ let escapeUrl;
30101
+
30102
+ const lengths = wordLengths(string);
30103
+ let rows = [''];
30104
+
30105
+ for (const [index, word] of string.split(' ').entries()) {
30106
+ if (options.trim !== false) {
30107
+ rows[rows.length - 1] = rows[rows.length - 1].trimStart();
30108
+ }
30109
+
30110
+ let rowLength = stringWidth$1(rows[rows.length - 1]);
30111
+
30112
+ if (index !== 0) {
30113
+ if (rowLength >= columns && (options.wordWrap === false || options.trim === false)) {
30114
+ // If we start with a new word but the current row length equals the length of the columns, add a new row
30115
+ rows.push('');
30116
+ rowLength = 0;
30117
+ }
30118
+
30119
+ if (rowLength > 0 || options.trim === false) {
30120
+ rows[rows.length - 1] += ' ';
30121
+ rowLength++;
30122
+ }
30123
+ }
30124
+
30125
+ // In 'hard' wrap mode, the length of a line is never allowed to extend past 'columns'
30126
+ if (options.hard && lengths[index] > columns) {
30127
+ const remainingColumns = (columns - rowLength);
30128
+ const breaksStartingThisLine = 1 + Math.floor((lengths[index] - remainingColumns - 1) / columns);
30129
+ const breaksStartingNextLine = Math.floor((lengths[index] - 1) / columns);
30130
+ if (breaksStartingNextLine < breaksStartingThisLine) {
30131
+ rows.push('');
30132
+ }
30133
+
30134
+ wrapWord(rows, word, columns);
30135
+ continue;
30136
+ }
30137
+
30138
+ if (rowLength + lengths[index] > columns && rowLength > 0 && lengths[index] > 0) {
30139
+ if (options.wordWrap === false && rowLength < columns) {
30140
+ wrapWord(rows, word, columns);
30141
+ continue;
30142
+ }
30143
+
30144
+ rows.push('');
30145
+ }
30146
+
30147
+ if (rowLength + lengths[index] > columns && options.wordWrap === false) {
30148
+ wrapWord(rows, word, columns);
30149
+ continue;
30150
+ }
30151
+
30152
+ rows[rows.length - 1] += word;
30153
+ }
30154
+
30155
+ if (options.trim !== false) {
30156
+ rows = rows.map(stringVisibleTrimSpacesRight);
30157
+ }
30158
+
30159
+ const pre = [...rows.join('\n')];
30160
+
30161
+ for (const [index, character] of pre.entries()) {
30162
+ returnValue += character;
30163
+
30164
+ if (ESCAPES.has(character)) {
30165
+ const {groups} = new RegExp(`(?:\\${ANSI_CSI}(?<code>\\d+)m|\\${ANSI_ESCAPE_LINK}(?<uri>.*)${ANSI_ESCAPE_BELL})`).exec(pre.slice(index).join('')) || {groups: {}};
30166
+ if (groups.code !== undefined) {
30167
+ const code = Number.parseFloat(groups.code);
30168
+ escapeCode = code === END_CODE ? undefined : code;
30169
+ } else if (groups.uri !== undefined) {
30170
+ escapeUrl = groups.uri.length === 0 ? undefined : groups.uri;
30171
+ }
30172
+ }
30173
+
30174
+ const code = ansiStyles.codes.get(Number(escapeCode));
30175
+
30176
+ if (pre[index + 1] === '\n') {
30177
+ if (escapeUrl) {
30178
+ returnValue += wrapAnsiHyperlink('');
30179
+ }
30180
+
30181
+ if (escapeCode && code) {
30182
+ returnValue += wrapAnsi$1(code);
30183
+ }
30184
+ } else if (character === '\n') {
30185
+ if (escapeCode && code) {
30186
+ returnValue += wrapAnsi$1(escapeCode);
30187
+ }
30188
+
30189
+ if (escapeUrl) {
30190
+ returnValue += wrapAnsiHyperlink(escapeUrl);
30191
+ }
30192
+ }
30193
+ }
30194
+
30195
+ return returnValue;
30196
+ };
30197
+
30198
+ // For each newline, invoke the method separately
30199
+ var wrapAnsi_1 = (string, columns, options) => {
30200
+ return String(string)
30201
+ .normalize()
30202
+ .replace(/\r\n/g, '\n')
30203
+ .split('\n')
30204
+ .map(line => exec(line, columns, options))
30205
+ .join('\n');
30206
+ };
29991
30207
 
29992
30208
  var ora$1 = {exports: {}};
29993
30209
 
@@ -35728,7 +35944,7 @@ const chalk$a = source$1;
35728
35944
  const cliCursor$2 = cliCursor$3;
35729
35945
  const cliSpinners = cliSpinners$1;
35730
35946
  const logSymbols = logSymbols$1;
35731
- const stripAnsi$1 = stripAnsi$3;
35947
+ const stripAnsi$1 = stripAnsi$4;
35732
35948
  const wcwidth = wcwidth$2.exports;
35733
35949
  const isInteractive = isInteractive$1;
35734
35950
  const isUnicodeSupported = isUnicodeSupported$2;
@@ -36132,8 +36348,9 @@ ora$1.exports.promise = (action, options) => {
36132
36348
 
36133
36349
  const util$1 = readline$1;
36134
36350
  const cliWidth = cliWidth$1.exports;
36135
- const stripAnsi = stripAnsi$3;
36136
- const stringWidth = stringWidth$2.exports;
36351
+ const wrapAnsi = wrapAnsi_1;
36352
+ const stripAnsi = stripAnsi$4;
36353
+ const stringWidth = stringWidth$3.exports;
36137
36354
  const ora = ora$1.exports;
36138
36355
 
36139
36356
  function height(content) {
@@ -36287,13 +36504,12 @@ class ScreenManager$1 {
36287
36504
  breakLines(lines, width = this.normalizedCliWidth()) {
36288
36505
  // Break lines who're longer than the cli width so we can normalize the natural line
36289
36506
  // returns behavior across terminals.
36290
- const regex = new RegExp(`(?:(?:\\033[[0-9;]*m)*.?){1,${width}}`, 'g');
36291
- return lines.map((line) => {
36292
- const chunk = line.match(regex);
36293
- // Last match is always empty
36294
- chunk.pop();
36295
- return chunk || '';
36296
- });
36507
+ // re: trim: false; by default, `wrap-ansi` trims whitespace, which
36508
+ // is not what we want.
36509
+ // re: hard: true; by default', `wrap-ansi` does soft wrapping
36510
+ return lines.map((line) =>
36511
+ wrapAnsi(line, width, { trim: false, hard: true }).split('\n')
36512
+ );
36297
36513
  }
36298
36514
 
36299
36515
  /**
@@ -36973,7 +37189,7 @@ class NumberPrompt extends Input {
36973
37189
  if (input && typeof input === 'string') {
36974
37190
  input = input.trim();
36975
37191
  // Match a number in the input
36976
- const numberMatch = input.match(/(^-?\d+|^\d+\.\d*|^\d*\.\d+)(e\d+)?$/);
37192
+ const numberMatch = input.match(/(^-?\d+|^-?\d+\.\d*|^\d*\.\d+)(e\d+)?$/);
36977
37193
  // If a number is found, return that input.
36978
37194
  if (numberMatch) {
36979
37195
  return Number(numberMatch[0]);
@@ -63457,4 +63673,4 @@ class Command extends Command$1 {
63457
63673
  }
63458
63674
 
63459
63675
  export { Command as C, HelpfulError as H, source$1 as a, commonjsGlobal as b, cliHydrogenPackageJson as c, commonjsRequire as d, semver as s };
63460
- //# sourceMappingURL=Command-4e1093c6.js.map
63676
+ //# sourceMappingURL=Command-a46acef0.js.map