Releases: nvie/decoders
Releases · nvie/decoders
v1.21.0
New decoder lazy()
: lazily-evaluated decoder, suitable to define
self-referential types.
Fix compatibility with Flow 0.127.0
v1.20.2
Fix compatibility with Flow 0.126.0+
v1.20.1
Upgrade debrief to correct (final) version
v1.20.0
Fix issue where infinite recursion occurs when input object (the object being validated) contains a circular reference
v1.19.1
Republish due to an NPM outage
v1.19.0
New decoders:
To complement the tuple family of decoders, there's now also tuple1
(thanks
@sfarthin !)
v1.18.1
Also fix Flow type bugs when Flow option exact_by_default=true
in debrief
dependency
v1.18.0
New decoders:
nonEmptyString
: like string
, but will fail on inputs with only whitespace
(or the empty string)
nonEmptyArray
: like array
, but will fail on inputs with 0 elements
Fixes:
Fix Flow type bugs when Flow option exact_by_default=true
is enabled
You can’t perform that action at this time.