Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NodeJS backend dependencies. #214

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open

Update NodeJS backend dependencies. #214

wants to merge 32 commits into from

Conversation

trev-dev
Copy link
Contributor

@trev-dev trev-dev commented Jun 17, 2024

Jira: HD-26946

The goal of this pull request is to update the NodeJS backend and its dependencies. Due to some of the updates being incompatible with CommonJS modules, I opted to refactor the backend into the ESM (EcmaScript Module) format. This is the standard for JavaScript, whereas CJS was more of a node/webpack/bundler thing.

Breaking changes for nats and passport have been addressed as well. Check the commit messages, I tried to keep things granular.

Jest was also dropped in favor of Vitest. Vitest is actually prepared to test ESM files. This change removed a great deal of bloat from the dependency tree and sped up tests a great deal.

Copy link

sonarcloud bot commented Jun 18, 2024

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@trev-dev trev-dev marked this pull request as draft June 18, 2024 21:20
backend/src/routes/user.js Fixed Show fixed Hide fixed
backend/tests/unit/components/requestStatus.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/requestStatus.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/requestStatus.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/email.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/email.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/identityTypeCodes.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/identityTypeCodes.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/identityTypeCodes.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
backend/tests/unit/components/request.spec.js Dismissed Show dismissed Hide dismissed
@trev-dev trev-dev force-pushed the fix/HD-26946 branch 2 times, most recently from d4c1cec to 12955e7 Compare September 3, 2024 23:22
@trev-dev trev-dev marked this pull request as ready for review September 3, 2024 23:58
Copy link

sonarcloud bot commented Oct 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant