From b3c25d205d4bb108584db2616b45ddf259b52c0e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 15 Sep 2023 16:17:54 +0000 Subject: [PATCH] chore(db): update dependency flat to v6 (#770) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![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
hughsk/flat (flat) ### [`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 :truck: 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 ```
--- ### 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: https://github.com/weareinreach/InReach/pull/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 <58997957+JoeKarow@users.noreply.github.com> --- apps/app/package.json | 3 +-- packages/db/.gitignore | 3 +++ packages/db/package.json | 3 +-- pnpm-lock.yaml | 23 +++++++---------------- 4 files changed, 12 insertions(+), 20 deletions(-) diff --git a/apps/app/package.json b/apps/app/package.json index 1badefb552..8161a3c957 100644 --- a/apps/app/package.json +++ b/apps/app/package.json @@ -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", @@ -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", diff --git a/packages/db/.gitignore b/packages/db/.gitignore index 593373898f..89083b7ebe 100644 --- a/packages/db/.gitignore +++ b/packages/db/.gitignore @@ -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/ diff --git a/packages/db/package.json b/packages/db/package.json index c8c64ec801..ed4957bc68 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -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", @@ -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", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f164cb40b..cf10d58c11 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -267,8 +267,8 @@ importers: specifier: 7.1.0 version: 7.1.0(react@18.2.0) flat: - specifier: 5.0.2 - version: 5.0.2 + specifier: 6.0.0 + version: 6.0.0 i18next: specifier: 23.5.1 version: 23.5.1 @@ -363,9 +363,6 @@ importers: '@types/eslint': specifier: 8.44.2 version: 8.44.2 - '@types/flat': - specifier: 5.0.3 - version: 5.0.3 '@types/luxon': specifier: 3.3.2 version: 3.3.2 @@ -1017,9 +1014,6 @@ importers: '@types/eslint': specifier: 8.44.2 version: 8.44.2 - '@types/flat': - specifier: 5.0.3 - version: 5.0.3 '@types/geojson': specifier: 7946.0.10 version: 7946.0.10 @@ -1081,8 +1075,8 @@ importers: specifier: 8.49.0 version: 8.49.0 flat: - specifier: 5.0.2 - version: 5.0.2 + specifier: 6.0.0 + version: 6.0.0 geojson: specifier: 0.5.0 version: 0.5.0 @@ -10182,10 +10176,6 @@ packages: resolution: {integrity: sha512-frsJrz2t/CeGifcu/6uRo4b+SzAwT4NYCVPu1GN8IB9XTzrpPkGuV0tmh9mN+/L0PklAlsC3u5Fxt0ju00LXIw==} dev: true - /@types/flat@5.0.3: - resolution: {integrity: sha512-uG/4x6EXYbq4VDsBJLNDHQAQmtRPg3x4tAXcBspxlnEknz8NiJxnHoxSiJKGNExiS00q4mJNvuEBgVA3jsDIdQ==} - dev: true - /@types/geojson@7946.0.10: resolution: {integrity: sha512-Nmh0K3iWQJzniTuPRcJn5hxXkfB1T1pgB89SBig5PlJQU5yocazeu4jATJlaA0GYFKWMqDdvYemoSnF2pXgLVA==} dev: true @@ -14805,8 +14795,9 @@ packages: rimraf: 3.0.2 dev: true - /flat@5.0.2: - resolution: {integrity: sha512-b6suED+5/3rTpUBdG1gupIl8MPFCAMA0QXwmljLhvCUKcUvdE4gWky9zpuGCcXHOsz4J9wPGNWq6OKpmIzz3hQ==} + /flat@6.0.0: + resolution: {integrity: sha512-/aYW7n5yD9HyW9ZHCzW2LGSpyTmbXEdRWdH5ded6K/a2ETgowOripjBqJorQ4/PBa3VPFub28fNruWp+onmIUg==} + engines: {node: '>=18'} hasBin: true /flatted@3.2.7: