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

Npm tags containing slashes are unsupported #415

Open
jsamr opened this issue Jul 25, 2020 · 2 comments
Open

Npm tags containing slashes are unsupported #415

jsamr opened this issue Jul 25, 2020 · 2 comments

Comments

@jsamr
Copy link

jsamr commented Jul 25, 2020

Either url-encoded:

https://badgen.net/npm/v/react-native-render-html/release%2f4.2

Or not

https://badgen.net/npm/v/react-native-render-html/release/4.2

The request fails (404).

The original tag on npm is release/4.2, see screenshot bellow

2020-07-25-100251_810x385_scrot

@libinvarghese
Copy link
Contributor

This is a bug in unpkg, where tags with / (slash) is not supported, even if they are url-encoded.

An issue has been raised in unpkg - unpkg/unpkg#272

@MartinKolarik
Copy link

I can see in the code that it used to use jsDelivr but got switched to unpkg at some point. Not sure what was the reason there but wanted to note that jsDelivr works correctly in this case https://cdn.jsdelivr.net/npm/react-native-render-html@release%2f4.2/package.json.

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

No branches or pull requests

3 participants