[wp-trac] [WordPress Trac] #57888: Update jQuery v3.6.3 to v3.6.4

WordPress Trac noreply at wordpress.org
Wed Mar 8 18:14:32 UTC 2023


#57888: Update jQuery v3.6.3 to v3.6.4
--------------------------------------------+------------------------
 Reporter:  TobiasBg                        |       Owner:  audrasjb
     Type:  task (blessed)                  |      Status:  reviewing
 Priority:  normal                          |   Milestone:  6.2
Component:  External Libraries              |     Version:
 Severity:  normal                          |  Resolution:
 Keywords:  needs-patch add-to-field-guide  |     Focuses:
--------------------------------------------+------------------------

Comment (by hellofromTonya):

 Hmm, the last Beta has already happened and RC1 is tomorrow. A change like
 this right before RC1 makes me nervous.

 But .. let's look at what's in this version to determine if there any
 risks to the release.

 This version includes 2 changes:

 * The first change is for build process on Windows.
 * The second change [https://github.com/jquery/jquery/issues/5194 fixes
 errors in Firefox]:
 {{{
 Uncaught Error: Syntax error, unrecognized expression: unsupported pseudo:
 before
 }}}

 The 2nd change is in the
 [https://github.com/jquery/jquery/commit/dbe09e39673fa77f7753c30fea783fc061d1230f
 Sizzle CSS Selector Engine] to "mostly" rollback to a previous `try-
 catch`:

 From https://github.com/jquery/jquery/pull/5206:
 >Taking all that into account, we go back to our previous try-catch
 approach without relying on `CSS.supports( "selector(...)" )`. The only
 difference is we detect forgiving parsing in `:has()` and mark the
 selector as buggy.

 Reasonings are shared in [https://blog.jquery.com/2023/03/08/jquery-3-6-4
 -released-selector-forgiveness/ the release post].

 So I think this upgrade is needed to avoid similar issues in Firefox. I
 think it's low risk to commit it for RC1. It shouldn't need a beta either.

 @audrasjb what do you think?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57888#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list