@shopify/cli 3.85.3 → 3.85.5

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 (153) 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-RPU6TIF2.js → chunk-3ULYQTX3.js} +7 -7
  73. package/dist/{chunk-IHXRXBUN.js → chunk-AVSSZ6MY.js} +6 -6
  74. package/dist/{chunk-I4ATBX6D.js → chunk-CHLX44DR.js} +4 -4
  75. package/dist/{chunk-UW4ASA6Y.js → chunk-CQSO2B3C.js} +2 -2
  76. package/dist/{chunk-OQKAZQIC.js → chunk-DHW4GI57.js} +5 -5
  77. package/dist/{chunk-HTTZVPR6.js → chunk-FGSQR4VQ.js} +3 -3
  78. package/dist/{chunk-3XWYM7QS.js → chunk-FMD2ETAR.js} +3 -3
  79. package/dist/{chunk-FGEKMLLA.js → chunk-FRHZJBJZ.js} +5 -5
  80. package/dist/{chunk-Y4H4HMEZ.js → chunk-G2I4CD5D.js} +2 -2
  81. package/dist/{chunk-HS2O5IHL.js → chunk-GG2ELY5O.js} +2 -3
  82. package/dist/{chunk-F7TU455C.js → chunk-GQ63RYWN.js} +2 -2
  83. package/dist/{chunk-VVUZFYUK.js → chunk-IAX3IWUQ.js} +4 -4
  84. package/dist/{chunk-EWEA4LRT.js → chunk-J6T7KVRL.js} +2 -2
  85. package/dist/{chunk-GRVHLYQS.js → chunk-JF6DQIJR.js} +3 -3
  86. package/dist/{chunk-JAUHWNMJ.js → chunk-MDDWB46W.js} +5 -5
  87. package/dist/{chunk-QHKSKL4E.js → chunk-MR763CPY.js} +3 -3
  88. package/dist/{chunk-6A6GDV25.js → chunk-MUZ7NPCX.js} +4 -4
  89. package/dist/{chunk-NLFRHIZY.js → chunk-NMGJYSTC.js} +5 -5
  90. package/dist/{chunk-D5DJSKHK.js → chunk-NTCXWD2Q.js} +111 -112
  91. package/dist/{chunk-HBANZKAF.js → chunk-O2O5GRI6.js} +3 -3
  92. package/dist/{chunk-CAONVM2S.js → chunk-ODJ7LSLO.js} +3 -3
  93. package/dist/{chunk-5RNGA7FX.js → chunk-P46WMXBU.js} +5 -5
  94. package/dist/{chunk-LJXXOFEJ.js → chunk-PFBQBDNU.js} +2 -2
  95. package/dist/{chunk-OURS5IQY.js → chunk-PZUWEJO3.js} +3 -3
  96. package/dist/{chunk-VR6Z7LKU.js → chunk-R6BNSDGA.js} +3 -3
  97. package/dist/{chunk-AMWSD3HH.js → chunk-RAZVOMJW.js} +3 -3
  98. package/dist/{chunk-C45MKMJT.js → chunk-RZPYG7LO.js} +28 -25
  99. package/dist/{chunk-EDXQ22O4.js → chunk-SMBX232U.js} +6 -6
  100. package/dist/{chunk-QP2MOS2Y.js → chunk-TE4CUUT4.js} +2 -2
  101. package/dist/{chunk-V5ONTA7N.js → chunk-TXX6R3WL.js} +2 -2
  102. package/dist/{chunk-L54PNQGV.js → chunk-TYHJPUOR.js} +2 -2
  103. package/dist/{chunk-XJBIASMX.js → chunk-UF2X5VHR.js} +3 -3
  104. package/dist/{chunk-ZHKIKKU7.js → chunk-UQT7B7DM.js} +3 -3
  105. package/dist/{chunk-6RJ7HBOQ.js → chunk-VVDGGMKJ.js} +3 -3
  106. package/dist/cli/commands/auth/login.js +10 -10
  107. package/dist/cli/commands/auth/login.test.js +11 -11
  108. package/dist/cli/commands/auth/logout.js +10 -10
  109. package/dist/cli/commands/auth/logout.test.js +11 -11
  110. package/dist/cli/commands/cache/clear.js +10 -10
  111. package/dist/cli/commands/debug/command-flags.js +10 -10
  112. package/dist/cli/commands/docs/generate.js +10 -10
  113. package/dist/cli/commands/docs/generate.test.js +10 -10
  114. package/dist/cli/commands/help.js +10 -10
  115. package/dist/cli/commands/kitchen-sink/async.js +11 -11
  116. package/dist/cli/commands/kitchen-sink/async.test.js +11 -11
  117. package/dist/cli/commands/kitchen-sink/index.js +13 -13
  118. package/dist/cli/commands/kitchen-sink/index.test.js +13 -13
  119. package/dist/cli/commands/kitchen-sink/prompts.js +11 -11
  120. package/dist/cli/commands/kitchen-sink/prompts.test.js +11 -11
  121. package/dist/cli/commands/kitchen-sink/static.js +11 -11
  122. package/dist/cli/commands/kitchen-sink/static.test.js +11 -11
  123. package/dist/cli/commands/notifications/generate.js +11 -11
  124. package/dist/cli/commands/notifications/list.js +11 -11
  125. package/dist/cli/commands/search.js +11 -11
  126. package/dist/cli/commands/upgrade.js +11 -11
  127. package/dist/cli/commands/version.js +11 -11
  128. package/dist/cli/commands/version.test.js +11 -11
  129. package/dist/cli/services/commands/notifications.js +6 -6
  130. package/dist/cli/services/commands/search.js +2 -2
  131. package/dist/cli/services/commands/search.test.js +2 -2
  132. package/dist/cli/services/commands/version.js +3 -3
  133. package/dist/cli/services/commands/version.test.js +4 -4
  134. package/dist/cli/services/kitchen-sink/async.js +2 -2
  135. package/dist/cli/services/kitchen-sink/prompts.js +2 -2
  136. package/dist/cli/services/kitchen-sink/static.js +2 -2
  137. package/dist/cli/services/upgrade.js +3 -3
  138. package/dist/cli/services/upgrade.test.js +4 -4
  139. package/dist/{custom-oclif-loader-YDKLB47A.js → custom-oclif-loader-X7GLA66E.js} +2 -2
  140. package/dist/{error-handler-BYZU2C5C.js → error-handler-QOTWDLMF.js} +8 -8
  141. package/dist/hooks/postrun.js +6 -6
  142. package/dist/hooks/prerun.js +7 -7
  143. package/dist/index.js +1800 -3480
  144. package/dist/{local-XLJD5WYP.js → local-FS3UI7PE.js} +2 -2
  145. package/dist/{morph-5D7H6MU2.js → morph-D4BXY376.js} +9 -9
  146. package/dist/{node-package-manager-I7AWSWJ4.js → node-package-manager-TX3WZQGI.js} +3 -3
  147. package/dist/tsconfig.tsbuildinfo +1 -1
  148. package/dist/{ui-2AJAFJYY.js → ui-PUN5STUM.js} +2 -2
  149. package/dist/{workerd-4DJKRJUB.js → workerd-GJFM5MYN.js} +12 -12
  150. package/oclif.manifest.json +11 -56
  151. package/package.json +8 -8
  152. package/dist/chokidar-XUA2BN3J.js +0 -1120
  153. package/dist/chunk-F7J5CUMZ.js +0 -497
