-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[Deps] update contains-path
, doctrine
, pkg-up
, read-pkg-up
#2036
Conversation
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.
These are all breaking changes, and almost all of them drop node versions, which means this plugin can effectively never update to them.
Why should these be updated - what motivates this PR?
Maybe I missed something. As I see all these versions still support node.js 4. |
Yes, and we support node 0.10 and above (via eslint 2), so that would be a breaking change. |
1 similar comment
Sorry, I don't know about this... Shouldn't there be |
There could be, but there shouldn't be because then our package would be claiming compatibility with node 0.10 even if the user uses eslint 7, for example. In this case, the engines requirements of our peer deps apply to us, but must be implicit. |
Eslint 7 officially doesn't support node 4, 6, even 8, but you do. Is this not the same case? |
Yes - if we put node 4 in out "engines" field, then it would be inaccurate when eslint 7 is installed, but it is accurate with older eslint versions. Thus, we don't have an "engines" field, but we still need to remain compatible with eslint 2 - 7 (and all the node versions those support). |
Maybe I smth don't understand but it looks the same for me. If we put node 0.10 in "engines" field, then it would be inaccurate when eslint 7 is installed, but it is accurate with older eslint versions (eslint 2). But there is |
ha, fair point, i didn't realize we'd already required that. In that case, perhaps we could update to these versions - can you confirm that you've checked the changelogs for each, and that the only breaking changes are dropping node < 4 support? |
Yep.
|
Master's currently broken (see #1986), so this will have to wait until that's resolved. |
contains-path
, doctrine
, is-core-module
, pkg-up
, read-pkg-up
contains-path
, doctrine
, pkg-up
, read-pkg-up
No description provided.