Ow Versions Save

Function argument validation for humans

v1.1.1

1 year ago

v1.1.0

1 year ago
  • Reduce dependency tree (#244) 4b926e8

https://github.com/sindresorhus/ow/compare/v1.0.0...v1.1.0

v0.28.2

1 year ago
  • Backport: Reduce dependency tree efe9efd

https://github.com/sindresorhus/ow/compare/v0.28.1...v0.28.2

v1.0.0

1 year ago

Breaking

  • Require Node.js 14 (#238) 391fc91
  • Require TypeScript 4.7 (if you're using TypeScript) (#238) 391fc91
  • This package is now pure ESM. Please read this.

Improvements

  • Add string.nonBlank (#227) 96207f0

Fixes

  • Throw the correct error when second argument to ow is undefined (#239) 147b479
  • Fix ow.number message when NaN is encountered (#232) 8b6a208

https://github.com/sindresorhus/ow/compare/v0.28.1...v1.0.0

v0.28.1

2 years ago
  • Fix input type on some methods and add AssertingValidator (#224) 4d3b55f

https://github.com/sindresorhus/ow/compare/v0.28.0...v0.28.1

v0.28.0

2 years ago

v0.27.0

2 years ago
  • Remove unnecessary stack reference for ow.array.ofType (#216) a87c6f0

https://github.com/sindresorhus/ow/compare/v0.26.0...v0.27.0

v0.26.0

2 years ago
  • Avoid stack inference for set, map, and object validators (#214) 4aeaf1c

https://github.com/sindresorhus/ow/compare/v0.25.0...v0.26.0

v0.25.0

2 years ago
  • Avoid unnecessary inference of stack for label (#213) 6075739

v0.24.1

2 years ago