0

Can anyone explain the semantics of bower when specifying the package version?

I understand these:

"requirejs": "2.1.10",
"requirejs": ">=2.1"

But what about something like "requirejs": "~2.1"?

Also, does "requirejs": "*" mean the latest version?

metacubed
  • 7,031
  • 6
  • 36
  • 65
Noor
  • 19,638
  • 38
  • 136
  • 254
  • possible duplicate of [Specifying version numbers in Bower](http://stackoverflow.com/questions/19019944/specifying-version-numbers-in-bower) – metacubed Jul 12 '14 at 07:51
  • what about *, does it means that latest version? – Noor Jul 12 '14 at 07:58
  • `*` means "any version allowed". This versioning scheme is called `semver`. See my link above for the detailed guide. – metacubed Jul 12 '14 at 08:02

0 Answers0