forked from microsoft/vscode-java-dependency
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdependency.metadata.ts
More file actions
107 lines (101 loc) · 3.22 KB
/
dependency.metadata.ts
File metadata and controls
107 lines (101 loc) · 3.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
import { Upgrade } from "../constants";
import { UpgradeReason, type DependencyCheckMetadata } from "./type";
const LATEST_JAVA_LTS_VESRION = 21;
export const DEPENDENCY_JAVA_RUNTIME = {
"name": "Java Runtime",
"reason": UpgradeReason.JRE_TOO_OLD,
"supportedVersion": `>=${LATEST_JAVA_LTS_VESRION}`,
"suggestedVersion": {
"name": `Java ${LATEST_JAVA_LTS_VESRION}`,
"description": "latest LTS version",
},
} as const;
const DEPENDENCIES_TO_SCAN: DependencyCheckMetadata = {
"org.springframework.boot:*": {
"reason": UpgradeReason.END_OF_LIFE,
"name": "Spring Boot",
"supportedVersion": "2.7.x || >=3.2.x",
"eolDate": {
"4.0.x": "2027-12",
"3.5.x": "2032-06",
"3.4.x": "2026-12",
"3.3.x": "2026-06",
"3.2.x": "2025-12",
"3.1.x": "2025-06",
"3.0.x": "2024-12",
"2.7.x": "2029-06",
"2.6.x": "2024-02",
"2.5.x": "2023-08",
"2.4.x": "2023-02",
"2.3.x": "2022-08",
"2.2.x": "2022-01",
"2.1.x": "2021-01",
"2.0.x": "2020-06",
"1.5.x": "2020-11",
},
"suggestedVersion": {
"name": "3.5",
"description": "latest stable release",
},
},
"org.springframework:*": {
"reason": UpgradeReason.END_OF_LIFE,
"name": "Spring Framework",
"supportedVersion": "5.3.x || >=6.2.x",
"eolDate": {
"7.0.x": "2028-06",
"6.2.x": "2032-06",
"6.1.x": "2026-06",
"6.0.x": "2025-08",
"5.3.x": "2029-06",
"5.2.x": "2023-12",
"5.1.x": "2022-12",
"5.0.x": "2022-12",
"4.3.x": "2020-12",
},
"suggestedVersion": {
"name": "3.5",
"description": "latest stable release",
},
},
"org.springframework.security:*": {
"reason": UpgradeReason.END_OF_LIFE,
"name": "Spring Security",
"supportedVersion": "5.7.x || 5.8.x || >=6.2.x",
"eolDate": {
"7.0.x": "2027-12",
"6.5.x": "2032-06",
"6.4.x": "2026-12",
"6.3.x": "2026-06",
"6.2.x": "2025-12",
"6.1.x": "2025-06",
"6.0.x": "2024-12",
"5.8.x": "2029-06",
"5.7.x": "2029-06",
"5.6.x": "2024-02",
"5.5.x": "2023-08",
"5.4.x": "2023-02",
"5.3.x": "2022-08",
"5.2.x": "2022-01",
"5.1.x": "2021-01",
"5.0.x": "2020-06",
"4.2.x": "2020-11",
},
"suggestedVersion": {
"name": "3.5",
"description": "latest stable release",
},
},
"javax:*": {
"reason": UpgradeReason.DEPRECATED,
"name": "Java EE",
"suggestedVersion": {
"name": "Jakarta EE 10",
"description": "latest release with wide Java runtime version support",
},
},
[Upgrade.PACKAGE_ID_FOR_JAVA_RUNTIME]: DEPENDENCY_JAVA_RUNTIME,
};
export default DEPENDENCIES_TO_SCAN;