Giter Club home page Giter Club logo

Comments (7)

RIAEvangelist avatar RIAEvangelist commented on July 21, 2024 1

merged and released. Thank you :)

from node-cmd.

RIAEvangelist avatar RIAEvangelist commented on July 21, 2024

from node-cmd.

stephen-last avatar stephen-last commented on July 21, 2024

Notice - this is my first time forking, cloning and submitting a pull request on Github, so if I'm not doing something right please do point me in the right direction.

I've submitted a pull request with a change to the code and readme, in a new branch.

How does it look..?

This is a breaking change, so I guess you'd need to bump the version to a new major version (3.0.0), and maybe mention the breaking change in the readme when going from v2 to v3 (I've not added this).

from node-cmd.

RIAEvangelist avatar RIAEvangelist commented on July 21, 2024

Why is it breaking?

from node-cmd.

RIAEvangelist avatar RIAEvangelist commented on July 21, 2024

nvm

from node-cmd.

stephen-last avatar stephen-last commented on July 21, 2024

I thought this would be a breaking change because it changes the node-cmd API. Anyone currently using it will have written their code to expect data as the first param. After this PR err will be the first param.

If someone is currently using node-cmd with data as the first param, then they update node-cmd (to the version with err as the first param) their code will not work as expected.

From what I understand of semver, API breaking changes should be major updates.

Not sure why you commented with "nvm"..?

from node-cmd.

RIAEvangelist avatar RIAEvangelist commented on July 21, 2024

the nvm was because I realised I made a dumb comment. It was obvious why it was breaking once I looked.

from node-cmd.

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.