Modified SourceModule so we are now able to start modelling all three types of dependency we experience on the client.
Switched over to correctly using the 3 types of dependency that we are now able to model, plus fixed a bug that was causing us to attempt to show a dependency graph for a require-prefix. There is currently one regression with this commit which will need investigating.
NamespacedJsSourceModule.getAliasNames() now includes aliases found by
scanning for define-time dependencies, in addition to those found by
scanning for use-time dependencies.
adding more tests for 'inside code block' filtering and fixing out of bounds exception
Removed some unused import statements.
Made SourceModuleDependencyOrderCalculator.getOrderedSourceModules() a
static method as that's what it should have been, and doing this makes
the code easier to follow. Also, cleaned up the code to make it easier
for others (including myself) to follow.
Fixed a TODO within a test that I happened to be looking at.
Got rid of the aliasDependencies hack as fixing a TODO in a test (in the
previous commit) means there are no longer any tests breaking, and I
can't think of a reason why we'd need interfaces associated with aliases
to be bundled before a class that references that alias.
Updated SourceModuleDependencyOrderCalculator so that it builds a
dependency graph in an earlier phase, allowing us to change the
dependency graph we use to order dependencies by.
Cleaned up CircularDependencyException code before attempting to upgrade
so that we can have comparable circular exception messages on the server
to what we currently have on the client.
Updated CircularDependencyException to produce error messages with the
same format as that used on the client.
Switched from the DefineTimeDependencyGraphCreator class to the
NonCircularTransitivePreExportDependencyGraphCreator class for ordering
the bundle-set, and hence the globalization block.
Merge pull request #1026 from BladeRunnerJS/order-globalization-block

Order globalization block