Skip to content

v0.20.0

Choose a tag to compare

@DZakh DZakh released this 03 Jul 10:44
· 795 commits to main since this release
  • Use typeof input === "object" && !Array.isArray(input) && input !== null to test Object data instead of Object.prototype.toString.call(input) === "[object Object]"
  • Use hasOwnProperty to find excess keys instead of in operator
  • Add InvalidUnion error with a better message produced by toString function