update dependency after merge from master

This commit is contained in:
Slawomir Jaranowski
2024-11-03 16:08:16 +01:00
parent a30fd1b059
commit 64e42c454d
122 changed files with 2272 additions and 2965 deletions

View File

@ -163,7 +163,7 @@ function Multipart (boy, cfg) {
++nfiles
if (!boy._events.file) {
if (boy.listenerCount('file') === 0) {
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 (e) { }
} catch {}
}
return typeof data === 'string'
? data