Skip to content

Releases: OtterJS/parsec

v0.2.1

23 Sep 00:49
Compare
Choose a tag to compare

Fixed

  • Export all types from src/parsers

v0.2.0

22 Sep 23:29
Compare
Choose a tag to compare

Warning

This update contains breaking changes!

Changed

  • All middlewares that assign to req.body have been replaced with functions that return the parsed body or undefined in scenarios they would have previously called next().

Added

  • ParsedMultipartData and ParsedMultipartFormData types are now exported

v0.1.3

13 Sep 22:33
fec0742
Compare
Choose a tag to compare

Fixed

  • multipart body parsers were not calling next() on success

v0.1.2

25 Aug 15:33
Compare
Choose a tag to compare

Fixed

  • Error: 'charsetExists' is not a function, related to usage of iconv-lite from an ESM context
  • raw(options) options argument is now optional

v0.1.1

25 Aug 15:16
Compare
Choose a tag to compare

Fixed

  • Import iconv-lite using a namespace import (import * as ... from "...") to mitigate SyntaxError: The requested module 'iconv-lite' does not provide an export named 'encodingExists'