Skip to content

docs: point the CDN snippets at 4.4.0 - #641

Merged
kevindb merged 1 commit into
mainfrom
docs-cdn-4.4.0
Nov 7, 2026
Merged

kevindb merged 1 commit into
mainfrom
docs-cdn-4.4.0

Conversation

@kevindb

@kevindb kevindb commented Nov 7, 2026

Copy link
Copy Markdown
Member

Summary

The README and the docs site home page gave snippets that load 4.3.0, the version the four published advisories affect.

 README.md
-<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.3.0/jquery.form.min.js" ...>
-<script src="https://cdn.jsdelivr.net/gh/jquery-form/form@4.3.0/dist/jquery.form.min.js" ...>
+<script src="https://cdn.jsdelivr.net/npm/jquery-form@4.4.0/dist/jquery.form.min.js" integrity="sha384-xXCc…" ...>

 docs/index.md
-  src="https://cdnjs.cloudflare.com/ajax/libs/jquery.form/4.3.0/jquery.form.min.js"
+  src="https://cdn.jsdelivr.net/npm/jquery-form@4.4.0/dist/jquery.form.min.js"

cdnjs doesn't serve 4.4.0 yet (404), so its snippet is dropped for now and comes back once its file can be checked.

Evidence

  • The sha384 of the file served by jsDelivr (npm and GitHub tag) and unpkg matches the published dist/jquery.form.min.js: xXCcBDQcC69XJrsBralQhdrm4++0kesmFgISJCmlIdKADiFvig1TUhJW47Im0OJX.
  • In a browser, jQuery 3.5.1 plus the new snippet loads and registers ajaxForm and ajaxSubmit; the same file with the old 4.3.0 hash is rejected by SRI.

Merge Danger

Door: two-way

Blast Radius: docs

Readers who copy the snippet get 4.4.0 instead of 4.3.0.

🤖 Generated with Claude Code

@kevindb
kevindb merged commit d70383c into main Nov 7, 2026
8 checks passed
@kevindb
kevindb deleted the docs-cdn-4.4.0 branch November 7, 2026 04:03
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