-
Notifications
You must be signed in to change notification settings - Fork 19
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
Support Scoped Packages (i.e. @google
)
#56
Comments
Hi, sorry for the delay! It sounds good, care to venture a patch? |
I think we just need to URL escape the "Share this package" samples: The solution is probably just Line 57 in 9ec476b
ExampleencodeURIComponent('@google/clasp')
"%40google%2Fclasp" http://npm.packagequality.com/shield/%40google%2Fclasp.svg WorkaroundYou can escape yourself (rather than copying the sample) to get the correct URL. |
That is cool! If you propose a PR I will just accept it. |
It looks like this repo ignores I also get the error: /Users/granttimmerman/Documents/github/grant/package-quality/test.js:21
log.debug('Running tests');
^
TypeError: log.debug is not a function |
Again, I would appreciate it if you can submit a PR 😄 |
Well, I'd submit a PR for the feature if the project build wasn't broken. I can't say I'm going to (1) fix the project build, then (2) add a PR, since there's a fine workaround. |
Fair enough, I will try to repair the build and get back to you, OK? |
Any updates on adding support for scoped packages? |
I should mention that the workaround as described above in the history of this issue does not work anymore |
I added a PR that I believe fixes the URL rendered on the web page. Although I don't know if it fixes the related/new searching issue. |
Merged and restarted! But now https://packagequality.com/shield/%40google%2Fclasp.svg is yielding an error 🤔 |
Packages that are scoped (Use
@
) break the image URL:http://npm.packagequality.com/#?package=@google%2Fclasp
The text was updated successfully, but these errors were encountered: