[wp-trac] [WordPress Trac] #53685: Update the `caniuse` database when running `grunt precommit:css`

WordPress Trac noreply at wordpress.org
Mon Jul 19 00:36:11 UTC 2021


#53685: Update the `caniuse` database when running `grunt precommit:css`
------------------------------+------------------------------
 Reporter:  desrosj           |       Owner:  (none)
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  Awaiting Review
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:  css
------------------------------+------------------------------

Comment (by desrosj):

 There is a bug to make note of. When running `npx browserslist at latest
 --update-db`, the indentation of the `package-lock.json` file is reverted
 to using 2 spaces instead of standard tabs.

 There is a [https://github.com/browserslist/browserslist/issues/597 bug
 open for this]. It appears to be a relic of old NPM versions, which always
 enforced 2 spaces for indentation. NPM 5.0+ detects indentation and
 preserves it when updating the lock file.

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


More information about the wp-trac mailing list