@shopify/cli 3.85.2 → 3.85.4

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 (155) hide show
  1. package/dist/assets/hydrogen/bundle/analyzer.html +155 -148
  2. package/dist/assets/hydrogen/starter/CHANGELOG.md +125 -49
  3. package/dist/assets/hydrogen/starter/app/components/AddToCartButton.tsx +1 -1
  4. package/dist/assets/hydrogen/starter/app/components/CartLineItem.tsx +1 -1
  5. package/dist/assets/hydrogen/starter/app/components/CartMain.tsx +1 -1
  6. package/dist/assets/hydrogen/starter/app/components/CartSummary.tsx +62 -29
  7. package/dist/assets/hydrogen/starter/app/components/Header.tsx +1 -1
  8. package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +1 -1
  9. package/dist/assets/hydrogen/starter/app/components/ProductForm.tsx +2 -2
  10. package/dist/assets/hydrogen/starter/app/components/SearchForm.tsx +1 -1
  11. package/dist/assets/hydrogen/starter/app/components/SearchFormPredictive.tsx +8 -3
  12. package/dist/assets/hydrogen/starter/app/components/SearchResults.tsx +3 -11
  13. package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +2 -6
  14. package/dist/assets/hydrogen/starter/app/entry.client.tsx +10 -2
  15. package/dist/assets/hydrogen/starter/app/entry.server.tsx +5 -3
  16. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerAddressMutations.ts +7 -4
  17. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerDetailsQuery.ts +1 -1
  18. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerOrderQuery.ts +4 -1
  19. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerOrdersQuery.ts +10 -5
  20. package/dist/assets/hydrogen/starter/app/graphql/customer-account/CustomerUpdateMutation.ts +3 -2
  21. package/dist/assets/hydrogen/starter/app/lib/context.ts +34 -17
  22. package/dist/assets/hydrogen/starter/app/lib/fragments.ts +1 -0
  23. package/dist/assets/hydrogen/starter/app/lib/orderFilters.ts +90 -0
  24. package/dist/assets/hydrogen/starter/app/lib/redirect.ts +1 -1
  25. package/dist/assets/hydrogen/starter/app/lib/session.ts +1 -1
  26. package/dist/assets/hydrogen/starter/app/lib/variants.ts +1 -1
  27. package/dist/assets/hydrogen/starter/app/root.tsx +23 -18
  28. package/dist/assets/hydrogen/starter/app/routes/$.tsx +2 -2
  29. package/dist/assets/hydrogen/starter/app/routes/[robots.txt].tsx +2 -2
  30. package/dist/assets/hydrogen/starter/app/routes/[sitemap.xml].tsx +2 -3
  31. package/dist/assets/hydrogen/starter/app/routes/_index.tsx +12 -8
  32. package/dist/assets/hydrogen/starter/app/routes/account.$.tsx +4 -3
  33. package/dist/assets/hydrogen/starter/app/routes/account._index.tsx +1 -1
  34. package/dist/assets/hydrogen/starter/app/routes/account.addresses.tsx +15 -11
  35. package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +47 -22
  36. package/dist/assets/hydrogen/starter/app/routes/account.orders._index.tsx +152 -23
  37. package/dist/assets/hydrogen/starter/app/routes/account.profile.tsx +11 -8
  38. package/dist/assets/hydrogen/starter/app/routes/account.tsx +16 -4
  39. package/dist/assets/hydrogen/starter/app/routes/account_.authorize.tsx +2 -2
  40. package/dist/assets/hydrogen/starter/app/routes/account_.login.tsx +5 -3
  41. package/dist/assets/hydrogen/starter/app/routes/account_.logout.tsx +3 -2
  42. package/dist/assets/hydrogen/starter/app/routes/api.$version.[graphql.json].tsx +2 -2
  43. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle.$articleHandle.tsx +6 -10
  44. package/dist/assets/hydrogen/starter/app/routes/blogs.$blogHandle._index.tsx +10 -7
  45. package/dist/assets/hydrogen/starter/app/routes/blogs._index.tsx +13 -7
  46. package/dist/assets/hydrogen/starter/app/routes/cart.$lines.tsx +3 -2
  47. package/dist/assets/hydrogen/starter/app/routes/cart.tsx +13 -9
  48. package/dist/assets/hydrogen/starter/app/routes/collections.$handle.tsx +8 -11
  49. package/dist/assets/hydrogen/starter/app/routes/collections._index.tsx +6 -6
  50. package/dist/assets/hydrogen/starter/app/routes/collections.all.tsx +10 -7
  51. package/dist/assets/hydrogen/starter/app/routes/discount.$code.tsx +3 -2
  52. package/dist/assets/hydrogen/starter/app/routes/pages.$handle.tsx +8 -6
  53. package/dist/assets/hydrogen/starter/app/routes/policies.$handle.tsx +7 -4
  54. package/dist/assets/hydrogen/starter/app/routes/policies._index.tsx +19 -13
  55. package/dist/assets/hydrogen/starter/app/routes/products.$handle.tsx +9 -6
  56. package/dist/assets/hydrogen/starter/app/routes/search.tsx +14 -14
  57. package/dist/assets/hydrogen/starter/app/routes/sitemap.$type.$page[.xml].tsx +2 -3
  58. package/dist/assets/hydrogen/starter/app/routes.ts +1 -1
  59. package/dist/assets/hydrogen/starter/app/styles/app.css +53 -1
  60. package/dist/assets/hydrogen/starter/customer-accountapi.generated.d.ts +47 -13
  61. package/dist/assets/hydrogen/starter/env.d.ts +1 -39
  62. package/dist/assets/hydrogen/starter/eslint.config.js +35 -52
  63. package/dist/assets/hydrogen/starter/package.json +14 -15
  64. package/dist/assets/hydrogen/starter/react-router.config.ts +9 -3
  65. package/dist/assets/hydrogen/starter/server.ts +7 -7
  66. package/dist/assets/hydrogen/starter/storefrontapi.generated.d.ts +1 -1
  67. package/dist/assets/hydrogen/starter/tsconfig.json +17 -13
  68. package/dist/assets/hydrogen/starter/vite.config.ts +3 -0
  69. package/dist/assets/hydrogen/virtual-routes/components/RequestDetails.jsx +13 -20
  70. package/dist/assets/hydrogen/virtual-routes/routes/[.]well-known.appspecific.com[.]chrome[.]devtools[.]json.jsx +37 -0
  71. package/dist/{chokidar-TTCYG5AA.js → chokidar-HTKREZL3.js} +482 -7
  72. package/dist/{chunk-TPK3IOCE.js → chunk-2C6DJIBX.js} +4 -4
  73. package/dist/{chunk-J3GJSEAX.js → chunk-2H6AD4EL.js} +5 -5
  74. package/dist/{chunk-GWSQTZJI.js → chunk-2XTIBWBA.js} +3 -3
  75. package/dist/{chunk-IIFNATCS.js → chunk-34TWZ632.js} +3 -4
  76. package/dist/{chunk-AQBAXHB6.js → chunk-3762O47V.js} +2 -2
  77. package/dist/{chunk-BNANL2RF.js → chunk-3JZIRVBB.js} +400 -319
  78. package/dist/{chunk-FZGEJWCA.js → chunk-5AUZG65U.js} +5 -5
  79. package/dist/{chunk-YTNLVKDJ.js → chunk-5JFU2PDH.js} +3 -3
  80. package/dist/{chunk-YCRRJE3E.js → chunk-BRYTLGQH.js} +3 -3
  81. package/dist/{chunk-ETGIQIBS.js → chunk-CBUCMJTB.js} +2 -2
  82. package/dist/{chunk-JJTURC36.js → chunk-DBQFPT3U.js} +6 -6
  83. package/dist/{chunk-PK2ZJN2D.js → chunk-DEMUK3QR.js} +4 -4
  84. package/dist/{chunk-K4MF722S.js → chunk-EPNYJUKL.js} +6 -6
  85. package/dist/{chunk-SJI2AT4E.js → chunk-GMOJ4MM6.js} +5 -5
  86. package/dist/{chunk-MU6B24WQ.js → chunk-JDGRN7YI.js} +4 -4
  87. package/dist/{chunk-CO5XRUNB.js → chunk-JXSJVKPK.js} +3 -3
  88. package/dist/{chunk-3KWF52OH.js → chunk-M6DL6PW7.js} +2 -2
  89. package/dist/{chunk-3HB45LNC.js → chunk-NIJYJVQ7.js} +112 -113
  90. package/dist/{chunk-UWYW5CE4.js → chunk-ON22YJEB.js} +6 -6
  91. package/dist/{chunk-DHC7FUNN.js → chunk-OYGH5GC4.js} +2 -2
  92. package/dist/{chunk-EUJBLPMW.js → chunk-P24ZSULK.js} +3 -3
  93. package/dist/{chunk-63DVTKIC.js → chunk-QCCEM2W7.js} +3 -3
  94. package/dist/{chunk-LYLEKYI6.js → chunk-QCVEBMJO.js} +3 -3
  95. package/dist/{chunk-YTHR7DHB.js → chunk-QDQ64PMY.js} +3 -3
  96. package/dist/{chunk-G6VSMPDS.js → chunk-S5H4ZYTZ.js} +3 -3
  97. package/dist/{chunk-5RQSFT35.js → chunk-SJ6XHMPR.js} +2 -2
  98. package/dist/{chunk-QGFQPDQE.js → chunk-UTGZE4KZ.js} +3 -3
  99. package/dist/{chunk-NONJKAAK.js → chunk-VOXGVQ4Y.js} +6 -6
  100. package/dist/{chunk-B2IMQTAS.js → chunk-VVHZTHIS.js} +7 -7
  101. package/dist/{chunk-HJUBFP6H.js → chunk-W7V5E5TL.js} +4 -4
  102. package/dist/{chunk-PCO7BTB2.js → chunk-XEG67XNW.js} +4 -4
  103. package/dist/{chunk-BBD57WPK.js → chunk-XQMRWA2D.js} +2 -2
  104. package/dist/{chunk-3GLPAOWG.js → chunk-XXIM3XSO.js} +2 -2
  105. package/dist/{chunk-MI76AMGA.js → chunk-Y2BC44O5.js} +4 -4
  106. package/dist/{chunk-EG6MBBEN.js → chunk-Y2JP6WFP.js} +2 -2
  107. package/dist/cli/commands/auth/login.js +11 -11
  108. package/dist/cli/commands/auth/login.test.js +12 -12
  109. package/dist/cli/commands/auth/logout.js +11 -11
  110. package/dist/cli/commands/auth/logout.test.js +12 -12
  111. package/dist/cli/commands/cache/clear.js +11 -11
  112. package/dist/cli/commands/debug/command-flags.js +11 -11
  113. package/dist/cli/commands/docs/generate.js +11 -11
  114. package/dist/cli/commands/docs/generate.test.js +11 -11
  115. package/dist/cli/commands/help.js +11 -11
  116. package/dist/cli/commands/kitchen-sink/async.js +12 -12
  117. package/dist/cli/commands/kitchen-sink/async.test.js +12 -12
  118. package/dist/cli/commands/kitchen-sink/index.js +14 -14
  119. package/dist/cli/commands/kitchen-sink/index.test.js +14 -14
  120. package/dist/cli/commands/kitchen-sink/prompts.js +12 -12
  121. package/dist/cli/commands/kitchen-sink/prompts.test.js +12 -12
  122. package/dist/cli/commands/kitchen-sink/static.js +12 -12
  123. package/dist/cli/commands/kitchen-sink/static.test.js +12 -12
  124. package/dist/cli/commands/notifications/generate.js +12 -12
  125. package/dist/cli/commands/notifications/list.js +12 -12
  126. package/dist/cli/commands/search.js +12 -12
  127. package/dist/cli/commands/upgrade.js +12 -12
  128. package/dist/cli/commands/version.js +12 -12
  129. package/dist/cli/commands/version.test.js +12 -12
  130. package/dist/cli/services/commands/notifications.js +7 -7
  131. package/dist/cli/services/commands/search.js +3 -3
  132. package/dist/cli/services/commands/search.test.js +3 -3
  133. package/dist/cli/services/commands/version.js +4 -4
  134. package/dist/cli/services/commands/version.test.js +5 -5
  135. package/dist/cli/services/kitchen-sink/async.js +3 -3
  136. package/dist/cli/services/kitchen-sink/prompts.js +3 -3
  137. package/dist/cli/services/kitchen-sink/static.js +3 -3
  138. package/dist/cli/services/upgrade.js +4 -4
  139. package/dist/cli/services/upgrade.test.js +5 -5
  140. package/dist/{custom-oclif-loader-MIHTOE44.js → custom-oclif-loader-OFIEXBNK.js} +3 -3
  141. package/dist/{error-handler-NTBLUSJY.js → error-handler-FHZMF7GS.js} +9 -9
  142. package/dist/hooks/postrun.js +7 -7
  143. package/dist/hooks/prerun.js +8 -8
  144. package/dist/index.js +1802 -3509
  145. package/dist/{local-JNP36HLV.js → local-4MIY74VR.js} +3 -3
  146. package/dist/{morph-5D7H6MU2.js → morph-D4BXY376.js} +9 -9
  147. package/dist/{node-package-manager-EHYWEIML.js → node-package-manager-H6KF4PH6.js} +4 -4
  148. package/dist/{path-GB4VIEM6.js → path-COZT77T2.js} +2 -2
  149. package/dist/tsconfig.tsbuildinfo +1 -1
  150. package/dist/{ui-XVYQT3H5.js → ui-R3FDFL2U.js} +3 -3
  151. package/dist/{workerd-X2PCOICQ.js → workerd-JVZ57YOV.js} +13 -13
  152. package/oclif.manifest.json +11 -56
  153. package/package.json +8 -8
  154. package/dist/chokidar-XUA2BN3J.js +0 -1120
  155. package/dist/chunk-F7J5CUMZ.js +0 -497
