Skip to content

vatcode-validator 1.0.3

Compare
Choose a tag to compare
@elliotblackburn elliotblackburn released this 04 Aug 12:06
· 8 commits to master since this release

Includes some new patterns, some corrected patterns, and some misc changes for maintaining the module.

Added patterns

  • BG codes

Corrected to patterns

  • FR codes don't allow O or I characters
  • GBGD codes only allow 0 to 499
  • GBHA codes only allow 500 to 999
  • RO codes can be 2-10 digits

Other module changes

  • Reorder patterns to be alphabetical so they're easier to audit manually.
  • Test failures are output in red so they're easier to see.
  • Test process has status code of 1 on failures (and still status of 0 on success).