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

WordPress Trac noreply at wordpress.org
Sun Aug 11 00:47:40 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              |   Keywords:
  Focuses:  javascript          |
--------------------------------+--------------------
 The following dependencies included via NPM are registered in
 `wp_default_scripts()` rather than `wp_default_packages_vendor()` are they
 are not stored in the standard location for vendor files for back-compat
 reasons.

 * backbone
 * clipboard
 * hoverintent-js (the vanilla JS version)
 * imagesloaded
 * jquery-core
 * jquery-color
 * jquery-form
 * hoverintent (the jquery version)
 * masonry
 * underscore

 These currently lack tests to ensure the version registered in WordPress
 matches the version listed in the `package.json` file. This ticket is to
 add tests for that as they've been known to fall out of sync.

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


More information about the wp-trac mailing list