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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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.
So is not really and issue but a feature. Great!
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.