Skip to content

Releases: sindresorhus/is

v7.0.1

06 Sep 15:55
Compare
Choose a tag to compare
  • Fix passing in assertion message to assertArray (#210) 5565c5e

v7.0.0...v7.0.1

v7.0.0

10 Jul 13:43
Compare
Choose a tag to compare

Breaking

  • Require Node.js 18 0ff273f
  • Remove deprecated methods and improve Class definition (#209) 8cbcaee

Fixes

  • Fix type guard for isWhitespaceString and isEmptyStringOrWhitespace (#207) 25a3768
  • Don't depend on any Node.js types 0ff273f

v6.3.1...v7.0.0

v6.3.1

16 May 08:15
Compare
Choose a tag to compare
  • Add missing type guard for is.enumCase 0df21e4

v6.3.0...v6.3.1

v6.3.0

23 Apr 06:01
Compare
Choose a tag to compare

v6.2.0...v6.3.0

v6.2.0

29 Feb 07:31
Compare
Choose a tag to compare

v6.1.0

26 Oct 15:03
Compare
Choose a tag to compare
  • Improve TypeScript type for isNonEmptyString() and isNonEmptyStringAndNotWhitespace() (#200) 0d4cf6f

v6.0.1...v6.1.0

v6.0.1

15 Oct 17:06
Compare
Choose a tag to compare
  • directInstanceOf: Fix handling of undefined and null e7e2213

v6.0.0...v6.0.1

v6.0.0

15 Aug 18:57
Compare
Choose a tag to compare

Breaking

  • Drop support for Node.js 14 (#192) e03c249
  • Changed the AssertionTypeDescription type to be a union instead of enum (#190) bd5dfda

Improvements

  • Implement named exports (#191) 5044c91
  • Rename is.domElement() to is.htmlElement() (#196) bcec30d
    • The old name still exists, but is deprecated.
  • Give better assertion messages for assert.all and assert.any (#193) 85c8992

Thanks to @bjornstar for doing most of the work for this release 🙌


v5.6.0...v6.0.0

v5.6.0

23 Jul 12:44
Compare
Choose a tag to compare

v5.5.2

17 Jul 22:47
Compare
Choose a tag to compare
  • Fix is.nonEmptyArray() type narrowing with undefined (#188) 20ad823

v5.5.1...v5.5.2