Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.0.1
->^6.0.0
Release Notes
pelotom/runtypes
v6.0.0
Compare Source
Features
Bug Fixes
hasKey
utility (#205)readonly
toUnion
function (#208)BREAKING CHANGES
Intersect2
,Intersect3
, ... types have all been replaced with a singleIntersect
type that takes a tuple of Runtype validators.Tuple2
,Tuple3
, ... types have all been replaced with a singleTuple
type that takes a tuple of Runtype validators.Union2
,Union3
, ... types have all been replaced with a singleUnion
type that takes a tuple of Runtype validators.Contract2
,Contract3
, ... types have all been replaced with a singleContract
type that takes a tuple of Runtype meaning parameters and a Runtype meaning a return typeAsyncContract2
,AsyncContract3
, ... types have all been replaced with a singleAsyncContract
type that takes a tuple of Runtype meaning parameters and a Runtype meaning a return type ofPromise
.Dictionary
now does not look over non-enumerable properties of tested objects, andRecord
now does not recognize inherited properties of passed schemav5.2.0
Compare Source
declaration
option of TS (#196)Optional
runtype (#113)Configuration
📅 Schedule: "before 7am every weekday" in timezone Australia/Melbourne.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.