Better sanity check for invalid BOM type
assert would be nice
#3 Updated by Kevin Woo about 8 years ago
When initializing the BOM, either as an 1.0 or 1.5 there isn't a good check.
Ie: I could put like 4 or something like that (I don't remember the
specifics of how the version are represented). Basically you should make
sure it's one of those versions and not some number someone made up.