From d48b478c08962ebea341d2616ee4f46da5355a13 Mon Sep 17 00:00:00 2001 From: TJ Holowaychuk Date: Mon, 21 Oct 2019 12:53:15 +0100 Subject: [PATCH] change default runtime to nodejs10.x (potentially breaking change). Closes #784 --- config/lambda.go | 2 +- go.mod | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/config/lambda.go b/config/lambda.go index 26127a5b..30d209d7 100644 --- a/config/lambda.go +++ b/config/lambda.go @@ -56,7 +56,7 @@ func (l *Lambda) Default() error { } if l.Runtime == "" { - l.Runtime = "nodejs8.10" + l.Runtime = "nodejs10.x" } l.Policy = append(l.Policy, defaultPolicy) diff --git a/go.mod b/go.mod index 481200ca..4d39641f 100644 --- a/go.mod +++ b/go.mod @@ -74,3 +74,5 @@ require ( golang.org/x/sys v0.0.0-20171031081856-95c657629925 // indirect golang.org/x/text v0.0.0-20171102192421-88f656faf3f3 // indirect ) + +go 1.13