[wp-trac] [WordPress Trac] #60048: Fix the declared Lodash version

WordPress Trac noreply at wordpress.org
Mon Dec 11 10:52:35 UTC 2023


#60048: Fix the declared Lodash version
--------------------------------+-------------------------
 Reporter:  jadpm               |       Owner:  (none)
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  6.5
Component:  External Libraries  |     Version:
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:  javascript
--------------------------------+-------------------------
Changes (by swissspidy):

 * milestone:  Awaiting Review => 6.5


Comment:

 Good catch! And thanks for the PR.

 It would be super cool if we could add a PHPUnit test that catches this in
 the future:

 1. Call `wp_default_packages_vendor`
 2. Loop through the registered vendor scripts
 3. Compare their version with what's in `package.json`
 4. Fail if there is a mismatch

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


More information about the wp-trac mailing list