Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(db): update dependency flat to v6 (#770)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [flat](https://togithub.com/hughsk/flat) | [`5.0.2` -> `6.0.0`](https://renovatebot.com/diffs/npm/flat/5.0.2/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/flat/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/flat/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/flat/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/flat/5.0.2/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>hughsk/flat (flat)</summary> ### [`v6.0.0`](https://togithub.com/hughsk/flat/releases/tag/v6.0.0) [Compare Source](https://togithub.com/hughsk/flat/compare/5.0.2...v6.0.0) #### New Features ✨ - Package is now distributed in the ECMAScript module syntax (see [#​149](https://togithub.com/hughsk/flat/issues/149)). - Definitions for TypeScript are now included out of the box (see [#​151](https://togithub.com/hughsk/flat/issues/151)). #### Breaking Changes 💥 - Support for all module formats besides ECMAScript modules has been dropped. - Default export has been dropped in favor of a named one. - Officially supported Node.js version is now 18 and up (all others are [end-of-life](https://togithub.com/nodejs/Release/#end-of-life-releases)). #### Migration 🚚 We are now shipping `flat` as a pure ECMAScript module, if you are still using CommonJS in your application follow this [migration guide](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c). The default export has been dropped in favor of a named one, if you are using the default export make sure to update your imports: ```diff -import flatten from 'flat' +import { flatten } from 'flat' ``` If you are a user of TypeScript you can remove `@types/flat` from your project. The type definitions are now included in the package itself, so it is no longer required to keep a separate dependency around. ```sh npm uninstall @​types/flat ``` </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about these updates again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/weareinreach/InReach). PR-URL: #770 Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Joe Karow <[email protected]>
- Loading branch information