v1.8.0
- Upgrade dependencies
- Improve behavior for default values:
- In general,
undefined
andnull
now both fallback to the default value, if provided - For
arrays
, empty arrays[]
will fallback to the default value - For
dates
, invalid dates (e.g.new Date(Number.NaN)
will fallback to the default value - For
strings
, empty strings (e.g.''
) will fallback to the default value - For
numbers
, invalid numbers (e.g.Number.NaN
) will fallback to the default value
- In general,
Full Changelog: v1.7.14...v1.8.0