grab versions from package declarations