File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,17 +32,30 @@ function node_version_suffix(?string $nodeVersion): string {
3232$ disallowedVersions = ['8.2.20 ' , '8.3.8 ' ];
3333$ rcVersions = [];
3434
35- $ supportedNodeVersions = [null , '22 ' , '24 ' ];
35+ $ supportedNodeVersions = [
36+ '8.1 ' => [
37+ null ,
38+ ],
39+ '8.2 ' => [
40+ null ,
41+ ],
42+ '8.3 ' => [
43+ null ,
44+ '22 ' ,
45+ ],
46+ '8.4 ' => [
47+ null ,
48+ '22 ' ,
49+ '24 ' ,
50+ ],
51+ ];
3652
3753$ data = [];
3854
3955$ versionRegex ='/^(?<version>\d\.\d\.\d{1,}(RC\d)?)/m ' ;
4056
41-
42- foreach ($ supportedNodeVersions as $ supportedNodeVersion ) {
43- foreach ($ supportedVersions as $ supportedVersion )
44- {
45-
57+ foreach ($ supportedVersions as $ supportedVersion ) {
58+ foreach ($ supportedNodeVersions [$ supportedVersion ] as $ supportedNodeVersion ) {
4659 $ curVersion = null ;
4760 $ patchVersion = null ;
4861 $ rcVersion = null ;
You can’t perform that action at this time.
0 commit comments