Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
enhancement, dependencies
Description
headers
field to theparsedEmail
object incommon.ts
.MessageHeader
struct and includedheaders
inMessageResult
struct inlib.rs
.parse_message
function to populateheaders
inlib.rs
.pnpm-lock.yaml
.workbox-build
inpackage.json
.mail-parser-wasm
from0.1.8
to0.2.0
.Changes walkthrough 📝
2 files
common.ts
Add headers field to parsedEmail object
worker/src/common.ts
headers
field to the commented outparsedEmail
object.lib.rs
Add headers to MessageResult struct and parse_message function
mail-parser-wasm/src/lib.rs
MessageHeader
struct withkey
andvalue
fields.headers
field inMessageResult
struct.headers
inMessageResult
.parse_message
function to populateheaders
.3 files
pnpm-lock.yaml
Update dependencies to latest versions
worker/pnpm-lock.yaml
package.json
Update frontend dependencies and add workbox-build
frontend/package.json
workbox-build
as a new dependency.package.json
Bump version to 0.2.0
mail-parser-wasm/worker/package.json
0.1.8
to0.2.0
.5 files
pnpm-lock.yaml
...
frontend/pnpm-lock.yaml
...
pnpm-lock.yaml
...
vitepress-docs/pnpm-lock.yaml
...
package.json
...
worker/package.json
...
Cargo.toml
...
mail-parser-wasm/Cargo.toml
...
mail_parser_wasm_worker.md
...
vitepress-docs/docs/zh/guide/feature/mail_parser_wasm_worker.md
...