Open bokub opened 6 years ago
So, I tried to publish a package named sunglasses
and it was possible.
That means squatter should return 'NOT SQUATTED'.
Interesting. I was not aware that packages might lack a dist-tags
field. Agreed that we should handle it if this is normal for packages that have been unpublished. We should verify that is the case first, though.
Would you like to make a PR for this? Do you need any help?
Hi, While running npm-name-cli, I got the following error:
which points to the following line of code :
I logged
meta
I and I got the following result:There is no
dist-tags
in the meta.I thinks the package has been unpublished, so it might be good to handle that case