Package name 'shapit' rejected as too similar to 'hapi' - no way to detect before publishing ? #210642
🏷️ Discussion TypeBug BodyHi, I'm the maintainer of Shapit, an open-source CLI for auditing projects against configurable rules. I've recently prepared the first release (v0.1.0), but when attempting to publish the package to npm, I received an I understand the importance of preventing typosquatting, but I believe this may be a false positive. Shapit is an independent project with a completely different purpose from Hapi, which is a Node.js web framework. The name comes from the idea of shaping project standards, and there is no intention to imitate or create confusion with Hapi. The main issueWhat I find particularly frustrating is that I couldn't find a way to detect this restriction beforehand. The package name appeared to be available, and For developers publishing their first package, discovering a naming restriction this late in the process is quite discouraging. I also noticed that a similar concern has already been raised in npm/cli#9188. Questions
I understand why these protections exist, and I'm not suggesting they should be removed. I just think the validation process could be more transparent and developer-friendly. Thanks for your time! |
Replies: 2 comments
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
1. Is there an official process to request a manual review?Yes. You can appeal the automated typosquatting block by opening a support ticket directly with the npm team:
2. The Recommended Solution: Publish as a Scoped Package (
|
1. Is there an official process to request a manual review?
Yes. You can appeal the automated typosquatting block by opening a support ticket directly with the npm team:
support@npmjs.com.shapit), link your GitHub repository, explain the distinct use case (code auditing CLI vs. the Hapi web framework), and request a whitelist override.