Doubt regarding reporting version in Bower

Asked

Viewed 27 times

0

Good morning, everyone!

I am developing a simple website with the purpose of front end study and I came across a question regarding Bower, tool that I am using to manage dependencies, which I could not properly remedy by reading the documentation of the same.

I have the following Bower.json:

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

My question is about the symbols '-' and '^' that comes before the version number. Reading the documentation is not yet very clear to me.

Thank you.

1 answer

0

Next thing I know: ^ means that Bower may update packages only for versions that change the third position of the version (i.e., patch updates that maintain compatibility, bug fixes, etc...).

Already to this suffix '-', did not find any 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 on Bower read here.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.