News for hackers. Stuff that matters.
Re:I've Just Liberated My Modules by chrisfosterelli on Tuesday March 22, 2016 @08:38PM (#11341176)
No it won't... The caret specifier for 0.0.x packages means "this version and this version exactly".
Re:I've Just Liberated My Modules by Klathmon on Tuesday March 22, 2016 @08:42PM (#11341197)
He's right, for `0.0.x` versions it means "this version and this version exactly"

https://docs.npmjs.com/misc/semver#caret-ranges-123-025-004

And to be honest, it's news to me. Sorry i impulse downvoted you...

Re:I've Just Liberated My Modules by chrisfosterelli on Tuesday March 22, 2016 @09:13PM (#11341358)
No problem! It's not super well-known since they switched from tildes to carets and tildes didn't behave that way.
Re:I've Just Liberated My Modules by nmjohn on Tuesday March 22, 2016 @08:44PM (#11341207)
Some examples of how it works:

    ^1.2.3 := >=1.2.3 <2.0.0
    ^0.2.3 := >=0.2.3 <0.3.0
    ^0.0.3 := >=0.0.3 <0.0.4
Re:I've Just Liberated My Modules by ybrs on Wednesday March 23, 2016 @12:30AM (#11342167)
Why dont they just use that version notation ? (>=0.0.2,<0.1.0) will be much simpler
Re:I've Just Liberated My Modules by AgentME on Wednesday March 23, 2016 @04:22AM (#11342854)
For every single dependency in most projects that honor semver? ^ is just an extremely convenient shorthand.
Re:I've Just Liberated My Modules by callmevlad on Tuesday March 22, 2016 @08:50PM (#11341243)
You're right, I added an edit to my comment.
Re:I've Just Liberated My Modules by fapjacks on Wednesday March 23, 2016 @03:35PM (#11347529)
That's an interesting side effect.