Reverted the update
Some checks failed
Auto Maintenance Cycle / pre-commit Autoupdate (push) Failing after 31s

This commit is contained in:
2024-05-21 02:29:28 +02:00
parent 5677567dc9
commit d1250e341b
37 changed files with 312 additions and 778 deletions

View File

@ -163,7 +163,7 @@ function Multipart (boy, cfg) {
++nfiles
if (boy.listenerCount('file') === 0) {
if (!boy._events.file) {
self.parser._ignore()
return
}

View File

@ -96,7 +96,7 @@ const decoders = {
if (textDecoders.has(this.toString())) {
try {
return textDecoders.get(this).decode(data)
} catch {}
} catch (e) { }
}
return typeof data === 'string'
? data