Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UpdateNotifierClass export missing since v6 #226

Open
jayree opened this issue Aug 8, 2022 · 2 comments
Open

UpdateNotifierClass export missing since v6 #226

jayree opened this issue Aug 8, 2022 · 2 comments

Comments

@jayree
Copy link

jayree commented Aug 8, 2022

Is it possible to restore the v5 class export?

module.exports.UpdateNotifier = UpdateNotifier;

@sindresorhus
Copy link
Member

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

What do you need it for?

@jayree
Copy link
Author

jayree commented Aug 8, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants