Skip to content

Releases: sindresorhus/random-item

v4.0.1

24 May 10:43
Compare
Choose a tag to compare
  • Fix argument validation for .multiple() (#6) e86b957

v4.0.0...v4.0.1

v4.0.0

16 Apr 05:55
Compare
Choose a tag to compare

Breaking

v3.1.0...v4.0.0

v3.1.0

28 Oct 20:22
Compare
Choose a tag to compare

v3.0.0...v3.1.0

v3.0.0

17 Apr 08:06
Compare
Choose a tag to compare

Breaking:

  • Remove handling of iterables, only allow arrays as input (#2) deff795
    It doesn't make sense to accept iterables when we don't take advantage of it internally. Users can just instead use ...iterable which turns it into an array that the module accepts.

v2.0.0...v3.0.0

v2.0.0

11 Apr 06:33
Compare
Choose a tag to compare

Breaking:

Enhancements:

  • Accept iterables too, not just arrays (#1) a115440
  • Add TypeScript definition (#1) a115440

1.0.0...v2.0.0