2 ms·
>If you are publishing a new package—that is, a package that has not been in the registry before—we remove punctuation from its name and compare it to existing
by krapp 9y ago
>If you are publishing a new package—that is, a package that has not been in the registry before—we remove punctuation from its name and compare it to existing package names. If the names are identical without punctuation, we do not allow the package to be created.
Simply checking the name without punctuation seems too simple. What about a similarity check? Hamming distance? Is there something like metaphone for visual similarity between words?
Also good on them for suggesting using namespaces but since that apparently exists and they're admitting that it helps disambiguate packages, why not just make it mandatory?