We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a8bdf commit b244bd0Copy full SHA for b244bd0
prember-urls.js
@@ -23,7 +23,29 @@ module.exports = function () {
23
24
const uniqueProjectVersions = [...new Set(projectVersions)];
25
26
+ const oldVersions = [
27
+ '1.12',
28
+ '1.13',
29
+ '2.17',
30
+ '2.18',
31
+ '3.4',
32
+ '3.8',
33
+ '3.12',
34
+ '3.16',
35
+ '3.20',
36
+ '3.24',
37
+ '3.27',
38
+ '3.28',
39
+ ];
40
+
41
uniqueProjectVersions.forEach((uniqVersion) => {
42
+ if (
43
+ !oldVersions.includes(uniqVersion) &&
44
+ !semver.gte(`${uniqVersion}.0`, '4.0.0')
45
+ ) {
46
+ return;
47
+ }
48
49
urls.push(`/${p}/${uniqVersion}`);
50
51
const sortedPatchVersions = fullProjectVersions
0 commit comments