Skip to content

Upgrade to Node.js v22.x#8

Merged
stenlarsson merged 9 commits intomasterfrom
node22
Feb 13, 2025
Merged

Upgrade to Node.js v22.x#8
stenlarsson merged 9 commits intomasterfrom
node22

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.
@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

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 merged commit 4318f36 into master Feb 13, 2025
1 check passed
@stenlarsson stenlarsson deleted the node22 branch February 13, 2025 08:50
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