suretype

Typesafe JSON (Schema) validator

Downloads
160.7K
Stars
504
Committers
2

Bot releases are visible (Hide)

suretype - v3.3.1 Latest Release

Published by github-actions[bot] over 1 year ago

3.3.1 (2023-05-29)

Bug Fixes

suretype - v3.3.0

Published by github-actions[bot] over 1 year ago

3.3.0 (2023-05-07)

Features

  • extract-json-schema: Added lookup from schema object to its top-level ref name (e193c4d)
suretype - v3.2.1

Published by github-actions[bot] over 1 year ago

3.2.1 (2023-02-26)

Bug Fixes

  • types: Export missing validation result types (5f4f095)
suretype - v3.2.0

Published by github-actions[bot] over 1 year ago

3.2.0 (2023-02-04)

Features

  • deps: Bumped awesome-ajv-errors and meta-types (9551324)
suretype - v3.1.0

Published by github-actions[bot] over 1 year ago

3.1.0 (2023-02-02)

Bug Fixes

  • typings: Fixed TypeScript compilation issue (80c2b2b)

Features

suretype - v3.0.5

Published by github-actions[bot] over 2 years ago

3.0.5 (2022-04-20)

Bug Fixes

  • deps: bumped awesome-ajv-errors for handling undefined input value (a22ffff)
suretype - v3.0.4

Published by github-actions[bot] over 2 years ago

3.0.4 (2022-04-20)

Bug Fixes

  • deps: bumped awesome-ajv-errors for better numeric indices handling of json paths (11f0321)
suretype - v3.0.3

Published by github-actions[bot] over 2 years ago

3.0.3 (2022-02-14)

Bug Fixes

  • deps: bumped awesome-ajv-errors for fix when ajv gives a dot-path beginning with '[', not '.' (6a6b59f)
  • prettify: don't crash when prettification fails (59e404f)
suretype - v3.0.2

Published by github-actions[bot] over 2 years ago

3.0.2 (2022-02-10)

Bug Fixes

  • pretty: bumped awesome-ajv-errors for fixed JSON path handling in edge cases (22ab4ca)
suretype - v3.0.1

Published by github-actions[bot] over 2 years ago

3.0.1 (2022-02-09)

Bug Fixes

  • typings: fixed invalid package.json 'types' (b07af02), closes #24
suretype - v3.0.0

Published by github-actions[bot] over 2 years ago

3.0.0 (2022-02-07)

Features

BREAKING CHANGES

  • core: Requires ESM and Node >=14.13.1
suretype - v2.4.1

Published by github-actions[bot] over 3 years ago

2.4.1 (2021-05-15)

Bug Fixes

  • core: export EnsureFunction and SimpleValidateFunction (bc72bd1)
suretype - v2.4.0

Published by github-actions[bot] over 3 years ago

2.4.0 (2021-05-04)

Features

  • json-schema: allow unnamed validators to be exported to JSON Schema (70b3588)
  • raw: made raw validators first-class citizen (7a9653e)
suretype - v2.3.0

Published by github-actions[bot] over 3 years ago

2.3.0 (2021-04-13)

Features

  • core: added retype() to change the type of a validator (8ff0e77)
suretype - v2.2.2

Published by github-actions[bot] over 3 years ago

2.2.2 (2021-04-13)

Bug Fixes

  • types: fixed type deduction of objects with additional() (1b86a57)
suretype - v2.2.1

Published by github-actions[bot] over 3 years ago

2.2.1 (2021-04-12)

Bug Fixes

  • core: export all validator classes (b3537f4)
suretype - v2.2.0

Published by github-actions[bot] over 3 years ago

2.2.0 (2021-04-07)

Features

  • core: added missing required() on non-value validators (04cde8a)
suretype - v2.1.1

Published by github-actions[bot] over 3 years ago

2.1.1 (2021-04-07)

Bug Fixes

  • benchmarks: made benchmarks just a tad more complex (b31beaf)
suretype - v2.1.0

Published by github-actions[bot] over 3 years ago

2.1.0 (2021-04-03)

Features

  • core: added v.unknown() type (c53dc91), closes #4
suretype - v2.0.0

Published by github-actions[bot] over 3 years ago

2.0.0 (2021-04-03)

Features

  • core: add explanation to message/stack in Node (e9a17b1)
  • recursion: Added support for recursive types (dc8567d)

BREAKING CHANGES

  • recursion: extractSingleJsonSchema() now returns an object containing {schema}