1.0.8: Fix isValidSHA1
Lint fix broke isValidSHA1. Use RegExp.test rather than string.match. Anchor regular expression. Add tests. [changelog:fixed]
Lint fix broke isValidSHA1. Use RegExp.test rather than string.match. Anchor regular expression. Add tests. [changelog:fixed]