Sonar dependency update, round 2.
Review Request #12447 — Created July 8, 2022 and submitted
This is the second phase of updating sonar's dependencies. Many of these
ones are focused more on the frontend side of things, including updating
to newer versions of react.This also switches us over to using the "module" type in
package.json
.
This tells node that we're operating using ES6 modules rather than
CommonJS imports. This eliminates the need to use babel-node, which
simplifies things considerably and should improve performance a lot. The
one casualty of this is the newrelic integration, which would need
external configuration (since apparently thenewrelic.js
file can't be
loaded in ESM mode). I don't really care about newrelic monitoring here,
so this is fine for now.I've also deleted the old
load-old-data.js
script. This was used when
we moved the data storage over from MongoDB to SQL, but isn't necessary
anymore.
Logged in and checked various features. In particular, tested parts of
the UI affected by the selectize update (things like group membership
selectors), and React-MDE (the status report markdown editor).
Summary | ID |
---|---|
837babca70e1fe9bb00577cbc18668f4667868e0 |
Description | From | Last Updated |
---|---|---|
'fs' is defined but never used. Column: 8 Error code: W098 |
reviewbot | |
'shell' is defined but never used. Column: 8 Error code: W098 |
reviewbot | |
import.meta may only be used in module code. Column: 40 Error code: E070 |
reviewbot | |
import.meta may only be used in module code. Column: 40 Error code: E070 |
reviewbot | |
import.meta may only be used in module code. Column: 40 Error code: E070 |
reviewbot | |
import.meta may only be used in module code. Column: 40 Error code: E070 |
reviewbot |
- Commits:
-
Summary ID c4015367215171554f6139b54f6c4c2a4944b489 837babca70e1fe9bb00577cbc18668f4667868e0 - Diff:
-
Revision 2 (+1892 -5162)