Skip to content

Commit 35947a2

Browse files
committed
Support for node20
1 parent fa4b4a0 commit 35947a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ npm install playwright-core playwright-aws-lambda --save
1515

1616
## Usage
1717

18-
This package works with the `nodejs10.x`, `nodejs12.x`, `nodejs14.x`, `nodejs16.x` and `nodejs18.x` AWS Lambda runtimes
18+
This package works with the `nodejs10.x`, `nodejs12.x`, `nodejs14.x`, `nodejs16.x`, `nodejs18.x` and `nodejs20.x` AWS Lambda runtimes
1919
out of the box.
2020

2121
```javascript

src/util/isLambdaRuntimeEnvironment.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ export default function isLambdaRuntimeEnvironment(): boolean {
55
'AWS_Lambda_nodejs14.x',
66
'AWS_Lambda_nodejs16.x',
77
'AWS_Lambda_nodejs18.x',
8+
'AWS_Lambda_nodejs20.x',
89
].includes(process.env.AWS_EXECUTION_ENV as string);
910
}

0 commit comments

Comments
 (0)