Skip to content

Commit

Permalink
chore(db): update dependency flat to v6 (#770)
Browse files Browse the repository at this point in the history
[![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 [#&#8203;149](https://togithub.com/hughsk/flat/issues/149)).
-   Definitions for TypeScript are now included out of the box (see [#&#8203;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 @&#8203;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
renovate[bot] and JoeKarow authored Sep 15, 2023
1 parent 6df2301 commit b3c25d2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 20 deletions.
3 changes: 1 addition & 2 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"dayjs": "1.11.9",
"embla-carousel-autoplay": "7.1.0",
"embla-carousel-react": "7.1.0",
"flat": "5.0.2",
"flat": "6.0.0",
"i18next": "23.5.1",
"i18next-browser-languagedetector": "7.1.0",
"i18next-chained-backend": "4.5.0",
Expand Down Expand Up @@ -113,7 +113,6 @@
"@tanstack/react-table-devtools": "8.7.6",
"@total-typescript/ts-reset": "0.5.1",
"@types/eslint": "8.44.2",
"@types/flat": "5.0.3",
"@types/luxon": "3.3.2",
"@types/node": "18.17.16",
"@types/react": "18.2.21",
Expand Down
3 changes: 3 additions & 0 deletions packages/db/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ prisma/dbml
prisma/data-migrations/**/!*.json
prisma/migrations/**/*.json

util/crowdin/generated/*
!util/crowdin/generated/.gitkeep

zod-schemas/
kysely-vercel/
pg-diff/
Expand Down
3 changes: 1 addition & 2 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@
"@turf/points-within-polygon": "6.5.0",
"@turf/simplify": "6.5.0",
"@types/eslint": "8.44.2",
"@types/flat": "5.0.3",
"@types/geojson": "7946.0.10",
"@types/inquirer": "9.0.3",
"@types/inquirer-autocomplete-prompt": "3.0.0",
Expand All @@ -109,7 +108,7 @@
"dotenv": "16.3.1",
"dotenv-cli": "7.3.0",
"eslint": "8.49.0",
"flat": "5.0.2",
"flat": "6.0.0",
"geojson": "0.5.0",
"inquirer": "9.2.11",
"inquirer-autocomplete-prompt": "3.0.0",
Expand Down
23 changes: 7 additions & 16 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b3c25d2

Please sign in to comment.