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
161 stars 12 forks source link

Minor code style cleanup and grouping #118

Closed ChALkeR closed 4 years ago

ChALkeR commented 4 years ago

Groups common for-of iterations with sub creation. Might later optimize patternTest and forObjectKeys.

codecov-commenter commented 4 years ago

Codecov Report

Merging #118 into master will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted Files Coverage Δ
src/index.js 98.86% <100.00%> (+<0.01%) :arrow_up: