-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
John Brett
committed
Oct 20, 2015
1 parent
e72c497
commit 57c547b
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
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
57c547b
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.
I may be being overly critical here but bumping a major version of a dependency seems like it should be reserved for at least a minor version, not a patch version. I'm getting an NPM warning on Hapi because of this.
57c547b
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.
The error you are seeing is a due to the version of hapi currently on npm (11.0.2) uses the version of subtext before this change was made. hapi 11.0.3 has the latest version of subtext (2.0.2), when this is published the peer dependency error will be gone, the error not related to whether a patch or minor version was used for this update.
Why do you think a minor version should be used here? A minor version is reserved for adding backwards compatible functionality.
57c547b
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.
Well the next step down would be a patch version. Changing a major version of a dependency definitely doesn't seem appropriate there.
57c547b
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.
I asked around at the office and everyone agrees with you. So it's just me misunderstanding it.
57c547b
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.
No problem :) Any other questions let me know!