@bluelovers/fill-range
Version:
Fill in a range of numbers or letters, optionally passing an increment or `step` to use, or create a regex-compatible range with `options.toRegex`
293 lines (183 loc) • 18.9 kB
Markdown
# Change Log
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## 7.0.1 (2022-09-21)
### ✨ Features
* options.strictOrder , only allow start < stop ([c86e3ca](https://github.com/bluelovers/fill-range/commit/c86e3ca108f9540f4a8278c6b116f59f56d0d173))
* options.limit, set limit size ([5893a86](https://github.com/bluelovers/fill-range/commit/5893a8607604ed5eccc24ddafdf14c92710e783d))
### 📦 Code Refactoring
* . ([e285a16](https://github.com/bluelovers/fill-range/commit/e285a167459808ee12f55d0e4bf13d663098e220))
* update type ([ca78ae7](https://github.com/bluelovers/fill-range/commit/ca78ae77e48b41885edbfbe00d3f618e9b5cf436))
### 📚 Documentation
* update desc ([43a0700](https://github.com/bluelovers/fill-range/commit/43a0700bd5f683cb4db997f6de044bd7e4778e2e))
### 🚨 Tests
* update test ([2e55c3f](https://github.com/bluelovers/fill-range/commit/2e55c3f3b471404cd6a3e876cde528e1e8319c31))
### 🛠 Build System
* update build ([7aacde1](https://github.com/bluelovers/fill-range/commit/7aacde16a4979eba733247242fc8e41ce10c7def))
* update build ([51a20b9](https://github.com/bluelovers/fill-range/commit/51a20b9769bc9e684c3494eadab16538244ea14a))
### ♻️ Chores
* update type ([db46f05](https://github.com/bluelovers/fill-range/commit/db46f053b1124faae4a50e69fe8ea109e3804a7d))
### 🔖 Miscellaneous
* . ([ae00416](https://github.com/bluelovers/fill-range/commit/ae0041628c559c0fed53ef349288d4cdd20429e2))
* . ([1b3fc1f](https://github.com/bluelovers/fill-range/commit/1b3fc1fe4cb3ef620da2f570ba033722e452553c))
* Delete FUNDING.yml ([ba4afe8](https://github.com/bluelovers/fill-range/commit/ba4afe8a1449d0e01fb07fbecc93b9a168ecb48f))
* Create FUNDING.yml ([01d88b5](https://github.com/bluelovers/fill-range/commit/01d88b56a004db082f4744deb6e3e2f23a5e7ab1))
* 7.0.1 ([39f421b](https://github.com/bluelovers/fill-range/commit/39f421b499d5c97b62e955c179fa34c062aab2a5))
* fix regressions ([65a7182](https://github.com/bluelovers/fill-range/commit/65a71820e3e4055d41cfe347de04600bcdb6da90))
* 7.0 ([23d5fef](https://github.com/bluelovers/fill-range/commit/23d5fef5f9e408b83fea152c6fa2d0833aa11e67))
* refactor ([e2ca4f7](https://github.com/bluelovers/fill-range/commit/e2ca4f76eb6ba254f70f55e28f769c8d75faeedc))
* 6.0.0 ([f95d09a](https://github.com/bluelovers/fill-range/commit/f95d09a5bd9f01eae7a851c7b10ccd60fd966d7b))
* run verb to generate readme ([134c90a](https://github.com/bluelovers/fill-range/commit/134c90a04a1530874ecdd89658158bae4e3e39d5))
* upgrade deps ([5914f2d](https://github.com/bluelovers/fill-range/commit/5914f2dabadc9081937bf4138bc728fe41e4c86d))
* update benchmark code ([6cbe3e2](https://github.com/bluelovers/fill-range/commit/6cbe3e27a0803cc109081c4f2ed44ee6b08bb70f))
* lint, upgrade deps ([a43004a](https://github.com/bluelovers/fill-range/commit/a43004a634008edfd27a371c61b808dd5927140f))
* options.strictOrder , only allow start < stop (#11) ([2f6875c](https://github.com/bluelovers/fill-range/commit/2f6875c230023e5dc4024513f26a527ec6494bff)), closes [#11](https://github.com/bluelovers/fill-range/issues/11)
* options.limit, set limit size (#10) ([4aa0464](https://github.com/bluelovers/fill-range/commit/4aa0464902ac84357e47803f3bfb3195603e36ed)), closes [#10](https://github.com/bluelovers/fill-range/issues/10)
* Bump to-regex-range and extend-shallow (#8) ([a2fb2c3](https://github.com/bluelovers/fill-range/commit/a2fb2c34e1a2222d0a98535f521a541eaa7bd602)), closes [#8](https://github.com/bluelovers/fill-range/issues/8)
# 5.0.0 "🔖 Miscellaneous" (2017-11-01)
### 🔖 Miscellaneous
* 5.0.0 ([24a18b1](https://github.com/bluelovers/fill-range/commit/24a18b1aeb322522e13e438c96697d511ae81f9c))
* run verb to generate readme documentation ([3020275](https://github.com/bluelovers/fill-range/commit/3020275513323a75e45f2cb15226cf4bb547fef4))
* run update, fix comment ([3db04b7](https://github.com/bluelovers/fill-range/commit/3db04b7dce28558249e931a7ece7cd767664caee))
* Update is-number to version 4.0 (#7) ([e4000f0](https://github.com/bluelovers/fill-range/commit/e4000f03384a44f63702b78a94f7323966dbcf69)), closes [#7](https://github.com/bluelovers/fill-range/issues/7)
# 4.0.0 "🔖 Miscellaneous" (2017-04-23)
### 🔖 Miscellaneous
* 4.0.0 ([e5a21fe](https://github.com/bluelovers/fill-range/commit/e5a21feaac23f3f34bb4d7ca8e65393e18b451b6))
* update docs, run verb ([706d753](https://github.com/bluelovers/fill-range/commit/706d75331ae265d409601f433a5c85c9fa98c7b1))
* update benchmarks ([4837b27](https://github.com/bluelovers/fill-range/commit/4837b2746beb8101b0411119e6de40e7b99447d6))
* support zero-padding ([fb09233](https://github.com/bluelovers/fill-range/commit/fb09233c23bae3d97398d7121249ca34ce6d8e09))
* run update ([0e7b7ea](https://github.com/bluelovers/fill-range/commit/0e7b7ea491a93893064f29db8f0215fa486bd65f))
## 3.1.1 "🔖 Miscellaneous" (2017-02-13)
### 🔖 Miscellaneous
* update contributors ([59af6eb](https://github.com/bluelovers/fill-range/commit/59af6ebcc76256befc51e3100672469ccfdc4d44))
# 3.1.0 "🔖 Miscellaneous" (2017-02-13)
### 🔖 Miscellaneous
* 3.1.0 ([dfba33a](https://github.com/bluelovers/fill-range/commit/dfba33a1d4eef4f98cf1a85d83ef439088381e7d))
* add deps for benchmarks ([a969595](https://github.com/bluelovers/fill-range/commit/a9695951860354a4f325df6603e16f5e6ff3c4c4))
* generate docs ([af8d963](https://github.com/bluelovers/fill-range/commit/af8d96318d3f4dc76c66adb7065707ff9bdbecfe))
* use strictEqual ([271c03b](https://github.com/bluelovers/fill-range/commit/271c03b28a874eef26bb7fb15e25bdbf462fea6a))
* update deps ([14d721e](https://github.com/bluelovers/fill-range/commit/14d721e40b3ece4102407bf578249ac1550fe3e6))
* run update ([2223676](https://github.com/bluelovers/fill-range/commit/2223676ef4cd65e120cec6b5845c46cdfd47dc49))
* Bump `to-regex-range`. (#6) ([8d9b9a9](https://github.com/bluelovers/fill-range/commit/8d9b9a9f4ece0347ebcd67e54e9968fe305135f1)), closes [#6](https://github.com/bluelovers/fill-range/issues/6)
* Update README.md (#5) ([f113b3c](https://github.com/bluelovers/fill-range/commit/f113b3c5c952959eaa206c5b9b0f5c6b4a15df05)), closes [#5](https://github.com/bluelovers/fill-range/issues/5)
## 3.0.3 "🔖 Miscellaneous" (2016-09-15)
### 🔖 Miscellaneous
* 3.0.3 ([f7aad9d](https://github.com/bluelovers/fill-range/commit/f7aad9db3ef14dbd96b8ddeb8fc57bc72963127a))
* add generated tests ([9a3f470](https://github.com/bluelovers/fill-range/commit/9a3f470708f68954224814ac0135fa163cc86ac6))
* use `Number` for readability ([af7a907](https://github.com/bluelovers/fill-range/commit/af7a907cf9ade5b09a2239256f4f3f5769476937))
## 3.0.2 "🔖 Miscellaneous" (2016-09-15)
### 🔖 Miscellaneous
* 3.0.2 ([2cceeec](https://github.com/bluelovers/fill-range/commit/2cceeec1988e1e274e8b4c54c57d42636f8c7145))
* ensure min is the first arg ([20fb5aa](https://github.com/bluelovers/fill-range/commit/20fb5aad265b1f39d3cb4f1c137b46b73d549660))
## 3.0.1 "🔖 Miscellaneous" (2016-09-15)
### 🔖 Miscellaneous
* 3.0.1 ([d6f3664](https://github.com/bluelovers/fill-range/commit/d6f36643f0ccdc3a914cdcc9027fc6ab29d2c850))
* fix docs for custom transform fn ([1b70ecc](https://github.com/bluelovers/fill-range/commit/1b70ecc3ae59706d333dad49288fe2044af385f7))
# 3.0.0 "🔖 Miscellaneous" (2016-09-15)
### 🔖 Miscellaneous
* 3.0.0 ([53bc0f1](https://github.com/bluelovers/fill-range/commit/53bc0f1e4933dbd56ab9cfe0b7759945d1d513ac))
* Add mocha to devDependencies. ([e238e55](https://github.com/bluelovers/fill-range/commit/e238e557a9058d08f8ffff9222c9112dfbedca97))
## 2.2.3 "🔖 Miscellaneous" (2015-12-06)
### 🔖 Miscellaneous
* 2.2.3 ([dddb5ad](https://github.com/bluelovers/fill-range/commit/dddb5ad45818a3d57a28391eff7a028ea8a826cc))
* bump deps ([6cb50d5](https://github.com/bluelovers/fill-range/commit/6cb50d5c679d9e6d9e8ad97bb2efd63a8c8da610))
* lint ([60a54e0](https://github.com/bluelovers/fill-range/commit/60a54e0ddc6cd9e3b8ad876cf014d8760a151e31))
* moved tests ([9d65bd5](https://github.com/bluelovers/fill-range/commit/9d65bd591042ea88028f8cf9f0109f4d54208338))
* Update deps. ([7dee7f5](https://github.com/bluelovers/fill-range/commit/7dee7f527499f8e7f7f47ad6225179432975a132))
* 2.2.2 ([1e0167e](https://github.com/bluelovers/fill-range/commit/1e0167e50273cccc8e4f8b52a3d49a48972f7047))
* generate readme ([cbf91fc](https://github.com/bluelovers/fill-range/commit/cbf91fc8942cc5914c014bb45a18b1d0101baec0))
* run update ([dafcb07](https://github.com/bluelovers/fill-range/commit/dafcb07a8cb9d8138543234fde0cc92340248cb1))
* 2.2.0 ([b403fef](https://github.com/bluelovers/fill-range/commit/b403fefd2d8c5ba134239824cec118cfe4c19393))
* build readme ([7e410b1](https://github.com/bluelovers/fill-range/commit/7e410b148c934f8032e6dc89ad5378c5e8f416ea))
* lint ([18cbc03](https://github.com/bluelovers/fill-range/commit/18cbc03c51e46a23435fc98dcdf802ba1e088bce))
* update patterns ([2b6c177](https://github.com/bluelovers/fill-range/commit/2b6c1778984cc1d10e1918f6467a605f7bbe545c))
* adds editorconfig, travis ([b670a42](https://github.com/bluelovers/fill-range/commit/b670a42aeb0e38e3a7cd83a4a2627eb12b8e1cfc))
* build readme ([965fc42](https://github.com/bluelovers/fill-range/commit/965fc42da05330741d85f842e52f4d625b1e242b))
* 2.1.0 ([debeafa](https://github.com/bluelovers/fill-range/commit/debeafa2f216d3d73a902db0031b7a1995c4ec8d))
* better error checking, logic for bad ranges ([0f77f2b](https://github.com/bluelovers/fill-range/commit/0f77f2b1453b87e3226e488e44f9b0459b02e654))
# 2.0.0 "🔖 Miscellaneous" (2015-01-26)
### 🔖 Miscellaneous
* 2.0.0 ([45573c5](https://github.com/bluelovers/fill-range/commit/45573c5ad67355119865ed32945365562ad7d4e8))
* build readme ([8f5628c](https://github.com/bluelovers/fill-range/commit/8f5628c9f44553c457421a5ad7f1a4108e22d6d7))
* regex tests ([2db9df2](https://github.com/bluelovers/fill-range/commit/2db9df202714d34610748cb82220c7aff38a4335))
* better support for logical or and character classes ([ebb78cc](https://github.com/bluelovers/fill-range/commit/ebb78cca614e3ffebe06e006aae3196e6e46f1c0))
* add logical-or and character class benchmarks ([c96918a](https://github.com/bluelovers/fill-range/commit/c96918a12edc3faed82d2f4acd16c3c772e3e3d4))
* run benchmarks ([68bcd3e](https://github.com/bluelovers/fill-range/commit/68bcd3e18c04698147ae7701c7c9c73427007d30))
* tons of tests for character classes ([b309f26](https://github.com/bluelovers/fill-range/commit/b309f26b8ed03708455b1cc813ddb3aeab7da3a2))
* improved logic for detecting valid character classes ([a1a5982](https://github.com/bluelovers/fill-range/commit/a1a5982d1aeb567c80be5dacd3d8719d39e223d3))
* simplify formatStep ([140cfc3](https://github.com/bluelovers/fill-range/commit/140cfc370c536db7e0cb811277afcf0936f30a65))
* move some logic into functions ([734a66d](https://github.com/bluelovers/fill-range/commit/734a66dc967822e7a8e25767f745728543172e35))
* 1.9.0 ([56901c4](https://github.com/bluelovers/fill-range/commit/56901c41eea55b5e99546ac8662ad6a43a7076da))
* allow `makeRegex` to be passed ([c2308cc](https://github.com/bluelovers/fill-range/commit/c2308cc6d5d7cbaf040e6624e87bfaaf08a663df))
* 1.8.0 ([55792c3](https://github.com/bluelovers/fill-range/commit/55792c320bed0ada3e1ed1a53628b6c799fb495e))
* build readme ([d04ac18](https://github.com/bluelovers/fill-range/commit/d04ac1872dd92c1d6c9ee906dcbc7303c6618752))
* update tests, benchmarks ([853945b](https://github.com/bluelovers/fill-range/commit/853945b2077aceb39d3d979b7cafaaaef666540a))
* allow options to be passed ([4d0af32](https://github.com/bluelovers/fill-range/commit/4d0af3200c49da3943d87be50e4ab76e4c44722e))
* related links ([1fff5cb](https://github.com/bluelovers/fill-range/commit/1fff5cb9683acaea81e474bc2d79dcb212d3a0e6))
* unit tests ([2251a06](https://github.com/bluelovers/fill-range/commit/2251a06a67ae6093d5457091c95a347d1aabbaa7))
* 1.7.0 ([cd5b110](https://github.com/bluelovers/fill-range/commit/cd5b1109808258201c05ca8322e0d8e43798d03c))
* code comments ([bbda143](https://github.com/bluelovers/fill-range/commit/bbda14384c98093788b85cfbf427b509390d84ad))
* update benchmarks ([3b9dab9](https://github.com/bluelovers/fill-range/commit/3b9dab959519ad036ccd8099a840bc0a706120a3))
* fix `step === 0` bug ([816beff](https://github.com/bluelovers/fill-range/commit/816beffc35bee5e629efc541af36619b05dcf211))
* add tests ([17a19b9](https://github.com/bluelovers/fill-range/commit/17a19b9348647b5d269efee8fc440d53db04a9e8))
* optimizations, better support for: ([f08ff99](https://github.com/bluelovers/fill-range/commit/f08ff992478213762177aa4dac98a1559682b6fe))
* update benchmarks ([9d3aa14](https://github.com/bluelovers/fill-range/commit/9d3aa14e92db68998a0c3735ab5494baeac83b7e))
* stats ([036d89f](https://github.com/bluelovers/fill-range/commit/036d89f6bb14697a5dcca8e907d6a6cc276bc853))
* fix deps ([6786667](https://github.com/bluelovers/fill-range/commit/6786667ec654fa5f75a5f7dd85febdcd58786ffe))
# 1.5.0 "🔖 Miscellaneous" (2015-01-24)
### 🔖 Miscellaneous
* 1.5.0 ([a95fece](https://github.com/bluelovers/fill-range/commit/a95fece96f7d525edf0bd7b92b88753b89ac5420))
* build readme ([8369037](https://github.com/bluelovers/fill-range/commit/8369037e3e30ac7c314822d2928373c45bc11348))
* clarify type checking ([b88fb2c](https://github.com/bluelovers/fill-range/commit/b88fb2c7bc5bc9d5714a15b31305059030b9ac5d))
* remove npmignore ([f649ea1](https://github.com/bluelovers/fill-range/commit/f649ea11f2dbdedbd6b85abdbd0a02a791714946))
# 1.4.0 "🔖 Miscellaneous" (2015-01-14)
### 🔖 Miscellaneous
* 1.4.0 ([a578d68](https://github.com/bluelovers/fill-range/commit/a578d682adf97538bcd321ee32deda2c6f7bcb6c))
* build readme ([829276d](https://github.com/bluelovers/fill-range/commit/829276dbda2d0a0f5cabd23b218f0be0cdedbb84))
* don't make match groups ([c48c411](https://github.com/bluelovers/fill-range/commit/c48c411abf7b89877d169747a714580e3d63e2d0))
# 1.3.0 "🔖 Miscellaneous" (2015-01-12)
### 🔖 Miscellaneous
* 1.3.0 ([8feab62](https://github.com/bluelovers/fill-range/commit/8feab621033bae8276138909d61a89e267434934))
* build readme ([b9a8259](https://github.com/bluelovers/fill-range/commit/b9a82595f649748dcbca006ba19e23027f7b0366))
* tests for `|` char ([185643d](https://github.com/bluelovers/fill-range/commit/185643d74e43ed9840a0e87a4dd384964a2655a9))
* update deps ([d6a7760](https://github.com/bluelovers/fill-range/commit/d6a7760332f4ba2cba583b30e6e4c9c9bdf23831))
* tests for invalid patterns ([c272096](https://github.com/bluelovers/fill-range/commit/c2720967ea41761767e387419f8cf592897da1fe))
* optimizations, improved validation ([a5b6dfb](https://github.com/bluelovers/fill-range/commit/a5b6dfbdfe6c06b0883c7ceddfd250e6098d606e))
# 1.2.0 "🔖 Miscellaneous" (2015-01-09)
### 🔖 Miscellaneous
* 1.2.0 ([91a181e](https://github.com/bluelovers/fill-range/commit/91a181e661652a431fc308576f3d6255d0ebd7e0))
* build readme ([5bea3cb](https://github.com/bluelovers/fill-range/commit/5bea3cb4a979609147ab4dd0ac3e46f250a6458b))
* organize tests ([3e2a9af](https://github.com/bluelovers/fill-range/commit/3e2a9af426dd0b7cff31ffaaeb2e092bd8ce1188))
* optimizations ([6144217](https://github.com/bluelovers/fill-range/commit/614421772708058acd4d267599328c32ff2d98a8))
# 1.1.0 "🔖 Miscellaneous" (2015-01-09)
### 🔖 Miscellaneous
* 1.1.0 ([2ff624d](https://github.com/bluelovers/fill-range/commit/2ff624da23b354d6637b6b1803856bbea0aff739))
* build readme ([302ef3b](https://github.com/bluelovers/fill-range/commit/302ef3bb631f3e1622f740e0d1bae7dd1072e850))
* add logic for single dots, better error msgs ([cbfbc7e](https://github.com/bluelovers/fill-range/commit/cbfbc7eb66b35278c588269b70e9d52dbd07510b))
# 1.0.0 "🔖 Miscellaneous" (2015-01-04)
### 🔖 Miscellaneous
* 1.0.0 ([78263be](https://github.com/bluelovers/fill-range/commit/78263be7de77ce0ad458e485436d3f32bab026dc))
* build readme ([dda1c9d](https://github.com/bluelovers/fill-range/commit/dda1c9d6fe6436bbe65efaca55132043179f3462))
* add special char support, tests ([da20c47](https://github.com/bluelovers/fill-range/commit/da20c47087708b8ba711f720efe2735fc11e00e2))
* update ignore patterns ([b9093f4](https://github.com/bluelovers/fill-range/commit/b9093f400743a4de449095740d5ad3cf924ec698))
* add support for special chars: ([8c05995](https://github.com/bluelovers/fill-range/commit/8c05995d5881bffaa3ae17df3960c88b6af72376))
* use `isNumeric` ([6348e72](https://github.com/bluelovers/fill-range/commit/6348e72276e18d15f7f109978cea328ba6eee7eb))
* clarify some terminology ([3660375](https://github.com/bluelovers/fill-range/commit/3660375a03cfec7b0803b207e0ae3f4c911c382d))
* clean up package.json ([816d936](https://github.com/bluelovers/fill-range/commit/816d9360789bfee113496c0566a30c5f7f911c50))
* update ignore patterns ([6cb51b5](https://github.com/bluelovers/fill-range/commit/6cb51b5b0bf0080def8a17347059cd2241149b39))
* fix copyright date ([20ceb6d](https://github.com/bluelovers/fill-range/commit/20ceb6dea38e7fb40b357d18dd5e7a554c520b10))
* build readme ([badccfe](https://github.com/bluelovers/fill-range/commit/badccfe5f1bce43aa58088f5c6b39f67def70755))
* add test for padding ([18a7960](https://github.com/bluelovers/fill-range/commit/18a7960c5391513ed89061443583b518b3db80bc))
* refactored: ([78b58cf](https://github.com/bluelovers/fill-range/commit/78b58cfb5eb16916ff223e7a693345cd22c88ce9))
* start refactoring ([9f1f644](https://github.com/bluelovers/fill-range/commit/9f1f644695e6d4679305e5bcd97d651428f9910b))
* ignore patterns ([2be3f4a](https://github.com/bluelovers/fill-range/commit/2be3f4ac33ae55350258896d48e4ed573d73effc))
* update license ([6cdd8ad](https://github.com/bluelovers/fill-range/commit/6cdd8ad637da2a2bfac27b54f4c39ca4085478b6))
* add benchmarks ([db2d974](https://github.com/bluelovers/fill-range/commit/db2d9743b7a2b9682a33553f304a4ac837245f0d))
# 0.2.0 "🔖 Miscellaneous" (2014-11-25)
### 🔖 Miscellaneous
* 0.2.0 ([7b60b8a](https://github.com/bluelovers/fill-range/commit/7b60b8a0c143916b705603b91b53ce0d21450870))
* adds logic to catch bad patterns ([8b25e38](https://github.com/bluelovers/fill-range/commit/8b25e38344560125d286e05a01518d1abb392647))
* adds npmignore ([182b1af](https://github.com/bluelovers/fill-range/commit/182b1af780428a3416cf8bb52e01bdeee693a853))
* update docs, run verb ([8869b08](https://github.com/bluelovers/fill-range/commit/8869b08e0a4c53b9c2a40cbec0de75f490b5e71f))
* adds support for negative, positive and alphabetical ranges ([94b2f92](https://github.com/bluelovers/fill-range/commit/94b2f92e62ecad4dfa8580b67c21b0cff10f13e5))
* first commit ([984d224](https://github.com/bluelovers/fill-range/commit/984d2248fa11b836ce6069551b7deb8e3354845f))