v2.1.1
This patch contains some small type checking perf improvements:
- Only recurse on plain objects, not builtin ones like
Error,Date,RegExp,Function, etc. - Stop recursion after 4 level of nesting in DistributeUnions to avoid unnecessarily traversing huge data structures looking for union types.