nodemailer/mailparser

mailparser v3.6.0 package.json set {"html-to-text": "9.0.2"} is error

HbuJiaTian opened this issue · 4 comments

mailparser v3.6.0 package.json set {"html-to-text": "9.0.2"} is error.
html-to-text: "9.0.2" the version has the error like this:
image

Which nodejs version are you using? Should be at least Node 16

@andris9 If you're changing your package's dependencies (e.g., html-to-text major version change that is breaking, or min node engine version to 16), this is a breaking change and you should use proper semantic versioning and update your major version of your package to 4.0.0. Really 3.6.0 and 3.6.1 should be removed from your releases so as to not break other packages that depend upon your properly versioned package.

You need to update your node js version to at least v14.
Nullish coalescing operator (??) is available since node v14.