Skip to content

Commit 0c1800c

Browse files
author
Daniel van der Ploeg
authored
Merge pull request #1491 from aligent/chore/update-lambda-node-version
chore: update node version
2 parents c633970 + 05624b9 commit 0c1800c

11 files changed

Lines changed: 12 additions & 12 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.7.0
1+
v22.14.0

packages/basic-auth/lib/basic-auth-construct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class BasicAuthFunction extends Construct {
4040
}),
4141
},
4242
}),
43-
runtime: Runtime.NODEJS_18_X,
43+
runtime: Runtime.NODEJS_22_X,
4444
handler: "basic-auth.handler",
4545
}
4646
);

packages/cloudfront-security-headers/lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class SecurityHeaderFunction extends Construct {
5050
}),
5151
},
5252
}),
53-
runtime: Runtime.NODEJS_18_X,
53+
runtime: Runtime.NODEJS_22_X,
5454
handler: "security-header.handler",
5555
}
5656
);

packages/esbuild/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export class ExampleFunction extends Construct {
123123
}),
124124
},
125125
}),
126-
runtime: Runtime.NODEJS_18_X,
126+
runtime: Runtime.NODEJS_22_X,
127127
handler: "example.handler",
128128
});
129129
}

packages/geoip-redirect/lib/redirect-construct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export class RedirectFunction extends Construct {
7272
}),
7373
},
7474
}),
75-
runtime: Runtime.NODEJS_18_X,
75+
runtime: Runtime.NODEJS_22_X,
7676
handler: "redirect.handler",
7777
}
7878
);

packages/graphql-mesh-server/lib/pipeline.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class CodePipelineService extends Construct {
136136
"../assets/handlers/invalidate-cloudfront-cache.ts"
137137
),
138138
description: "Lambda function to invalidate CloudFront cache.",
139-
runtime: Runtime.NODEJS_18_X,
139+
runtime: Runtime.NODEJS_22_X,
140140
handler: "index.handler",
141141
timeout: Duration.seconds(5),
142142
environment: {
@@ -174,7 +174,7 @@ export class CodePipelineService extends Construct {
174174
entry: path.resolve(__dirname, "../assets/handlers/notify-sns.ts"),
175175
description:
176176
"Lambda function to forward SNS messages to another account.",
177-
runtime: Runtime.NODEJS_18_X,
177+
runtime: Runtime.NODEJS_22_X,
178178
handler: "index.handler",
179179
timeout: Duration.seconds(10),
180180
environment: {

packages/prerender-proxy/lib/error-response-construct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class ErrorResponseFunction extends Construct {
4848
}),
4949
},
5050
}),
51-
runtime: Runtime.NODEJS_18_X,
51+
runtime: Runtime.NODEJS_22_X,
5252
handler: "error-response.handler",
5353
}
5454
);

packages/prerender-proxy/lib/prerender-cf-cache-control-construct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class CloudFrontCacheControl extends Construct {
4848
}),
4949
},
5050
}),
51-
runtime: Runtime.NODEJS_18_X,
51+
runtime: Runtime.NODEJS_22_X,
5252
handler: "cache-control.handler",
5353
}
5454
);

packages/prerender-proxy/lib/prerender-check-construct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export class PrerenderCheckFunction extends Construct {
4646
}),
4747
},
4848
}),
49-
runtime: Runtime.NODEJS_18_X,
49+
runtime: Runtime.NODEJS_22_X,
5050
handler: "prerender-check.handler",
5151
}
5252
);

packages/prerender-proxy/lib/prerender-construct.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class PrerenderFunction extends Construct {
4848
}),
4949
},
5050
}),
51-
runtime: Runtime.NODEJS_18_X,
51+
runtime: Runtime.NODEJS_22_X,
5252
handler: "prerender.handler",
5353
}
5454
);

0 commit comments

Comments
 (0)