yeoman / update-notifier

Update notifications for your CLI app
BSD 2-Clause "Simplified" License
1.76k stars 132 forks source link

UpdateNotifierClass export missing since v6 #226

Closed jayree closed 6 months ago

jayree commented 2 years ago

Is it possible to restore the v5 class export?

module.exports.UpdateNotifier = UpdateNotifier;

sindresorhus commented 2 years ago

That class is only an implementation detail. It was accidentally exposed before.

What do you need it for?

jayree commented 2 years ago

@sindresorhus I've used the class directly and enhanced some methods. E.g. support multiple distTags or add ChangeLog links.