yfinkelstein / node-zookeeper

node.js client for Apache Zookeeper
MIT License
479 stars 111 forks source link

Can we support node > 10 versions? #309

Closed hufeng closed 2 years ago

hufeng commented 2 years ago

In package.json the engines are specified >=14.15.4

"engines": {
     "node": ">=14.15.4"
 }, 
DavidVujic commented 2 years ago

Hi @hufeng!

This package has support for the two latest LTS versions of Node.js and that is because otherwise, it will be too much maintenance and customizations for breaking features. However (maybe not solving the issues for you), there are earlier version of node-zookeeper that has v10 specified. But then you will miss out of new features.

I would strongly recommend to bump your product to at least v14. In the fall of 2022, the new LTS will be v18 and I usually adapt to their releases. So by the end of 2022 node-zookeeper will support v16 as the least version.

hufeng commented 2 years ago

Hi @DavidVujic

ok, thank you for your answer ~