Skip to content

Bump postal-mime from 4.0.4 to 4.2.1 - #28

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

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 21, 2026

Copy link
Copy Markdown

Bumps postal-mime from 4.0.4 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 compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [postal-mime](https://github.com/postalsys/postal-mime) from 4.0.4 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.4...v4.2.1)

---
updated-dependencies:
- dependency-name: postal-mime
  dependency-version: 4.2.1
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from predatorx7 as a code owner November 21, 2026 15:30
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 21, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@reclaim-pr-agent reclaim-pr-agent Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved by Reclaim PR Agent after an automated GPT-5.6 Terra review.

@reclaim-pr-agent

Copy link
Copy Markdown

Reclaim PR Agent review · run 136892600664

Result Head Blocking findings Ponytail suggestions Check
Approved dbaa8db68f67 0 0 View run

Reviewed all 1 diff chunks. No blocking defects found.

Ponytail: Lean already. Ship.

This branch has not been deployed

No deployments
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.

1 participant