-
-
Notifications
You must be signed in to change notification settings - Fork 259
Updated CSS/JavaScript URLs to newer versions. #229
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
Conversation
These reflect the newest versions shown on the Bootstrap website. https://getbootstrap.com/docs/4.5/getting-started/introduction/
|
Looking good, but we've always used the CDN's that are shown in the Introduction on getbootstrap.com (https://getbootstrap.com/docs/4.5/getting-started/introduction/). I see no reason to change that now. Using the same links as the Introduction keeps us connected to the Bootstrap examples, and prevent discussion over which CDN is best. |
Makes sense. I've updated the values to match what they show in the introduction docs. It may be worth noting that I did not see a URL for the non-slim version of JQuery in the examples. However, I dropped the I also updated the corresponding test cases which now pass locally on my machine. |
1 similar comment
|
Thanks. I agree that the non-slim version is a bit of a pain. The "official" versions of jQuery (with integrity values) can be found on https://code.jquery.com/jquery/. I used those in the past for the non-slim version if I remember correctly. For 3.3.1 that would be |
|
Good to know! Inspecting the page source I was able to see the integrity values. It's interesting to see that the values use the SHA 256 algorithm. The code currently on the |
|
I may have used another CDN for jQuery before. I think Bootstrap also switched its preferred CDN's at one point. For now, let's stay as close as possible to what getbootstrap.com suggests. |
My bad! I looked at the first section of links initially and didn't get such a modal. I didn't realize the other ones might have this sort of modal. I ended up copying the "link address" and pasting into another system to get the "sha384" value. 😆
I believe my proposed changes achieve this. If there's something I'm missing, please let me know. Thanks |
|
Thanks! |



These reflect the newest versions shown on the Bootstrap website.
I suspect folks would prefer to be on newer versions of these libraries. However, I can see how you might prefer to have users take these updates via
settingsupdates instead.Updated links were all sourced from here. The cdnjs website provides the SHA values using the 512 algorithm (instead of 384) which is maybe better?
Instead of the URLs coming from different CDNs they now all use Cloudflare (which never goes down, right? 😛).
TESTING: