Releases: jsdom/xml-name-validator
Releases · jsdom/xml-name-validator
5.0.0
Node.js v18 is now the minimum supported version.
4.0.0
Node.js v12 is now the minimum supported version.
The name()
and qname()
functions now return booleans, instead of { success, error }
objects.
This module is now ~500x faster in microbenchmarks, due to using regular expressions instead of a generated parser.
3.0.0
xml-name-validator now requires modern JavaScript support, e.g. at least Node v4.0.
Relicensed as Apache 2.
2.0.1
Republishing 2.0.0 without the regression.
2.0.0
The API now returns { success, error }
objects instead of throwing exceptions. It is based on the Waka parser instead of PEG.js, which gives an ~5x speedup. (#1, @fixplz)
This release was unpublished from npm due to a regression where empty strings were not detected as invalid.