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

Allow npm names to be case sensitive #73

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

PFCM
Copy link

@PFCM PFCM commented Sep 25, 2024

Package names on npm have not always been forced to lower case, it is only enforced for new packages (see https://docs.npmjs.com/cli/v10/configuring-npm/package-json).

There are a number of cases where there are two distinct packages that differ only in casing, such as (borrowing from package-url/packageurl-java#38):

https://www.npmjs.com/package/Base64/v/1.0.0

https://www.npmjs.com/package/base64/v/1.0.0

Notably the Java implementation already does this (PR linked above), this discrepancy is certainly unfortunate.

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

Successfully merging this pull request may close these issues.

1 participant