Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodemailer/mailparser
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 92b73a2f8a41ba68a1d4f2c628ce83acadb2d629
Choose a base ref
...
head repository: nodemailer/mailparser
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6adad57f52cdb0e90cc3cab3f6f0484eda5a16ea
Choose a head ref
  • 7 commits
  • 8 files changed
  • 4 contributors

Commits on Jan 4, 2024

  1. Copy the full SHA
    d6eb56f View commit details
  2. Copy the full SHA
    7d78cb9 View commit details
  3. Copy the full SHA
    a2ba9c2 View commit details
  4. Copy the full SHA
    6bae600 View commit details
  5. chore(master): release 3.6.6 [skip-ci] (#354)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Jan 4, 2024
    Copy the full SHA
    3f8a516 View commit details

Commits on Feb 1, 2024

  1. Copy the full SHA
    8bc4225 View commit details
  2. chore(master): release 3.6.7 [skip-ci] (#358)

    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored Feb 1, 2024
    Copy the full SHA
    6adad57 View commit details
Showing with 6,655 additions and 16 deletions.
  1. +37 −0 .github/workflows/release.yaml
  2. +4 −4 .github/workflows/test.yml
  3. +0 −1 .gitignore
  4. +17 −0 CHANGELOG.md
  5. +1 −1 lib/mail-parser.js
  6. +6,585 −0 package-lock.json
  7. +10 −9 package.json
  8. +1 −1 test/simple-parser-test.js
37 changes: 37 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write
id-token: write

name: release
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v3
id: release
with:
release-type: node
package-name: ${{vars.NPM_MODULE_NAME}}
pull-request-title-pattern: 'chore${scope}: release ${version} [skip-ci]'
# The logic below handles the npm publication:
- uses: actions/checkout@v3
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
with:
node-version: 18
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -8,13 +8,13 @@ jobs:
test:
strategy:
matrix:
node: [14.x, 16.x, 18.x]
os: [ubuntu-latest, macos-latest]
node: [18.x, 20.x, 21.x]
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -2,5 +2,4 @@ node_modules
.DS_Store
npm-debug.log
.npmrc
package-lock.json*

17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Changelog

## [3.6.7](https://github.com/nodemailer/mailparser/compare/v3.6.6...v3.6.7) (2024-02-01)


### Bug Fixes

* :arrow_up: update nodemailer dependency to resolve security issue GHSA-9h6g-pr28-7cqp ([#357](https://github.com/nodemailer/mailparser/issues/357)) ([8bc4225](https://github.com/nodemailer/mailparser/commit/8bc42251fca6f538ece599f0a5bebe09b0aeff4f))

## [3.6.6](https://github.com/nodemailer/mailparser/compare/v3.6.5...v3.6.6) (2024-01-04)


### Bug Fixes

* **deploy:** added auto-deployment ([d6eb56f](https://github.com/nodemailer/mailparser/commit/d6eb56fe09fe8b415e5bbf2e53704f6788ca0fee))
* Fix produced text address list string according to rfc 2822 ([#340](https://github.com/nodemailer/mailparser/issues/340)) ([6bae600](https://github.com/nodemailer/mailparser/commit/6bae600a3f4a0452ee7ca43634a11939de7bcc6d))
* **test:** updated test matrix (18, 20, 21) ([a2ba9c2](https://github.com/nodemailer/mailparser/commit/a2ba9c236dcd7f990c9d53a386ffaa5b564181b3))
2 changes: 1 addition & 1 deletion lib/mail-parser.js
Original file line number Diff line number Diff line change
@@ -1015,7 +1015,7 @@ class MailParser extends Transform {
.map(address => {
let str = '';
if (address.name) {
str += address.name + (address.group ? ': ' : '');
str += `"${address.name}"` + (address.group ? ': ' : '');
}
if (address.address) {
let link = address.address;
Loading