Skip to content

feat: merge sri hash into existing integrity attr - #13

Merged
rishvic merged 2 commits into
mainfrom
feat/modify-integrity-update
Jun 5, 2026
Merged

feat: merge sri hash into existing integrity attr#13
rishvic merged 2 commits into
mainfrom
feat/modify-integrity-update

Conversation

@rishvic

@rishvic rishvic commented Jun 5, 2026

Copy link
Copy Markdown
Contributor
  • Previously any element that already declared an integrity attribute was skipped. Append the computed hash instead, preserving existing hashes and adding ours only when no equal-or-stronger algorithm is already present.
  • Decode asset URLs before bundle lookup

rishvic added 2 commits June 6, 2026 02:51
Previously any element that already declared an integrity attribute was
skipped. Append the computed hash instead, preserving existing hashes
and adding ours only when no equal-or-stronger algorithm is already
present.
@changeset-bot

changeset-bot Bot commented Jun 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 527aa3e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smoothtml/vite-plugin-sri Minor

Not sure what this means? Click here to learn what changesets are.

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

@rishvic
rishvic merged commit 527aa3e into main Jun 5, 2026
2 checks passed
@rishvic
rishvic deleted the feat/modify-integrity-update branch June 5, 2026 21:28
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.

1 participant