Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

Commit 9b4a08c

Browse files
authored
Adding EOL dates for NODE 18/20/22
1 parent e39ecc3 commit 9b4a08c

File tree

1 file changed

+8
-1
lines changed
  • server/src/stacks/2020-10-01/stacks/web-app-stacks

1 file changed

+8
-1
lines changed

server/src/stacks/2020-10-01/stacks/web-app-stacks/Node.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ import { WebAppStack } from '../../models/WebAppStackModel';
22
import { getDateString } from '../date-utilities';
33

44
const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateFormat: boolean) => {
5+
const node22EOL = getDateString(new Date('2027/04/30'), useIsoDateFormat);
6+
const node20EOL = getDateString(new Date('2026/04/30'), useIsoDateFormat);
7+
const node18EOL = getDateString(new Date('2025/03/30'), useIsoDateFormat);
58
const node16EOL = getDateString(new Date('2023/09/11'), useIsoDateFormat);
69
const node14EOL = getDateString(new Date('2023/04/30'), useIsoDateFormat);
710
const node12EOL = getDateString(new Date('2022/04/01'), useIsoDateFormat);
@@ -63,6 +66,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
6366
supportedFeatures: {
6467
disableSsh: true,
6568
},
69+
endOfLifeDate: node20EOL,
6670
},
6771
windowsRuntimeSettings: {
6872
runtimeVersion: '~20',
@@ -74,7 +78,8 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
7478
gitHubActionSettings: {
7579
isSupported: true,
7680
supportedVersion: '20.x',
77-
}
81+
},
82+
endOfLifeDate: node20EOL,
7883
},
7984
},
8085
},
@@ -102,6 +107,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
102107
supportedFeatures: {
103108
disableSsh: true,
104109
},
110+
endOfLifeDate: node18EOL,
105111
},
106112
windowsRuntimeSettings: {
107113
runtimeVersion: '~18',
@@ -114,6 +120,7 @@ const getNodeStack: (useIsoDateFormat: boolean) => WebAppStack = (useIsoDateForm
114120
isSupported: true,
115121
supportedVersion: '18.x',
116122
},
123+
endOfLifeDate: node18EOL,
117124
},
118125
},
119126
},

0 commit comments

Comments
 (0)