Skip to content

Commit

Permalink
fix(punycode): Fixes #355 Deprecation warning of the punycode module (#…
Browse files Browse the repository at this point in the history
…356)

Co-authored-by: Andris Reinman <andris@reinman.eu>
  • Loading branch information
Kequc and andris9 committed Feb 29, 2024
1 parent 87c32a1 commit 0f35330
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/mail-parser.js
Expand Up @@ -5,7 +5,7 @@ const libmime = require('libmime');
const addressparser = require('nodemailer/lib/addressparser');
const Transform = require('stream').Transform;
const Splitter = mailsplit.Splitter;
const punycode = require('punycode');
const punycode = require('punycode/');
const FlowedDecoder = require('mailsplit/lib/flowed-decoder');
const StreamHash = require('./stream-hash');
const iconv = require('iconv-lite');
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -25,6 +25,7 @@
"linkify-it": "5.0.0",
"mailsplit": "5.4.0",
"nodemailer": "6.9.9",
"punycode": "2.3.1",
"tlds": "1.248.0"
},
"devDependencies": {
Expand Down

0 comments on commit 0f35330

Please sign in to comment.