nodemailer / mailparser

Decode mime formatted e-mails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Downgrade node engine to 14

AgyaeyTiwari opened this issue · comments

We are facing failures in product installs as this is a dependency of many mail plugins.
We are using 'email-templates' with node 14.

@andris9 Node Engine should never be updated in patch/minor release. Either please remove it or keep it low as possible.

Related to: #325

mailparser predates semver adoption – when I started with mailparser almost no-one was using semver yet (the spec did exist, though). The mailparser versioning scheme for the past 12 years has been such that the major number indicates the incarnation version. This is how many times the core of mailparser has been rewritten from scratch.

The engine upgrade requirement is unfortunate and unintentional. It happened when one of the dependencies of mailparser started using the coalescing operator, and automated tests failed with node 14 and below. The best I can do right now is to remove the engine definition from package.json, so if your node version lower than 16 actually can handle running mailparser, you will not get a warning about the engine version.

Published a new mailparser version as mailparser@3.6.2 where package.json does not have the engine definition anymore.