Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attributes: Fix compatibility with jQuery 4.x #496

Merged
merged 1 commit into from
Feb 3, 2024

Conversation

mgol
Copy link
Member

@mgol mgol commented Feb 3, 2024

In jquery/jquery#5384, jQuery.expr.match.bool stopped being defined and the regex matching boolean attributes is no longer exposed. Inline it in Migrate to avoid it crashing on jQuery 4.x.

Fixes gh-495

In jquery/jquery#5384, `jQuery.expr.match.bool` stopped being defined and the
regex matching boolean attributes is no longer exposed. Inline it in Migrate
to avoid it crashing on jQuery 4.x.

Fixes jquerygh-495
@mgol mgol added Needs review Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labels Feb 3, 2024
@mgol mgol added this to the 3.5.0 milestone Feb 3, 2024
@mgol mgol self-assigned this Feb 3, 2024
@mgol mgol requested a review from dmethvin February 3, 2024 01:09
Copy link
Member

@dmethvin dmethvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, easiest way to fix this!

@mgol mgol merged commit 7bdb3de into jquery:main Feb 3, 2024
3 checks passed
@mgol mgol deleted the attributes-4.x-fix branch February 3, 2024 02:18
@mgol mgol removed Needs review Discuss in Meeting Reserved for Issues and PRs that anyone would like to discuss in the weekly meeting. labels Feb 3, 2024
@mgol mgol modified the milestones: 3.5.0, 3.4.2 Jul 8, 2024
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.

jquery-migrate: jQuery 4.0 error: jQuery.expr.match.bool does not exist
2 participants