Problem/Motivation

When running core/scripts/dev/commit-code-check.sh for patches like #3211810: [security] Update Nightwatch and locked dev dependencies to address security issues you can see:

[17:21:05] '/Users/alex/dev/sites/drupal8alt.dev/core/misc/jquery.cookie.shim.es6.js' is being checked.
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db

Why you should do it regularly:
https://github.com/browserslist/browserslist#browsers-data-updating
[17:21:05] '/Users/alex/dev/sites/drupal8alt.dev/core/misc/jquery.cookie.shim.es6.js' is not updated.
error Command failed with exit code 1.

Proposed resolution

Run npx browserslist@latest --update-db on branches

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

alexpott created an issue. See original summary.

alexpott’s picture

Bumps the version to stop warnings in CLI tools. This is definitely only a patch release ... going from 1.0.30001066 to 1.0.30001221

lauriii’s picture

Status: Needs review » Reviewed & tested by the community

Since the browserlist that we support is configured pretty strictly, we can update the browserlist pretty safely. Tested manually to confirm there aren't changes to built files.

The last submitted patch, 2: 3212177-9.0.x-2.patch, failed testing. View results

  • catch committed 38ebeed on 9.3.x
    Issue #3212177 by alexpott, lauriii: Update caniuse-lite as it is...

  • catch committed 6b8c491 on 9.2.x
    Issue #3212177 by alexpott, lauriii: Update caniuse-lite as it is...
catch’s picture

Status: Reviewed & tested by the community » Fixed

Committed/pushed to 9.3.x/9.2.x/9.1.x/9.0.x/8.9.x, thanks!

  • catch committed 32d9c1a on 9.1.x
    Issue #3212177 by alexpott, lauriii: Update caniuse-lite as it is...

  • catch committed 9c007f1 on 9.0.x
    Issue #3212177 by alexpott, lauriii: Update caniuse-lite as it is...

  • catch committed 27b2fdc on 8.9.x
    Issue #3212177 by alexpott, lauriii: Update caniuse-lite as it is...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.