You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ab-testing` currently uses `superstruct`, DCAR uses `valibot`. They
perform similar roles, so consolidating on one reduces the number of
packages we depend on and the number of APIs developers have to work
with. We're using valibot more widely, both in this project and
elsewhere, so that's the one this change migrates to.
The APIs are similar, so some functions retain the same name. Changes
relevant to this project are as follows:
- `object` becomes `strictObject`
- `assert` has its argument order swapped, schema first and then input
- `Infer` becomes `InferOutput`
- `type` becomes `looseObject`
- `create` becomes `parse`, and has its argument order swapped, schema
first and then input
`ab-testing` also used pnpm's catalog feature, as `superstruct` was used
across two sub-projects. `valibot` is now used across three, so it's
moved into the catalog as part of this change.
0 commit comments