This PR replaces is-number package with a one-liner with identical code. It passes all the tests (npm run test).
This tiny change saves 440GB weekly traffic:
Package size report
===================
Package info for " to-regex-range@5.0.1 ": 33 kB
Released: 2019-04-07 0637.03 +0000 UTC (277w2d ago)
Downloads last week: 43,837,006
Estimated traffic last week: 1.5 TB
Removed dependencies:
- is-number@7.0.0 : 10 kB (30.06%)
Downloads last week: 43,875,245
Downloads last week from " to-regex-range@5.0.1 ": 43,837,006 (99.91%)
Estimated traffic last week: 440 GB
Estimated traffic from " to-regex-range@5.0.1 ": 440 GB (99.91%)
Estimated package size: 33 kB → 23 kB (69.94%)
Estimated traffic over a week: 1.5 TB → 1.0 TB (440 GB saved)
#programowanie

