Skip to content

Commit b5acb2e

Browse files
authored
upgrade Lambda Node.js runtime (#68)
1 parent 9d50eff commit b5acb2e

5 files changed

+25
-25
lines changed

package-lock.json

+21-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@pepperize/cdk-ses-smtp-credentials": "^0.3.826",
2828
"@types/aws-lambda": "^8.10.138",
2929
"aws-cdk-lib": "^2.189.1",
30-
"cdk-time-sleep": "^0.0.5",
30+
"cdk-time-sleep": "^1.0.0",
3131
"constructs": "^10.0.0",
3232
"source-map-support": "^0.5.21"
3333
}

test/__snapshots__/dify-on-aws-cf.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -3778,7 +3778,7 @@ exports[`Snapshot test (with CloudFront) 2`] = `
37783778
"Arn",
37793779
],
37803780
},
3781-
"Runtime": "nodejs18.x",
3781+
"Runtime": "nodejs22.x",
37823782
"Timeout": 900,
37833783
},
37843784
"Type": "AWS::Lambda::Function",

test/__snapshots__/dify-on-aws-closed-network.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -3070,7 +3070,7 @@ exports[`Snapshot test 1`] = `
30703070
"Arn",
30713071
],
30723072
},
3073-
"Runtime": "nodejs18.x",
3073+
"Runtime": "nodejs22.x",
30743074
"Timeout": 900,
30753075
},
30763076
"Type": "AWS::Lambda::Function",

test/__snapshots__/dify-on-aws.test.ts.snap

+1-1
Original file line numberDiff line numberDiff line change
@@ -3101,7 +3101,7 @@ exports[`Snapshot test 1`] = `
31013101
"Arn",
31023102
],
31033103
},
3104-
"Runtime": "nodejs18.x",
3104+
"Runtime": "nodejs22.x",
31053105
"Timeout": 900,
31063106
},
31073107
"Type": "AWS::Lambda::Function",

0 commit comments

Comments
 (0)