Can someone explain Ember's dependency manager?


#1

When going through the dependency management for addons, how does ember handle things which have the same dependency but different versions? Say for instance:

App

  • Dependencies – moment 1.5.4 – jQuery 2.1 – addon1 1.5 – addon2 10.4.3

Addon 1.5

  • Dependencies – moment 1.1 – jquery 2.8

Addon 10.4.3

  • Dependencies – moment 1.5

Does ember compile it to just include the highest version of each dependency or would this theoretical app include two versions of jQuery, 3 versions of moment, etc?


#2

Actually, Ember doesn’t do much in this regard and leave it entirely to bower.

bower manages dependency with constraint markers. If there’s anything that conflicts, it’ll let you resolve it.