-
-
Notifications
You must be signed in to change notification settings - Fork 5
Migration (v3 to v4)
Λlisue (Ali sue・ありすえ) edited this page Aug 3, 2024
·
4 revisions
- Use alternative functions of deprecated functions
-
is.RecordLike
tois.Record
-
is.RecordLikeOf(...)
tois.RecordOf(...)
-
is.ReadonlyTupleOf(...)
tois.ReadonlyOf(is.TupleOf(...))
-
is.ReadonlyUniformTupleOf(...)
tois.ReadonlyOf(is.UniformTupleOf(...))
-
is.ObjectOf(..., { strict: true })
tois.StrictOf(is.ObjectOf(...))
-
is.OneOf(...)
tois.UnionOf(...)
-
is.AllOf(...)
tois.IntersectionOf(...)
-
- Rename
is.BigInt(...)
tois.Bigint(...)
- Rename
is.OptionalOf(...)
toas.Optional(...)
- Remove obsolete functions/types
isReadonly
isUnwrapReadonlyOf
getMetadata
getPredicateFactoryMetadata
setPredicateFactoryMetadata
GetMetadata
WithMetadata
PredicateFactoryMetadata
- Update
jsr:@core/unknownutil@^3.0.0
tojsr:@core/unknownutil@^4.0.0
in import map - Execute
deno run -A https://gist.githubusercontent.com/lambdalisue/cd173d1f7e9787ed9842a9f1c51f48fe/raw/unknownutil-v3-to-v4-migration.ts
(Check the code in gist)