Skip to content

Releases: giraugh/tools

v2.3.1

12 Jan 00:41
d0fe971
Compare
Choose a tag to compare

Patch Changes

  • 70cbbfb: Fix typo in editDistance option name

v2.3.0

12 Jan 00:30
058591c
Compare
Choose a tag to compare

Minor Changes

  • a8db3ee: Add weight options to editDistance

v2.2.0

13 Sep 01:03
77198a2
Compare
Choose a tag to compare

Minor Changes

  • 882ec3c: Add a settleObject util that behaves like Promise.allSettled for objects

Patch Changes

  • 882ec3c: Allow resolveObject to take a number or symbol as a key

v2.1.0

10 Sep 06:00
c2077bf
Compare
Choose a tag to compare

Minor Changes

  • e4aec21: Add clamp utility to math module

v2.0.0

06 Sep 05:35
15531db
Compare
Choose a tag to compare

Major Changes

  • 9334ab0: Change return of groupArrayBy to an object of groups.

    This allows for more flexibility when working with groups. To migrate existing code that uses groupArrayBy, simply wrap the call with Object.values()

    // If you had this before
    const usersByRole = groupArrayBy(users, (user) => user.role);
    
    // Change it to this
    const usersByRole = Object.values(groupArrayBy(users, (user) => user.role));

v1.7.0

19 Jul 12:45
dd0bb34
Compare
Choose a tag to compare

Minor Changes

v1.6.0

25 May 03:23
e23cc9d
Compare
Choose a tag to compare

Minor Changes

  • ced1559: Add splitArrayBy utility

v1.5.0

23 May 07:23
dc80d3e
Compare
Choose a tag to compare

Minor Changes

v1.4.0

23 May 04:56
380dec4
Compare
Choose a tag to compare

Minor Changes

  • ab4992c: Add isKeyOfObject type guard utility

v1.3.0

21 May 16:07
6c01787
Compare
Choose a tag to compare

Minor Changes

  • 3b4a4d1: Add array rotation method