@@ -1,15 +1,11 @@
1
- import {
2
- require_anymatch,
3
- require_is_binary_path,
4
- require_readdirp
5
- } from "./chunk-F7J5CUMZ.js";
6
1
  import {
7
2
  require_normalize_path
8
3
  } from "./chunk-X7YTIMNN.js";
9
4
  import {
10
5
  require_braces,
11
6
  require_glob_parent,
12
- require_is_glob
7
+ require_is_glob,
8
+ require_picomatch
13
9
  } from "./chunk-7IK72W75.js";
14
10
  import {
15
11
  __commonJS,
@@ -17,6 +13,485 @@ import {
17
13
  init_cjs_shims
18
14
  } from "./chunk-PKR7KJ6P.js";
19
15
 
16
+ // ../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js
17
+ var require_readdirp = __commonJS({
18
+ "../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js"(exports, module) {
19
+ "use strict";
20
+ init_cjs_shims();
21
+ var fs = __require("fs"), { Readable } = __require("stream"), sysPath = __require("path"), { promisify } = __require("util"), picomatch = require_picomatch(), readdir = promisify(fs.readdir), stat = promisify(fs.stat), lstat = promisify(fs.lstat), realpath = promisify(fs.realpath), BANG = "!", RECURSIVE_ERROR_CODE = "READDIRP_RECURSIVE_ERROR", NORMAL_FLOW_ERRORS = /* @__PURE__ */ new Set(["ENOENT", "EPERM", "EACCES", "ELOOP", RECURSIVE_ERROR_CODE]), FILE_TYPE = "files", DIR_TYPE = "directories", FILE_DIR_TYPE = "files_directories", EVERYTHING_TYPE = "all", ALL_TYPES = [FILE_TYPE, DIR_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE], isNormalFlowError = (error) => NORMAL_FLOW_ERRORS.has(error.code), [maj, min] = process.versions.node.split(".").slice(0, 2).map((n) => Number.parseInt(n, 10)), wantBigintFsStats = process.platform === "win32" && (maj > 10 || maj === 10 && min >= 5), normalizeFilter = (filter) => {
22
+ if (filter !== void 0) {
23
+ if (typeof filter == "function") return filter;
24
+ if (typeof filter == "string") {
25
+ let glob = picomatch(filter.trim());
26
+ return (entry) => glob(entry.basename);
27
+ }
28
+ if (Array.isArray(filter)) {
29
+ let positive = [], negative = [];
30
+ for (let item of filter) {
31
+ let trimmed = item.trim();
32
+ trimmed.charAt(0) === BANG ? negative.push(picomatch(trimmed.slice(1))) : positive.push(picomatch(trimmed));
33
+ }
34
+ return negative.length > 0 ? positive.length > 0 ? (entry) => positive.some((f) => f(entry.basename)) && !negative.some((f) => f(entry.basename)) : (entry) => !negative.some((f) => f(entry.basename)) : (entry) => positive.some((f) => f(entry.basename));
35
+ }
36
+ }
37
+ }, ReaddirpStream = class _ReaddirpStream extends Readable {
38
+ static get defaultOptions() {
39
+ return {
40
+ root: ".",
41
+ /* eslint-disable no-unused-vars */
42
+ fileFilter: (path) => !0,
43
+ directoryFilter: (path) => !0,
44
+ /* eslint-enable no-unused-vars */
45
+ type: FILE_TYPE,
46
+ lstat: !1,
47
+ depth: 2147483648,
48
+ alwaysStat: !1
49
+ };
50
+ }
51
+ constructor(options = {}) {
52
+ super({
53
+ objectMode: !0,
54
+ autoDestroy: !0,
55
+ highWaterMark: options.highWaterMark || 4096
56
+ });
57
+ let opts = { ..._ReaddirpStream.defaultOptions, ...options }, { root, type } = opts;
58
+ this._fileFilter = normalizeFilter(opts.fileFilter), this._directoryFilter = normalizeFilter(opts.directoryFilter);
59
+ let statMethod = opts.lstat ? lstat : stat;
60
+ wantBigintFsStats ? this._stat = (path) => statMethod(path, { bigint: !0 }) : this._stat = statMethod, this._maxDepth = opts.depth, this._wantsDir = [DIR_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE].includes(type), this._wantsFile = [FILE_TYPE, FILE_DIR_TYPE, EVERYTHING_TYPE].includes(type), this._wantsEverything = type === EVERYTHING_TYPE, this._root = sysPath.resolve(root), this._isDirent = "Dirent" in fs && !opts.alwaysStat, this._statsProp = this._isDirent ? "dirent" : "stats", this._rdOptions = { encoding: "utf8", withFileTypes: this._isDirent }, this.parents = [this._exploreDir(root, 1)], this.reading = !1, this.parent = void 0;
61
+ }
62
+ async _read(batch) {
63
+ if (!this.reading) {
64
+ this.reading = !0;
65
+ try {
66
+ for (; !this.destroyed && batch > 0; ) {
67
+ let { path, depth, files = [] } = this.parent || {};
68
+ if (files.length > 0) {
69
+ let slice = files.splice(0, batch).map((dirent) => this._formatEntry(dirent, path));
70
+ for (let entry of await Promise.all(slice)) {
71
+ if (this.destroyed) return;
72
+ let entryType = await this._getEntryType(entry);
73
+ entryType === "directory" && this._directoryFilter(entry) ? (depth <= this._maxDepth && this.parents.push(this._exploreDir(entry.fullPath, depth + 1)), this._wantsDir && (this.push(entry), batch--)) : (entryType === "file" || this._includeAsFile(entry)) && this._fileFilter(entry) && this._wantsFile && (this.push(entry), batch--);
74
+ }
75
+ } else {
76
+ let parent = this.parents.pop();
77
+ if (!parent) {
78
+ this.push(null);
79
+ break;
80
+ }
81
+ if (this.parent = await parent, this.destroyed) return;
82
+ }
83
+ }
84
+ } catch (error) {
85
+ this.destroy(error);
86
+ } finally {
87
+ this.reading = !1;
88
+ }
89
+ }
90
+ }
91
+ async _exploreDir(path, depth) {
92
+ let files;
93
+ try {
94
+ files = await readdir(path, this._rdOptions);
95
+ } catch (error) {
96
+ this._onError(error);
97
+ }
98
+ return { files, depth, path };
99
+ }
100
+ async _formatEntry(dirent, path) {
101
+ let entry;
102
+ try {
103
+ let basename = this._isDirent ? dirent.name : dirent, fullPath = sysPath.resolve(sysPath.join(path, basename));
104
+ entry = { path: sysPath.relative(this._root, fullPath), fullPath, basename }, entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
105
+ } catch (err) {
106
+ this._onError(err);
107
+ }
108
+ return entry;
109
+ }
110
+ _onError(err) {
111
+ isNormalFlowError(err) && !this.destroyed ? this.emit("warn", err) : this.destroy(err);
112
+ }
113
+ async _getEntryType(entry) {
114
+ let stats = entry && entry[this._statsProp];
115
+ if (stats) {
116
+ if (stats.isFile())
117
+ return "file";
118
+ if (stats.isDirectory())
119
+ return "directory";
120
+ if (stats && stats.isSymbolicLink()) {
121
+ let full = entry.fullPath;
122
+ try {
123
+ let entryRealPath = await realpath(full), entryRealPathStats = await lstat(entryRealPath);
124
+ if (entryRealPathStats.isFile())
125
+ return "file";
126
+ if (entryRealPathStats.isDirectory()) {
127
+ let len = entryRealPath.length;
128
+ if (full.startsWith(entryRealPath) && full.substr(len, 1) === sysPath.sep) {
129
+ let recursiveError = new Error(
130
+ `Circular symlink detected: "${full}" points to "${entryRealPath}"`
131
+ );
132
+ return recursiveError.code = RECURSIVE_ERROR_CODE, this._onError(recursiveError);
133
+ }
134
+ return "directory";
135
+ }
136
+ } catch (error) {
137
+ this._onError(error);
138
+ }
139
+ }
140
+ }
141
+ }
142
+ _includeAsFile(entry) {
143
+ let stats = entry && entry[this._statsProp];
144
+ return stats && this._wantsEverything && !stats.isDirectory();
145
+ }
146
+ }, readdirp = (root, options = {}) => {
147
+ let type = options.entryType || options.type;
148
+ if (type === "both" && (type = FILE_DIR_TYPE), type && (options.type = type), root) {
149
+ if (typeof root != "string")
150
+ throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");
151
+ if (type && !ALL_TYPES.includes(type))
152
+ throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(", ")}`);
153
+ } else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");
154
+ return options.root = root, new ReaddirpStream(options);
155
+ }, readdirpPromise = (root, options = {}) => new Promise((resolve, reject) => {
156
+ let files = [];
157
+ readdirp(root, options).on("data", (entry) => files.push(entry)).on("end", () => resolve(files)).on("error", (error) => reject(error));
158
+ });
159
+ readdirp.promise = readdirpPromise;
160
+ readdirp.ReaddirpStream = ReaddirpStream;
161
+ readdirp.default = readdirp;
162
+ module.exports = readdirp;
163
+ }
164
+ });
165
+
166
+ // ../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js
167
+ var require_anymatch = __commonJS({
168
+ "../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js"(exports, module) {
169
+ "use strict";
170
+ init_cjs_shims();
171
+ Object.defineProperty(exports, "__esModule", { value: !0 });
172
+ var picomatch = require_picomatch(), normalizePath = require_normalize_path(), BANG = "!", DEFAULT_OPTIONS = { returnIndex: !1 }, arrify = (item) => Array.isArray(item) ? item : [item], createPattern = (matcher, options) => {
173
+ if (typeof matcher == "function")
174
+ return matcher;
175
+ if (typeof matcher == "string") {
176
+ let glob = picomatch(matcher, options);
177
+ return (string) => matcher === string || glob(string);
178
+ }
179
+ return matcher instanceof RegExp ? (string) => matcher.test(string) : (string) => !1;
180
+ }, matchPatterns = (patterns, negPatterns, args, returnIndex) => {
181
+ let isList = Array.isArray(args), _path = isList ? args[0] : args;
182
+ if (!isList && typeof _path != "string")
183
+ throw new TypeError("anymatch: second argument must be a string: got " + Object.prototype.toString.call(_path));
184
+ let path = normalizePath(_path, !1);
185
+ for (let index = 0; index < negPatterns.length; index++) {
186
+ let nglob = negPatterns[index];
187
+ if (nglob(path))
188
+ return returnIndex ? -1 : !1;
189
+ }
190
+ let applied = isList && [path].concat(args.slice(1));
191
+ for (let index = 0; index < patterns.length; index++) {
192
+ let pattern = patterns[index];
193
+ if (isList ? pattern(...applied) : pattern(path))
194
+ return returnIndex ? index : !0;
195
+ }
196
+ return returnIndex ? -1 : !1;
197
+ }, anymatch = (matchers, testString, options = DEFAULT_OPTIONS) => {
198
+ if (matchers == null)
199
+ throw new TypeError("anymatch: specify first argument");
200
+ let opts = typeof options == "boolean" ? { returnIndex: options } : options, returnIndex = opts.returnIndex || !1, mtchers = arrify(matchers), negatedGlobs = mtchers.filter((item) => typeof item == "string" && item.charAt(0) === BANG).map((item) => item.slice(1)).map((item) => picomatch(item, opts)), patterns = mtchers.filter((item) => typeof item != "string" || typeof item == "string" && item.charAt(0) !== BANG).map((matcher) => createPattern(matcher, opts));
201
+ return testString == null ? (testString2, ri = !1) => matchPatterns(patterns, negatedGlobs, testString2, typeof ri == "boolean" ? ri : !1) : matchPatterns(patterns, negatedGlobs, testString, returnIndex);
202
+ };
203
+ anymatch.default = anymatch;
204
+ module.exports = anymatch;
205
+ }
206
+ });
207
+
208
+ // ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json
209
+ var require_binary_extensions = __commonJS({
210
+ "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json"(exports, module) {
211
+ module.exports = [
212
+ "3dm",
213
+ "3ds",
214
+ "3g2",
215
+ "3gp",
216
+ "7z",
217
+ "a",
218
+ "aac",
219
+ "adp",
220
+ "afdesign",
221
+ "afphoto",
222
+ "afpub",
223
+ "ai",
224
+ "aif",
225
+ "aiff",
226
+ "alz",
227
+ "ape",
228
+ "apk",
229
+ "appimage",
230
+ "ar",
231
+ "arj",
232
+ "asf",
233
+ "au",
234
+ "avi",
235
+ "bak",
236
+ "baml",
237
+ "bh",
238
+ "bin",
239
+ "bk",
240
+ "bmp",
241
+ "btif",
242
+ "bz2",
243
+ "bzip2",
244
+ "cab",
245
+ "caf",
246
+ "cgm",
247
+ "class",
248
+ "cmx",
249
+ "cpio",
250
+ "cr2",
251
+ "cur",
252
+ "dat",
253
+ "dcm",
254
+ "deb",
255
+ "dex",
256
+ "djvu",
257
+ "dll",
258
+ "dmg",
259
+ "dng",
260
+ "doc",
261
+ "docm",
262
+ "docx",
263
+ "dot",
264
+ "dotm",
265
+ "dra",
266
+ "DS_Store",
267
+ "dsk",
268
+ "dts",
269
+ "dtshd",
270
+ "dvb",
271
+ "dwg",
272
+ "dxf",
273
+ "ecelp4800",
274
+ "ecelp7470",
275
+ "ecelp9600",
276
+ "egg",
277
+ "eol",
278
+ "eot",
279
+ "epub",
280
+ "exe",
281
+ "f4v",
282
+ "fbs",
283
+ "fh",
284
+ "fla",
285
+ "flac",
286
+ "flatpak",
287
+ "fli",
288
+ "flv",
289
+ "fpx",
290
+ "fst",
291
+ "fvt",
292
+ "g3",
293
+ "gh",
294
+ "gif",
295
+ "graffle",
296
+ "gz",
297
+ "gzip",
298
+ "h261",
299
+ "h263",
300
+ "h264",
301
+ "icns",
302
+ "ico",
303
+ "ief",
304
+ "img",
305
+ "ipa",
306
+ "iso",
307
+ "jar",
308
+ "jpeg",
309
+ "jpg",
310
+ "jpgv",
311
+ "jpm",
312
+ "jxr",
313
+ "key",
314
+ "ktx",
315
+ "lha",
316
+ "lib",
317
+ "lvp",
318
+ "lz",
319
+ "lzh",
320
+ "lzma",
321
+ "lzo",
322
+ "m3u",
323
+ "m4a",
324
+ "m4v",
325
+ "mar",
326
+ "mdi",
327
+ "mht",
328
+ "mid",
329
+ "midi",
330
+ "mj2",
331
+ "mka",
332
+ "mkv",
333
+ "mmr",
334
+ "mng",
335
+ "mobi",
336
+ "mov",
337
+ "movie",
338
+ "mp3",
339
+ "mp4",
340
+ "mp4a",
341
+ "mpeg",
342
+ "mpg",
343
+ "mpga",
344
+ "mxu",
345
+ "nef",
346
+ "npx",
347
+ "numbers",
348
+ "nupkg",
349
+ "o",
350
+ "odp",
351
+ "ods",
352
+ "odt",
353
+ "oga",
354
+ "ogg",
355
+ "ogv",
356
+ "otf",
357
+ "ott",
358
+ "pages",
359
+ "pbm",
360
+ "pcx",
361
+ "pdb",
362
+ "pdf",
363
+ "pea",
364
+ "pgm",
365
+ "pic",
366
+ "png",
367
+ "pnm",
368
+ "pot",
369
+ "potm",
370
+ "potx",
371
+ "ppa",
372
+ "ppam",
373
+ "ppm",
374
+ "pps",
375
+ "ppsm",
376
+ "ppsx",
377
+ "ppt",
378
+ "pptm",
379
+ "pptx",
380
+ "psd",
381
+ "pya",
382
+ "pyc",
383
+ "pyo",
384
+ "pyv",
385
+ "qt",
386
+ "rar",
387
+ "ras",
388
+ "raw",
389
+ "resources",
390
+ "rgb",
391
+ "rip",
392
+ "rlc",
393
+ "rmf",
394
+ "rmvb",
395
+ "rpm",
396
+ "rtf",
397
+ "rz",
398
+ "s3m",
399
+ "s7z",
400
+ "scpt",
401
+ "sgi",
402
+ "shar",
403
+ "snap",
404
+ "sil",
405
+ "sketch",
406
+ "slk",
407
+ "smv",
408
+ "snk",
409
+ "so",
410
+ "stl",
411
+ "suo",
412
+ "sub",
413
+ "swf",
414
+ "tar",
415
+ "tbz",
416
+ "tbz2",
417
+ "tga",
418
+ "tgz",
419
+ "thmx",
420
+ "tif",
421
+ "tiff",
422
+ "tlz",
423
+ "ttc",
424
+ "ttf",
425
+ "txz",
426
+ "udf",
427
+ "uvh",
428
+ "uvi",
429
+ "uvm",
430
+ "uvp",
431
+ "uvs",
432
+ "uvu",
433
+ "viv",
434
+ "vob",
435
+ "war",
436
+ "wav",
437
+ "wax",
438
+ "wbmp",
439
+ "wdp",
440
+ "weba",
441
+ "webm",
442
+ "webp",
443
+ "whl",
444
+ "wim",
445
+ "wm",
446
+ "wma",
447
+ "wmv",
448
+ "wmx",
449
+ "woff",
450
+ "woff2",
451
+ "wrm",
452
+ "wvx",
453
+ "xbm",
454
+ "xif",
455
+ "xla",
456
+ "xlam",
457
+ "xls",
458
+ "xlsb",
459
+ "xlsm",
460
+ "xlsx",
461
+ "xlt",
462
+ "xltm",
463
+ "xltx",
464
+ "xm",
465
+ "xmind",
466
+ "xpi",
467
+ "xpm",
468
+ "xwd",
469
+ "xz",
470
+ "z",
471
+ "zip",
472
+ "zipx"
473
+ ];
474
+ }
475
+ });
476
+
477
+ // ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js
478
+ var require_binary_extensions2 = __commonJS({
479
+ "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js"(exports, module) {
480
+ init_cjs_shims();
481
+ module.exports = require_binary_extensions();
482
+ }
483
+ });
484
+
485
+ // ../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js
486
+ var require_is_binary_path = __commonJS({
487
+ "../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js"(exports, module) {
488
+ "use strict";
489
+ init_cjs_shims();
490
+ var path = __require("path"), binaryExtensions = require_binary_extensions2(), extensions = new Set(binaryExtensions);
491
+ module.exports = (filePath) => extensions.has(path.extname(filePath).slice(1).toLowerCase());
492
+ }
493
+ });
494
+
20
495
  // ../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/constants.js
21
496
  var require_constants = __commonJS({
22
497
  "../../node_modules/.pnpm/chokidar@3.6.0/node_modules/chokidar/lib/constants.js"(exports) {
@@ -1119,4 +1594,4 @@ var require_chokidar = __commonJS({
1119
1594
  }
1120
1595
  });
1121
1596
  export default require_chokidar();
1122
- //# sourceMappingURL=chokidar-TTCYG5AA.js.map
1597
+ //# sourceMappingURL=chokidar-HTKREZL3.js.map
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-UWYW5CE4.js";
3
+ } from "./chunk-ON22YJEB.js";
4
4
  import {
5
5
  logout
6
- } from "./chunk-NONJKAAK.js";
6
+ } from "./chunk-VOXGVQ4Y.js";
7
7
  import {
8
8
  outputSuccess
9
- } from "./chunk-IIFNATCS.js";
9
+ } from "./chunk-34TWZ632.js";
10
10
  import {
11
11
  init_cjs_shims
12
12
  } from "./chunk-PKR7KJ6P.js";
@@ -25,4 +25,4 @@ var Logout = class extends base_command_default {
25
25
  export {
26
26
  Logout
27
27
  };
28
- //# sourceMappingURL=chunk-TPK3IOCE.js.map
28
+ //# sourceMappingURL=chunk-2C6DJIBX.js.map
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  base_command_default
3
- } from "./chunk-UWYW5CE4.js";
3
+ } from "./chunk-ON22YJEB.js";
4
4
  import {
5
5
  ensureAuthenticatedUser,
6
6
  fetch,
7
7
  findSessionByAlias,
8
8
  getSessionAlias,
9
9
  identityFqdn
10
- } from "./chunk-NONJKAAK.js";
10
+ } from "./chunk-VOXGVQ4Y.js";
11
11
  import {
12
12
  setCurrentSessionId
13
- } from "./chunk-QGFQPDQE.js";
13
+ } from "./chunk-UTGZE4KZ.js";
14
14
  import {
15
15
  outputCompleted,
16
16
  renderSelectPrompt
17
- } from "./chunk-IIFNATCS.js";
17
+ } from "./chunk-34TWZ632.js";
18
18
  import {
19
19
  require_lib
20
20
  } from "./chunk-F7F4BQYW.js";
@@ -84,4 +84,4 @@ export {
84
84
  promptSessionSelect,
85
85
  Login
86
86
  };
87
- //# sourceMappingURL=chunk-J3GJSEAX.js.map
87
+ //# sourceMappingURL=chunk-2H6AD4EL.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  versionService
3
- } from "./chunk-YCRRJE3E.js";
3
+ } from "./chunk-BRYTLGQH.js";
4
4
  import {
5
5
  base_command_default
6
- } from "./chunk-UWYW5CE4.js";
6
+ } from "./chunk-ON22YJEB.js";
7
7
  import {
8
8
  init_cjs_shims
9
9
  } from "./chunk-PKR7KJ6P.js";
@@ -22,4 +22,4 @@ var Version = class extends base_command_default {
22
22
  export {
23
23
  Version
24
24
  };
25
- //# sourceMappingURL=chunk-GWSQTZJI.js.map
25
+ //# sourceMappingURL=chunk-2XTIBWBA.js.map
@@ -24,7 +24,7 @@ import {
24
24
  normalizePath,
25
25
  relativizePath,
26
26
  sniffForPath
27
- } from "./chunk-EG6MBBEN.js";
27
+ } from "./chunk-Y2JP6WFP.js";
28
28
  import {
29
29
  __commonJS,
30
30
  __esm,
@@ -30348,7 +30348,7 @@ function createRuntimeMetadataContainer(defaultPublicMetadata = {}) {
30348
30348
  try {
30349
30349
  await getAndSet();
30350
30350
  } catch (error) {
30351
- let { sendErrorToBugsnag } = await import("./error-handler-NTBLUSJY.js");
30351
+ let { sendErrorToBugsnag } = await import("./error-handler-FHZMF7GS.js");
30352
30352
  await sendErrorToBugsnag(error, "unexpected_error");
30353
30353
  }
30354
30354
  }, durationStack = [];
@@ -32250,7 +32250,6 @@ export {
32250
32250
  unstyled,
32251
32251
  shouldDisplayColors,
32252
32252
  formatSection,
32253
- uniqueString,
32254
32253
  inTemporaryDirectory,
32255
32254
  tempDirectory,
32256
32255
  readFile,
@@ -32398,4 +32397,4 @@ react-reconciler/cjs/react-reconciler-constants.development.js:
32398
32397
  * LICENSE file in the root directory of this source tree.
32399
32398
  *)
32400
32399
  */
32401
- //# sourceMappingURL=chunk-IIFNATCS.js.map
32400
+ //# sourceMappingURL=chunk-34TWZ632.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  renderConcurrent,
3
3
  renderTasks
4
- } from "./chunk-IIFNATCS.js";
4
+ } from "./chunk-34TWZ632.js";
5
5
  import {
6
6
  init_cjs_shims
7
7
  } from "./chunk-PKR7KJ6P.js";
@@ -43,4 +43,4 @@ async function asyncTasks() {
43
43
  export {
44
44
  asyncTasks
45
45
  };
46
- //# sourceMappingURL=chunk-AQBAXHB6.js.map
46
+ //# sourceMappingURL=chunk-3762O47V.js.map