@@ -6923,7 +6923,7 @@ var require_make_dir = __commonJS({
69236923 if (typeof options === "number") return options;
69246924 return __spreadValues(__spreadValues({}, defaults), options).mode;
69256925 };
6926- module2.exports.makeDir = (dir, options) => __async(exports2 , null, function* () {
6926+ module2.exports.makeDir = (dir, options) => __async(null , null, function* () {
69276927 checkPath(dir);
69286928 return fs6.mkdir(dir, {
69296929 mode: getMode(options),
@@ -11577,7 +11577,7 @@ var init_node = __esm({
1157711577 const { body: o3 } = i[H];
1157811578 return o3 === null ? 0 : yr(o3) ? o3.size : import_node_buffer2.Buffer.isBuffer(o3) ? o3.length : o3 && typeof o3.getLengthSync == "function" && o3.hasKnownLength && o3.hasKnownLength() ? o3.getLengthSync() : null;
1157911579 }, "getTotalBytes");
11580- Xs = n2((_0, _1) => __async(void 0 , [_0, _1], function* (i, { body: o3 }) {
11580+ Xs = n2((_0, _1) => __async(null , [_0, _1], function* (i, { body: o3 }) {
1158111581 o3 === null ? i.end() : yield Zs(o3, i);
1158211582 }), "writeToStream");
1158311583 gr = typeof import_node_http2.default.validateHeaderName == "function" ? import_node_http2.default.validateHeaderName : (i) => {
@@ -12335,7 +12335,7 @@ _streams = new WeakMap();
1233512335_ended = new WeakMap();
1233612336_aborted = new WeakMap();
1233712337_onFinished = new WeakMap();
12338- var onMergedStreamFinished = (passThroughStream, streams) => __async(void 0 , null, function* () {
12338+ var onMergedStreamFinished = (passThroughStream, streams) => __async(null , null, function* () {
1233912339 updateMaxListeners(passThroughStream, PASSTHROUGH_LISTENERS_COUNT);
1234012340 const controller = new AbortController();
1234112341 try {
@@ -12348,10 +12348,10 @@ var onMergedStreamFinished = (passThroughStream, streams) => __async(void 0, nul
1234812348 updateMaxListeners(passThroughStream, -PASSTHROUGH_LISTENERS_COUNT);
1234912349 }
1235012350});
12351- var onMergedStreamEnd = (_0, _1) => __async(void 0 , [_0, _1], function* (passThroughStream, { signal }) {
12351+ var onMergedStreamEnd = (_0, _1) => __async(null , [_0, _1], function* (passThroughStream, { signal }) {
1235212352 yield (0, import_promises.finished)(passThroughStream, { signal, cleanup: true });
1235312353});
12354- var onInputStreamsUnpipe = (_0, _1, _2) => __async(void 0 , [_0, _1, _2], function* (passThroughStream, streams, { signal }) {
12354+ var onInputStreamsUnpipe = (_0, _1, _2) => __async(null , [_0, _1, _2], function* (passThroughStream, streams, { signal }) {
1235512355 try {
1235612356 for (var iter = __forAwait((0, import_node_events.on)(passThroughStream, "unpipe", { signal })), more, temp, error; more = !(temp = yield iter.next()).done; more = false) {
1235712357 const [unpipedStream] = temp.value;
@@ -12375,7 +12375,7 @@ var validateStream = (stream) => {
1237512375 throw new TypeError(`Expected a readable stream, got: \`${typeof stream}\`.`);
1237612376 }
1237712377};
12378- var endWhenStreamsDone = (_0) => __async(void 0 , [_0], function* ({ passThroughStream, stream, streams, ended, aborted, onFinished }) {
12378+ var endWhenStreamsDone = (_0) => __async(null , [_0], function* ({ passThroughStream, stream, streams, ended, aborted, onFinished }) {
1237912379 updateMaxListeners(passThroughStream, PASSTHROUGH_LISTENERS_PER_STREAM);
1238012380 const controller = new AbortController();
1238112381 try {
@@ -12397,7 +12397,7 @@ var endWhenStreamsDone = (_0) => __async(void 0, [_0], function* ({ passThroughS
1239712397 }
1239812398});
1239912399var isAbortError = (error) => (error == null ? void 0 : error.code) === "ERR_STREAM_PREMATURE_CLOSE";
12400- var afterMergedStreamFinished = (onFinished, stream) => __async(void 0 , null, function* () {
12400+ var afterMergedStreamFinished = (onFinished, stream) => __async(null , null, function* () {
1240112401 try {
1240212402 yield onFinished;
1240312403 abortStream(stream);
@@ -12409,7 +12409,7 @@ var afterMergedStreamFinished = (onFinished, stream) => __async(void 0, null, fu
1240912409 }
1241012410 }
1241112411});
12412- var onInputStreamEnd = (_0) => __async(void 0 , [_0], function* ({ passThroughStream, stream, streams, ended, aborted, controller: { signal } }) {
12412+ var onInputStreamEnd = (_0) => __async(null , [_0], function* ({ passThroughStream, stream, streams, ended, aborted, controller: { signal } }) {
1241312413 try {
1241412414 yield (0, import_promises.finished)(stream, { signal, cleanup: true, readable: true, writable: false });
1241512415 if (streams.has(stream)) {
@@ -12426,7 +12426,7 @@ var onInputStreamEnd = (_0) => __async(void 0, [_0], function* ({ passThroughStr
1242612426 }
1242712427 }
1242812428});
12429- var onInputStreamUnpipe = (_0) => __async(void 0 , [_0], function* ({ stream, streams, ended, aborted, controller: { signal } }) {
12429+ var onInputStreamUnpipe = (_0) => __async(null , [_0], function* ({ stream, streams, ended, aborted, controller: { signal } }) {
1243012430 yield (0, import_node_events.once)(stream, unpipeEvent, { signal });
1243112431 streams.delete(stream);
1243212432 ended.delete(stream);
@@ -12578,7 +12578,7 @@ var normalizeOptions = (options = {}) => {
1257812578 ignore: [...(_b2 = options.ignore) != null ? _b2 : [], ...defaultIgnoredDirectories]
1257912579 };
1258012580};
12581- var isIgnoredByIgnoreFiles = (patterns, options) => __async(void 0 , null, function* () {
12581+ var isIgnoredByIgnoreFiles = (patterns, options) => __async(null , null, function* () {
1258212582 const { cwd, suppressErrors, deep, ignore } = normalizeOptions(options);
1258312583 const paths = yield (0, import_fast_glob.default)(patterns, __spreadValues({
1258412584 cwd,
@@ -12587,7 +12587,7 @@ var isIgnoredByIgnoreFiles = (patterns, options) => __async(void 0, null, functi
1258712587 ignore
1258812588 }, ignoreFilesGlobOptions));
1258912589 const files = yield Promise.all(
12590- paths.map((filePath) => __async(void 0 , null, function* () {
12590+ paths.map((filePath) => __async(null , null, function* () {
1259112591 return {
1259212592 filePath,
1259312593 content: yield import_promises3.default.readFile(filePath, "utf8")
@@ -12627,13 +12627,13 @@ var getDirectoryGlob = ({ directoryPath, files, extensions }) => {
1262712627 const extensionGlob = (extensions == null ? void 0 : extensions.length) > 0 ? `.${extensions.length > 1 ? `{${extensions.join(",")}}` : extensions[0]}` : "";
1262812628 return files ? files.map((file) => import_node_path3.default.posix.join(directoryPath, `**/${import_node_path3.default.extname(file) ? file : `${file}${extensionGlob}`}`)) : [import_node_path3.default.posix.join(directoryPath, `**${extensionGlob ? `/*${extensionGlob}` : ""}`)];
1262912629};
12630- var directoryToGlob = (_0, ..._1) => __async(void 0 , [_0, ..._1], function* (directoryPaths, {
12630+ var directoryToGlob = (_0, ..._1) => __async(null , [_0, ..._1], function* (directoryPaths, {
1263112631 cwd = import_node_process2.default.cwd(),
1263212632 files,
1263312633 extensions
1263412634} = {}) {
1263512635 const globs = yield Promise.all(
12636- directoryPaths.map((directoryPath) => __async(void 0 , null, function* () {
12636+ directoryPaths.map((directoryPath) => __async(null , null, function* () {
1263712637 return (yield isDirectory(normalizePathForDirectoryGlob(directoryPath, cwd))) ? getDirectoryGlob({ directoryPath, files, extensions }) : directoryPath;
1263812638 }))
1263912639 );
@@ -12673,7 +12673,7 @@ var normalizeOptions2 = (options = {}) => {
1267312673 checkCwdOption(options.cwd);
1267412674 return options;
1267512675};
12676- var normalizeArguments = (function_) => (patterns, options) => __async(void 0 , null, function* () {
12676+ var normalizeArguments = (function_) => (patterns, options) => __async(null , null, function* () {
1267712677 return function_(toPatternsArray(patterns), normalizeOptions2(options));
1267812678});
1267912679var normalizeArgumentsSync = (function_) => (patterns, options) => function_(toPatternsArray(patterns), normalizeOptions2(options));
@@ -12685,7 +12685,7 @@ var getIgnoreFilesPatterns = (options) => {
1268512685 }
1268612686 return patterns;
1268712687};
12688- var getFilter = (options) => __async(void 0 , null, function* () {
12688+ var getFilter = (options) => __async(null , null, function* () {
1268912689 const ignoreFilesPatterns = getIgnoreFilesPatterns(options);
1269012690 return createFilterFunction(
1269112691 ignoreFilesPatterns.length > 0 && (yield isIgnoredByIgnoreFiles(ignoreFilesPatterns, options))
@@ -12738,15 +12738,15 @@ var convertNegativePatterns = (patterns, options) => {
1273812738 return tasks;
1273912739};
1274012740var normalizeExpandDirectoriesOption = (options, cwd) => __spreadValues(__spreadValues({}, cwd ? { cwd } : {}), Array.isArray(options) ? { files: options } : options);
12741- var generateTasks = (patterns, options) => __async(void 0 , null, function* () {
12741+ var generateTasks = (patterns, options) => __async(null , null, function* () {
1274212742 const globTasks = convertNegativePatterns(patterns, options);
1274312743 const { cwd, expandDirectories } = options;
1274412744 if (!expandDirectories) {
1274512745 return globTasks;
1274612746 }
1274712747 const directoryToGlobOptions = normalizeExpandDirectoriesOption(expandDirectories, cwd);
1274812748 return Promise.all(
12749- globTasks.map((task) => __async(void 0 , null, function* () {
12749+ globTasks.map((task) => __async(null , null, function* () {
1275012750 let { patterns: patterns2, options: options2 } = task;
1275112751 [
1275212752 patterns2,
@@ -12773,7 +12773,7 @@ var generateTasksSync = (patterns, options) => {
1277312773 return { patterns: patterns2, options: options2 };
1277412774 });
1277512775};
12776- var globby = normalizeArguments((patterns, options) => __async(void 0 , null, function* () {
12776+ var globby = normalizeArguments((patterns, options) => __async(null , null, function* () {
1277712777 const [
1277812778 tasks,
1277912779 filter
0 commit comments