Skip to content

Commit

Permalink
Merge pull request #73 from asdcamargo/support-node20
Browse files Browse the repository at this point in the history
Support for node20
  • Loading branch information
ryan-willis authored Jul 25, 2024
2 parents 8a15a83 + 35947a2 commit 59e1496
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ npm install playwright-core playwright-aws-lambda --save

## Usage

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

```javascript
Expand Down
1 change: 1 addition & 0 deletions src/util/isLambdaRuntimeEnvironment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ export default function isLambdaRuntimeEnvironment(): boolean {
'AWS_Lambda_nodejs14.x',
'AWS_Lambda_nodejs16.x',
'AWS_Lambda_nodejs18.x',
'AWS_Lambda_nodejs20.x',
].includes(process.env.AWS_EXECUTION_ENV as string);
}

0 comments on commit 59e1496

Please sign in to comment.