Skip to content

Commit 100f3c6

Browse files
Merge pull request #65 from ollnixon/main
Support Node.js 18.x
2 parents 43df5d2 + 189f950 commit 100f3c6

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` and `nodejs16.x` AWS Lambda runtimes
18+
This package works with the `nodejs10.x`, `nodejs12.x`, `nodejs14.x`, `nodejs16.x` and `nodejs18.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
@@ -4,5 +4,6 @@ export default function isLambdaRuntimeEnvironment(): boolean {
44
'AWS_Lambda_nodejs12.x',
55
'AWS_Lambda_nodejs14.x',
66
'AWS_Lambda_nodejs16.x',
7+
'AWS_Lambda_nodejs18.x',
78
].includes(process.env.AWS_EXECUTION_ENV as string);
89
}

0 commit comments

Comments
 (0)