[meta] Update JS dependencies for Drupal 10.1

Created on 20 February 2023, almost 2 years ago
Updated 4 September 2023, over 1 year ago

Problem/Motivation

Either once or several times before releasing Drupal 10.1, we'll want to yarn upgrade, or more precisely, the steps in #3280275-3: Set up a formal process for ensuring JavaScript dependencies remain up to date β†’ .

Steps to reproduce

Proposed resolution

Remaining tasks

Before doing a full yarn upgrade, I think we should get πŸ“Œ Update terser from 5.16.1 to 5.16.4 Fixed in first, since that has side effects on some *.map files.

User interface changes

API changes

Data model changes

Release notes snippet

🌱 Plan
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
JavascriptΒ  β†’

Last updated 1 day ago

Created by

πŸ‡ΊπŸ‡ΈUnited States effulgentsia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Issue created by @effulgentsia
  • Status changed to Active almost 2 years ago
  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    πŸ“Œ Update terser from 5.16.1 to 5.16.4 Fixed landed.

  • Status changed to Needs review almost 2 years ago
  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    I rebuilt all CSS and JS and the dictionary, no changes are required. There are major version bumps of some packages which we should handle separately.

  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    This bumps the following:

    Package                                Current Wanted  Latest                                                
    cspell                                 6.17.0  6.26.3  6.26.3   
    eslint                                 8.29.0  8.34.0  8.34.0   
    eslint-config-prettier                 8.5.0   8.6.0   8.6.0    
    eslint-plugin-import                   2.26.0  2.27.5  2.27.5   
    eslint-plugin-yml                      1.2.0   1.5.0   1.5.0    
    glob                                   8.0.3   8.1.0   8.1.0    
    minimist                               1.2.7   1.2.8   1.2.8    
    nightwatch                             2.4.2   2.6.15  2.6.15   
    postcss                                8.4.19  8.4.21  8.4.21   
    postcss-import                         15.0.1  15.1.0  15.1.0   
    prettier                               2.8.0   2.8.4   2.8.4    
    terser                                 5.16.4  5.16.5  5.16.5 
    
  • Status changed to RTBC almost 2 years ago
  • πŸ‡ΊπŸ‡ΈUnited States effulgentsia

    #3 matches what I get from a:
    cd core; rm -rf node_modules; yarn install; yarn upgrade; yarn vendor-update; yarn build; yarn lint:css; yarn lint:core-js-passing; yarn spellcheck:make-drupal-dict

  • First commit to issue fork.
  • Status changed to Needs work almost 2 years ago
  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    All the Nightwatch tests blew up :(

  • @kunal_sahu opened merge request.
  • Status changed to Active over 1 year ago
  • πŸ‡¬πŸ‡§United Kingdom longwave UK

    Converting this to a meta as there's quite a lot outstanding and I think it needs breaking down into smaller pieces.

    πŸ“Œ Update Nightwatch from 2.4.2 to 2.6.19 Closed: duplicate already exists for the Nightwatch update, will try bumping that and open some other child issues.

  • πŸ‡¬πŸ‡§United Kingdom longwave UK
    $ yarn outdated
    Package                   Current Wanted  Latest   
    cspell                    6.17.0  6.31.1  6.31.1   
    eslint                    8.29.0  8.37.0  8.37.0   
    eslint-config-prettier    8.5.0   8.8.0   8.8.0    
    eslint-plugin-import      2.26.0  2.27.5  2.27.5   
    eslint-plugin-yml         1.2.0   1.5.0   1.5.0    
    glob                      8.0.3   8.1.0   9.3.2    
    jquery                    3.6.3   3.6.4   3.6.4    
    jsdom                     20.0.3  20.0.3  21.1.1   
    loadjs                    4.2.0   4.2.0   4.3.0-rc1
    minimist                  1.2.7   1.2.8   1.2.8    
    mkdirp                    1.0.4   1.0.4   2.1.6    
    nightwatch                2.4.2   2.6.19  2.6.19   
    postcss                   8.4.19  8.4.21  8.4.21   
    postcss-import            15.0.1  15.1.0  15.1.0   
    postcss-preset-env        7.8.3   7.8.3   8.3.0    
    prettier                  2.8.0   2.8.7   2.8.7    
    shepherd.js               10.0.1  10.0.1  11.0.1   
    stylelint                 14.16.0 14.16.1 15.3.0   
    stylelint-config-standard 29.0.0  29.0.0  31.0.0   
    stylelint-order           5.0.0   5.0.0   6.0.3    
    tabbable                  6.0.1   6.0.1   6.1.1    
    terser                    5.16.4  5.16.8  5.16.8   
    terser-webpack-plugin     5.3.6   5.3.7   5.3.7    
    webpack                   5.75.0  5.77.0  5.77.0   
    
  • πŸ‡³πŸ‡ΏNew Zealand quietone
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    @kunal_sahu, I am removing credit has been removed per How is credit granted for Drupal core issues β†’ .

  • Status changed to Closed: duplicate over 1 year ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone

    This was completed in πŸ“Œ Update multiple JavaScript dependencies for 10.1 Fixed and child issues. Marking this a duplicate.

Production build 0.71.5 2024