Skip to content
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

Support Node.js 10.x #6

Closed
AnandChowdhary opened this issue Apr 1, 2020 · 7 comments
Closed

Support Node.js 10.x #6

AnandChowdhary opened this issue Apr 1, 2020 · 7 comments

Comments

@AnandChowdhary
Copy link
Contributor

Hey @GitSquared, thanks for all your hard work with this package!

Is there a specific Node.js 12.x feature that's important for this, and is there any way we can support Node.js 10.x?

Issue context: staart/api#1071

@GitSquared
Copy link
Owner

Hi Anand,
I'm sorry, I realized too late I should have bumped to a new major version with this compat change. My mistake.

I bumped to Node 12 because I used { recursive: true } with fs.rmdir() which has been introduced in v12.10.

What prevents you from using only the latest LTS version of Node?

I'm aware v10 hasn't technically reached EOL yet so if you need it I'll add it back. However I'm currently on a tight deadline schedule @ work so it'd be helpful if you told me how critical that is for you. Otherwise I might have to delay this by ~2 weeks.

@AnandChowdhary
Copy link
Contributor Author

Thanks for the swift reply!

My project @staart/api is dependent on geolite2-redist, and I want to make sure it works with all currently supported Node.js LTS versions. This was pointed out to me by @simoami in staart/api#1071 which is why I opened this issue.

If you like, I can open a PR replacing rmdir with the rmdir-recursive package, which supports older Node versions as well. Otherwise, I'm happy to keep both issues open for a couple of weeks until we have that support, or alternately bump Staart API's minimum Node version to 12.x as well.

@simoami
Copy link

simoami commented Apr 1, 2020

@GitSquared Thanks for the lib and for the prompt reply. Node 10 has just transitioned to maintenance LTS. However you will see in the following chart that it's is still prominent. It will be relevant to the broader user base.


Source: nodejs.org

@GitSquared
Copy link
Owner

I'm well aware of the usage share of v10, thank you. People still use windows XP too, doesn't mean I have to support it.
I'm open to PRs if you guys can't wait 2 weeks. As long as checks pass I can merge them immediately.

@AnandChowdhary
Copy link
Contributor Author

Happy to wait. Thanks for your hard work! Stay safe!

@GitSquared
Copy link
Owner

GitSquared commented Apr 2, 2020 via email

@GitSquared
Copy link
Owner

@AnandChowdhary Thanks for your patience. v1.0.6 has been released and published on NPM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants