Skip to content

Bump postal-mime from 4.0.5 to 4.2.1 - #143

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/postal-mime-4.2.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/postal-mime-4.2.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Bumps postal-mime from 4.0.5 to 4.2.1.

Release notes

Sourced from postal-mime's releases.

v4.2.1

4.2.1 (2026-11-10)

Summary

A security release. A deeply nested multipart message could make boundary matching cost the nesting depth times the message size, and the address parser read some sender domains differently from RFC 5322 parsers.

Who should upgrade

Everyone who parses untrusted mail with postal-mime, and anyone who shows or makes decisions on from.address.

Behavior changes

  • Whitespace or a comment beside a dot of an address domain is now folding whitespace, as RFC 5322 obs-domain and Python read it: ceo@victim.example .other.example is ceo@victim.example.other.example, no longer ceo@victim.example with the rest in the name. Only SP, HTAB and folds count, other Unicode spaces still end the domain.
  • An address holding a control character now has an empty address instead of one with the character silently removed. A display name still has the character left out.

Highlights

  • Body lines starting with -- are looked up among the open boundaries instead of being compared with each one in turn, so parse cost no longer grows with nesting depth.
  • The address parser fix is shared with nodemailer, so both keep reading address headers the same way.

Bug Fixes

  • look a boundary line up instead of comparing it with every open boundary (3c3fd9e)
  • read whitespace and comments around a dot of the domain as CFWS (6467257)

v4.2.0

4.2.0 (2026-10-29)

Features

  • parse the OTP-Token header into email.otp (740b3ab)

v4.1.4

4.1.4 (2026-10-22)

Bug Fixes

  • end the header block at the first line that is neither a field nor a fold (0018555)
  • honour only the utf-16 charset labels Python or iconv-lite decode (4d96a49)
  • honour only the utf-16 charset labels that Python and iconv-lite both decode (afbe5a9)
  • keep a base64 or quoted-printable message/rfc822 part as an attachment (0e0582e)
  • percent encode a mailto address in runs instead of one character at a time (dd73f5c)

... (truncated)

Changelog

Sourced from postal-mime's changelog.

4.2.1 (2026-11-10)

Bug Fixes

  • look a boundary line up instead of comparing it with every open boundary (3c3fd9e)
  • read whitespace and comments around a dot of the domain as CFWS (6467257)

4.2.0 (2026-10-29)

Features

  • parse the OTP-Token header into email.otp (740b3ab)

4.1.4 (2026-10-22)

Bug Fixes

  • end the header block at the first line that is neither a field nor a fold (0018555)
  • honour only the utf-16 charset labels Python or iconv-lite decode (4d96a49)
  • honour only the utf-16 charset labels that Python and iconv-lite both decode (afbe5a9)
  • keep a base64 or quoted-printable message/rfc822 part as an attachment (0e0582e)
  • percent encode a mailto address in runs instead of one character at a time (dd73f5c)
  • percent encode the mailto address in the demo (7da508e)
  • read a multipart whose boundary holds a non-ASCII character as text/plain (a7d4dad)
  • read the transfer encoding token from the start of the value only (e66830a)
  • reject a maxPartCount of zero as an invalid option (35bde9d)
  • render the dates of forwarded headers with one shared formatter (ca27168)
  • unfold format=flowed text in a text/plain part only (336378a)

4.1.3 (2026-10-21)

Bug Fixes

  • honour a byte order mark only under a utf-16 label that leaves the order open (db9a6ce)

4.1.2 (2026-10-21)

Bug Fixes

  • copy the characters of a structured header as runs instead of one at a time (f0edeee)

4.1.1 (2026-10-21)

Bug Fixes

... (truncated)

Commits
  • 5828feb chore(master): release 4.2.1 (#124)
  • 6467257 fix: read whitespace and comments around a dot of the domain as CFWS
  • 7992473 docs: note that the boundary length index relies on ASCII boundaries
  • 1c57018 chore: update development dependencies
  • 3c3fd9e fix: look a boundary line up instead of comparing it with every open boundary
  • 939a220 chore(master): release 4.2.0 (#122)
  • 740b3ab feat: parse the OTP-Token header into email.otp
  • d96e201 chore(master): release 4.1.4 (#121)
  • c93049e docs: note that whitespace before the colon keeps a line a header
  • afbe5a9 fix: honour only the utf-16 charset labels that Python and iconv-lite both de...
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 8, 2026
Bumps [postal-mime](https://github.com/postalsys/postal-mime) from 4.0.5 to 4.2.1.
- [Release notes](https://github.com/postalsys/postal-mime/releases)
- [Changelog](https://github.com/postalsys/postal-mime/blob/master/CHANGELOG.md)
- [Commits](postalsys/postal-mime@v4.0.5...v4.2.1)

---
updated-dependencies:
- dependency-name: postal-mime
  dependency-version: 4.2.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump postal-mime from 4.0.5 to 4.2.0 Bump postal-mime from 4.0.5 to 4.2.1 Nov 23, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/postal-mime-4.2.0 branch from aa75b59 to 84133b6 Compare November 23, 2026 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants