Doubt regarding informing version in Bower

0

Good morning everyone!

I'm developing a simple website for the purpose of front end study and I came across a question regarding Bower, a tool I'm using to manage the dependencies, which I could not properly repair by reading the documentation.

I have the following bower.json:

{
   "name": "my-project",
   "dependencies": {
      "highcharts": "-3.0.10",
      "jquery": "^1.20"
   }
}

My question is regarding the '-' and '^' symbols that come before the version number. Reading the documentation is still not very clear to me.

Thank you.

    
asked by anonymous 20.04.2018 / 16:35

1 answer

0

Face the following: ^ means that Bower will be able to update packages only for versions that change the third position of the version (that is, patch updates that maintain compatibility, bug fixes, etc ...).

  

For this '-' suffix , I did not find documentation referencing this sign for versioning with Bower .

If you want to know more about versioning read here .

If you want to know what each suffix does in Bower read here .

    
20.04.2018 / 20:28