mailparser v3.6.0 package.json set {"html-to-text": "9.0.2"} is error
HbuJiaTian opened this issue · 4 comments
HbuJiaTian commented
andris9 commented
Which nodejs version are you using? Should be at least Node 16
kennydifiore commented
@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.
TonyRL commented
You need to update your node js version to at least v14.
Nullish coalescing operator (??) is available since node v14.
andris9 commented
See #327 (comment)