[wp-trac] [WordPress Trac] #61855: Test package versions of default scripts match package.json

WordPress Trac noreply at wordpress.org
Mon Sep 16 02:23:55 UTC 2024


#61855: Test package versions of default scripts match package.json
--------------------------------------+-------------------------
 Reporter:  peterwilsoncc             |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  6.7
Component:  External Libraries        |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:  javascript
--------------------------------------+-------------------------

Comment (by peterwilsoncc):

 I've updated the tests in the [https://github.com/WordPress/wordpress-
 develop/pull/7176 linked pull request] to validate all of the scripts
 included via package.json except for the `@wordpress/` scripts and the
 following:

 * `json2php` is used by grunt but not enqueued, so left out
 * `element-closest` uses a range rather than precise version number,
 `^3.0.2` -- @desrosj is this intentional
 * `wp-polyfill` -- unsure where the version number comes from so have left
 out

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


More information about the wp-trac mailing list