Skip to content

Commit ce56701

Browse files
chore(deps): bump type-fest from 4.41.0 to 5.0.1 (#294)
Bumps [type-fest](https://github.com/sindresorhus/type-fest) from 4.41.0 to 5.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/sindresorhus/type-fest/releases">type-fest's releases</a>.</em></p> <blockquote> <h2>v5.0.1</h2> <ul> <li>Add missing exports 4f9c248</li> </ul> <hr /> <p><a href="https://github.com/sindresorhus/type-fest/compare/v5.0.0...v5.0.1">https://github.com/sindresorhus/type-fest/compare/v5.0.0...v5.0.1</a></p> <h2>v5.0.0</h2> <h3>Breaking</h3> <ul> <li>This package is now pure ESM. <strong>Please <a href="https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c">read this</a>.</strong></li> <li>Require TypeScript 5.9 b5b0214</li> <li>Require Node.js 20 cc2b0f2</li> <li>Reminder: <code>type-fest</code> requires <code>strict: true</code> in your tsconfig.</li> <li><code>StringKeyOf</code>: Rename to <a href="https://github.com/sindresorhus/type-fest/blob/main/source/key-as-string.d.ts"><code>KeyAsString</code></a> e492c9c</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/array-tail.d.ts"><code>ArrayTail</code></a>: Enable <a href="https://github.com/sindresorhus/type-fest/blob/68469722a9521122b6cb40376c4c4544aef28228/source/array-tail.d.ts#L8-L30"><code>preserveReadonly</code></a> by default and remove the option b34b1d8</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/camel-case.d.ts"><code>CamelCase</code></a> / <a href="https://github.com/sindresorhus/type-fest/blob/main/source/camel-cased-properties.d.ts"><code>CamelCasedProperties</code></a> / <a href="https://github.com/sindresorhus/type-fest/blob/main/source/camel-cased-properties-deep.d.ts"><code>CamelCasedPropertiesDeep</code></a> / <a href="https://github.com/sindresorhus/type-fest/blob/main/source/pascal-case.d.ts"><code>PascalCase</code></a> / <a href="https://github.com/sindresorhus/type-fest/blob/main/source/pascal-cased-properties.d.ts"><code>PascalCasedProperties</code></a> / <a href="https://github.com/sindresorhus/type-fest/blob/main/source/pascal-cased-properties-deep.d.ts"><code>PascalCasedPropertiesDeep</code></a>: Disable <code>preserveConsecutiveUppercase</code> by default 8226c1b <ul> <li>This aligns it with the general JavaScript naming convention.</li> </ul> </li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/partial-deep.d.ts"><code>PartialDeep</code></a>: Disable <code>allowUndefinedInNonTupleArrays</code> by default b3c4524</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/split.d.ts"><code>Split</code></a>: Enable <code>strictLiteralChecks</code> by default 544a846</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/paths.d.ts"><code>Paths</code></a>: Default <code>maxRecursionDepth</code> 5 (was 10) 2ab5dec</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/globals/observable-like.d.ts"><code>ObservableLike</code></a>: Move to sub-export 2a1072e</li> <li>Deprecate <code>If*</code> types in favor of a single <a href="https://github.com/sindresorhus/type-fest/blob/main/source/if.d.ts"><code>If</code></a> 4c2151a</li> </ul> <h3>New types</h3> <ul> <li><a href="https://github.com/sindresorhus/type-fest/blob/fc14f87e7fbc89a5dd44291f2c1057d337c34bcd/source/characters.d.ts"><code>Alphanumeric</code></a> — Single alphanumeric character (<code>A–Z</code>, <code>a–z</code>, <code>0–9</code>). 484e030</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/all-extend.d.ts"><code>AllExtend</code></a> — Evaluates to <code>true</code> if every element of a tuple/array extends <code>U</code>. c8c6d55</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/conditional-simplify.d.ts"><code>ConditionalSimplify</code></a> — Simplifies a type’s unions/intersections with opt-in controls. b7a4771</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/conditional-simplify-deep.d.ts"><code>ConditionalSimplifyDeep</code></a> — Deep version of <code>ConditionalSimplify</code> that recurses into objects. b7a4771</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/fc14f87e7fbc89a5dd44291f2c1057d337c34bcd/source/characters.d.ts"><code>DigitCharacter</code></a> — Single ASCII digit character (<code>0–9</code>). 484e030</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/exclude-strict.d.ts"><code>ExcludeStrict</code></a> — Non-distributive, stricter variant of <code>Exclude&lt;T, U&gt;</code>. e6f62a2</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/extends-strict.d.ts"><code>ExtendsStrict</code></a> — Non-distributive <code>A extends B</code> check. d71242a</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/extract-strict.d.ts"><code>ExtractStrict</code></a> — Non-distributive, stricter variant of <code>Extract&lt;T, U&gt;</code>. 98d24fa</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-lowercase.d.ts"><code>IsLowercase</code></a> — Evaluates to <code>true</code> if a string literal is all lowercase. afe132c</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-nullable.d.ts"><code>IsNullable</code></a> — Evaluates to <code>true</code> if <code>T</code> includes <code>null</code>. 5067e25</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-optional.d.ts"><code>IsOptional</code></a> — Evaluates to <code>true</code> if <code>T</code> includes <code>undefined</code>. 5067e25</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-optional-key-of.d.ts"><code>IsOptionalKeyOf</code></a> — Evaluates to <code>true</code> if property <code>K</code> of <code>T</code> is optional. 93728b5</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-readonly-key-of.d.ts"><code>IsReadonlyKeyOf</code></a> — Evaluates to <code>true</code> if property <code>K</code> of <code>T</code> is readonly. 93728b5</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-required-key-of.d.ts"><code>IsRequiredKeyOf</code></a> — Evaluates to <code>true</code> if property <code>K</code> of <code>T</code> is required. 93728b5</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-union.d.ts"><code>IsUnion</code></a> — Evaluates to <code>true</code> if <code>T</code> is a union type. b3d92ed</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-undefined.d.ts"><code>IsUndefined</code></a> — Evaluates to <code>true</code> if the type is exactly <code>undefined</code>. f7bc576</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/is-uppercase.d.ts"><code>IsUppercase</code></a> — Evaluates to <code>true</code> if a string literal is all uppercase. afe132c</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/fc14f87e7fbc89a5dd44291f2c1057d337c34bcd/source/characters.d.ts"><code>LowercaseLetter</code></a> — Single lowercase Latin letter (<code>a–z</code>). 484e030</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/remove-prefix.d.ts"><code>RemovePrefix</code></a> — Removes a specified prefix from a string literal. 18a1c04</li> <li><a href="https://github.com/sindresorhus/type-fest/blob/fc14f87e7fbc89a5dd44291f2c1057d337c34bcd/source/characters.d.ts"><code>UppercaseLetter</code></a> — Single uppercase Latin letter (<code>A–Z</code>). 484e030</li> </ul> <h3>Improvements</h3> <ul> <li><a href="https://github.com/sindresorhus/type-fest/blob/main/source/jsonify.d.ts"><code>Jsonify</code></a>: Handle <code>unknown</code> as <code>JsonValue</code> 642bb13</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sindresorhus/type-fest/commit/a3189060975934400498e26caa85c60f1472f77c"><code>a318906</code></a> 5.0.1</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/4f9c248b5729e1d1d2735dae5ec7922d1c70ba3a"><code>4f9c248</code></a> Add missing exports</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/fc14f87e7fbc89a5dd44291f2c1057d337c34bcd"><code>fc14f87</code></a> 5.0.0</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/f7bc576059ac8d6f5033f91cda4a3027c56b8740"><code>f7bc576</code></a> Add <code>IsUndefined</code> type</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/5f830b58c36a0ef642f7a21330562d4fe3836683"><code>5f830b5</code></a> Minor tweaks</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/e790c3f166dd95a253ca442b533bf9f9d8ccbe45"><code>e790c3f</code></a> <code>TaggedUnion</code>: Fix incorrect usage example (<a href="https://redirect.github.com/sindresorhus/type-fest/issues/1211">#1211</a>) (<a href="https://redirect.github.com/sindresorhus/type-fest/issues/1221">#1221</a>)</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/bfcdbc43f90002c0435a87cdb25b36690235cc30"><code>bfcdbc4</code></a> <code>RequiredDeep</code>: Fix behaviour with <code>undefined</code> (<a href="https://redirect.github.com/sindresorhus/type-fest/issues/1218">#1218</a>)</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/93728b5a8c466bd83f685cd901d8bc9baad4bdbf"><code>93728b5</code></a> Add <code>IsOptionalKeyOf</code>, <code>IsReadonlyKeyOf</code>, <code>IsRequiredKeyOf</code>, and `IsWritableK...</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/d52d5e7c5f10b29112dedccf1b30b29b38b431c3"><code>d52d5e7</code></a> Refactor <code>IsNumericLike</code> and fix <code>UnionMin</code>, <code>UnionMax</code> types (<a href="https://redirect.github.com/sindresorhus/type-fest/issues/1192">#1192</a>)</li> <li><a href="https://github.com/sindresorhus/type-fest/commit/642bb133d0dbf5d427994c178954fcbced4da568"><code>642bb13</code></a> <code>Jsonify</code>: Handle <code>unknown</code> as <code>JsonValue</code> (<a href="https://redirect.github.com/sindresorhus/type-fest/issues/1206">#1206</a>)</li> <li>Additional commits viewable in <a href="https://github.com/sindresorhus/type-fest/compare/v4.41.0...v5.0.1">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=type-fest&package-manager=npm_and_yarn&previous-version=4.41.0&new-version=5.0.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 6d97291 commit ce56701

2 files changed

Lines changed: 21 additions & 6 deletions

File tree

package-lock.json

Lines changed: 20 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
"dependencies": {
8383
"qs": "^6.11.2",
8484
"stringify-object": "^3.3.0",
85-
"type-fest": "^4.39.1"
85+
"type-fest": "^5.0.1"
8686
},
8787
"devDependencies": {
8888
"@biomejs/biome": "^2.1.3",

0 commit comments

Comments
 (0)