Thanks for pointing this out. I wasn't aware that the official spec allows for a major version to be 0 for initial development. Although, I have seen many major packages (knex, soap, axios) remain in 'initial development' phases for years. So I think this could still cause problems for unsuspecting developers.
Yep, what you've stated is #4 of the official specification for Semantic Versioning:
This issue isn't exclusive to NPM either, packages via Composer or Nuget are the same if they follow the specification.
It’s just another case of “Don’t get too comfortable doing this.”.
Thanks for pointing this out. I wasn't aware that the official spec allows for a major version to be 0 for initial development. Although, I have seen many major packages (knex, soap, axios) remain in 'initial development' phases for years. So I think this could still cause problems for unsuspecting developers.
So is not really and issue but a feature. Great!