Registry definition: pass it to register() from idnumbers/core.
The root idnumbers entry registers it automatically.
The registered metadata covers both the NEW (12-digit) and OLD (9 digits + V/X)
formats that validate()/checksum() accept; the module's own METADATA describes
the new format only. The override avoids object spread, which bundlers keep as a
possible side effect, so importing only the functions drops this definition.
Registry definition: pass it to
register()fromidnumbers/core. The rootidnumbersentry registers it automatically.The registered metadata covers both the NEW (12-digit) and OLD (9 digits + V/X) formats that validate()/checksum() accept; the module's own METADATA describes the new format only. The override avoids object spread, which bundlers keep as a possible side effect, so importing only the functions drops this definition.