Fix ESM module browser support by appending .js extension to imports.
Add new function validateStrict to validate according to strict semver rules.