jQuery Deprecated Functions
This module provides compatibility for deprecated jQuery functions that are no longer supported in newer versions of Drupal. It aims to help modules and themes that rely on older JavaScript libraries continue to function, while encouraging developers to migrate to modern JavaScript frameworks.
This is a small module that implements some deprecated jQuery functions like:
$.trim$.isFunction$.camelCase- And many more !
Features
*** PLEASE NOTE ***: The purpose of this project is not to encourage writing deprecated jQuery code instead of vanilla JS, the idea is to continue doing support on the modules that depend on old Javascript libraries to work on their sites but at the same time the developers/module maintainers should do the transition to a more up to date Javascript Frameworks (Vanilla JS/React/Next.js).
Since jQuery 4 is now the default jQuery version in Drupal 11, and most of these functions are no longer available in jQuery 4, there are quite a few modules that are not working at all because of the new jQuery version, views_bootstrap being one of them, and also a bunch of themes that uses old Javascript Libraries that rely on old jQuery functions
Post-Installation
No post-installation steps needed
Additional Requirements
No additional requirements
Similar projects
None that I know of, if you see similar projects, please let me know.
Supporting this Module
Please drop me a line if you want to support this module.
Also, drop me a line if you want a deprecated jQuery function to be implemented here and I'll do my best to do it.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.0.4 | Stable | 10–11 | Fixes issue # 3540652: Add Real PHPUnit tests | Jun 14, 2026 | |
| 1.0.3 | Stable | 10–11 | Fixes issues 3580756, 3567201 and 3558517 | Mar 23, 2026 | |
| 1.0.2 | Stable | 10–11 | Final release of this module (for now) | Jun 29, 2025 | |
| 1.0.1 | Stable | 10–11 | More deprecated functions. Function Tester | Jun 3, 2025 | |
| 1.0.x-dev | Dev | 10–11 | Dev release | May 15, 2025 | |
| 1.0.0 | Stable | 10–11 | Initial release of the module | May 14, 2025 |