Problem/Motivation
Core has forked jquery.form 4.3.0 until the htmx work removes it. I've resumed maintenance of jquery.form. 4.4.0 fixes the jQuery 4 compatibility and four XSS advisories, three of which likely still affect core's fork. #544, cited in #3189416: [PP-x] Remove jQuery Form dependency from misc/ajax.js, was fixed in 4.6.0.
Proposed resolution
Replace the fork with upstream 4.6.1 from npm. I swapped the builds on 11.4.14 (jQuery 4.0.0): image upload and removal, "Add another item", saving a node and a Views UI dialog behaved the same in Chromium and WebKit. Upstream now tests the two patterns misc/ajax.js relies on (jquery-form#647).
Remaining tasks
Add jquery-form to package.json, point internal.jquery.form at the vendor copy, remove the fork, run the AJAX FunctionalJavascript tests.
API changes
None. internal.jquery.form is internal, so there's no API change, and the removal plan stays as it is.
AI Disclosure: Claude helped research and draft, I verified the claims and ran the tests.
Comments