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

babel-standalone 7.26.4 invalid SRI hash #1304

Open
efiacor opened this issue Feb 13, 2025 · 3 comments
Open

babel-standalone 7.26.4 invalid SRI hash #1304

efiacor opened this issue Feb 13, 2025 · 3 comments
Labels

Comments

@efiacor
Copy link

efiacor commented Feb 13, 2025

html render fails with the following:

Failed to find a valid digest in the 'integrity' attribute for resource 'https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.26.4/babel.min.js' with computed SHA-512 integrity 'z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg=='. The resource has been blocked.

Manual downgrade to 7.26.3 succeeds

@ccojocar
Copy link
Member

This looks unrelated to this project.

@efiacor
Copy link
Author

efiacor commented Feb 14, 2025

When the html out is created, the script entry in you template is invalid, which causes a failure to render in a browser.

<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/7.26.4/babel.min.js" integrity="sha512-hX7KzoYtNHhNJsz8TAHyddcegokOwhmYiFWCDHqFkcoNVsYwCziO+NISSRlNKpfOYaqyQxm2+MTCJqSaHssJTA==" crossorigin="anonymous"></script>

How is it unrelated to this project?

@ccojocar ccojocar reopened this Feb 14, 2025
@ccojocar ccojocar added the bug label Feb 14, 2025
@ccojocar
Copy link
Member

Thanks for the details. I reopen it.

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

No branches or pull requests

2 participants