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

WordPress Trac noreply at wordpress.org
Wed Dec 13 17:48:27 UTC 2023


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

 * owner:  (none) => jorbin
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57185" 57185]:
 {{{
 #!CommitTicketReference repository="" revision="57185"
 External Libraries: For Lodash, sync the declared version number with the
 one that is loaded.

 In [50941] the version of lodash was updated, however the version inside
 `wp_default_packages_vendor` was not updated at the same time. This
 updates the version to correctly reflect the version that is loaded.

 Also adds some basic tests for the scripts in `wp_default_packages_vendor`
 that match the name of the package from package.json to help prevent
 errors like this in the future.

 Props jadpm, jorbin, swissspidy.
 Fixes #60048. See #52991.
 }}}

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


More information about the wp-trac mailing list