Giter Site home page Giter Site logo

Comments (5)

feross avatar feross commented on August 29, 2024

Sorry if that affected you. Background on the change is here: #2

It should only cause a warning -- not prevent installation.

from is-buffer.

TattdCodeMonkey avatar TattdCodeMonkey commented on August 29, 2024

Your are correct, sorry. mistook the warning for an error and the real error was something else. My deepest apologies.

from is-buffer.

bajtos avatar bajtos commented on August 29, 2024

Hello, I am convinced too that this was a breaking change that should have been released in a new major version per http://semver.org/ 😞 Projects depending on "is-buffer": "^1.0.0" and running on Node v0.10 will start reporting installation warnings.

Node v0.10 is still a supported LTS version with many users running on it.

For example, our API Framework http://loopback.io/ targets enterprise users where Node v0.10 is still very common. We use tools that depend on is-buffer (transitively via dependencies) and now we are getting a bunch of installation warnings because of this change. These warnings puts us, LoopBack maintainers into bad light, like we are lames that cannot fix warnings. But in fact, there is nothing we can do about them, unless we downgrade our dependencies to ancient versions that depend on 0.x version of is-buffer (assuming there were such).

@feross could you please unpublish [email protected] and re-publishing this breaking change as a new major version?

from is-buffer.

feross avatar feross commented on August 29, 2024

@bajtos Adding a new install-time warning is not a breaking change -- everything will continue to work.

This package doesn't detect SlowBuffer correctly on Node v0.10 -- and that has always been the case -- so it's important to warn users about it. See #2 (comment) for background.

from is-buffer.

bajtos avatar bajtos commented on August 29, 2024

@feross thank you for a quick reply! I have a different opinion on install-time warnings, I think it makes us (LoopBack maintaners) look lame like we cannot fix our dependencies to have a clean install. However, let's not waste our time discussing that, I am ok to agree that we disagree :)

I submitted a patch that fixes detection of SlowBuffer on Node v0.10, could you please take a look? #15

from is-buffer.

Related Issues (4)

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.