Skip to content

Releases: sindresorhus/type-fest

v5.5.0

19 Mar 08:13

Choose a tag to compare

New types

Improvements

  • Add function parameter constraint examples to numeric comparison types (#1357) 24be93d
  • UnionToTuple: Fix behavior when a union member is a supertype of another (#1349) 0f923d0
  • ConditionalPickDeep: Fix returning {} instead of never when no keys match (#1360) 6af847a
  • ConditionalPick: Fix returning {} instead of never when no keys match (#1359) 3995003
  • GreaterThan / LessThan / GreaterThanOrEqual / LessThanOrEqual: Fix behavior with the number type (#1363) cfea505

v5.4.4...v5.5.0

v5.4.4

08 Feb 11:27

Choose a tag to compare

  • PackageJson: Use LiteralUnion for engines field (#1354) fc9e2bb
  • IsUnion: Fix behavior when the entire union extends all individual members (#1353) b0321a5
  • Paths: Fix leavesOnly behavior with never leaves (#1350) 2c34128
  • Paths: Fix behavior with WeakMaps / WeakSets (#1348) ac3b50e
  • Paths: Fix behavior with tuples containing optional elements with a rest element (#1346) 7c82a21

v5.4.3...v5.4.4

v5.4.3

31 Jan 11:27

Choose a tag to compare

  • Merge: Fix idempotency, so Merge<A, A> returns A (#1336) 99e35a2
  • Paths: Fix behavior with generic types (#1343) 8f0419c

v5.4.2...v5.4.3

v5.4.2

27 Jan 14:16

Choose a tag to compare


v5.4.1...v5.4.2

v5.4.1

14 Jan 10:08

Choose a tag to compare

  • MergeDeep: Remove extra undefined from optional properties (#1319) a6af489

v5.4.0...v5.4.1

v5.4.0

12 Jan 16:16

Choose a tag to compare

v5.3.1

07 Dec 14:18

Choose a tag to compare

  • PackageJson: Fix key type for DependencyOverrides (#1307) 0430f56

v5.3.0...v5.3.1

v5.3.0

02 Dec 09:10

Choose a tag to compare

Improvements

Fixes

  • IsEqual: Fix generic inference (#1306) f7b2667
  • ConditionalPickDeep / SimplifyDeep: Prevent mapping over built-ins (#1293) f14a75a
  • ArraySlice / StringSlice: Fix behavior with unions (#1291) 133258b

v5.2.0...v5.3.0

v5.2.0

03 Nov 08:45

Choose a tag to compare

New types

Improvements

Fixes

  • ExcludeRestElement: Fix generic assignability with arrays (#1274) 12ef5b2
  • GreaterThanOrEqual / LessThan: Fix behavior with operands like N and N | N + >0 (#1280) b2caa3f

v5.1.0...v5.2.0

v5.1.0

13 Oct 06:30

Choose a tag to compare

New types

Improvements

  • ReadonlyTuple: Deprecate in favor of TupleOf (#1256) af4bebc
  • TsConfigJson: Add missing lib enum values (#1263) 72f491f
  • TsConfigJson: Add rewriteRelativeImportExtensions (#1262) 7d011ce

Fixes

  • PartialDeep: Fix behavior with functions containing multiple call signatures (#1259) 3bd9de6
  • IsEqual: Fix behaviour when instantiated with never and unknown (#1251) 785549f
  • FixedLengthArray: Fix element type (#1246) ee29ef7
  • is-equal: Fix handling with intersecting wrapped types (#1231) 5af60a1

v5.0.1...v5.1.0