github remix-run/remix multipart-parser@0.16.6
multipart-parser v0.16.6

latest releases: remix@3.0.0-rc.4, ui-hmr@0.1.1, tar-parser@0.8.1...
3 hours ago

Patch Changes

  • Read multipart boundaries from the complete boundary parameter using ContentType, honoring quoted values and ignoring boundary-like text in other parameters. Accept an unterminated quoted boundary through the end of the header, matching Fetch's parameter parsing.

  • Reject malformed multipart delimiter endings instead of interpreting body content as additional parts. Validate ordinary delimiter endings before yielding parts, including across stream chunks. Accept optional space/tab padding, closing delimiters at EOF, and empty multipart messages, and ignore epilogues after the closing CRLF (see #11901).

    MultipartParser.write() continues to yield every part, including the final part, and finish() validates completion without returning a value. Invalid closing suffixes are rejected even when the final part has already been delivered.

  • Declare package modules as side-effect-free.

  • Bumped @remix-run/* dependencies:

Don't miss a new remix release

NewReleases is sending notifications on new releases.