Detect and warn if NPM version is in 1.x series.

Closes #2770
What's `match[0]`? Would be nice to be more verbose for future.