Skip to content

Releases: sindresorhus/is

v0.16.0

04 May 09:15
Compare
Choose a tag to compare

Breaking:

Enhancements:

v0.15.0...v0.16.0

v0.15.0

03 Feb 19:59
Compare
Choose a tag to compare

Breaking:

  • Rename .odd() to .oddInteger() and .even() to .evenInteger() for clarity (#77) 2502442

Other:

  • Improve the TypeScript types (#80) 3c847be
    • Uses type guards for more methods, which will result in better type narrowing
    • is.domElement now returns an actual Element type instead of our previous custom DomElement type

v0.14.0...v0.15.0

v0.14.0

13 Dec 16:02
Compare
Choose a tag to compare
  • Add is.urlString(). 566f363
  • Improve the is.observable() check. 844b43c

v0.13.0...v0.14.0

v0.13.0

02 Nov 12:13
Compare
Choose a tag to compare

v0.12.0...v0.13.0

v0.12.0

28 Sep 06:40
Compare
Choose a tag to compare

Breaking:

  • Removed .empty() and .emptyOrWhitespace() and favor of new type-specific emptiness methods. 6e07df5

Other:

  • Improved browser support. 442f7b7 45c9760
  • Improved TypeScript ergonomics. You no longer have to include any extra libs in your tsconfig.json when using this package. 65c94f1

v0.11.0...v0.12.0