ExodusMovement / schemasafe

A reasonably safe JSON Schema validator with draft-04/06/07/2019-09/2020-12 support.
https://npmjs.com/@exodus/schemasafe
MIT License
156 stars 12 forks source link

formats: use a simple non-nested regexp for uuids #100

Closed ChALkeR closed 4 years ago

ChALkeR commented 4 years ago

Also no need for the length check this way. Tests will be introduced with updated JSON Schema Test Suite.

codecov-commenter commented 4 years ago

Codecov Report

Merging #100 into master will increase coverage by 0.06%. The diff coverage is 100.00%.

Impacted Files Coverage Δ
src/formats.js 96.06% <100.00%> (+0.71%) :arrow_up: