Skip to content

Releases: sindresorhus/is

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

v5.5.1

16 Jul 14:48
Compare
Choose a tag to compare
  • Fix type guards for assert.{truthy,falsy,nan} (#187) 9d26c02

v5.5.0...v5.5.1

v5.5.0

14 Jul 22:34
Compare
Choose a tag to compare
  • Add is.positiveNumber() and is.negativeNumber() (#184) 1284da0
  • Fix type narrowing for is.nonEmptyArray() (#185) 3177d11

v5.4.1...v5.5.0

v5.4.1

04 Jun 08:05
Compare
Choose a tag to compare
  • Revert exports change in package.json (#180) d1574d3
    • If you use TypeScript, make sure you have the correct config for ESM. This change will come back in the next major version.

v5.4.0...v5.4.1