Releases: sindresorhus/is
Releases · sindresorhus/is
v0.15.0
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.12.0
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
lib
s in your tsconfig.json
when using this package. 65c94f1
v0.11.0...v0.12.0