Quite a few impacts can occur when we update Node.js version.
check these:
- Dependency compatibility: Some third-party packages or libraries may not support this.
- Runtime changes: New Node.js versions may deprecate or change certain APIs. Checkout this: https://nodejs.org/en/blog/release/
- Lambda cold start performance: Never versions typically improve performance, cold start times may vary depending on the Node.js version.
- Compatibility: Verify that AWS SDK used in your codebase are compatible with Node.js 18.x