Closed erossignon closed 4 years ago
No thanks. While this is a simple fix, it's a slippery slope. Any sub-dependency can make a change that breaks Node.js 8 compatibility at any moment. I don't want to deal with that. The supported version is Node.js 10 and later. You can stay on version v4 if you need Node.js 8 compatibility.
Unfortunality version 5.0 has introduced a breaking change that prevent update-notifier working with nodejs version 8. although nodejs 8 is end of life, it is still widely use. This is easy to fix : replace
catch {
withcatch(err) {
to restore compatibility with nodejs 8.x.