Sonar dependency update, round 2.

Review Request #12447 — Created July 8, 2022 and submitted — Latest diff uploaded

Information

student-sonar
master

Reviewers

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 the newrelic.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).

Diff Revision 1

This is not the most recent revision of the diff. The latest diff is revision 2. See what's changed.

orig
1
2

Commits

First Last Summary ID Author
Sonar dependency update, round 2.
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 the `newrelic.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. Testing Done: 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).
c4015367215171554f6139b54f6c4c2a4944b489 David Trowbridge
gulpfile.js
newrelic.js
package.json
package-lock.json
server.js
webpack.config.js
bin/load-old-data.js
bin/load-slack-users.js
lib/api.js
lib/init.js
lib/routes.js
lib/schema.js
lib/frontend/all-groups.jsx
lib/frontend/all-status-reports.jsx
lib/frontend/edit-status-report.jsx
lib/frontend/main.js
lib/frontend/single-project.jsx
lib/frontend/api/group.js
lib/frontend/api/project.js
lib/frontend/api/status-report.js
lib/frontend/api/status-report-due-date.js
lib/frontend/api/user.js
lib/frontend/redux/configure-store.js
Loading...