From 6c0329e43671c8c8cd7e2ae686efde52a8bd62f2 Mon Sep 17 00:00:00 2001 From: Chris Kalafarski Date: Sun, 1 Dec 2024 16:05:33 -0500 Subject: [PATCH] Bump Node.js from 20 to 22 --- .tool-versions | 2 +- package.json | 2 +- template.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.tool-versions b/.tool-versions index 2ebcb4a..a2e109f 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 20.9.0 # Should match the AWS Lambda runtime being used +nodejs 22.11.0 # Should match the AWS Lambda runtime being used diff --git a/package.json b/package.json index 55dbf3f..56a4e6b 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A collection of utilities that integrate with CloudFormation", "type": "module", "engines": { - "node": ">= 20.0.0" + "node": ">= 22.0.0" }, "repository": { "type": "git", diff --git a/template.yml b/template.yml index 4e4079a..f92e398 100644 --- a/template.yml +++ b/template.yml @@ -75,7 +75,7 @@ Resources: Effect: Allow Resource: !Sub arn:${AWS::Partition}:events:${AWS::Region}:${AWS::AccountId}:event-bus/default Version: "2012-10-17" - Runtime: nodejs20.x + Runtime: nodejs22.x Tags: prx:meta:tagging-version: "2021-04-07" prx:cloudformation:stack-name: !Ref AWS::StackName