Jquery 4 Migration

Migrate a Drupal theme's JavaScript from jQuery 3 to jQuery 4 (as shipped by Drupal 11), on a Dockerized Makefile-driven project. Use when the user mentions jQuery 3→4, jQuery 4 deprecated/removed APIs ($.trim, $.isFunction, $.isArray, $.type, .bind/.delegate…), a jquery-deprecated / migrate polyfill, or "$.x is not a function" after an upgrade. Covers scanning custom + contrib JS, native conversions, rebuilding assets, and a scoped local polyfill for not-yet-compatible third-party libraries. IMPORTANT: all builds MUST go through Makefile/npm targets, never on the host.

JMAILLY Updated

File contents

JMAILLY/claude-migration-skills commit 180133b1a3

Frequently asked questions

npx get-skill add jmailly/jquery-4-migration