Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bring projects back to life #378

Merged
merged 41 commits into from Mar 22, 2022

Conversation

soulteary
Copy link
Member

@soulteary soulteary commented Mar 22, 2022

issue: #379

contains:
code dependency upgrades, security fixes, please refer to the commit record title for details.

add cli option: feat: enable logging of mail contents via CLI option , thanks @LoneRifle

Although it seems to be functional so far, there are unexpected issues due to some dependencies and older Node LTS for testing, eg:

Therefore, it is not recommended to directly merge functions for the time being, and some work is needed to correct the problems detected by the test.

soulteary and others added 25 commits March 15, 2022 08:49
- Declare a new CLI option, `--log-mail-contents`; when specified,
  maildev will log the JSON representation of each incoming mail,
  equivalent to the payloads emitted for 'new' events
- Implement the logging of mail contents by adding a listener for
  'new' events emitted by mailserver, and logging the events
- Add relevant documentation in README

Port of opengovsg/maildev@c483402
feat: enable logging of mail contents via CLI option
…on to es6 to comply with code specifications and avoid test errors with node v14
@soulteary soulteary merged commit 5f2ded8 into maildev:master Mar 22, 2022
@soulteary soulteary mentioned this pull request Mar 23, 2022
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.

None yet

2 participants