Skip to content

Conversation

jjallaire
Copy link
Collaborator

We observed that VS Code and Chrome each compute different integrity values. This is apparently expected behavior in some cases: https://claude.ai/share/7c3437d9-664e-4e82-aa92-6bdf37ff9025

Possible mitigations include:

  1. Define multiple values for integrity (what we did here); or
  2. Remove the integrity attribute if you trust the host and are running over https; or
  3. Bundle our own version of require.js

We observed that VS Code and Chrome each compute different integrity values. This is apparently expected behavior in some cases: https://claude.ai/share/7c3437d9-664e-4e82-aa92-6bdf37ff9025

Possible mitigations include:

1) Define multiple values for `integrity` (what we did here); or
2) Remove the `integrity` attribute if you trust the host and are running over https.
3) Bundle our own version of require.js
@jjallaire jjallaire requested a review from cscheid August 5, 2025 12:27
@posit-snyk-bot
Copy link
Collaborator

posit-snyk-bot commented Aug 5, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@cscheid
Copy link
Collaborator

cscheid commented Aug 5, 2025

Thanks! That failing test is bewildering to me:

  • beamer compilation failure unrelated to this diff
  • consistent on windows/linux
  • not reproducible locally for me

I'm going to merge this anyway.

@cscheid cscheid merged commit a512efd into main Aug 5, 2025
49 of 51 checks passed
@cscheid cscheid deleted the feature/require-js-integrity branch August 5, 2025 13:04
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

Successfully merging this pull request may close these issues.

3 participants