GithubHelp home page GithubHelp logo

Comments (7)

AndreasMadsen avatar AndreasMadsen commented on June 19, 2024 1

I have published:

  • 2.2.1 with a better engines field that supports ^5.3
  • 2.0.2 with a better engines field that supports ^4.0

2.0.2 unfortunately don't have a fix for #17, that is not possible without the new features.

Also, I don't plan to continue doing legacy updates. But hopefully it shouldn't be necessary when 4.2.5 gets released.

from trace.

AndreasMadsen avatar AndreasMadsen commented on June 19, 2024

Try using node 5.3.0 there are some required internal features that node 4.2.4 doesn't have. However I have been promised that they will land in version 4.2.5

from trace.

julien-f avatar julien-f commented on June 19, 2024

You should:

  1. express this requirement in package.json in the engines.node
  2. maybe even detect this at module startup and throw, because currently there is no way to handle this error and to fail gracefully (i.e. continue without trace).

from trace.

AndreasMadsen avatar AndreasMadsen commented on June 19, 2024

I'm not aware of a syntax that can set independent node version requirements for both v4 and v5. How does that look?

In any case the commits have already landed in v4-staging, so it is a very temporary issue: nodejs/node#3461 (comment)

from trace.

julien-f avatar julien-f commented on June 19, 2024

node: '^4.2.5 || ^5.3' should work.

What about code already using trace but before 4.2.5?
Currently the program aborts and it is not handled by a try-catch

from trace.

AndreasMadsen avatar AndreasMadsen commented on June 19, 2024

They should not upgrade to 2.2.x

from trace.

AndreasMadsen avatar AndreasMadsen commented on June 19, 2024

I guess semver was violated to that regard, I'm sorry about that. It is hard to keep track of when trace uses node internal API.

from trace.

Related Issues (20)

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.