Sindresorhus Is Versions Save

Type check values

v6.3.0

3 weeks ago
  • Support custom assertion messages (#204) f2e5834

https://github.com/sindresorhus/is/compare/v6.2.0...v6.3.0

v6.1.0

6 months ago
  • Improve TypeScript type for isNonEmptyString() and isNonEmptyStringAndNotWhitespace() (#200) 0d4cf6f

https://github.com/sindresorhus/is/compare/v6.0.1...v6.1.0

v6.0.1

7 months ago
  • directInstanceOf: Fix handling of undefined and null e7e2213

https://github.com/sindresorhus/is/compare/v6.0.0...v6.0.1

v6.0.0

9 months ago

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 🙌


https://github.com/sindresorhus/is/compare/v5.6.0...v6.0.0

v5.5.2

10 months ago
  • Fix is.nonEmptyArray() type narrowing with undefined (#188) 20ad823

https://github.com/sindresorhus/is/compare/v5.5.1...v5.5.2

v5.5.1

10 months ago
  • Fix type guards for assert.{truthy,falsy,nan} (#187) 9d26c02

https://github.com/sindresorhus/is/compare/v5.5.0...v5.5.1

v5.5.0

10 months ago
  • Add is.positiveNumber() and is.negativeNumber() (#184) 1284da0
  • Fix type narrowing for is.nonEmptyArray() (#185) 3177d11

https://github.com/sindresorhus/is/compare/v5.4.1...v5.5.0

v5.4.1

11 months ago
  • 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.

https://github.com/sindresorhus/is/compare/v5.4.0...v5.4.1