Problem/Motivation
We should update all of core's remaining JavaScript dependencies prior to 9.0.0-beta1, including any major version updates that may be available. This includes dependencies listed in package.json.
Proposed resolution
Here's a table of all core JavaScript dependencies in the package.json that yarn outdated
reports as having available updates - this includes the recommended and latest and the latest versions of the packages.
Major
Minor
Package | Current | Wanted | Latest | URL |
---|---|---|---|---|
autoprefixer | 9.6.1 | 9.7.4 | 9.7.4 | https://github.com/postcss/autoprefixer#readme |
eslint-plugin-import | 2.18.2 | 2.20.0 | 2.20.0 | https://github.com/benmosher/eslint-plugin-import |
eslint-plugin-react | 7.14.3 | 7.18.0 | 7.18.0 | https://github.com/yannickcr/eslint-plugin-react |
nightwatch | 1.2.1 | 1.3.2 | 1.3.2 | http://nightwatchjs.org |
prettier | 1.18.2 | 1.19.1 | 1.19.1 | https://prettier.io |
Patch
Package | Current | Wanted | Latest | URL |
---|---|---|---|---|
glob | 7.1.4 | 7.1.6 | 7.1.6 | https://github.com/isaacs/node-glob#readme |
postcss | 7.0.18 | 7.0.26 | 7.0.26 | https://postcss.org/ |
Impacts
Six .es6.js files are formatted differently by prettier. The changes were reviewed and verified as ones that don't impact functionality, but rather better enforcing of eslint rules.
Many .js files are compile differently due to the Babel update. All have been reviewed to be changes that don't impact functionality. The changes can be categorized as:
- Declaring an undefined variable no longer assigns void 0
- Even single item object literals have a line break separating open and close brackets.
- Variable insertion in template literals have changed from using the plus operator to concat()
- Some newlines added, others removed.