[wp-trac] [WordPress Trac] #49768: Update/Audit NPM dependencies for 5.5

WordPress Trac noreply at wordpress.org
Sat Apr 4 01:18:53 UTC 2020


#49768: Update/Audit NPM dependencies for 5.5
------------------------------+------------------------
 Reporter:  whyisjake         |       Owner:  whyisjake
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  5.5
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch         |     Focuses:
------------------------------+------------------------
Changes (by SergeyBiryukov):

 * keywords:   => has-patch


Comment:

 With `grunt-contrib-qunit` bumped to 3.1.0 and now requiring `puppeteer`,
 `PUPPETEER_SKIP_CHROMIUM_DOWNLOAD` apparently needs to be reset for JS
 tests to pass, otherwise they produce a fatal error as seen in [https
 ://travis-ci.com/github/SergeyBiryukov/wordpress-develop/jobs/313772070
 this build]:
 {{{
 >> There was an error with headless chrome
 Fatal error: Chromium revision is not downloaded. Run "npm install" or
 "yarn install"
 }}}

 [attachment:"49768.2.diff"] handles that, and also keeps tilde and caret
 ranges for `grunt`, `grunt-contrib-imagemin`, and `grunt-contrib-qunit`
 versions in `package.json`.

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


More information about the wp-trac mailing list