fix(deps): update dependency runtypes to v7 #278
Closed
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:
^6.5.1
->^7.0.0
Release Notes
runtypes/runtypes (runtypes)
v7.0.1
Compare Source
What's Changed
inspect
by @yuhr in https://github.com/runtypes/runtypes/pull/471Maybe
by @yuhr in https://github.com/runtypes/runtypes/pull/472Runtype.Core
by @yuhr in https://github.com/runtypes/runtypes/pull/474Full Changelog: runtypes/runtypes@v7.0.0...v7.0.1
v7.0.0
Compare Source
Migration From v6
Notable breaking changes from v6:
Record
has been renamed toObject
Dictionary
has been renamed toRecord
and the order of arguments is nowRecord(Key, Value)
.Or(...)
and.And(...)
utility have been renamed to.or(...)
and.and(...)
Optional
is no longer a runtype, but a contextual wrapper only meaningful inObject
fields.validate(...)
method has been renamed to.inspect(...)
and performs parsing by defaultFailure
has been changed drastically to include full details of validation failuresHighlighted new features:
What's Changed
typescript
to5.3.3
by @yuhr in https://github.com/runtypes/runtypes/pull/337Constraint
runtype by @yuhr in https://github.com/runtypes/runtypes/pull/345sort-exports/sort-exports
by @yuhr in https://github.com/runtypes/runtypes/pull/346jdx/mise-action@v2
instead ofjdx/rtx-action@v1
by @yuhr in https://github.com/runtypes/runtypes/pull/347Record
toObject
by @yuhr in https://github.com/runtypes/runtypes/pull/349Dictionary
toRecord
by @yuhr in https://github.com/runtypes/runtypes/pull/350Record
by @yuhr in https://github.com/runtypes/runtypes/pull/351deno.lock
by @yuhr in https://github.com/runtypes/runtypes/pull/354Optional
to conformnoUncheckedIndexedAccess
by @yuhr in https://github.com/runtypes/runtypes/pull/355Or
toor
andAnd
toand
by @yuhr in https://github.com/runtypes/runtypes/pull/356Partial
by @yuhr in https://github.com/runtypes/runtypes/pull/358Object
by @yuhr in https://github.com/runtypes/runtypes/pull/360dnt
by @yuhr in https://github.com/runtypes/runtypes/pull/361README.md
by @yuhr in https://github.com/runtypes/runtypes/pull/362Static
by @yuhr in https://github.com/runtypes/runtypes/pull/365any
by @yuhr in https://github.com/runtypes/runtypes/pull/368import/no-unused-modules
ESLint rule by @yuhr in https://github.com/runtypes/runtypes/pull/371package.json
for npm releases by @yuhr in https://github.com/runtypes/runtypes/pull/372Runtype
fundamentally by @yuhr in https://github.com/runtypes/runtypes/pull/375Dictionary
by @yuhr in https://github.com/runtypes/runtypes/pull/376Guard
constructor by @yuhr in https://github.com/runtypes/runtypes/pull/377Constraint
by @yuhr in https://github.com/runtypes/runtypes/pull/378withAssertion
helper by @yuhr in https://github.com/runtypes/runtypes/pull/380withConstraint
by @yuhr in https://github.com/runtypes/runtypes/pull/381with
by @yuhr in https://github.com/runtypes/runtypes/pull/384Optional
pseudo-runtype by @yuhr in https://github.com/runtypes/runtypes/pull/388override
by @yuhr in https://github.com/runtypes/runtypes/pull/390Object
by @yuhr in https://github.com/runtypes/runtypes/pull/393SameValueZero
equality forLiteral
by @yuhr in https://github.com/runtypes/runtypes/pull/394conform
helper method by @yuhr in https://github.com/runtypes/runtypes/pull/397default
inObject
by @yuhr in https://github.com/runtypes/runtypes/pull/401Union
types of common utilities by @yuhr in https://github.com/runtypes/runtypes/pull/402Union
andIntersect
by @yuhr in https://github.com/runtypes/runtypes/pull/405Union
ofLiteral
s in key ofRecord
by @yuhr in https://github.com/runtypes/runtypes/pull/406Record
by @yuhr in https://github.com/runtypes/runtypes/pull/407SymbolFor
by @yuhr in https://github.com/runtypes/runtypes/pull/408Union
by @yuhr in https://github.com/runtypes/runtypes/pull/415Brand
by @yuhr in https://github.com/runtypes/runtypes/pull/416Union
by @yuhr in https://github.com/runtypes/runtypes/pull/418Intersect
by @yuhr in https://github.com/runtypes/runtypes/pull/419inspect
method in place ofvalidate
by @yuhr in https://github.com/runtypes/runtypes/pull/423Constraint
by @yuhr in https://github.com/runtypes/runtypes/pull/424Runtype
as class by @yuhr in https://github.com/runtypes/runtypes/pull/426Object
by @yuhr in https://github.com/runtypes/runtypes/pull/428ValidationError
temporarily by @yuhr in https://github.com/runtypes/runtypes/pull/432match
requirewhen
by @yuhr in https://github.com/runtypes/runtypes/pull/433match
utility ofUnion
by @yuhr in https://github.com/runtypes/runtypes/pull/435inner
todetail
inFailure
by @yuhr in https://github.com/runtypes/runtypes/pull/440PROPERTY_PRESENT
andNOTHING_EXPECTED
by @yuhr in https://github.com/runtypes/runtypes/pull/441Intersect
ofObject
s by @yuhr in https://github.com/runtypes/runtypes/pull/442Intersect
ofObject
s by @yuhr in https://github.com/runtypes/runtypes/pull/443Tuple
by @yuhr in https://github.com/runtypes/runtypes/pull/445Failure
type by @yuhr in https://github.com/runtypes/runtypes/pull/446Tuple
by @yuhr in https://github.com/runtypes/runtypes/pull/448InstanceOf
by @yuhr in https://github.com/runtypes/runtypes/pull/449defaultValue
todefault
by @yuhr in https://github.com/runtypes/runtypes/pull/451Parser
by @yuhr in https://github.com/runtypes/runtypes/pull/452returns
toresolves
inAsyncContract
by @yuhr in https://github.com/runtypes/runtypes/pull/453Object
correctly by @yuhr in https://github.com/runtypes/runtypes/pull/455Union
andIntersect
by @yuhr in https://github.com/runtypes/runtypes/pull/457Symbol
correctly by @yuhr in https://github.com/runtypes/runtypes/pull/458Contract
andAsyncContract
by @yuhr in https://github.com/runtypes/runtypes/pull/460index.ts
by @yuhr in https://github.com/runtypes/runtypes/pull/462Full Changelog: runtypes/runtypes@v6.7.0...v7.0.0
Configuration
📅 Schedule: Branch creation - "every weekend" in timezone Europe/Brussels, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.