@@ -1,497 +0,0 @@
1
- import {
2
- require_normalize_path
3
- } from "./chunk-X7YTIMNN.js";
4
- import {
5
- require_picomatch
6
- } from "./chunk-7IK72W75.js";
7
- import {
8
- __commonJS,
9
- __require,
10
- init_cjs_shims
11
- } from "./chunk-PKR7KJ6P.js";
12
-
13
- // ../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js
14
- var require_readdirp = __commonJS({
15
- "../../node_modules/.pnpm/readdirp@3.6.0/node_modules/readdirp/index.js"(exports, module) {
16
- "use strict";
17
- init_cjs_shims();
18
- 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) => {
19
- if (filter !== void 0) {
20
- if (typeof filter == "function") return filter;
21
- if (typeof filter == "string") {
22
- let glob = picomatch(filter.trim());
23
- return (entry) => glob(entry.basename);
24
- }
25
- if (Array.isArray(filter)) {
26
- let positive = [], negative = [];
27
- for (let item of filter) {
28
- let trimmed = item.trim();
29
- trimmed.charAt(0) === BANG ? negative.push(picomatch(trimmed.slice(1))) : positive.push(picomatch(trimmed));
30
- }
31
- 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));
32
- }
33
- }
34
- }, ReaddirpStream = class _ReaddirpStream extends Readable {
35
- static get defaultOptions() {
36
- return {
37
- root: ".",
38
- /* eslint-disable no-unused-vars */
39
- fileFilter: (path) => !0,
40
- directoryFilter: (path) => !0,
41
- /* eslint-enable no-unused-vars */
42
- type: FILE_TYPE,
43
- lstat: !1,
44
- depth: 2147483648,
45
- alwaysStat: !1
46
- };
47
- }
48
- constructor(options = {}) {
49
- super({
50
- objectMode: !0,
51
- autoDestroy: !0,
52
- highWaterMark: options.highWaterMark || 4096
53
- });
54
- let opts = { ..._ReaddirpStream.defaultOptions, ...options }, { root, type } = opts;
55
- this._fileFilter = normalizeFilter(opts.fileFilter), this._directoryFilter = normalizeFilter(opts.directoryFilter);
56
- let statMethod = opts.lstat ? lstat : stat;
57
- 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;
58
- }
59
- async _read(batch) {
60
- if (!this.reading) {
61
- this.reading = !0;
62
- try {
63
- for (; !this.destroyed && batch > 0; ) {
64
- let { path, depth, files = [] } = this.parent || {};
65
- if (files.length > 0) {
66
- let slice = files.splice(0, batch).map((dirent) => this._formatEntry(dirent, path));
67
- for (let entry of await Promise.all(slice)) {
68
- if (this.destroyed) return;
69
- let entryType = await this._getEntryType(entry);
70
- 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--);
71
- }
72
- } else {
73
- let parent = this.parents.pop();
74
- if (!parent) {
75
- this.push(null);
76
- break;
77
- }
78
- if (this.parent = await parent, this.destroyed) return;
79
- }
80
- }
81
- } catch (error) {
82
- this.destroy(error);
83
- } finally {
84
- this.reading = !1;
85
- }
86
- }
87
- }
88
- async _exploreDir(path, depth) {
89
- let files;
90
- try {
91
- files = await readdir(path, this._rdOptions);
92
- } catch (error) {
93
- this._onError(error);
94
- }
95
- return { files, depth, path };
96
- }
97
- async _formatEntry(dirent, path) {
98
- let entry;
99
- try {
100
- let basename = this._isDirent ? dirent.name : dirent, fullPath = sysPath.resolve(sysPath.join(path, basename));
101
- entry = { path: sysPath.relative(this._root, fullPath), fullPath, basename }, entry[this._statsProp] = this._isDirent ? dirent : await this._stat(fullPath);
102
- } catch (err) {
103
- this._onError(err);
104
- }
105
- return entry;
106
- }
107
- _onError(err) {
108
- isNormalFlowError(err) && !this.destroyed ? this.emit("warn", err) : this.destroy(err);
109
- }
110
- async _getEntryType(entry) {
111
- let stats = entry && entry[this._statsProp];
112
- if (stats) {
113
- if (stats.isFile())
114
- return "file";
115
- if (stats.isDirectory())
116
- return "directory";
117
- if (stats && stats.isSymbolicLink()) {
118
- let full = entry.fullPath;
119
- try {
120
- let entryRealPath = await realpath(full), entryRealPathStats = await lstat(entryRealPath);
121
- if (entryRealPathStats.isFile())
122
- return "file";
123
- if (entryRealPathStats.isDirectory()) {
124
- let len = entryRealPath.length;
125
- if (full.startsWith(entryRealPath) && full.substr(len, 1) === sysPath.sep) {
126
- let recursiveError = new Error(
127
- `Circular symlink detected: "${full}" points to "${entryRealPath}"`
128
- );
129
- return recursiveError.code = RECURSIVE_ERROR_CODE, this._onError(recursiveError);
130
- }
131
- return "directory";
132
- }
133
- } catch (error) {
134
- this._onError(error);
135
- }
136
- }
137
- }
138
- }
139
- _includeAsFile(entry) {
140
- let stats = entry && entry[this._statsProp];
141
- return stats && this._wantsEverything && !stats.isDirectory();
142
- }
143
- }, readdirp = (root, options = {}) => {
144
- let type = options.entryType || options.type;
145
- if (type === "both" && (type = FILE_DIR_TYPE), type && (options.type = type), root) {
146
- if (typeof root != "string")
147
- throw new TypeError("readdirp: root argument must be a string. Usage: readdirp(root, options)");
148
- if (type && !ALL_TYPES.includes(type))
149
- throw new Error(`readdirp: Invalid type passed. Use one of ${ALL_TYPES.join(", ")}`);
150
- } else throw new Error("readdirp: root argument is required. Usage: readdirp(root, options)");
151
- return options.root = root, new ReaddirpStream(options);
152
- }, readdirpPromise = (root, options = {}) => new Promise((resolve, reject) => {
153
- let files = [];
154
- readdirp(root, options).on("data", (entry) => files.push(entry)).on("end", () => resolve(files)).on("error", (error) => reject(error));
155
- });
156
- readdirp.promise = readdirpPromise;
157
- readdirp.ReaddirpStream = ReaddirpStream;
158
- readdirp.default = readdirp;
159
- module.exports = readdirp;
160
- }
161
- });
162
-
163
- // ../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js
164
- var require_anymatch = __commonJS({
165
- "../../node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js"(exports, module) {
166
- "use strict";
167
- init_cjs_shims();
168
- Object.defineProperty(exports, "__esModule", { value: !0 });
169
- var picomatch = require_picomatch(), normalizePath = require_normalize_path(), BANG = "!", DEFAULT_OPTIONS = { returnIndex: !1 }, arrify = (item) => Array.isArray(item) ? item : [item], createPattern = (matcher, options) => {
170
- if (typeof matcher == "function")
171
- return matcher;
172
- if (typeof matcher == "string") {
173
- let glob = picomatch(matcher, options);
174
- return (string) => matcher === string || glob(string);
175
- }
176
- return matcher instanceof RegExp ? (string) => matcher.test(string) : (string) => !1;
177
- }, matchPatterns = (patterns, negPatterns, args, returnIndex) => {
178
- let isList = Array.isArray(args), _path = isList ? args[0] : args;
179
- if (!isList && typeof _path != "string")
180
- throw new TypeError("anymatch: second argument must be a string: got " + Object.prototype.toString.call(_path));
181
- let path = normalizePath(_path, !1);
182
- for (let index = 0; index < negPatterns.length; index++) {
183
- let nglob = negPatterns[index];
184
- if (nglob(path))
185
- return returnIndex ? -1 : !1;
186
- }
187
- let applied = isList && [path].concat(args.slice(1));
188
- for (let index = 0; index < patterns.length; index++) {
189
- let pattern = patterns[index];
190
- if (isList ? pattern(...applied) : pattern(path))
191
- return returnIndex ? index : !0;
192
- }
193
- return returnIndex ? -1 : !1;
194
- }, anymatch = (matchers, testString, options = DEFAULT_OPTIONS) => {
195
- if (matchers == null)
196
- throw new TypeError("anymatch: specify first argument");
197
- 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));
198
- return testString == null ? (testString2, ri = !1) => matchPatterns(patterns, negatedGlobs, testString2, typeof ri == "boolean" ? ri : !1) : matchPatterns(patterns, negatedGlobs, testString, returnIndex);
199
- };
200
- anymatch.default = anymatch;
201
- module.exports = anymatch;
202
- }
203
- });
204
-
205
- // ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json
206
- var require_binary_extensions = __commonJS({
207
- "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/binary-extensions.json"(exports, module) {
208
- module.exports = [
209
- "3dm",
210
- "3ds",
211
- "3g2",
212
- "3gp",
213
- "7z",
214
- "a",
215
- "aac",
216
- "adp",
217
- "afdesign",
218
- "afphoto",
219
- "afpub",
220
- "ai",
221
- "aif",
222
- "aiff",
223
- "alz",
224
- "ape",
225
- "apk",
226
- "appimage",
227
- "ar",
228
- "arj",
229
- "asf",
230
- "au",
231
- "avi",
232
- "bak",
233
- "baml",
234
- "bh",
235
- "bin",
236
- "bk",
237
- "bmp",
238
- "btif",
239
- "bz2",
240
- "bzip2",
241
- "cab",
242
- "caf",
243
- "cgm",
244
- "class",
245
- "cmx",
246
- "cpio",
247
- "cr2",
248
- "cur",
249
- "dat",
250
- "dcm",
251
- "deb",
252
- "dex",
253
- "djvu",
254
- "dll",
255
- "dmg",
256
- "dng",
257
- "doc",
258
- "docm",
259
- "docx",
260
- "dot",
261
- "dotm",
262
- "dra",
263
- "DS_Store",
264
- "dsk",
265
- "dts",
266
- "dtshd",
267
- "dvb",
268
- "dwg",
269
- "dxf",
270
- "ecelp4800",
271
- "ecelp7470",
272
- "ecelp9600",
273
- "egg",
274
- "eol",
275
- "eot",
276
- "epub",
277
- "exe",
278
- "f4v",
279
- "fbs",
280
- "fh",
281
- "fla",
282
- "flac",
283
- "flatpak",
284
- "fli",
285
- "flv",
286
- "fpx",
287
- "fst",
288
- "fvt",
289
- "g3",
290
- "gh",
291
- "gif",
292
- "graffle",
293
- "gz",
294
- "gzip",
295
- "h261",
296
- "h263",
297
- "h264",
298
- "icns",
299
- "ico",
300
- "ief",
301
- "img",
302
- "ipa",
303
- "iso",
304
- "jar",
305
- "jpeg",
306
- "jpg",
307
- "jpgv",
308
- "jpm",
309
- "jxr",
310
- "key",
311
- "ktx",
312
- "lha",
313
- "lib",
314
- "lvp",
315
- "lz",
316
- "lzh",
317
- "lzma",
318
- "lzo",
319
- "m3u",
320
- "m4a",
321
- "m4v",
322
- "mar",
323
- "mdi",
324
- "mht",
325
- "mid",
326
- "midi",
327
- "mj2",
328
- "mka",
329
- "mkv",
330
- "mmr",
331
- "mng",
332
- "mobi",
333
- "mov",
334
- "movie",
335
- "mp3",
336
- "mp4",
337
- "mp4a",
338
- "mpeg",
339
- "mpg",
340
- "mpga",
341
- "mxu",
342
- "nef",
343
- "npx",
344
- "numbers",
345
- "nupkg",
346
- "o",
347
- "odp",
348
- "ods",
349
- "odt",
350
- "oga",
351
- "ogg",
352
- "ogv",
353
- "otf",
354
- "ott",
355
- "pages",
356
- "pbm",
357
- "pcx",
358
- "pdb",
359
- "pdf",
360
- "pea",
361
- "pgm",
362
- "pic",
363
- "png",
364
- "pnm",
365
- "pot",
366
- "potm",
367
- "potx",
368
- "ppa",
369
- "ppam",
370
- "ppm",
371
- "pps",
372
- "ppsm",
373
- "ppsx",
374
- "ppt",
375
- "pptm",
376
- "pptx",
377
- "psd",
378
- "pya",
379
- "pyc",
380
- "pyo",
381
- "pyv",
382
- "qt",
383
- "rar",
384
- "ras",
385
- "raw",
386
- "resources",
387
- "rgb",
388
- "rip",
389
- "rlc",
390
- "rmf",
391
- "rmvb",
392
- "rpm",
393
- "rtf",
394
- "rz",
395
- "s3m",
396
- "s7z",
397
- "scpt",
398
- "sgi",
399
- "shar",
400
- "snap",
401
- "sil",
402
- "sketch",
403
- "slk",
404
- "smv",
405
- "snk",
406
- "so",
407
- "stl",
408
- "suo",
409
- "sub",
410
- "swf",
411
- "tar",
412
- "tbz",
413
- "tbz2",
414
- "tga",
415
- "tgz",
416
- "thmx",
417
- "tif",
418
- "tiff",
419
- "tlz",
420
- "ttc",
421
- "ttf",
422
- "txz",
423
- "udf",
424
- "uvh",
425
- "uvi",
426
- "uvm",
427
- "uvp",
428
- "uvs",
429
- "uvu",
430
- "viv",
431
- "vob",
432
- "war",
433
- "wav",
434
- "wax",
435
- "wbmp",
436
- "wdp",
437
- "weba",
438
- "webm",
439
- "webp",
440
- "whl",
441
- "wim",
442
- "wm",
443
- "wma",
444
- "wmv",
445
- "wmx",
446
- "woff",
447
- "woff2",
448
- "wrm",
449
- "wvx",
450
- "xbm",
451
- "xif",
452
- "xla",
453
- "xlam",
454
- "xls",
455
- "xlsb",
456
- "xlsm",
457
- "xlsx",
458
- "xlt",
459
- "xltm",
460
- "xltx",
461
- "xm",
462
- "xmind",
463
- "xpi",
464
- "xpm",
465
- "xwd",
466
- "xz",
467
- "z",
468
- "zip",
469
- "zipx"
470
- ];
471
- }
472
- });
473
-
474
- // ../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js
475
- var require_binary_extensions2 = __commonJS({
476
- "../../node_modules/.pnpm/binary-extensions@2.3.0/node_modules/binary-extensions/index.js"(exports, module) {
477
- init_cjs_shims();
478
- module.exports = require_binary_extensions();
479
- }
480
- });
481
-
482
- // ../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js
483
- var require_is_binary_path = __commonJS({
484
- "../../node_modules/.pnpm/is-binary-path@2.1.0/node_modules/is-binary-path/index.js"(exports, module) {
485
- "use strict";
486
- init_cjs_shims();
487
- var path = __require("path"), binaryExtensions = require_binary_extensions2(), extensions = new Set(binaryExtensions);
488
- module.exports = (filePath) => extensions.has(path.extname(filePath).slice(1).toLowerCase());
489
- }
490
- });
491
-
492
- export {
493
- require_readdirp,
494
- require_anymatch,
495
- require_is_binary_path
496
- };
497
- //# sourceMappingURL=chunk-F7J5CUMZ.js.map