alexanderGugel / ied

:package: Like npm, but faster - an alternative package manager for Node
http://alexandergugel.github.io/ied
MIT License
1.99k stars 53 forks source link

Dependency versions in package.json no longer default to caret notation #140

Open pbock opened 8 years ago

pbock commented 8 years ago

After updating ied from <2.0.0 to 2.0.4 recently, I noticed that ied install --save no longer updates my package.json with the versions in caret (^) notation but with an asterisk instead (*). So for example, ied install lodash --save results in the following entry in package.json:

{
    "dependencies": {
        "lodash": "*"
    }
}

The old default (and the one that npm uses) would – as of today – result in the following:

{
    "dependencies": {
        "lodash": "^4.13.1"
    }
}

I'm sure there's a good reason for this change, but I'm curious what that is. I was also looking for a way to configure ied to revert to the old behaviour and couldn't find anything – am I overlooking something?

alexanderGugel commented 8 years ago

There is currently no option to revert to the old behaviour. I agree carets would make more sense.