Per the 5.0.0 release notes, support for Node less than 12 has been dropped. With an engines block, npm can issue an error to tell folks on Node 10 (or other lower/unsupported version) that the package is no longer compatible. This can save time for things like #334 where it's not obvious why issues are occurring.
Per the 5.0.0 release notes, support for Node less than 12 has been dropped. With an
engines
block,npm
can issue an error to tell folks on Node 10 (or other lower/unsupported version) that the package is no longer compatible. This can save time for things like #334 where it's not obvious why issues are occurring.