Skip to content
New issue

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

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

Already on GitHub? # to your account

feat: filter prerelease versions #108

Closed
wants to merge 2 commits into from

Conversation

levibostian
Copy link

Filter pre-release versions unless dependency uses a pre-release version.

Like npm's semver module, pre-release versions should not be considered as versions to update unless the developer says so.

With this pull request, if this is the source code of the project:

import {foo} from "npm:ical-generator@1.0.0-develop.1"

...then udd would attempt to update to the latest version including the latest pre-release if there is one. This is the behavior of udd today.

If this is the source code of the project:

import {foo} from "npm:ical-generator@1.0.0"

... then udd would filter out all pre-release versions to update to and choose the latest one.

Closes: #80

@levibostian
Copy link
Author

Doing some PR cleanup. Stale, so closing.

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

Successfully merging this pull request may close these issues.

Disable React next versions
1 participant