Skip to content

Commit 533f465

Browse files
committed
Fixups
Summary: Test Plan:
1 parent eab3de3 commit 533f465

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.github/workflows/npm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
pip3 install awscli --upgrade --user
3636
- name: NVM Install
3737
run: |
38-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
38+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.3/install.sh | bash
3939
. $HOME/.nvm/nvm.sh
4040
nvm install
4141
- name: NPM Install

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20.11.0
1+
v22.21.0

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Resources:
3434
Handler:
3535
s3-upload-custom-resource.handler # This is fixed and references a file provided by
3636
# this project and available in the Lambda layer.
37-
Runtime: nodejs18.x
37+
Runtime: nodejs22.x
3838
Policies:
3939
- S3CrudPolicy:
4040
BucketName: !Ref WebsiteBucket
@@ -69,7 +69,7 @@ Resources:
6969
Handler:
7070
s3-upload-custom-resource.handler # This is fixed and references a file provided by
7171
# this project and available in the Lambda layer.
72-
Runtime: nodejs18.x
72+
Runtime: nodejs22.x
7373
Policies:
7474
- S3CrudPolicy:
7575
BucketName: !Ref WebsiteBucket

cloudformation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Resources:
99
Type: AWS::Serverless::LayerVersion
1010
Properties:
1111
LayerName: !Ref LayerName
12-
CompatibleRuntimes: [nodejs20.x]
12+
CompatibleRuntimes: [nodejs22.x]
1313
ContentUri: dist/layer.zip
1414
LicenseInfo: Apache-2.0
1515
S3UploadCustomResourceLayerPermission:

src/__tests__/s3-upload-config-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ describe("S3UploadConfig", () => {
1616

1717
test("non-json", () => {
1818
expect(() => new S3UploadConfig("?")).toThrowError(
19-
"Unexpected token ? in JSON at position 0",
19+
"Unexpected token '?', \"?\" is not valid JSON",
2020
);
2121
});
2222

0 commit comments

Comments
 (0)