browserslist-useragent-ruby
browserslist-useragent-ruby copied to clipboard
Normalize zero-padded version numbers
Prevent exceptions in cases where version numbers have zero padded segments.
I added a couple of test cases for user-agents that are known to contain zero padded segments. Namely the Chrome UA string from #8 and a UA string for Opera 12.
@dsalahutdinov @ai I wonder if there's anyone who could review this PR? And there are a couple of other PRs that look like they should be merged too…
Sorry, anyway we need @dsalahutdinov to release it