Don't allow spaces in dependency linker value regex
Fixes bug in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/11226 that caused JSON values to be incorrectly recognized as package names if their key was also the key for a real package in dependencies
or devDependencies
.
Before
The two scripts above matched the REPO_REGEX
because they both contain a single slash.
After
Edited by Douwe Maan