⚠ This page is served via a proxy. Original site: https://github.com
This service does not collect credentials or authentication data.
Skip to content

Releases: standardschema/javascript

Default `Array#items` to `Any` type

07 Sep 22:23

Choose a tag to compare

Changed

  • Default Array#items == Any

Unknown Transform

07 Sep 22:22

Choose a tag to compare

Added

  • Expose Unknown type for implementation issues

Transforms

07 Sep 22:22

Choose a tag to compare

Added

  • Expose transforms for manipulating data and type model

Enable `toJSON`

07 Sep 22:21

Choose a tag to compare

Added

  • Serialize classes to JSON

Refactor to class model with assignability checks

07 Sep 22:20

Choose a tag to compare

Changed

  • Use classes to represent type model, simplify types and enable assignability checks

Remove void-able return from "bests"

08 Jul 00:57

Choose a tag to compare

Changed

  • Return type can no longer be void, throws instead

Throw on invalid "best"

08 Jul 00:55

Choose a tag to compare

Changed

  • When best does not exist, throw with invalid score

Mirror `bestSchema` with `bestValue`

08 Jul 00:53

Choose a tag to compare

Added

  • Expose a method to select the best value in a list

Object {min,max}Keys Reference

08 Jul 00:35

Choose a tag to compare

Changed

  • Allow object key counts to be references

Added

  • Expose a method for selecting the "best" schema by type checking

Array Item Count Type Check

30 Jun 22:09

Choose a tag to compare

Changed

  • Add array item length to type checking with min/max items