mirror of
https://github.com/unraid/api.git
synced 2025-12-21 08:39:38 -06:00
chore(deps): update dependency type-fest to v5 (#1701)
This PR contains the following updates: | Package | Change | Age | Confidence | |---|---|---|---| | [type-fest](https://redirect.github.com/sindresorhus/type-fest) | [`4.41.0` -> `5.0.0`](https://renovatebot.com/diffs/npm/type-fest/4.41.0/5.0.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>sindresorhus/type-fest (type-fest)</summary> ### [`v5.0.0`](https://redirect.github.com/sindresorhus/type-fest/releases/tag/v5.0.0) [Compare Source](https://redirect.github.com/sindresorhus/type-fest/compare/v4.41.0...v5.0.0) ##### Breaking - This package is now pure ESM. **Please [read this](https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c).** - Require TypeScript 5.9 [`b5b0214`](https://redirect.github.com/sindresorhus/type-fest/commit/b5b0214) - Require Node.js 20 [`cc2b0f2`](https://redirect.github.com/sindresorhus/type-fest/commit/cc2b0f2) - Reminder: `type-fest` requires `strict: true` in your tsconfig. - `StringKeyOf`: Rename to [`KeyAsString`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/key-as-string.d.ts) [`e492c9c`](https://redirect.github.com/sindresorhus/type-fest/commit/e492c9c) - [`ArrayTail`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/array-tail.d.ts): Enable [`preserveReadonly`](68469722a9/source/array-tail.d.ts (L8-L30)) by default and remove the option [`b34b1d8`](https://redirect.github.com/sindresorhus/type-fest/commit/b34b1d8) - [`CamelCase`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/camel-case.d.ts) / [`CamelCasedProperties`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/camel-cased-properties.d.ts) / [`CamelCasedPropertiesDeep`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/camel-cased-properties-deep.d.ts) / [`PascalCase`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/pascal-case.d.ts) / [`PascalCasedProperties`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/pascal-cased-properties.d.ts) / [`PascalCasedPropertiesDeep`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/pascal-cased-properties-deep.d.ts): Disable `preserveConsecutiveUppercase` by default [`8226c1b`](https://redirect.github.com/sindresorhus/type-fest/commit/8226c1b) - This aligns it with the general JavaScript naming convention. - [`PartialDeep`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/partial-deep.d.ts): Disable `allowUndefinedInNonTupleArrays` by default [`b3c4524`](https://redirect.github.com/sindresorhus/type-fest/commit/b3c4524) - [`Split`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/split.d.ts): Enable `strictLiteralChecks` by default [`544a846`](https://redirect.github.com/sindresorhus/type-fest/commit/544a846) - [`Paths`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/paths.d.ts): Default `maxRecursionDepth` 5 (was 10) [`2ab5dec`](https://redirect.github.com/sindresorhus/type-fest/commit/2ab5dec) - [`ObservableLike`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/globals/observable-like.d.ts): Move to sub-export [`2a1072e`](https://redirect.github.com/sindresorhus/type-fest/commit/2a1072e) - Deprecate `If*` types in favor of a single [`If`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/if.d.ts) [`4c2151a`](https://redirect.github.com/sindresorhus/type-fest/commit/4c2151a) ##### New types - [`Alphanumeric`](fc14f87e7f/source/characters.d.ts) — Single alphanumeric character (`A–Z`, `a–z`, `0–9`). [`484e030`](https://redirect.github.com/sindresorhus/type-fest/commit/484e030) - [`AllExtend`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/all-extend.d.ts) — Evaluates to `true` if every element of a tuple/array extends `U`. [`c8c6d55`](https://redirect.github.com/sindresorhus/type-fest/commit/c8c6d55) - [`ConditionalSimplify`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/conditional-simplify.d.ts) — Simplifies a type’s unions/intersections with opt-in controls. [`b7a4771`](https://redirect.github.com/sindresorhus/type-fest/commit/b7a4771) - [`ConditionalSimplifyDeep`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/conditional-simplify-deep.d.ts) — Deep version of `ConditionalSimplify` that recurses into objects. [`b7a4771`](https://redirect.github.com/sindresorhus/type-fest/commit/b7a4771) - [`DigitCharacter`](fc14f87e7f/source/characters.d.ts) — Single ASCII digit character (`0–9`). [`484e030`](https://redirect.github.com/sindresorhus/type-fest/commit/484e030) - [`ExcludeStrict`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/exclude-strict.d.ts) — Non-distributive, stricter variant of `Exclude<T, U>`. [`e6f62a2`](https://redirect.github.com/sindresorhus/type-fest/commit/e6f62a2) - [`ExtendsStrict`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/extends-strict.d.ts) — Non-distributive `A extends B` check. [`d71242a`](https://redirect.github.com/sindresorhus/type-fest/commit/d71242a) - [`ExtractStrict`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/extract-strict.d.ts) — Non-distributive, stricter variant of `Extract<T, U>`. [`98d24fa`](https://redirect.github.com/sindresorhus/type-fest/commit/98d24fa) - [`IsLowercase`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-lowercase.d.ts) — Evaluates to `true` if a string literal is all lowercase. [`afe132c`](https://redirect.github.com/sindresorhus/type-fest/commit/afe132c) - [`IsNullable`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-nullable.d.ts) — Evaluates to `true` if `T` includes `null`. [`5067e25`](https://redirect.github.com/sindresorhus/type-fest/commit/5067e25) - [`IsOptional`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-optional.d.ts) — Evaluates to `true` if `T` includes `undefined`. [`5067e25`](https://redirect.github.com/sindresorhus/type-fest/commit/5067e25) - [`IsOptionalKeyOf`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-optional-key-of.d.ts) — Evaluates to `true` if property `K` of `T` is optional. [`93728b5`](https://redirect.github.com/sindresorhus/type-fest/commit/93728b5) - [`IsReadonlyKeyOf`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-readonly-key-of.d.ts) — Evaluates to `true` if property `K` of `T` is readonly. [`93728b5`](https://redirect.github.com/sindresorhus/type-fest/commit/93728b5) - [`IsRequiredKeyOf`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-required-key-of.d.ts) — Evaluates to `true` if property `K` of `T` is required. [`93728b5`](https://redirect.github.com/sindresorhus/type-fest/commit/93728b5) - [`IsUnion`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-union.d.ts) — Evaluates to `true` if `T` is a union type. [`b3d92ed`](https://redirect.github.com/sindresorhus/type-fest/commit/b3d92ed) - [`IsUndefined`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-undefined.d.ts) — Evaluates to `true` if the type is exactly `undefined`. [`f7bc576`](https://redirect.github.com/sindresorhus/type-fest/commit/f7bc576) - [`IsUppercase`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-uppercase.d.ts) — Evaluates to `true` if a string literal is all uppercase. [`afe132c`](https://redirect.github.com/sindresorhus/type-fest/commit/afe132c) - [`LowercaseLetter`](fc14f87e7f/source/characters.d.ts) — Single lowercase Latin letter (`a–z`). [`484e030`](https://redirect.github.com/sindresorhus/type-fest/commit/484e030) - [`RemovePrefix`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/remove-prefix.d.ts) — Removes a specified prefix from a string literal. [`18a1c04`](https://redirect.github.com/sindresorhus/type-fest/commit/18a1c04) - [`UppercaseLetter`](fc14f87e7f/source/characters.d.ts) — Single uppercase Latin letter (`A–Z`). [`484e030`](https://redirect.github.com/sindresorhus/type-fest/commit/484e030) ##### Improvements - [`Jsonify`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/jsonify.d.ts): Handle `unknown` as `JsonValue` [`642bb13`](https://redirect.github.com/sindresorhus/type-fest/commit/642bb13) - [`SetRequired`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/set-required.d.ts) / [`SetOptional`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/set-optional.d.ts) / [`SetReadonly`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/set-readonly.d.ts): Handle functions with properties [`a5e45d4`](https://redirect.github.com/sindresorhus/type-fest/commit/a5e45d4) - [`Schema`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/schema.d.ts): Preserve arrays/remove extraneous unions [`8a96def`](https://redirect.github.com/sindresorhus/type-fest/commit/8a96def); drop `undefined` for `recurseIntoArrays` [`1cb955b`](https://redirect.github.com/sindresorhus/type-fest/commit/1cb955b) - [`ReadonlyKeysOf`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/readonly-keys-of.d.ts) / [`WritableKeysOf`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/writable-keys-of.d.ts): Add `object` constraint [`a6efbe0`](https://redirect.github.com/sindresorhus/type-fest/commit/a6efbe0) - [`TsConfigJson`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/tsconfig-json.d.ts): Add TypeScript 5.9 fields [`d2bda94`](https://redirect.github.com/sindresorhus/type-fest/commit/d2bda94) ##### Fixes - [`Or`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/or.d.ts): Fix with `boolean`, `never`, `any` [`42d6106`](https://redirect.github.com/sindresorhus/type-fest/commit/42d6106) - [`And`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/and.d.ts): Fix with `boolean`, `never`, `any` [`b38ac60`](https://redirect.github.com/sindresorhus/type-fest/commit/b38ac60) - [`IsStringLiteral`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/is-literal.d.ts): Fix uncollapsed unions, and tagged types [`eb37799`](https://redirect.github.com/sindresorhus/type-fest/commit/eb37799) / [`d1b35c7`](https://redirect.github.com/sindresorhus/type-fest/commit/d1b35c7) - [`Paths`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/paths.d.ts): Fix behavior with index signatures [`9926e5d`](https://redirect.github.com/sindresorhus/type-fest/commit/9926e5d) - [`ConditionalKeys`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/conditional-keys.d.ts): Fix behavior with arrays and unions [`4d7cc50`](https://redirect.github.com/sindresorhus/type-fest/commit/4d7cc50) - [`RequiredDeep`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/required-deep.d.ts): Fix with `undefined` [`bfcdbc4`](https://redirect.github.com/sindresorhus/type-fest/commit/bfcdbc4) - [`Split`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/split.d.ts): Fix template strings ending with interpolation [`853b881`](https://redirect.github.com/sindresorhus/type-fest/commit/853b881) - [`ArrayTail`](https://redirect.github.com/sindresorhus/type-fest/blob/main/source/array-tail.d.ts): Fix fix non-tuple arrays [`f3aabd8`](https://redirect.github.com/sindresorhus/type-fest/commit/f3aabd8) - Fix `UnionMin` and `UnionMax` [`d52d5e7`](https://redirect.github.com/sindresorhus/type-fest/commit/d52d5e7) ##### Meta Huge thanks to all the contributors to this release, especially [@​som-sm](https://redirect.github.com/som-sm) 🙌 *** </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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/unraid/api). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS45Ny4xMCIsInVwZGF0ZWRJblZlciI6IjQxLjk3LjEwIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
committed by
Eli Bosley
parent
45fb53d040
commit
25ff8992a5
@@ -205,7 +205,7 @@
|
||||
"rollup-plugin-node-externals": "8.1.0",
|
||||
"supertest": "7.1.4",
|
||||
"tsx": "4.20.5",
|
||||
"type-fest": "4.41.0",
|
||||
"type-fest": "5.0.0",
|
||||
"typescript": "5.9.2",
|
||||
"typescript-eslint": "8.41.0",
|
||||
"unplugin-swc": "1.5.7",
|
||||
|
||||
@@ -60,7 +60,7 @@
|
||||
"prettier": "3.6.2",
|
||||
"rimraf": "6.0.1",
|
||||
"rxjs": "7.8.2",
|
||||
"type-fest": "4.41.0",
|
||||
"type-fest": "5.0.0",
|
||||
"typescript": "5.9.2",
|
||||
"undici": "7.15.0",
|
||||
"vitest": "3.2.4",
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
"nest-authz": "2.17.0",
|
||||
"pify": "6.1.0",
|
||||
"rimraf": "6.0.1",
|
||||
"type-fest": "4.41.0",
|
||||
"type-fest": "5.0.0",
|
||||
"typescript": "5.9.2",
|
||||
"vitest": "3.2.4",
|
||||
"ws": "8.18.3"
|
||||
|
||||
26
pnpm-lock.yaml
generated
26
pnpm-lock.yaml
generated
@@ -471,8 +471,8 @@ importers:
|
||||
specifier: 4.20.5
|
||||
version: 4.20.5
|
||||
type-fest:
|
||||
specifier: 4.41.0
|
||||
version: 4.41.0
|
||||
specifier: 5.0.0
|
||||
version: 5.0.0
|
||||
typescript:
|
||||
specifier: 5.9.2
|
||||
version: 5.9.2
|
||||
@@ -619,8 +619,8 @@ importers:
|
||||
specifier: 7.8.2
|
||||
version: 7.8.2
|
||||
type-fest:
|
||||
specifier: 4.41.0
|
||||
version: 4.41.0
|
||||
specifier: 5.0.0
|
||||
version: 5.0.0
|
||||
typescript:
|
||||
specifier: 5.9.2
|
||||
version: 5.9.2
|
||||
@@ -792,8 +792,8 @@ importers:
|
||||
specifier: 6.0.1
|
||||
version: 6.0.1
|
||||
type-fest:
|
||||
specifier: 4.41.0
|
||||
version: 4.41.0
|
||||
specifier: 5.0.0
|
||||
version: 5.0.0
|
||||
typescript:
|
||||
specifier: 5.9.2
|
||||
version: 5.9.2
|
||||
@@ -11439,6 +11439,10 @@ packages:
|
||||
resolution: {integrity: sha512-9kY+CygyYM6j02t5YFHbNz2FN5QmYGv9zAjVp4lCDjlCw7amdckXlEt/bjMhUIfj4ThGRE4gCUH5+yGnNuPo5A==}
|
||||
engines: {node: '>=10.0.0'}
|
||||
|
||||
tagged-tag@1.0.0:
|
||||
resolution: {integrity: sha512-yEFYrVhod+hdNyx7g5Bnkkb0G6si8HJurOoOEgC8B/O0uXLHlaey/65KRv6cuWBNhBgHKAROVpc7QyYqE5gFng==}
|
||||
engines: {node: '>=20'}
|
||||
|
||||
tailwind-merge@2.6.0:
|
||||
resolution: {integrity: sha512-P+Vu1qXfzediirmHOC3xKGAYeZtPcV9g76X+xg2FD4tYgR71ewMA35Y3sCz3zhiN/dwefRpJX0yBcgwi1fXNQA==}
|
||||
|
||||
@@ -11697,6 +11701,10 @@ packages:
|
||||
resolution: {integrity: sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==}
|
||||
engines: {node: '>=16'}
|
||||
|
||||
type-fest@5.0.0:
|
||||
resolution: {integrity: sha512-GeJop7+u7BYlQ6yQCAY1nBQiRSHR+6OdCEtd8Bwp9a3NK3+fWAVjOaPKJDteB9f6cIJ0wt4IfnScjLG450EpXA==}
|
||||
engines: {node: '>=20'}
|
||||
|
||||
type-is@1.6.18:
|
||||
resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==}
|
||||
engines: {node: '>= 0.6'}
|
||||
@@ -24337,6 +24345,8 @@ snapshots:
|
||||
string-width: 4.2.3
|
||||
strip-ansi: 6.0.1
|
||||
|
||||
tagged-tag@1.0.0: {}
|
||||
|
||||
tailwind-merge@2.6.0: {}
|
||||
|
||||
tailwind-merge@3.3.1: {}
|
||||
@@ -24568,6 +24578,10 @@ snapshots:
|
||||
|
||||
type-fest@4.41.0: {}
|
||||
|
||||
type-fest@5.0.0:
|
||||
dependencies:
|
||||
tagged-tag: 1.0.0
|
||||
|
||||
type-is@1.6.18:
|
||||
dependencies:
|
||||
media-typer: 0.3.0
|
||||
|
||||
Reference in New Issue
Block a user