bower.json content and file system changes may not be ready after the execution of bower install and update commands. Relying on bower.json content ready for creating the Package models from the raw data is not safe and can produce a bad model:
Package bowerJsonVersion could be null when it has a valid semver value
Package dependencyType could be default production when it is developmet (has a workaround, but it needs to be improved)
Package isProjectDependency could be false when it is true, but it couldn't found it on the bower.json content (dependencies or devDependencies)
bower.json content and file system changes may not be ready after the execution of bower install and update commands. Relying on bower.json content ready for creating the Package models from the raw data is not safe and can produce a bad model: