Update multiple JavaScript dependencies for 10.1

Created on 19 May 2023, about 1 year ago
Updated 8 June 2023, about 1 year ago

Problem/Motivation

We have numerous outdated JavaScript dependencies; let's update them for 10.1.

Package               Current Wanted Latest   
eslint                8.37.0  8.42.0 8.42.0   
eslint-plugin-yml     1.5.0   1.7.0  1.7.0    
glob                  8.0.3   8.1.0  10.2.7   
js-cookie             3.0.1   3.0.5  3.0.5    
jsdom                 20.0.3  20.0.3 22.1.0   
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  3.0.1    
nightwatch            2.4.2   2.6.21 2.6.21   
postcss               8.4.23  8.4.24 8.4.24   
postcss-preset-env    8.3.2   8.4.2  8.4.2    
shepherd.js           10.0.1  10.0.1 11.1.1   
stylelint             15.6.0  15.7.0 15.7.0   
tabbable              6.0.1   6.0.1  6.1.2    
terser                5.16.4  5.17.7 5.17.7   
terser-webpack-plugin 5.3.6   5.3.9  5.3.9    
webpack               5.77.0  5.85.1 5.85.1   
webpack-cli           5.0.1   5.1.3  5.1.3    

We can't update the following:

  • glob - breaking changes that mean the build step no longer works
  • loadjs - latest version is a release candidate
  • nightwatch - breaks with our Chromedriver setup
  • shepherd.js - major version update, needs more investigation

Steps to reproduce

$ yarn outdated

Proposed resolution

$ yarn add -D eslint eslint-plugin-yml js-cookie jsdom minimist mkdirp postcss postcss-preset-env stylelint tabbable terser terser-webpack-plugin webpack webpack-cli
$ yarn build
$ yarn lint:css
$ yarn lint:core-js-passing
$ yarn lint;yaml

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ“Œ Task
Status

Fixed

Version

10.1 ✨

Component
JavascriptΒ  β†’

Last updated about 3 hours ago

Created by

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

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.

Production build 0.69.0 2024