[PR #560] [MERGED] fix: mail-parser-wasm parsedEmailContext cache #624

Closed
opened 2026-02-26 21:32:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/560
Author: @dreamhunter2333
Created: 1/18/2025
Status: Merged
Merged: 1/18/2025
Merged by: @dreamhunter2333

Base: mainHead: feature/dev


📝 Commits (1)

  • 8de8532 fix: mail-parser-wasm parsedEmailContext cache

📊 Changes

2 files changed (+9 additions, -6 deletions)

View changed files

📝 .github/config/mail-parser-wasm-worker.patch (+7 -5)
📝 worker/src/common.ts (+2 -1)

📄 Description

PR Type

Bug fix


Description

  • Fix caching issue in parsedEmailContext for mail-parser-wasm.

  • Ensure parsedEmailContext.parsedEmail is correctly assigned.

  • Update patch file for mail-parser-wasm-worker.


Changes walkthrough 📝

Relevant files
Bug fix
common.ts
Fix parsedEmailContext cache assignment                                   

worker/src/common.ts

  • Fix assignment of parsedEmailContext.parsedEmail.
  • Ensure correct return of parsedEmailContext.parsedEmail.
  • +2/-1     
    mail-parser-wasm-worker.patch
    Update mail-parser-wasm-worker patch file                               

    .github/config/mail-parser-wasm-worker.patch

  • Update patch file to reflect changes in common.ts.
  • Ensure parsedEmailContext.parsedEmail is correctly assigned in patch.
  • +7/-5     

    💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information


    🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

    ## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/560 **Author:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Created:** 1/18/2025 **Status:** ✅ Merged **Merged:** 1/18/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `feature/dev` --- ### 📝 Commits (1) - [`8de8532`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/8de853241789be3db239c5b2ac397d56ffbab5aa) fix: mail-parser-wasm parsedEmailContext cache ### 📊 Changes **2 files changed** (+9 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.github/config/mail-parser-wasm-worker.patch` (+7 -5) 📝 `worker/src/common.ts` (+2 -1) </details> ### 📄 Description ### **PR Type** Bug fix ___ ### **Description** - Fix caching issue in `parsedEmailContext` for mail-parser-wasm. - Ensure `parsedEmailContext.parsedEmail` is correctly assigned. - Update patch file for `mail-parser-wasm-worker`. ___ ### **Changes walkthrough** 📝 <table><thead><tr><th></th><th align="left">Relevant files</th></tr></thead><tbody><tr><td><strong>Bug fix</strong></td><td><table> <tr> <td> <details> <summary><strong>common.ts</strong><dd><code>Fix parsedEmailContext cache assignment</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> worker/src/common.ts <li>Fix assignment of <code>parsedEmailContext.parsedEmail</code>.<br> <li> Ensure correct return of <code>parsedEmailContext.parsedEmail</code>. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/560/files#diff-fcc08fd5aa3c190d0d45c7e3dd208e5ee831d360b272fdd5869607cf472c5eb1">+2/-1</a>&nbsp; &nbsp; &nbsp; </td> </tr> <tr> <td> <details> <summary><strong>mail-parser-wasm-worker.patch</strong><dd><code>Update mail-parser-wasm-worker patch file</code>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary> <hr> .github/config/mail-parser-wasm-worker.patch <li>Update patch file to reflect changes in <code>common.ts</code>.<br> <li> Ensure <code>parsedEmailContext.parsedEmail</code> is correctly assigned in patch. </details> </td> <td><a href="https://github.com/dreamhunter2333/cloudflare_temp_email/pull/560/files#diff-085ddec7a4b3babc3f61f960c921fa774d1784396cc74934630d831258d83f1b">+7/-5</a>&nbsp; &nbsp; &nbsp; </td> </tr> </table></td></tr></tr></tbody></table> ___ > 💡 **PR-Agent usage**: Comment `/help "your question"` on any pull request to receive relevant information --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
    kerem 2026-02-26 21:32:05 +03:00
    Sign in to join this conversation.
    No milestone
    No project
    No assignees
    1 participant
    Notifications
    Due date
    The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

    No due date set.

    Dependencies

    No dependencies set.

    Reference
    starred/cloudflare_temp_email#624
    No description provided.