Skip to content

Commit 741cb92

Browse files
committed
prember fewer versions
1 parent 8f73979 commit 741cb92

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

prember-urls.js

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,25 +33,12 @@ module.exports = function () {
3333

3434
const uniqueProjectVersions = [...new Set(projectVersions)];
3535

36-
const oldVersions = [
37-
'1.12',
38-
'1.13',
39-
'2.17',
40-
'2.18',
41-
'3.4',
42-
'3.8',
43-
'3.12',
44-
'3.16',
45-
'3.20',
46-
'3.24',
47-
'3.27',
48-
'3.28',
49-
];
36+
const oldVersions = ['1.13', '2.18', '3.28', '4.4', '4.8', '4.12'];
5037

5138
uniqueProjectVersions.forEach((uniqVersion) => {
5239
if (
5340
!oldVersions.includes(uniqVersion) &&
54-
!semver.gte(`${uniqVersion}.0`, '4.0.0')
41+
!semver.gte(`${uniqVersion}.0`, '5.0.0')
5542
) {
5643
return;
5744
}

0 commit comments

Comments
 (0)