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

Upgrade to Node.js v22.x #8

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

Upgrade to Node.js v22.x #8

wants to merge 9 commits into from

Conversation

stenlarsson
Copy link
Contributor

This upgrades Node.js to v22.x, which is currently the latest supported Lambda runtime.

All dependencies are also updated.

I also took the opportunity to migrate to the async syntax to improve readability.

This upgrades Node.js to v22.x, which is currently the latest supported Lambda runtime.

This also adds a `.nvmrc` file which specifies Node v22.13.1. Then `npm install` upgraded the version of the lockfile.
This upgrades to the latest version of Slack Web API SDK. The only incompatible changes relate to Typescript, which we don't use in this project.
Migrates from the legacy aws-sdk to the modular AWS SDK v3
All tests are still passing.
The result of running `npm update`
Refactors configuration, message-extractor, slack, and sploxy modules to use async/await syntax, removing explicit Promise chaining and callback handling. This improves code readability and aligns with modern JavaScript practices.
@stenlarsson stenlarsson requested a review from rejeep February 6, 2025 15:23
@stenlarsson stenlarsson self-assigned this Feb 6, 2025
Copy link
Collaborator

@iconara iconara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

2 participants