node_modules: update (#332)

Co-authored-by: dawidd6 <9713907+dawidd6@users.noreply.github.com>
This commit is contained in:
Dawid Dziurlaanddawidd6 authored and GitHub committed 2026-10-01 09:48:38 +02:00
1 parent c1dac70e3a
commit 6bf0a2f26a
95 files changed
+1102 -503

No files matched your search

+5 -5
View File
@@ -155,14 +155,14 @@ function nmfetch(url, options) {
.join('&'));
}
catch (E) {
if (finished) {
return undefined;
}
// the caller attaches its error listener once nmfetch has returned, so
// the error is emitted on the next tick and the stream is handed back
// the way every other failure is reported
finished = true;
E.code = errors.EFETCH;
E.sourceUrl = url;
fetchRes.emit('error', E);
return undefined;
setImmediate(() => fetchRes.emit('error', E));
return fetchRes;
}
}
else {