GithubHelp home page GithubHelp logo

Comments (4)

jue89 avatar jue89 commented on August 22, 2024

Aside from the fact that NAPI is the way to go nowadays - have you faced any problems with the NAN abstraction? Node 16.4.2 seems to work fine.

Switching to NAPI v4 deprecates compatibility from (TBH very antique) Node 0.10 to < v10.16.0.

from node-systemd-journald.

GaikwadPratik avatar GaikwadPratik commented on August 22, 2024

I recently moved my projects from node v10 to node v16. Initially it didn't work couple of times, hence I did the migration. But when I tested after creating PR, just to give it one last shot and it worked.

I also got motivation from two facts:

  1. All the versions of below v12 have reached EOL meaning even though they can be used, they will not be supported. Anything below node v12 will not even receive security updates, so it would be dangerous to keep using and supporting those.
  2. NAPI is integrated in node source code rather than a 3rd party tool like NAN so there should be some improvements.

from node-systemd-journald.

jue89 avatar jue89 commented on August 22, 2024

I fully agree. Increasing the major version should enable people to do the migration.

All the versions of below v12 have reached EOL meaning even though they can be used, they will not be supported. Anything below node v12 will not even receive security updates, so it would be dangerous to keep using and supporting those.

I've been involved into projects that are still running on Node 4. But that's okay in that case - it's not connected to the Internet.

from node-systemd-journald.

jue89 avatar jue89 commented on August 22, 2024

Addressed by merging #20.

from node-systemd-journald.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.