Skip to content

Adjusted behavior when `partial` is undefined

Choose a tag to compare

@unional unional released this 04 Nov 09:06
· 250 commits to main since this release

In this release, unpartial() will return a more sensible value when partial is undefined.

e.g.:

const config = unpartial({ a: 1 }, undefined) // { a: 1 }
const config = unpartial({ a: 1 }, null, undefined) // { a: 1 }