Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

json5 latest is now 1.0.2 on npmjs - intentional? #299

Closed
sverweij opened this issue Dec 31, 2022 · 3 comments
Closed

json5 latest is now 1.0.2 on npmjs - intentional? #299

sverweij opened this issue Dec 31, 2022 · 3 comments
Assignees
Labels

Comments

@sverweij
Copy link

The latest version of json5 from npmjs is 1.0.2 since yesterday. Is that intentional?

As a consequence tooling that has a policy to upgrade to any latest version is advising to 'upgrade' from version ^2 to 1.0.2 - e.g. with npm outdated:

 ~/things $ npm outdated                         
Package            Current  Wanted  Latest  Location                        Depended by
json5                2.2.2   2.2.2   1.0.2  node_modules/json5              things

If it's not intentional I believe the only recourse is to re-publish 2.2.2 as version 2.2.3 (with the default tag/ tag 'latest'). It could be useful to also re-publish 1.0.2 as 1.0.3, but with tag v1 or something similar.

@jordanbtucker
Copy link
Member

Thanks for alerting me to this. It was not intentional. I'll get that fixed soon.

@jordanbtucker
Copy link
Member

Fixed in v2.2.3!

@jordanbtucker
Copy link
Member

I was able to add a previous tag to v1.0.2 without having to release v1.0.3. I was not able to use v1 as the tag name.

Note: Since dist-tags share a namespace with semantic versions, avoid dist-tags that conflict with existing version numbers. We recommend avoiding dist-tags that start with a number or the letter "v".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@jordanbtucker @sverweij and others