-
Notifications
You must be signed in to change notification settings - Fork 452
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
Support Node.js 16 runtime for AWS Lambda #138
Conversation
LGTM |
package.json
Outdated
@@ -9,7 +9,7 @@ | |||
"test": "nyc --statements 100 -- mocha -- --check-leaks --timeout 3000" | |||
}, | |||
"dependencies": { | |||
"aws-sdk": "~2.631.0" | |||
"aws-sdk": "~2.1055.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not?
"aws-sdk": "~2.1055.0" | |
"aws-sdk": "^2.1055.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The idea was to pin it to the version used in the AWS Lambda runtime environment per: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html
I'll update it to match the current Node 16 runtime.
FYI, I've been using this on Node 16 for 5 months now without any issues. |
test/handler.js
Outdated
}; | ||
index.handler(event, context, callback, overrides); | ||
}); | ||
// it('should report failure for invalid steps', function(done) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why disabling this test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test was not passing when I switched to Node 16. I've made a slight change that resolves the issue.
No description provided.