Skip to content

fix(deps): update dependency postal-mime to v4 - #25

Merged
gmitch215 merged 1 commit into
masterfrom
renovate/postal-mime-4.x
Sep 28, 2026
Merged

gmitch215 merged 1 commit into
masterfrom
renovate/postal-mime-4.x

Conversation

@renovate

@renovate renovate Bot commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
postal-mime (source) ^2.7.5 → ^4.0.0 age confidence

Release Notes

postalsys/postal-mime (postal-mime)

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • Node.js 20 or newer is required.
  • Attachment.disposition is typed as AttachmentDisposition | null, which accepts any Content-Disposition token, instead of 'attachment' | 'inline' | null. The parsed output is unchanged, but code that assigns the value to the narrower type has to widen it.
  • the ES module entry point moved from src/postal-mime.js to dist/esm/postal-mime.js, so browser code that imported the file from node_modules directly has to use the new path. Consumers that import postal-mime by name are unaffected.
Features
  • convert to TypeScript and ship ES module and CommonJS builds (2559c82)
  • declare the CommonJS entry point with export = and ship source maps (84d1159)
  • type the attachment disposition as the token the message carries (4bb2796)
Bug Fixes
  • keep the public object types assignable to an index signature (3363039)
Miscellaneous Chores
  • require Node.js 20 or newer (21eaae6)

v3.0.1

Compare Source

Bug Fixes
  • collect parsed addresses in linear time (68cd065), closes #​97
  • convert html to text in linear time (38b2a83), closes #​97
  • detect angle bracket addresses in decoded words in linear time (390be2b), closes #​97
  • normalize calendar attachment line endings in linear time (36edda7), closes #​97
  • strip header comments in linear time (5d877da), closes #​97
  • trim header whitespace in linear time (932441f), closes #​97
  • trim text around an extracted address in linear time (511a194), closes #​97
  • unfold format=flowed text in linear time (237c7a9), closes #​97
Performance Improvements
  • skip decoder construction for charset labels TextDecoder cannot know (5407771), closes #​97

v3.0.0

Compare Source

⚠ BREAKING CHANGES
  • header values in headers[].value keep the whitespace that folding introduced instead of having every whitespace run collapsed to a single space, single value headers such as subject and from resolve to the first occurrence of a duplicated header rather than the last, and to, cc, bcc and replyTo are returned in document order rather than reversed.
Bug Fixes
  • resolve non-WHATWG charset labels instead of falling back to windows-1252 (6378618), closes #​94
  • unfold headers per RFC 5322 and resolve duplicated headers first-wins (7b0ca9d)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
earth-app-smoke d7dc7c3 Commit Preview URL

Branch Preview URL
Sep 26 2026, 09:07 PM

@codecov

codecov Bot commented Sep 26, 2026

Copy link
Copy Markdown

Bundle Report

Bundle size has no change ✅

@gmitch215
gmitch215 merged commit e60d3da into master Sep 28, 2026
9 checks passed
@renovate
renovate Bot deleted the renovate/postal-mime-4.x branch September 28, 2026 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant