I am not sure where to use /\ symbol or ~ symbol in dependencies section with any module version.
Please clarify it.
I am not sure where to use /\ symbol or ~ symbol in dependencies section with any module version.
Please clarify it.
 
    
     
    
    From the documentation:
~version "Approximately equivalent to version" See semver(7)
^version "Compatible with version" See semver(7)
So, not too helpful, right? The semantic versioning calculator has a much more helpful description:
~will include everything greater than a particular version in the same minor range
^will include everything greater than a particular version in the same major range
So…
^2.4.1 would install 2.4.2 and 2.5.0 ~2.4.1 would install 2.4.2 but not 2.5.0