Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

CDN Example: Add integrity metadata map and SRI hashes + Github Action to update #4100

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

Open
magicmark wants to merge 8 commits into graphql:main
base: main
Choose a base branch
Loading
from magicmark:patch-1

Conversation

@magicmark
Copy link

@magicmark magicmark commented Sep 9, 2025
edited
Loading

This reference implementation will likely be copied and pasted in a bunch of places.

SRI hashes are important when loading from CDNs, so hopefully this improves security in a bunch of places :)

(I've verified manually this file still works)

I've also set up a github action to regenerate the example when:

  • on the released action for updated internal deps
  • scheduled cronjob for when external deps update

connorshea reacted with heart emoji
Copy link

changeset-bot bot commented Sep 9, 2025
edited
Loading

⚠️ No Changeset found

Latest commit: d3f1bb6

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

Holy crap thank you, I was so frustrated trying to put this together myself when trying to integrate GraphiQL into my app where I use SRI for everything else. I hope this gets merged.

magicmark and Saraeutsza reacted with heart emoji

Copy link
Collaborator

@jonathanawesome jonathanawesome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @magicmark!

@magicmark magicmark changed the title (削除) CDN Example: Add integrity metadata map and SRI hashes (削除ここまで) (追記) CDN Example: Add integrity metadata map and SRI hashes + Github Action to update (追記ここまで) Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@jonathanawesome jonathanawesome jonathanawesome approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /