incrementing version and handling exception for when refererencing a dependency that has 'self' as an export.