UNPKG

@fnzc/nz-ird-validator

Version:

Validates New Zealand tax numbers (IRD)

51 lines (27 loc) 864 B
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). ## [1.1.0] - 2020-10-06 ### Modified - Add custom constraint for format with dashes / numeric - Remove left-pad dependency ## [1.0.5] - 2020-06-17 ### Modified - Add validation of dash/space locations in string to catch mistaken entry ## [1.0.4] - 2019-01-30 ### Modified - Switch from string.padLeft to left-pad library as the first one is crashing in Android RN ## [1.0.3] - 2019-01-30 ### Removed - node_modules - .idea ## [1.0.2] - 2019-01-30 ## [1.0.1] - 2019-01-30 ### Added - Types file. ### Changed - Updated the README ## [1.0.0] - 2019-01-29 ### Added - First version of the package.