Find the greatest satisfied semver range from an array of ranges.
Keep your package.json version requirements satisfied
Returns true if the predicate is satisfied for every element of the passed array; otherwise false.
Splits an array into two parts if given predicate satisfied