Description
I'll preface this issue with some background:
There has been a small discussion over on webpack-dev-server about updating a dependency, chokidar
, from v2 to v3. Version 2 of Chokidar has been throwing warnings when installing with npm about its incompatibility with newer node versions (14+). Version 3 was released a few years ago and retains full backwards-compatibility with the caveat that it drops support for node versions < 8.
How this issue relates to semver:
Since upgrading this dependency would remove support for previously-supported node versions, it could be considered a breaking change. The question is: if the versions no longer being supported are no longer in LTS (have been out of it for years - v6 LTS in 2018, v7 in 2017), should this still be considered a breaking change?
I looked around online but couldn't find any consensus on this. Would appreciate input from semver contributors.
For reference, the issue being discusses in the other project: webpack/webpack-dev-server#3339