mistic100 / mistic100/jQuery-QueryBuilder

jQuery 4.0 Compatibility

Open
#1,024 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.7k
Forks
544
PR merge metrics
No merged PRs in 30d

Description

There are several compatibility issues in jQuery-QueryBuilder after upgrading to jQuery 4.0. Specifically, the following APIs have been removed:

$.isArray
$.isFunction
$.trim

Suggested replacements:

$.isArray = Array.isArray;
$.isFunction = (v) => typeof v === 'function';
$.trim = (v) => v == null ? '' : String.prototype.trim.call(v);

Please update the codebase to use these (or equivalent) replacements so that jQuery-QueryBuilder is fully compatible with jQuery 4.0.

Thank you!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the codebase for uses of $.isArray, $.isFunction, and $.trim, then inspect the surrounding compatibility and test entry points. Replace the removed APIs with equivalent implementations and verify the plugin works with jQuery 4.0 without remaining uses of those APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, jquery
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.