js-row-num
Version:
Update all row numbers in all console.logs in JS code
147 lines (78 loc) • 4.78 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.0 (2022-12-01)
### BREAKING CHANGES
- Minimum supported Node version is v14.18; we're dropping v12 support
## 6.0.0 (2022-11-14)
### Features
- return both string and ranges ([3932619](https://github.com/codsen/codsen/commit/39326195ebf97a2ef3e3b29534a08c2c8b115f9e))
### BREAKING CHANGES
- main function returns both string and ranges; output is not a plain object; no more
opts.returnRangesOnly
## 5.2.0 (2022-08-12)
### Features
- export types ([d732d0c](https://github.com/codsen/codsen/commit/d732d0c0447ec355650b632aae6906e71a621e50))
- export types ([11b5fb9](https://github.com/codsen/codsen/commit/11b5fb936ce20e0a77c3a09806773e1cd7695c50))
## 5.1.2 (2022-04-18)
### Fixed
- tweak types ([e215772](https://github.com/codsen/codsen/commit/e215772dc1c9f9efcbdc92f26c3370f5dd0e027e))
## 5.1.0 (2022-04-11)
### Features
- export `defaults` and `version` ([1107244](https://github.com/codsen/codsen/commit/1107244b45eff96ac1fc4ab992031ede0d10ba8c))
## 5.0.0 (2021-09-09)
### Features
- migrate to ES Modules ([8c9d95d](https://github.com/codsen/codsen/commit/8c9d95d5dea0b769c2f070397141918a4893d575))
### BREAKING CHANGES
- programs now are in ES Modules and won't work with Common JS `require()`
## 4.1.0 (2021-05-24)
### Features
- config file based major bump blacklisting ([e15f9bb](https://github.com/codsen/codsen/commit/e15f9bba1c4fd5f847ac28b3f38fa6ee633f5dca))
## 4.0.15 (2021-04-11)
### Reverts
- Revert "chore: setup refresh" ([23cf206](https://github.com/codsen/codsen/commit/23cf206970a087ff0fa04e61f94d919f59ab3881))
## 4.0.1 (2021-01-28)
### Fixed
- add `testStats` to npm ignore ([f3c84e9](https://github.com/codsen/codsen/commit/f3c84e95afc5514214312f913692d85b2e12eb29))
## 4.0.0 (2021-01-23)
### Features
- rewrite in TS, start using named exports ([e10c809](https://github.com/codsen/codsen/commit/e10c8093a07a7ed633e088eca22de9780862603a))
### BREAKING CHANGES
- previously: `import fixRowNums from ...` - now `import { fixRowNums } from ...`
## 2.7.0 (2019-12-14)
### Fixed
- fix the regression of letters in front of digits not causing a bailout ([d141967](https://gitlab.com/codsen/codsen/commit/d14196750fa3b83d049bbd573fe0851ef150120f))
- set up Tap as a test runner, write many more unit tests and fix all remaining issues ([58e1471](https://gitlab.com/codsen/codsen/commit/58e147195282077df7ad20efb00dac95976ac24d))
### Features
- fix the digit recognition when they're given in quotes only or as num only ([b787c1e](https://gitlab.com/codsen/codsen/commit/b787c1ed86671311a21f842e42f2305e5914b15b))
## 2.6.0 (2019-12-09)
### Features
- expand the spectrum of patterns recognised under `opts.extractedLogContentsWereGiven` ([5fc1fe3](https://gitlab.com/codsen/codsen/commit/5fc1fe3e9fece9cbf99a013b9c911768366d80e7))
- `opts.extractedLogContentsWereGiven` ([de3a781](https://gitlab.com/codsen/codsen/commit/de3a781cd78ca0d4c276d4f0a177a4da1f4237c2))
- `opts.overrideRowNum` ([a81cc76](https://gitlab.com/codsen/codsen/commit/a81cc768f317f54d4456c4891c31ebedf5282b88))
- `opts.returnRangesOnly` ([c874453](https://gitlab.com/codsen/codsen/commit/c87445382d887631de6ba048a2e54bb0c65c8f9f))
## 2.6.0 (2019-11-30)
`opts.overrideRowNum` will stop the program from counting row numbers and will place that integer instead.
## 2.5.0 (2019-11-27)
### Features
- ignore new lines in front of a row numbers ([e6d78d6](https://gitlab.com/codsen/codsen/commit/e6d78d6a830f06e5a7910ea266367b0d16dc3fd1))
## 2.4.0 (2019-10-05)
### Features
- `opts.triggerKeywords` ([d76cf72](https://gitlab.com/codsen/codsen/commit/d76cf72))
- `opts.triggerKeywords` ([8ef01ae](https://gitlab.com/codsen/codsen/commit/8ef01ae))
## 2.3.0 (2019-06-18)
### Features
- Remove `check-types-mini` dependency to make it more efficient ([c36ce2f](https://gitlab.com/codsen/codsen/commit/c36ce2f))
## 2.2.0 (2019-06-01)
### Features
- Lower the 4 digit padding threshold to 45K characters ([e5f8ec7](https://gitlab.com/codsen/codsen/commit/e5f8ec7))
## 2.1.0 (2019-04-06)
### Features
- Bump padding to four if input is longer than 50K characters ([6855b53](https://gitlab.com/codsen/codsen/commit/6855b53))
## 1.3.0 (2019-01-20)
- Various documentation and setup tweaks after we migrated to monorepo
- Setup refresh: updated dependencies and all config files using automated tools
## 1.1.0 (2018-12-26)
- `String.padStart` is ECMAScript 2017 which limits the Node versions we can support, so we replaced it ([5a49a2e](https://gitlab.com/codsen/codsen/tree/master/packages/js-row-num/commits/5a49a2e))
## 1.0.0 (2017-07-11)
- First public release