5 ms·
No it won't... The caret specifier for 0.0.x packages means "this version and this version exactly".
by chrisfosterelli 11y ago
No it won't... The caret specifier for 0.0.x packages means "this version and this version exactly".
- deleted 11y ago[deleted]
- Klathmon 11y agoHe'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 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...
- chrisfosterelli 11y agoNo problem! It's not super well-known since they switched from tildes to carets and tildes didn't behave that way.
- nmjohn 11y agoSome 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
- callmevlad 11y agoYou're right, I added an edit to my comment.
- fapjacks 11y agoThat's an interesting side effect.