What / Why
Changes introduced in #60 (specifically in commit: f2cdfcf) break compatibility for older versions of node.js which do not support const & let variable declarations.
Notice that in v2.8.7, apart from one place in tests, it is the only place where const (or let for that matter) is used in the whole project.
So before #60 this project was backwards compatible and after #60 it is not. I think this should be considered a breaking change.
This fix (#60) was introduced between v2.8.6 and v2.8.7. Introducing breaking changes and bumping only the patch number is IMHO a practice that should be avoided.
Where / affected versions
Affected version is v2.8.7.
node.js version: 0.10.* (Yes, it's still there... 😢)
Expected outcome
Change const declaration to var.
// index.js +123
const authmatch = giturl.match(/[^@]+@[^:/]+/)