@shopify/cli 3.68.1 → 3.69.1
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/dist/assets/graphiql/style.css +58 -0
- package/dist/assets/hydrogen/starter/CHANGELOG.md +19 -0
- package/dist/assets/hydrogen/starter/app/components/Aside.tsx +24 -1
- package/dist/assets/hydrogen/starter/app/components/Header.tsx +13 -6
- package/dist/assets/hydrogen/starter/app/components/PageLayout.tsx +5 -3
- package/dist/assets/hydrogen/starter/app/components/SearchResultsPredictive.tsx +10 -25
- package/dist/assets/hydrogen/starter/app/routes/account.orders.$id.tsx +3 -1
- package/dist/assets/hydrogen/starter/package.json +4 -4
- package/dist/{chokidar-4TKDAB27.js → chokidar-OESTCX4H.js} +571 -8
- package/dist/{chunk-BFQFJ7IZ.js → chunk-27ILOE3X.js} +93 -5
- package/dist/{chunk-X4VIZNM7.js → chunk-4P6VDKXH.js} +2 -2
- package/dist/{chunk-6RT7XCLB.js → chunk-4UO6LFBD.js} +5 -5
- package/dist/{chunk-SFSTMK3J.js → chunk-5W3WRWHE.js} +3 -3
- package/dist/{chunk-MS2XBA2O.js → chunk-7SCNBKRX.js} +7 -7
- package/dist/{chunk-LAPJDMM4.js → chunk-A3JXD7N7.js} +2 -2
- package/dist/{chunk-N2B5M33U.js → chunk-CH6PR2VT.js} +3 -3
- package/dist/{chunk-SARPUMOJ.js → chunk-DQISYPN6.js} +4 -4
- package/dist/{chunk-3Q52FLVU.js → chunk-DYVC757D.js} +3 -3
- package/dist/{chunk-EPBXQ43B.js → chunk-E4FPHMGU.js} +8 -8
- package/dist/{chunk-JEUAVIWO.js → chunk-EFRDEP5S.js} +76 -77
- package/dist/{chunk-QNE3KDXA.js → chunk-EL4JXI6O.js} +2 -2
- package/dist/{chunk-CLB5CEKJ.js → chunk-ERVB6ERU.js} +3 -3
- package/dist/{chunk-NPVFC3AI.js → chunk-ITNHP733.js} +4 -4
- package/dist/{chunk-O2TXYCMU.js → chunk-JECUABVU.js} +3 -3
- package/dist/{chunk-S3KCQ67R.js → chunk-K55EL7HQ.js} +11 -11
- package/dist/{chunk-6H3CV7RL.js → chunk-KIVJKHH4.js} +3 -3
- package/dist/{chunk-V54N7BU5.js → chunk-KOQHK34U.js} +3 -3
- package/dist/{chunk-6MAEOVS3.js → chunk-KWVMII6E.js} +3 -3
- package/dist/{chunk-XPDRDFSD.js → chunk-KXCAVMHA.js} +3 -3
- package/dist/{chunk-6ZDQFSSJ.js → chunk-LQ7IL4AX.js} +142 -860
- package/dist/{chunk-M7RWRKXK.js → chunk-LSXK7YFC.js} +4 -4
- package/dist/{chunk-YESRKQ2L.js → chunk-LXEX6UNB.js} +2 -2
- package/dist/{chunk-F27QYMO7.js → chunk-MX4RJDBM.js} +591 -20
- package/dist/{chunk-ZFVK6EQX.js → chunk-NB4NLOEJ.js} +142 -703
- package/dist/{chunk-RUY5HVC5.js → chunk-OA6RDR4W.js} +2 -2
- package/dist/{chunk-QAP5YFY6.js → chunk-OFSGLPHJ.js} +2 -2
- package/dist/{chunk-NZDBLGNM.js → chunk-P7JUHQKL.js} +1 -2
- package/dist/{chunk-3M35CLHM.js → chunk-PZSU4QTH.js} +2 -2
- package/dist/{chunk-GLV27A4V.js → chunk-SS3JYL5S.js} +2 -2
- package/dist/{chunk-HWFFJANJ.js → chunk-SSVHNTMB.js} +3 -3
- package/dist/{chunk-7MDO7W7X.js → chunk-TM426SS3.js} +3 -3
- package/dist/{chunk-NOB736ZC.js → chunk-TODOEE5F.js} +3 -3
- package/dist/{chunk-7S76TS4X.js → chunk-TRFLZOJU.js} +5 -5
- package/dist/{chunk-72AFLINH.js → chunk-VSXWSKVK.js} +4 -4
- package/dist/{chunk-YGWIVVUL.js → chunk-VUQJSBXL.js} +161 -39
- package/dist/{chunk-GKSNOFYA.js → chunk-WOBGT6C6.js} +2 -2
- package/dist/{chunk-BZ2F2UZZ.js → chunk-YEITDZ7O.js} +4 -4
- package/dist/{chunk-JF3XJON5.js → chunk-YV6SWFDE.js} +5 -5
- package/dist/{chunk-43SYBNY3.js → chunk-ZKXBLV2V.js} +4 -4
- package/dist/cli/commands/auth/logout.js +15 -17
- package/dist/cli/commands/auth/logout.test.js +16 -18
- package/dist/cli/commands/debug/command-flags.js +14 -16
- package/dist/cli/commands/demo/catalog.js +15 -17
- package/dist/cli/commands/demo/generate-file.js +15 -17
- package/dist/cli/commands/demo/index.js +15 -17
- package/dist/cli/commands/demo/print-ai-prompt.js +15 -17
- package/dist/cli/commands/docs/generate.js +14 -16
- package/dist/cli/commands/docs/generate.test.js +14 -16
- package/dist/cli/commands/help.js +14 -16
- package/dist/cli/commands/kitchen-sink/async.js +15 -17
- package/dist/cli/commands/kitchen-sink/async.test.js +15 -17
- package/dist/cli/commands/kitchen-sink/index.js +17 -19
- package/dist/cli/commands/kitchen-sink/index.test.js +17 -19
- package/dist/cli/commands/kitchen-sink/prompts.js +15 -17
- package/dist/cli/commands/kitchen-sink/prompts.test.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.test.js +15 -17
- package/dist/cli/commands/search.js +15 -17
- package/dist/cli/commands/upgrade.js +15 -17
- package/dist/cli/commands/version.js +15 -17
- package/dist/cli/commands/version.test.js +15 -17
- package/dist/cli/services/commands/search.js +7 -9
- package/dist/cli/services/commands/search.test.js +7 -9
- package/dist/cli/services/commands/version.js +8 -10
- package/dist/cli/services/commands/version.test.js +9 -11
- package/dist/cli/services/demo.js +7 -9
- package/dist/cli/services/demo.test.js +7 -9
- package/dist/cli/services/kitchen-sink/async.js +7 -9
- package/dist/cli/services/kitchen-sink/prompts.js +7 -9
- package/dist/cli/services/kitchen-sink/static.js +7 -9
- package/dist/cli/services/upgrade.js +8 -10
- package/dist/cli/services/upgrade.test.js +10 -12
- package/dist/{constants-TR6ABVLJ.js → constants-T7JXE5K7.js} +2 -2
- package/dist/{custom-oclif-loader-KLQXTO4F.js → custom-oclif-loader-ETQSAFQG.js} +9 -11
- package/dist/{del-EL3PLWCY.js → del-7ZS2Z64N.js} +4 -4
- package/dist/{error-handler-5FD7IHCB.js → error-handler-ITARI4R7.js} +13 -15
- package/dist/hooks/postrun.js +14 -15
- package/dist/hooks/prerun.js +12 -14
- package/dist/index.js +4496 -3687
- package/dist/{lib-4WCTNKJK.js → lib-JHUCJTHS.js} +5 -6
- package/dist/{local-LNHYBD2A.js → local-JOQLVNNB.js} +7 -11
- package/dist/{morph-WDFBUXWF.js → morph-QZYXTRWT.js} +11 -11
- package/dist/{node-Y6VIULWD.js → node-XBEXHDBO.js} +18 -20
- package/dist/{node-package-manager-6CQ6226U.js → node-package-manager-EQM2DXHD.js} +8 -10
- package/dist/out-ZDSLKX4N.js +7 -0
- package/dist/{system-LDMV4BPS.js → system-VHEQK233.js} +7 -9
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-PA5ER7II.js → ui-SWA4K4YR.js} +7 -9
- package/dist/{workerd-APENUASI.js → workerd-QAI4NP7E.js} +17 -19
- package/oclif.manifest.json +30 -49
- package/package.json +19 -8
- package/dist/assets/auth-error.html +0 -23
- package/dist/assets/empty-url.html +0 -23
- package/dist/assets/favicon.svg +0 -26
- package/dist/assets/missing-code.html +0 -23
- package/dist/assets/missing-state.html +0 -23
- package/dist/assets/style.css +0 -58
- package/dist/assets/success.html +0 -20
- package/dist/chunk-2AW6NZQ5.js +0 -101
- package/dist/chunk-QETDXAFX.js +0 -106
- package/dist/lib-H3ZZGS7I.js +0 -1322
- package/dist/out-66YUO4CT.js +0 -7
- package/dist/templates/theme-extension/assets/thumbs-up.png +0 -0
- package/dist/templates/theme-extension/blocks/star_rating.liquid.raw +0 -21
- package/dist/templates/theme-extension/locales/en.default.json +0 -10
- package/dist/templates/theme-extension/shopify.extension.toml.liquid +0 -3
- package/dist/templates/theme-extension/snippets/stars.liquid.raw +0 -10
- package/dist/templates/ui-extensions/projects/product_subscription/package.json.liquid +0 -25
- package/dist/templates/ui-extensions/projects/product_subscription/shopify.extension.toml.liquid +0 -3
- package/dist/templates/ui-extensions/projects/product_subscription/src/index.liquid +0 -46
- package/dist/templates/ui-extensions/projects/web_pixel_extension/README.md +0 -23
- package/dist/templates/ui-extensions/projects/web_pixel_extension/package.json.liquid +0 -9
- package/dist/templates/ui-extensions/projects/web_pixel_extension/shopify.extension.toml.liquid +0 -16
- package/dist/templates/ui-extensions/projects/web_pixel_extension/src/index.liquid +0 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
require_braces,
|
|
3
2
|
require_glob_parent,
|
|
4
3
|
require_picomatch,
|
|
4
|
+
require_to_regex_range,
|
|
5
5
|
require_utils
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NB4NLOEJ.js";
|
|
7
7
|
import {
|
|
8
8
|
__commonJS,
|
|
9
9
|
__require,
|
|
@@ -110,12 +110,574 @@ var require_path = __commonJS({
|
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
|
|
113
|
-
// ../../node_modules/.pnpm/
|
|
113
|
+
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js
|
|
114
|
+
var require_utils2 = __commonJS({
|
|
115
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/utils.js"(exports) {
|
|
116
|
+
"use strict";
|
|
117
|
+
init_cjs_shims();
|
|
118
|
+
exports.isInteger = (num) => typeof num == "number" ? Number.isInteger(num) : typeof num == "string" && num.trim() !== "" ? Number.isInteger(Number(num)) : !1;
|
|
119
|
+
exports.find = (node, type) => node.nodes.find((node2) => node2.type === type);
|
|
120
|
+
exports.exceedsLimit = (min, max, step = 1, limit) => limit === !1 || !exports.isInteger(min) || !exports.isInteger(max) ? !1 : (Number(max) - Number(min)) / Number(step) >= limit;
|
|
121
|
+
exports.escapeNode = (block, n = 0, type) => {
|
|
122
|
+
let node = block.nodes[n];
|
|
123
|
+
node && (type && node.type === type || node.type === "open" || node.type === "close") && node.escaped !== !0 && (node.value = "\\" + node.value, node.escaped = !0);
|
|
124
|
+
};
|
|
125
|
+
exports.encloseBrace = (node) => node.type !== "brace" || node.commas >> 0 + node.ranges >> 0 ? !1 : (node.invalid = !0, !0);
|
|
126
|
+
exports.isInvalidBrace = (block) => block.type !== "brace" ? !1 : block.invalid === !0 || block.dollar ? !0 : !(block.commas >> 0 + block.ranges >> 0) || block.open !== !0 || block.close !== !0 ? (block.invalid = !0, !0) : !1;
|
|
127
|
+
exports.isOpenOrClose = (node) => node.type === "open" || node.type === "close" ? !0 : node.open === !0 || node.close === !0;
|
|
128
|
+
exports.reduce = (nodes) => nodes.reduce((acc, node) => (node.type === "text" && acc.push(node.value), node.type === "range" && (node.type = "text"), acc), []);
|
|
129
|
+
exports.flatten = (...args) => {
|
|
130
|
+
let result = [], flat = (arr) => {
|
|
131
|
+
for (let i = 0; i < arr.length; i++) {
|
|
132
|
+
let ele = arr[i];
|
|
133
|
+
if (Array.isArray(ele)) {
|
|
134
|
+
flat(ele);
|
|
135
|
+
continue;
|
|
136
|
+
}
|
|
137
|
+
ele !== void 0 && result.push(ele);
|
|
138
|
+
}
|
|
139
|
+
return result;
|
|
140
|
+
};
|
|
141
|
+
return flat(args), result;
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
});
|
|
145
|
+
|
|
146
|
+
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js
|
|
147
|
+
var require_stringify = __commonJS({
|
|
148
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/stringify.js"(exports, module) {
|
|
149
|
+
"use strict";
|
|
150
|
+
init_cjs_shims();
|
|
151
|
+
var utils = require_utils2();
|
|
152
|
+
module.exports = (ast, options = {}) => {
|
|
153
|
+
let stringify = (node, parent = {}) => {
|
|
154
|
+
let invalidBlock = options.escapeInvalid && utils.isInvalidBrace(parent), invalidNode = node.invalid === !0 && options.escapeInvalid === !0, output = "";
|
|
155
|
+
if (node.value)
|
|
156
|
+
return (invalidBlock || invalidNode) && utils.isOpenOrClose(node) ? "\\" + node.value : node.value;
|
|
157
|
+
if (node.value)
|
|
158
|
+
return node.value;
|
|
159
|
+
if (node.nodes)
|
|
160
|
+
for (let child of node.nodes)
|
|
161
|
+
output += stringify(child);
|
|
162
|
+
return output;
|
|
163
|
+
};
|
|
164
|
+
return stringify(ast);
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
// ../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js
|
|
170
|
+
var require_fill_range = __commonJS({
|
|
171
|
+
"../../node_modules/.pnpm/fill-range@7.1.1/node_modules/fill-range/index.js"(exports, module) {
|
|
172
|
+
"use strict";
|
|
173
|
+
init_cjs_shims();
|
|
174
|
+
var util = __require("util"), toRegexRange = require_to_regex_range(), isObject = (val) => val !== null && typeof val == "object" && !Array.isArray(val), transform = (toNumber) => (value) => toNumber === !0 ? Number(value) : String(value), isValidValue = (value) => typeof value == "number" || typeof value == "string" && value !== "", isNumber = (num) => Number.isInteger(+num), zeros = (input) => {
|
|
175
|
+
let value = `${input}`, index = -1;
|
|
176
|
+
if (value[0] === "-" && (value = value.slice(1)), value === "0")
|
|
177
|
+
return !1;
|
|
178
|
+
for (; value[++index] === "0"; )
|
|
179
|
+
;
|
|
180
|
+
return index > 0;
|
|
181
|
+
}, stringify = (start, end, options) => typeof start == "string" || typeof end == "string" ? !0 : options.stringify === !0, pad = (input, maxLength, toNumber) => {
|
|
182
|
+
if (maxLength > 0) {
|
|
183
|
+
let dash = input[0] === "-" ? "-" : "";
|
|
184
|
+
dash && (input = input.slice(1)), input = dash + input.padStart(dash ? maxLength - 1 : maxLength, "0");
|
|
185
|
+
}
|
|
186
|
+
return toNumber === !1 ? String(input) : input;
|
|
187
|
+
}, toMaxLen = (input, maxLength) => {
|
|
188
|
+
let negative = input[0] === "-" ? "-" : "";
|
|
189
|
+
for (negative && (input = input.slice(1), maxLength--); input.length < maxLength; )
|
|
190
|
+
input = "0" + input;
|
|
191
|
+
return negative ? "-" + input : input;
|
|
192
|
+
}, toSequence = (parts, options, maxLen) => {
|
|
193
|
+
parts.negatives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0), parts.positives.sort((a, b) => a < b ? -1 : a > b ? 1 : 0);
|
|
194
|
+
let prefix = options.capture ? "" : "?:", positives = "", negatives = "", result;
|
|
195
|
+
return parts.positives.length && (positives = parts.positives.map((v) => toMaxLen(String(v), maxLen)).join("|")), parts.negatives.length && (negatives = `-(${prefix}${parts.negatives.map((v) => toMaxLen(String(v), maxLen)).join("|")})`), positives && negatives ? result = `${positives}|${negatives}` : result = positives || negatives, options.wrap ? `(${prefix}${result})` : result;
|
|
196
|
+
}, toRange = (a, b, isNumbers, options) => {
|
|
197
|
+
if (isNumbers)
|
|
198
|
+
return toRegexRange(a, b, { wrap: !1, ...options });
|
|
199
|
+
let start = String.fromCharCode(a);
|
|
200
|
+
if (a === b)
|
|
201
|
+
return start;
|
|
202
|
+
let stop = String.fromCharCode(b);
|
|
203
|
+
return `[${start}-${stop}]`;
|
|
204
|
+
}, toRegex = (start, end, options) => {
|
|
205
|
+
if (Array.isArray(start)) {
|
|
206
|
+
let wrap = options.wrap === !0, prefix = options.capture ? "" : "?:";
|
|
207
|
+
return wrap ? `(${prefix}${start.join("|")})` : start.join("|");
|
|
208
|
+
}
|
|
209
|
+
return toRegexRange(start, end, options);
|
|
210
|
+
}, rangeError = (...args) => new RangeError("Invalid range arguments: " + util.inspect(...args)), invalidRange = (start, end, options) => {
|
|
211
|
+
if (options.strictRanges === !0)
|
|
212
|
+
throw rangeError([start, end]);
|
|
213
|
+
return [];
|
|
214
|
+
}, invalidStep = (step, options) => {
|
|
215
|
+
if (options.strictRanges === !0)
|
|
216
|
+
throw new TypeError(`Expected step "${step}" to be a number`);
|
|
217
|
+
return [];
|
|
218
|
+
}, fillNumbers = (start, end, step = 1, options = {}) => {
|
|
219
|
+
let a = Number(start), b = Number(end);
|
|
220
|
+
if (!Number.isInteger(a) || !Number.isInteger(b)) {
|
|
221
|
+
if (options.strictRanges === !0)
|
|
222
|
+
throw rangeError([start, end]);
|
|
223
|
+
return [];
|
|
224
|
+
}
|
|
225
|
+
a === 0 && (a = 0), b === 0 && (b = 0);
|
|
226
|
+
let descending = a > b, startString = String(start), endString = String(end), stepString = String(step);
|
|
227
|
+
step = Math.max(Math.abs(step), 1);
|
|
228
|
+
let padded = zeros(startString) || zeros(endString) || zeros(stepString), maxLen = padded ? Math.max(startString.length, endString.length, stepString.length) : 0, toNumber = padded === !1 && stringify(start, end, options) === !1, format = options.transform || transform(toNumber);
|
|
229
|
+
if (options.toRegex && step === 1)
|
|
230
|
+
return toRange(toMaxLen(start, maxLen), toMaxLen(end, maxLen), !0, options);
|
|
231
|
+
let parts = { negatives: [], positives: [] }, push = (num) => parts[num < 0 ? "negatives" : "positives"].push(Math.abs(num)), range = [], index = 0;
|
|
232
|
+
for (; descending ? a >= b : a <= b; )
|
|
233
|
+
options.toRegex === !0 && step > 1 ? push(a) : range.push(pad(format(a, index), maxLen, toNumber)), a = descending ? a - step : a + step, index++;
|
|
234
|
+
return options.toRegex === !0 ? step > 1 ? toSequence(parts, options, maxLen) : toRegex(range, null, { wrap: !1, ...options }) : range;
|
|
235
|
+
}, fillLetters = (start, end, step = 1, options = {}) => {
|
|
236
|
+
if (!isNumber(start) && start.length > 1 || !isNumber(end) && end.length > 1)
|
|
237
|
+
return invalidRange(start, end, options);
|
|
238
|
+
let format = options.transform || ((val) => String.fromCharCode(val)), a = `${start}`.charCodeAt(0), b = `${end}`.charCodeAt(0), descending = a > b, min = Math.min(a, b), max = Math.max(a, b);
|
|
239
|
+
if (options.toRegex && step === 1)
|
|
240
|
+
return toRange(min, max, !1, options);
|
|
241
|
+
let range = [], index = 0;
|
|
242
|
+
for (; descending ? a >= b : a <= b; )
|
|
243
|
+
range.push(format(a, index)), a = descending ? a - step : a + step, index++;
|
|
244
|
+
return options.toRegex === !0 ? toRegex(range, null, { wrap: !1, options }) : range;
|
|
245
|
+
}, fill = (start, end, step, options = {}) => {
|
|
246
|
+
if (end == null && isValidValue(start))
|
|
247
|
+
return [start];
|
|
248
|
+
if (!isValidValue(start) || !isValidValue(end))
|
|
249
|
+
return invalidRange(start, end, options);
|
|
250
|
+
if (typeof step == "function")
|
|
251
|
+
return fill(start, end, 1, { transform: step });
|
|
252
|
+
if (isObject(step))
|
|
253
|
+
return fill(start, end, 0, step);
|
|
254
|
+
let opts = { ...options };
|
|
255
|
+
return opts.capture === !0 && (opts.wrap = !0), step = step || opts.step || 1, isNumber(step) ? isNumber(start) && isNumber(end) ? fillNumbers(start, end, step, opts) : fillLetters(start, end, Math.max(Math.abs(step), 1), opts) : step != null && !isObject(step) ? invalidStep(step, opts) : fill(start, end, 1, step);
|
|
256
|
+
};
|
|
257
|
+
module.exports = fill;
|
|
258
|
+
}
|
|
259
|
+
});
|
|
260
|
+
|
|
261
|
+
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js
|
|
262
|
+
var require_compile = __commonJS({
|
|
263
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/compile.js"(exports, module) {
|
|
264
|
+
"use strict";
|
|
265
|
+
init_cjs_shims();
|
|
266
|
+
var fill = require_fill_range(), utils = require_utils2(), compile = (ast, options = {}) => {
|
|
267
|
+
let walk = (node, parent = {}) => {
|
|
268
|
+
let invalidBlock = utils.isInvalidBrace(parent), invalidNode = node.invalid === !0 && options.escapeInvalid === !0, invalid = invalidBlock === !0 || invalidNode === !0, prefix = options.escapeInvalid === !0 ? "\\" : "", output = "";
|
|
269
|
+
if (node.isOpen === !0)
|
|
270
|
+
return prefix + node.value;
|
|
271
|
+
if (node.isClose === !0)
|
|
272
|
+
return console.log("node.isClose", prefix, node.value), prefix + node.value;
|
|
273
|
+
if (node.type === "open")
|
|
274
|
+
return invalid ? prefix + node.value : "(";
|
|
275
|
+
if (node.type === "close")
|
|
276
|
+
return invalid ? prefix + node.value : ")";
|
|
277
|
+
if (node.type === "comma")
|
|
278
|
+
return node.prev.type === "comma" ? "" : invalid ? node.value : "|";
|
|
279
|
+
if (node.value)
|
|
280
|
+
return node.value;
|
|
281
|
+
if (node.nodes && node.ranges > 0) {
|
|
282
|
+
let args = utils.reduce(node.nodes), range = fill(...args, { ...options, wrap: !1, toRegex: !0, strictZeros: !0 });
|
|
283
|
+
if (range.length !== 0)
|
|
284
|
+
return args.length > 1 && range.length > 1 ? `(${range})` : range;
|
|
285
|
+
}
|
|
286
|
+
if (node.nodes)
|
|
287
|
+
for (let child of node.nodes)
|
|
288
|
+
output += walk(child, node);
|
|
289
|
+
return output;
|
|
290
|
+
};
|
|
291
|
+
return walk(ast);
|
|
292
|
+
};
|
|
293
|
+
module.exports = compile;
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
|
|
297
|
+
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js
|
|
298
|
+
var require_expand = __commonJS({
|
|
299
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/expand.js"(exports, module) {
|
|
300
|
+
"use strict";
|
|
301
|
+
init_cjs_shims();
|
|
302
|
+
var fill = require_fill_range(), stringify = require_stringify(), utils = require_utils2(), append = (queue = "", stash = "", enclose = !1) => {
|
|
303
|
+
let result = [];
|
|
304
|
+
if (queue = [].concat(queue), stash = [].concat(stash), !stash.length)
|
|
305
|
+
return queue;
|
|
306
|
+
if (!queue.length)
|
|
307
|
+
return enclose ? utils.flatten(stash).map((ele) => `{${ele}}`) : stash;
|
|
308
|
+
for (let item of queue)
|
|
309
|
+
if (Array.isArray(item))
|
|
310
|
+
for (let value of item)
|
|
311
|
+
result.push(append(value, stash, enclose));
|
|
312
|
+
else
|
|
313
|
+
for (let ele of stash)
|
|
314
|
+
enclose === !0 && typeof ele == "string" && (ele = `{${ele}}`), result.push(Array.isArray(ele) ? append(item, ele, enclose) : item + ele);
|
|
315
|
+
return utils.flatten(result);
|
|
316
|
+
}, expand = (ast, options = {}) => {
|
|
317
|
+
let rangeLimit = options.rangeLimit === void 0 ? 1e3 : options.rangeLimit, walk = (node, parent = {}) => {
|
|
318
|
+
node.queue = [];
|
|
319
|
+
let p = parent, q = parent.queue;
|
|
320
|
+
for (; p.type !== "brace" && p.type !== "root" && p.parent; )
|
|
321
|
+
p = p.parent, q = p.queue;
|
|
322
|
+
if (node.invalid || node.dollar) {
|
|
323
|
+
q.push(append(q.pop(), stringify(node, options)));
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
if (node.type === "brace" && node.invalid !== !0 && node.nodes.length === 2) {
|
|
327
|
+
q.push(append(q.pop(), ["{}"]));
|
|
328
|
+
return;
|
|
329
|
+
}
|
|
330
|
+
if (node.nodes && node.ranges > 0) {
|
|
331
|
+
let args = utils.reduce(node.nodes);
|
|
332
|
+
if (utils.exceedsLimit(...args, options.step, rangeLimit))
|
|
333
|
+
throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");
|
|
334
|
+
let range = fill(...args, options);
|
|
335
|
+
range.length === 0 && (range = stringify(node, options)), q.push(append(q.pop(), range)), node.nodes = [];
|
|
336
|
+
return;
|
|
337
|
+
}
|
|
338
|
+
let enclose = utils.encloseBrace(node), queue = node.queue, block = node;
|
|
339
|
+
for (; block.type !== "brace" && block.type !== "root" && block.parent; )
|
|
340
|
+
block = block.parent, queue = block.queue;
|
|
341
|
+
for (let i = 0; i < node.nodes.length; i++) {
|
|
342
|
+
let child = node.nodes[i];
|
|
343
|
+
if (child.type === "comma" && node.type === "brace") {
|
|
344
|
+
i === 1 && queue.push(""), queue.push("");
|
|
345
|
+
continue;
|
|
346
|
+
}
|
|
347
|
+
if (child.type === "close") {
|
|
348
|
+
q.push(append(q.pop(), queue, enclose));
|
|
349
|
+
continue;
|
|
350
|
+
}
|
|
351
|
+
if (child.value && child.type !== "open") {
|
|
352
|
+
queue.push(append(queue.pop(), child.value));
|
|
353
|
+
continue;
|
|
354
|
+
}
|
|
355
|
+
child.nodes && walk(child, node);
|
|
356
|
+
}
|
|
357
|
+
return queue;
|
|
358
|
+
};
|
|
359
|
+
return utils.flatten(walk(ast));
|
|
360
|
+
};
|
|
361
|
+
module.exports = expand;
|
|
362
|
+
}
|
|
363
|
+
});
|
|
364
|
+
|
|
365
|
+
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js
|
|
366
|
+
var require_constants = __commonJS({
|
|
367
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/constants.js"(exports, module) {
|
|
368
|
+
"use strict";
|
|
369
|
+
init_cjs_shims();
|
|
370
|
+
module.exports = {
|
|
371
|
+
MAX_LENGTH: 1e4,
|
|
372
|
+
// Digits
|
|
373
|
+
CHAR_0: "0",
|
|
374
|
+
/* 0 */
|
|
375
|
+
CHAR_9: "9",
|
|
376
|
+
/* 9 */
|
|
377
|
+
// Alphabet chars.
|
|
378
|
+
CHAR_UPPERCASE_A: "A",
|
|
379
|
+
/* A */
|
|
380
|
+
CHAR_LOWERCASE_A: "a",
|
|
381
|
+
/* a */
|
|
382
|
+
CHAR_UPPERCASE_Z: "Z",
|
|
383
|
+
/* Z */
|
|
384
|
+
CHAR_LOWERCASE_Z: "z",
|
|
385
|
+
/* z */
|
|
386
|
+
CHAR_LEFT_PARENTHESES: "(",
|
|
387
|
+
/* ( */
|
|
388
|
+
CHAR_RIGHT_PARENTHESES: ")",
|
|
389
|
+
/* ) */
|
|
390
|
+
CHAR_ASTERISK: "*",
|
|
391
|
+
/* * */
|
|
392
|
+
// Non-alphabetic chars.
|
|
393
|
+
CHAR_AMPERSAND: "&",
|
|
394
|
+
/* & */
|
|
395
|
+
CHAR_AT: "@",
|
|
396
|
+
/* @ */
|
|
397
|
+
CHAR_BACKSLASH: "\\",
|
|
398
|
+
/* \ */
|
|
399
|
+
CHAR_BACKTICK: "`",
|
|
400
|
+
/* ` */
|
|
401
|
+
CHAR_CARRIAGE_RETURN: "\r",
|
|
402
|
+
/* \r */
|
|
403
|
+
CHAR_CIRCUMFLEX_ACCENT: "^",
|
|
404
|
+
/* ^ */
|
|
405
|
+
CHAR_COLON: ":",
|
|
406
|
+
/* : */
|
|
407
|
+
CHAR_COMMA: ",",
|
|
408
|
+
/* , */
|
|
409
|
+
CHAR_DOLLAR: "$",
|
|
410
|
+
/* . */
|
|
411
|
+
CHAR_DOT: ".",
|
|
412
|
+
/* . */
|
|
413
|
+
CHAR_DOUBLE_QUOTE: '"',
|
|
414
|
+
/* " */
|
|
415
|
+
CHAR_EQUAL: "=",
|
|
416
|
+
/* = */
|
|
417
|
+
CHAR_EXCLAMATION_MARK: "!",
|
|
418
|
+
/* ! */
|
|
419
|
+
CHAR_FORM_FEED: "\f",
|
|
420
|
+
/* \f */
|
|
421
|
+
CHAR_FORWARD_SLASH: "/",
|
|
422
|
+
/* / */
|
|
423
|
+
CHAR_HASH: "#",
|
|
424
|
+
/* # */
|
|
425
|
+
CHAR_HYPHEN_MINUS: "-",
|
|
426
|
+
/* - */
|
|
427
|
+
CHAR_LEFT_ANGLE_BRACKET: "<",
|
|
428
|
+
/* < */
|
|
429
|
+
CHAR_LEFT_CURLY_BRACE: "{",
|
|
430
|
+
/* { */
|
|
431
|
+
CHAR_LEFT_SQUARE_BRACKET: "[",
|
|
432
|
+
/* [ */
|
|
433
|
+
CHAR_LINE_FEED: `
|
|
434
|
+
`,
|
|
435
|
+
/* \n */
|
|
436
|
+
CHAR_NO_BREAK_SPACE: "\xA0",
|
|
437
|
+
/* \u00A0 */
|
|
438
|
+
CHAR_PERCENT: "%",
|
|
439
|
+
/* % */
|
|
440
|
+
CHAR_PLUS: "+",
|
|
441
|
+
/* + */
|
|
442
|
+
CHAR_QUESTION_MARK: "?",
|
|
443
|
+
/* ? */
|
|
444
|
+
CHAR_RIGHT_ANGLE_BRACKET: ">",
|
|
445
|
+
/* > */
|
|
446
|
+
CHAR_RIGHT_CURLY_BRACE: "}",
|
|
447
|
+
/* } */
|
|
448
|
+
CHAR_RIGHT_SQUARE_BRACKET: "]",
|
|
449
|
+
/* ] */
|
|
450
|
+
CHAR_SEMICOLON: ";",
|
|
451
|
+
/* ; */
|
|
452
|
+
CHAR_SINGLE_QUOTE: "'",
|
|
453
|
+
/* ' */
|
|
454
|
+
CHAR_SPACE: " ",
|
|
455
|
+
/* */
|
|
456
|
+
CHAR_TAB: " ",
|
|
457
|
+
/* \t */
|
|
458
|
+
CHAR_UNDERSCORE: "_",
|
|
459
|
+
/* _ */
|
|
460
|
+
CHAR_VERTICAL_LINE: "|",
|
|
461
|
+
/* | */
|
|
462
|
+
CHAR_ZERO_WIDTH_NOBREAK_SPACE: "\uFEFF"
|
|
463
|
+
/* \uFEFF */
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
});
|
|
467
|
+
|
|
468
|
+
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js
|
|
469
|
+
var require_parse = __commonJS({
|
|
470
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/lib/parse.js"(exports, module) {
|
|
471
|
+
"use strict";
|
|
472
|
+
init_cjs_shims();
|
|
473
|
+
var stringify = require_stringify(), {
|
|
474
|
+
MAX_LENGTH,
|
|
475
|
+
CHAR_BACKSLASH,
|
|
476
|
+
/* \ */
|
|
477
|
+
CHAR_BACKTICK,
|
|
478
|
+
/* ` */
|
|
479
|
+
CHAR_COMMA,
|
|
480
|
+
/* , */
|
|
481
|
+
CHAR_DOT,
|
|
482
|
+
/* . */
|
|
483
|
+
CHAR_LEFT_PARENTHESES,
|
|
484
|
+
/* ( */
|
|
485
|
+
CHAR_RIGHT_PARENTHESES,
|
|
486
|
+
/* ) */
|
|
487
|
+
CHAR_LEFT_CURLY_BRACE,
|
|
488
|
+
/* { */
|
|
489
|
+
CHAR_RIGHT_CURLY_BRACE,
|
|
490
|
+
/* } */
|
|
491
|
+
CHAR_LEFT_SQUARE_BRACKET,
|
|
492
|
+
/* [ */
|
|
493
|
+
CHAR_RIGHT_SQUARE_BRACKET,
|
|
494
|
+
/* ] */
|
|
495
|
+
CHAR_DOUBLE_QUOTE,
|
|
496
|
+
/* " */
|
|
497
|
+
CHAR_SINGLE_QUOTE,
|
|
498
|
+
/* ' */
|
|
499
|
+
CHAR_NO_BREAK_SPACE,
|
|
500
|
+
CHAR_ZERO_WIDTH_NOBREAK_SPACE
|
|
501
|
+
} = require_constants(), parse = (input, options = {}) => {
|
|
502
|
+
if (typeof input != "string")
|
|
503
|
+
throw new TypeError("Expected a string");
|
|
504
|
+
let opts = options || {}, max = typeof opts.maxLength == "number" ? Math.min(MAX_LENGTH, opts.maxLength) : MAX_LENGTH;
|
|
505
|
+
if (input.length > max)
|
|
506
|
+
throw new SyntaxError(`Input length (${input.length}), exceeds max characters (${max})`);
|
|
507
|
+
let ast = { type: "root", input, nodes: [] }, stack = [ast], block = ast, prev = ast, brackets = 0, length = input.length, index = 0, depth = 0, value, advance = () => input[index++], push = (node) => {
|
|
508
|
+
if (node.type === "text" && prev.type === "dot" && (prev.type = "text"), prev && prev.type === "text" && node.type === "text") {
|
|
509
|
+
prev.value += node.value;
|
|
510
|
+
return;
|
|
511
|
+
}
|
|
512
|
+
return block.nodes.push(node), node.parent = block, node.prev = prev, prev = node, node;
|
|
513
|
+
};
|
|
514
|
+
for (push({ type: "bos" }); index < length; )
|
|
515
|
+
if (block = stack[stack.length - 1], value = advance(), !(value === CHAR_ZERO_WIDTH_NOBREAK_SPACE || value === CHAR_NO_BREAK_SPACE)) {
|
|
516
|
+
if (value === CHAR_BACKSLASH) {
|
|
517
|
+
push({ type: "text", value: (options.keepEscaping ? value : "") + advance() });
|
|
518
|
+
continue;
|
|
519
|
+
}
|
|
520
|
+
if (value === CHAR_RIGHT_SQUARE_BRACKET) {
|
|
521
|
+
push({ type: "text", value: "\\" + value });
|
|
522
|
+
continue;
|
|
523
|
+
}
|
|
524
|
+
if (value === CHAR_LEFT_SQUARE_BRACKET) {
|
|
525
|
+
brackets++;
|
|
526
|
+
let next;
|
|
527
|
+
for (; index < length && (next = advance()); ) {
|
|
528
|
+
if (value += next, next === CHAR_LEFT_SQUARE_BRACKET) {
|
|
529
|
+
brackets++;
|
|
530
|
+
continue;
|
|
531
|
+
}
|
|
532
|
+
if (next === CHAR_BACKSLASH) {
|
|
533
|
+
value += advance();
|
|
534
|
+
continue;
|
|
535
|
+
}
|
|
536
|
+
if (next === CHAR_RIGHT_SQUARE_BRACKET && (brackets--, brackets === 0))
|
|
537
|
+
break;
|
|
538
|
+
}
|
|
539
|
+
push({ type: "text", value });
|
|
540
|
+
continue;
|
|
541
|
+
}
|
|
542
|
+
if (value === CHAR_LEFT_PARENTHESES) {
|
|
543
|
+
block = push({ type: "paren", nodes: [] }), stack.push(block), push({ type: "text", value });
|
|
544
|
+
continue;
|
|
545
|
+
}
|
|
546
|
+
if (value === CHAR_RIGHT_PARENTHESES) {
|
|
547
|
+
if (block.type !== "paren") {
|
|
548
|
+
push({ type: "text", value });
|
|
549
|
+
continue;
|
|
550
|
+
}
|
|
551
|
+
block = stack.pop(), push({ type: "text", value }), block = stack[stack.length - 1];
|
|
552
|
+
continue;
|
|
553
|
+
}
|
|
554
|
+
if (value === CHAR_DOUBLE_QUOTE || value === CHAR_SINGLE_QUOTE || value === CHAR_BACKTICK) {
|
|
555
|
+
let open = value, next;
|
|
556
|
+
for (options.keepQuotes !== !0 && (value = ""); index < length && (next = advance()); ) {
|
|
557
|
+
if (next === CHAR_BACKSLASH) {
|
|
558
|
+
value += next + advance();
|
|
559
|
+
continue;
|
|
560
|
+
}
|
|
561
|
+
if (next === open) {
|
|
562
|
+
options.keepQuotes === !0 && (value += next);
|
|
563
|
+
break;
|
|
564
|
+
}
|
|
565
|
+
value += next;
|
|
566
|
+
}
|
|
567
|
+
push({ type: "text", value });
|
|
568
|
+
continue;
|
|
569
|
+
}
|
|
570
|
+
if (value === CHAR_LEFT_CURLY_BRACE) {
|
|
571
|
+
depth++;
|
|
572
|
+
let brace = {
|
|
573
|
+
type: "brace",
|
|
574
|
+
open: !0,
|
|
575
|
+
close: !1,
|
|
576
|
+
dollar: prev.value && prev.value.slice(-1) === "$" || block.dollar === !0,
|
|
577
|
+
depth,
|
|
578
|
+
commas: 0,
|
|
579
|
+
ranges: 0,
|
|
580
|
+
nodes: []
|
|
581
|
+
};
|
|
582
|
+
block = push(brace), stack.push(block), push({ type: "open", value });
|
|
583
|
+
continue;
|
|
584
|
+
}
|
|
585
|
+
if (value === CHAR_RIGHT_CURLY_BRACE) {
|
|
586
|
+
if (block.type !== "brace") {
|
|
587
|
+
push({ type: "text", value });
|
|
588
|
+
continue;
|
|
589
|
+
}
|
|
590
|
+
let type = "close";
|
|
591
|
+
block = stack.pop(), block.close = !0, push({ type, value }), depth--, block = stack[stack.length - 1];
|
|
592
|
+
continue;
|
|
593
|
+
}
|
|
594
|
+
if (value === CHAR_COMMA && depth > 0) {
|
|
595
|
+
if (block.ranges > 0) {
|
|
596
|
+
block.ranges = 0;
|
|
597
|
+
let open = block.nodes.shift();
|
|
598
|
+
block.nodes = [open, { type: "text", value: stringify(block) }];
|
|
599
|
+
}
|
|
600
|
+
push({ type: "comma", value }), block.commas++;
|
|
601
|
+
continue;
|
|
602
|
+
}
|
|
603
|
+
if (value === CHAR_DOT && depth > 0 && block.commas === 0) {
|
|
604
|
+
let siblings = block.nodes;
|
|
605
|
+
if (depth === 0 || siblings.length === 0) {
|
|
606
|
+
push({ type: "text", value });
|
|
607
|
+
continue;
|
|
608
|
+
}
|
|
609
|
+
if (prev.type === "dot") {
|
|
610
|
+
if (block.range = [], prev.value += value, prev.type = "range", block.nodes.length !== 3 && block.nodes.length !== 5) {
|
|
611
|
+
block.invalid = !0, block.ranges = 0, prev.type = "text";
|
|
612
|
+
continue;
|
|
613
|
+
}
|
|
614
|
+
block.ranges++, block.args = [];
|
|
615
|
+
continue;
|
|
616
|
+
}
|
|
617
|
+
if (prev.type === "range") {
|
|
618
|
+
siblings.pop();
|
|
619
|
+
let before = siblings[siblings.length - 1];
|
|
620
|
+
before.value += prev.value + value, prev = before, block.ranges--;
|
|
621
|
+
continue;
|
|
622
|
+
}
|
|
623
|
+
push({ type: "dot", value });
|
|
624
|
+
continue;
|
|
625
|
+
}
|
|
626
|
+
push({ type: "text", value });
|
|
627
|
+
}
|
|
628
|
+
do
|
|
629
|
+
if (block = stack.pop(), block.type !== "root") {
|
|
630
|
+
block.nodes.forEach((node) => {
|
|
631
|
+
node.nodes || (node.type === "open" && (node.isOpen = !0), node.type === "close" && (node.isClose = !0), node.nodes || (node.type = "text"), node.invalid = !0);
|
|
632
|
+
});
|
|
633
|
+
let parent = stack[stack.length - 1], index2 = parent.nodes.indexOf(block);
|
|
634
|
+
parent.nodes.splice(index2, 1, ...block.nodes);
|
|
635
|
+
}
|
|
636
|
+
while (stack.length > 0);
|
|
637
|
+
return push({ type: "eos" }), ast;
|
|
638
|
+
};
|
|
639
|
+
module.exports = parse;
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
|
|
643
|
+
// ../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js
|
|
644
|
+
var require_braces = __commonJS({
|
|
645
|
+
"../../node_modules/.pnpm/braces@3.0.3/node_modules/braces/index.js"(exports, module) {
|
|
646
|
+
"use strict";
|
|
647
|
+
init_cjs_shims();
|
|
648
|
+
var stringify = require_stringify(), compile = require_compile(), expand = require_expand(), parse = require_parse(), braces = (input, options = {}) => {
|
|
649
|
+
let output = [];
|
|
650
|
+
if (Array.isArray(input))
|
|
651
|
+
for (let pattern of input) {
|
|
652
|
+
let result = braces.create(pattern, options);
|
|
653
|
+
Array.isArray(result) ? output.push(...result) : output.push(result);
|
|
654
|
+
}
|
|
655
|
+
else
|
|
656
|
+
output = [].concat(braces.create(input, options));
|
|
657
|
+
return options && options.expand === !0 && options.nodupes === !0 && (output = [...new Set(output)]), output;
|
|
658
|
+
};
|
|
659
|
+
braces.parse = (input, options = {}) => parse(input, options);
|
|
660
|
+
braces.stringify = (input, options = {}) => stringify(typeof input == "string" ? braces.parse(input, options) : input, options);
|
|
661
|
+
braces.compile = (input, options = {}) => (typeof input == "string" && (input = braces.parse(input, options)), compile(input, options));
|
|
662
|
+
braces.expand = (input, options = {}) => {
|
|
663
|
+
typeof input == "string" && (input = braces.parse(input, options));
|
|
664
|
+
let result = expand(input, options);
|
|
665
|
+
return options.noempty === !0 && (result = result.filter(Boolean)), options.nodupes === !0 && (result = [...new Set(result)]), result;
|
|
666
|
+
};
|
|
667
|
+
braces.create = (input, options = {}) => input === "" || input.length < 3 ? [input] : options.expand !== !0 ? braces.compile(input, options) : braces.expand(input, options);
|
|
668
|
+
module.exports = braces;
|
|
669
|
+
}
|
|
670
|
+
});
|
|
671
|
+
|
|
672
|
+
// ../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js
|
|
114
673
|
var require_micromatch = __commonJS({
|
|
115
|
-
"../../node_modules/.pnpm/micromatch@4.0.
|
|
674
|
+
"../../node_modules/.pnpm/micromatch@4.0.8/node_modules/micromatch/index.js"(exports, module) {
|
|
116
675
|
"use strict";
|
|
117
676
|
init_cjs_shims();
|
|
118
|
-
var util = __require("util"), braces = require_braces(), picomatch = require_picomatch(), utils = require_utils(), isEmptyString = (
|
|
677
|
+
var util = __require("util"), braces = require_braces(), picomatch = require_picomatch(), utils = require_utils(), isEmptyString = (v) => v === "" || v === "./", hasBraces = (v) => {
|
|
678
|
+
let index = v.indexOf("{");
|
|
679
|
+
return index > -1 && v.indexOf("}", index) > -1;
|
|
680
|
+
}, micromatch = (list, patterns, options) => {
|
|
119
681
|
patterns = [].concat(patterns), list = [].concat(list);
|
|
120
682
|
let omit = /* @__PURE__ */ new Set(), keep = /* @__PURE__ */ new Set(), items = /* @__PURE__ */ new Set(), negatives = 0, onResult = (state) => {
|
|
121
683
|
items.add(state.output), options && options.onResult && options.onResult(state);
|
|
@@ -211,13 +773,14 @@ var require_micromatch = __commonJS({
|
|
|
211
773
|
micromatch.braces = (pattern, options) => {
|
|
212
774
|
if (typeof pattern != "string")
|
|
213
775
|
throw new TypeError("Expected a string");
|
|
214
|
-
return options && options.nobrace === !0 ||
|
|
776
|
+
return options && options.nobrace === !0 || !hasBraces(pattern) ? [pattern] : braces(pattern, options);
|
|
215
777
|
};
|
|
216
778
|
micromatch.braceExpand = (pattern, options) => {
|
|
217
779
|
if (typeof pattern != "string")
|
|
218
780
|
throw new TypeError("Expected a string");
|
|
219
781
|
return micromatch.braces(pattern, { ...options, expand: !0 });
|
|
220
782
|
};
|
|
783
|
+
micromatch.hasBraces = hasBraces;
|
|
221
784
|
module.exports = micromatch;
|
|
222
785
|
}
|
|
223
786
|
});
|
|
@@ -442,7 +1005,7 @@ var require_string = __commonJS({
|
|
|
442
1005
|
});
|
|
443
1006
|
|
|
444
1007
|
// ../../node_modules/.pnpm/fast-glob@3.3.1/node_modules/fast-glob/out/utils/index.js
|
|
445
|
-
var
|
|
1008
|
+
var require_utils3 = __commonJS({
|
|
446
1009
|
"../../node_modules/.pnpm/fast-glob@3.3.1/node_modules/fast-glob/out/utils/index.js"(exports) {
|
|
447
1010
|
"use strict";
|
|
448
1011
|
init_cjs_shims();
|
|
@@ -472,7 +1035,7 @@ var require_tasks = __commonJS({
|
|
|
472
1035
|
init_cjs_shims();
|
|
473
1036
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
474
1037
|
exports.convertPatternGroupToTask = exports.convertPatternGroupsToTasks = exports.groupPatternsByBaseDirectory = exports.getNegativePatternsAsPositive = exports.getPositivePatterns = exports.convertPatternsToTasks = exports.generate = void 0;
|
|
475
|
-
var utils =
|
|
1038
|
+
var utils = require_utils3();
|
|
476
1039
|
function generate(input, settings) {
|
|
477
1040
|
let patterns = processPatterns(input, settings), ignore = processPatterns(settings.ignore, settings), positivePatterns = getPositivePatterns(patterns), negativePatterns = getNegativePatternsAsPositive(patterns, ignore), staticPatterns = positivePatterns.filter((pattern) => utils.pattern.isStaticPattern(pattern, settings)), dynamicPatterns = positivePatterns.filter((pattern) => utils.pattern.isDynamicPattern(pattern, settings)), staticTasks = convertPatternsToTasks(
|
|
478
1041
|
staticPatterns,
|
|
@@ -704,7 +1267,7 @@ var require_run_parallel = __commonJS({
|
|
|
704
1267
|
});
|
|
705
1268
|
|
|
706
1269
|
// ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js
|
|
707
|
-
var
|
|
1270
|
+
var require_constants2 = __commonJS({
|
|
708
1271
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/constants.js"(exports) {
|
|
709
1272
|
"use strict";
|
|
710
1273
|
init_cjs_shims();
|
|
@@ -738,7 +1301,7 @@ var require_fs3 = __commonJS({
|
|
|
738
1301
|
});
|
|
739
1302
|
|
|
740
1303
|
// ../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js
|
|
741
|
-
var
|
|
1304
|
+
var require_utils4 = __commonJS({
|
|
742
1305
|
"../../node_modules/.pnpm/@nodelib+fs.scandir@2.1.5/node_modules/@nodelib/fs.scandir/out/utils/index.js"(exports) {
|
|
743
1306
|
"use strict";
|
|
744
1307
|
init_cjs_shims();
|
|
@@ -770,7 +1333,7 @@ var require_async2 = __commonJS({
|
|
|
770
1333
|
init_cjs_shims();
|
|
771
1334
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
772
1335
|
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
773
|
-
var fsStat = require_out(), rpl = require_run_parallel(), constants_1 =
|
|
1336
|
+
var fsStat = require_out(), rpl = require_run_parallel(), constants_1 = require_constants2(), utils = require_utils4(), common = require_common();
|
|
774
1337
|
function read(directory, settings, callback) {
|
|
775
1338
|
if (!settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES) {
|
|
776
1339
|
readdirWithFileTypes(directory, settings, callback);
|
|
@@ -873,7 +1436,7 @@ var require_sync2 = __commonJS({
|
|
|
873
1436
|
init_cjs_shims();
|
|
874
1437
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
875
1438
|
exports.readdir = exports.readdirWithFileTypes = exports.read = void 0;
|
|
876
|
-
var fsStat = require_out(), constants_1 =
|
|
1439
|
+
var fsStat = require_out(), constants_1 = require_constants2(), utils = require_utils4(), common = require_common();
|
|
877
1440
|
function read(directory, settings) {
|
|
878
1441
|
return !settings.stats && constants_1.IS_SUPPORT_READDIR_WITH_FILE_TYPES ? readdirWithFileTypes(directory, settings) : readdir(directory, settings);
|
|
879
1442
|
}
|
|
@@ -1453,7 +2016,7 @@ var require_reader2 = __commonJS({
|
|
|
1453
2016
|
"use strict";
|
|
1454
2017
|
init_cjs_shims();
|
|
1455
2018
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
1456
|
-
var path = __require("path"), fsStat = require_out(), utils =
|
|
2019
|
+
var path = __require("path"), fsStat = require_out(), utils = require_utils3(), Reader = class {
|
|
1457
2020
|
constructor(_settings) {
|
|
1458
2021
|
this._settings = _settings, this._fsStatSettings = new fsStat.Settings({
|
|
1459
2022
|
followSymbolicLink: this._settings.followSymbolicLinks,
|
|
@@ -1553,7 +2116,7 @@ var require_matcher = __commonJS({
|
|
|
1553
2116
|
"use strict";
|
|
1554
2117
|
init_cjs_shims();
|
|
1555
2118
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
1556
|
-
var utils =
|
|
2119
|
+
var utils = require_utils3(), Matcher = class {
|
|
1557
2120
|
constructor(_patterns, _settings, _micromatchOptions) {
|
|
1558
2121
|
this._patterns = _patterns, this._settings = _settings, this._micromatchOptions = _micromatchOptions, this._storage = [], this._fillStorage();
|
|
1559
2122
|
}
|
|
@@ -1616,7 +2179,7 @@ var require_deep = __commonJS({
|
|
|
1616
2179
|
"use strict";
|
|
1617
2180
|
init_cjs_shims();
|
|
1618
2181
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
1619
|
-
var utils =
|
|
2182
|
+
var utils = require_utils3(), partial_1 = require_partial(), DeepFilter = class {
|
|
1620
2183
|
constructor(_settings, _micromatchOptions) {
|
|
1621
2184
|
this._settings = _settings, this._micromatchOptions = _micromatchOptions;
|
|
1622
2185
|
}
|
|
@@ -1667,7 +2230,7 @@ var require_entry = __commonJS({
|
|
|
1667
2230
|
"use strict";
|
|
1668
2231
|
init_cjs_shims();
|
|
1669
2232
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
1670
|
-
var utils =
|
|
2233
|
+
var utils = require_utils3(), EntryFilter = class {
|
|
1671
2234
|
constructor(_settings, _micromatchOptions) {
|
|
1672
2235
|
this._settings = _settings, this._micromatchOptions = _micromatchOptions, this.index = /* @__PURE__ */ new Map();
|
|
1673
2236
|
}
|
|
@@ -1715,7 +2278,7 @@ var require_error = __commonJS({
|
|
|
1715
2278
|
"use strict";
|
|
1716
2279
|
init_cjs_shims();
|
|
1717
2280
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
1718
|
-
var utils =
|
|
2281
|
+
var utils = require_utils3(), ErrorFilter = class {
|
|
1719
2282
|
constructor(_settings) {
|
|
1720
2283
|
this._settings = _settings;
|
|
1721
2284
|
}
|
|
@@ -1736,7 +2299,7 @@ var require_entry2 = __commonJS({
|
|
|
1736
2299
|
"use strict";
|
|
1737
2300
|
init_cjs_shims();
|
|
1738
2301
|
Object.defineProperty(exports, "__esModule", { value: !0 });
|
|
1739
|
-
var utils =
|
|
2302
|
+
var utils = require_utils3(), EntryTransformer = class {
|
|
1740
2303
|
constructor(_settings) {
|
|
1741
2304
|
this._settings = _settings;
|
|
1742
2305
|
}
|
|
@@ -1939,7 +2502,7 @@ var require_settings4 = __commonJS({
|
|
|
1939
2502
|
var require_out4 = __commonJS({
|
|
1940
2503
|
"../../node_modules/.pnpm/fast-glob@3.3.1/node_modules/fast-glob/out/index.js"(exports, module) {
|
|
1941
2504
|
init_cjs_shims();
|
|
1942
|
-
var taskManager = require_tasks(), async_1 = require_async6(), stream_1 = require_stream4(), sync_1 = require_sync6(), settings_1 = require_settings4(), utils =
|
|
2505
|
+
var taskManager = require_tasks(), async_1 = require_async6(), stream_1 = require_stream4(), sync_1 = require_sync6(), settings_1 = require_settings4(), utils = require_utils3();
|
|
1943
2506
|
async function FastGlob(source, options) {
|
|
1944
2507
|
assertPatternsInput(source);
|
|
1945
2508
|
let works = getWorks(source, async_1.default, options), result = await Promise.all(works);
|
|
@@ -2021,10 +2584,18 @@ export {
|
|
|
2021
2584
|
};
|
|
2022
2585
|
/*! Bundled license information:
|
|
2023
2586
|
|
|
2587
|
+
fill-range/index.js:
|
|
2588
|
+
(*!
|
|
2589
|
+
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
2590
|
+
*
|
|
2591
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
2592
|
+
* Licensed under the MIT License.
|
|
2593
|
+
*)
|
|
2594
|
+
|
|
2024
2595
|
queue-microtask/index.js:
|
|
2025
2596
|
(*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
2026
2597
|
|
|
2027
2598
|
run-parallel/index.js:
|
|
2028
2599
|
(*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
2029
2600
|
*/
|
|
2030
|
-
//# sourceMappingURL=chunk-
|
|
2601
|
+
//# sourceMappingURL=chunk-MX4RJDBM.js.map
|