object-flatten-all-arrays
Version:
Merge and flatten any arrays found in all values within plain objects
127 lines (71 loc) • 4.21 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.19 (2024-03-30)
### Bug Fixes
- tweak the types ([5d05a0d](https://github.com/codsen/codsen/commit/5d05a0d07278f49543b7728219ee141fa9021ed4))
## 7.0.0 (2022-12-01)
### BREAKING CHANGES
- Minimum supported Node version is v14.18; we're dropping v12 support
## 6.2.0 (2022-08-12)
### Features
- export types ([3cea69a](https://github.com/codsen/codsen/commit/3cea69a1220ccd807aaea9ef8deac0b5c7858df6))
- export types ([11b5fb9](https://github.com/codsen/codsen/commit/11b5fb936ce20e0a77c3a09806773e1cd7695c50))
## 6.1.0 (2022-04-10)
### Features
- export defaults ([568da52](https://github.com/codsen/codsen/commit/568da524193b86dda2a197cd42e0c6e49ba405be))
## 6.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()`
## 5.1.0 (2021-05-24)
### Features
- config file based major bump blacklisting ([e15f9bb](https://github.com/codsen/codsen/commit/e15f9bba1c4fd5f847ac28b3f38fa6ee633f5dca))
## 5.0.15 (2021-04-11)
### Reverts
- Revert "chore: setup refresh" ([23cf206](https://github.com/codsen/codsen/commit/23cf206970a087ff0fa04e61f94d919f59ab3881))
## 5.0.1 (2021-01-28)
### Fixed
- add `testStats` to npmignore ([f3c84e9](https://github.com/codsen/codsen/commit/f3c84e95afc5514214312f913692d85b2e12eb29))
## 5.0.0 (2021-01-23)
### Features
- rewrite in TS, start using named exports ([f54f983](https://github.com/codsen/codsen/commit/f54f9837576d30d21610ff4c073407b2215b7bad))
### BREAKING CHANGES
- previously: `import flattenAllArrays from ...` - now: `import { flattenAllArrays } from ...`
## 4.9.0 (2020-11-28)
Accidental version bump during migration to SourceHut. Sorry about that.
## 4.8.1 (2019-10-05)
### Performance Improvements
- remove unused `check-types-mini` from deps list ([53f78a6](https://gitlab.com/codsen/codsen/commit/53f78a6))
## 4.8.0 (2019-10-02)
### Features
- remove `check-types-mini` to make things run faster. 76 times to be precise.
- replace `type-detect` with `lodash.isplainobject` ([31936bf](https://gitlab.com/codsen/codsen/commit/31936bf))
## 4.7.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
## 4.3.0 (2018-10-24)
- Updated all dependencies
- Restored coveralls.io reporting
- Restored unit test linting
## 4.2.0 (2018-06-16)
GitHub sold us out. In the meantime, we:
- Migrated to Bitbucket (to host repo + perform CI) and Codacy (for code quality audit)
- Dropped BitHound (RIP) and Travis
## 4.1.0 (2018-05-26)
- Set up [Prettier](https://prettier.io) on a custom ESLint rule set.
- Removed `package.lock` and `.editorconfig`
- Wired Rollup to remove comments from non-dev builds. This means we can now leave the `console.log`s in the source code — there's no need to comment-out `console.log` statements or care about them not spilling into production. Now it's done automatically.
- Unit tests are pointing at ES modules build, which means that code coverage is correct now, without Babel functions being missed. This is important because now code coverage is real again and now there are no excuses not to perfect it.
## 4.0.0 (2017-12-12)
- Rebased in ES Modules
- Set up Rollup. Now we generate three builds: CommonJS, UMD and ES Modules.
- Major setup overhaul and deps refresh.
## 3.1.0 (2017-05-12)
- `opts.flattenArraysContainingStringsToBeEmpty` now lets you flatten object values which have arrays which have strings into empty arrays. This is important. Trust me. No, seriously.
## 3.0.0 (2017-03-17)
- Recoded all the core, improving the algorithm and making everything cleaner (hope so).
- Pinned JS Standard not to be the latest, to avoid sudden linting issues coming from nowhere and blocking builds when a new version of JS Standard is released.
- Even more tests.
- Unit test coverage is still a solid 100%.