GithubHelp home page GithubHelp logo

Comments (9)

sakgoyal avatar sakgoyal commented on June 8, 2024 1

if a user wants support for older node versions, then just use an older version of this. you should not be required to support deprecated features.

from babel-plugin-inline-react-svg.

ljharb avatar ljharb commented on June 8, 2024

A deprecation warning on a transitive dep is just something you should ignore, always ¯\_(ツ)_/¯

That said, the breaking change of requiring node 14 basically means we likely can't ever upgrade to it.

from babel-plugin-inline-react-svg.

akirafujiu avatar akirafujiu commented on June 8, 2024

Node.js v14 gets retired per https://github.com/nodejs/release#release-schedule, I think you can upgrade it safely..

from babel-plugin-inline-react-svg.

ljharb avatar ljharb commented on June 8, 2024

Nope, platform support has zero bearing on what platforms a package should support.

from babel-plugin-inline-react-svg.

ljharb avatar ljharb commented on June 8, 2024

Nobody's required to. However, this package does.

from babel-plugin-inline-react-svg.

sakgoyal avatar sakgoyal commented on June 8, 2024

but why? why does this package hold back on old requirements?

from babel-plugin-inline-react-svg.

ljharb avatar ljharb commented on June 8, 2024

Currently, users get an annoying warning, but everyone can use the package.

If we dropped support for older environments, then the users who are in the most need - the ones stuck in older environments - would be completely unable to use the package. That's not a worthy or a sensible or compassionate tradeoff.

from babel-plugin-inline-react-svg.

sakgoyal avatar sakgoyal commented on June 8, 2024

who said they have to update the package? they can just use this current version without updating right?

from babel-plugin-inline-react-svg.

ljharb avatar ljharb commented on June 8, 2024

Then they're stuck on an older major, not getting security and bug fixes.

from babel-plugin-inline-react-svg.

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.