-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
jQuery slim build reports "invalid version" #3624
Comments
Thanks for the report! Could you clarify what you mean by Lighthouse is reporting "invalid version"? Is there a specific audit that is failing or a fatal error? A copy of the report/json here or screenshot with test URL would be helpful here too if you have them. |
Under "Best Practices" - "Includes front-end JavaScript libraries with known security vulnerabilities": Test URL: https://sarahtherad.com/ |
Great thanks for sharing the URL @topaxi! I can reproduce. |
Indeed our bug, basically need to wrap
|
we have two fixes here:
@topaxi can you report this upstream to js-library-detector? they should be trimming off anything separated by whitespace, IMO. edit: sentry issue: https://sentry.io/google-lighthouse/lighthouse/issues/407623160/ |
@paulirish @topaxi This should be resolved in |
I'm using the jQuery slim build on a website, lighthouse is reporting "invalid version", my guess is it parses some kind of semver like versions while the jQuery slim version looks like this:
The text was updated successfully, but these errors were encountered: