This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 213
Coerce version before parsing major #1369
Merged
eliperelman
merged 5 commits into
neutrinojs:master
from
timkelty:preset-env-core-js-version
Apr 24, 2019
Merged
Coerce version before parsing major #1369
eliperelman
merged 5 commits into
neutrinojs:master
from
timkelty:preset-env-core-js-version
Apr 24, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
timkelty
changed the title
Coerce version before parsing major.
Coerce version before parsing major
Apr 18, 2019
@amorriscode ah indeed! I'll try and update the PR shortly. |
@amorriscode updated library and node. @eliperelman if you think adding a
|
@timkelty I think that solution looks good, although I'm not sure why we would want the |
@eliperelman yeah no real application for that, other than maybe for tests at some point. I can leave it out until/if we need it. |
Ok - |
eliperelman
approved these changes
Apr 24, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
With #1366, errors will occur package.json does not contain a fully qualified range (e.g
'3'
,'^3'
).Doing
semver.coerce
first seems to fix this.Fixes #1367.
Fixes #1370.