Skip to content

Commit 6eba6d1

Browse files
author
Maledong
authored
feat: make previous versions of Nodejs pagable (#4061)
Since we've now got a large table with latest versions of Nodejs, we don't need previous links but table instead. What's more, in order to make people download the version quickly, the new feature is to offer you a quick but simple search for Nodejs's version, as well as npm version.
1 parent b264d6a commit 6eba6d1

16 files changed

Lines changed: 43 additions & 196 deletions

File tree

layouts/download-releases.hbs

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
{{{ contents }}}
1515
</section>
1616

17-
<br>
18-
1917
<section>
20-
<table class="download-table full-width">
18+
<table id="tbVersions" class="download-table full-width">
2119
<thead>
2220
<tr>
2321
<td>Version</td>
@@ -61,5 +59,11 @@
6159
</main>
6260

6361
{{> footer }}
62+
63+
<script src="/static/js/jquery.min.js"></script>
64+
<script src="/static/js/fancyTable.min.js"></script>
65+
<script src="/static/js/previousVersion.js"></script>
66+
6467
</body>
68+
6569
</html>

locale/ar/download/releases.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,4 @@ modules: "يشير <code>NODE_MODULE_VERSION</code> إلى رقم نسخة Node.
77
### io.js و Node.js
88
لقد كانت الاصدارات من <span dir="ltr">1.x</span> إلى <span dir="ltr">3.x</span> تسمى "io.js" و كانت جزء من فرع io.js، اما بالنسبة للنود جي اس 4.0.0، فإن اسطر النسخ السابقة من io.js تلاقت مع Node.js <span dir="ltr">0.12.x</span> في نسخ موحدة
99

10-
<div class="highlight-box">
11-
12-
#### هل تبحث عن آخر اصدار من فرع محدد؟
13-
14-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
15-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
16-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
17-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
18-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
19-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
20-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
21-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
22-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
23-
* [جميع الاصدارات](https://nodejs.org/dist/)
24-
25-
</div>
10+
### هل تبحث عن آخر اصدار من فرع محدد؟

locale/en/download/releases.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,4 @@ modules: "<code>NODE_MODULE_VERSION</code> refers to the ABI (application binary
77
### io.js & Node.js
88
Releases 1.x through 3.x were called "io.js" as they were part of the io.js fork. As of Node.js 4.0.0 the former release lines of io.js converged with Node.js 0.12.x into unified Node.js releases.
99

10-
<div class="highlight-box">
11-
12-
#### Looking for latest release of a version branch?
13-
14-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
15-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
16-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
17-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
18-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
19-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
20-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
21-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
22-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
23-
* [All versions](https://nodejs.org/dist/)
24-
25-
</div>
10+
### Looking for latest release of a version branch?

locale/es/download/releases.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,4 @@ modules: "<code>NODE_MODULE_VERSION</code> se refiere al número de versión ABI
77
### io.js & Node.js
88
Las versiones de la 1.x a 3.x se llamaron "io.js", ya que formaban parte del fork io.js. A partir de Node.js 4.0.0, las versiones de lanzamiento anteriores de io.js se convergieron con Node.js 0.12.x con lanzamientos unificados de Node.js.
99

10-
<div class="highlight-box">
11-
12-
#### ¿Buscando las últimas versiones de una rama específica?
13-
14-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
15-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
16-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
17-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
18-
* [Node.js 9.x](https://nodejs.org/dist/latest-v9.x/)
19-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
20-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
21-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
22-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
23-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
24-
* [Todas las versiones](https://nodejs.org/dist/)
25-
26-
</div>
10+
### ¿Buscando las últimas versiones de una rama específica?

locale/fr/download/releases.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,4 @@ modules: "<code>NODE_MODULE_VERSION</code> refers to the ABI (application binary
77
### io.js & Node.js
88
Releases 1.x through 3.x were called "io.js" as they were part of the io.js fork. As of Node.js 4.0.0 the former release lines of io.js converged with Node.js 0.12.x into unified Node.js releases.
99

10-
<div class="highlight-box">
11-
12-
#### Looking for latest release of a version branch?
13-
14-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
15-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
16-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
17-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
18-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
19-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
20-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
21-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
22-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
23-
* [All versions](https://nodejs.org/dist/)
24-
25-
</div>
10+
### Looking for latest release of a version branch?

locale/ja/download/releases.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,4 @@ modules: "<code>NODE_MODULE_VERSION</code>は、Node.jsのABI(アプリケー
99
1.x から 3.x は、io.js のフォークにより、「io.js」と呼ばれていました。
1010
Node.js 0.12.x と iojsの旧リリースラインは、Node.js 4.0.0 からリリースが統一されました。
1111

12-
<div class="highlight-box">
13-
14-
#### 最新のリリースバージョン用ブランチをお探しですか?
15-
16-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
17-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
18-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
19-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
20-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
21-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
22-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
23-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
24-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
25-
* [全てのバージョン](https://nodejs.org/dist/)
26-
27-
</div>
12+
### 最新のリリースバージョン用ブランチをお探しですか?

locale/ko/download/releases.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,4 @@ Releases 1.x through 3.x were called "io.js" as they were part of the io.js fork
1313
Node.js 4.0.0에서 io.js의 이전 릴리스 라인과 Node.js 0.12.x가 합쳐져서
1414
하나의 Node.js 릴리스가 되었습니다.
1515

16-
<div class="highlight-box">
17-
18-
#### 버전별 최신 릴리스를 찾고 있나요?
19-
20-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
21-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
22-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
23-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
24-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
25-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
26-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
27-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
28-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
29-
* [모든 버전](https://nodejs.org/dist/)
30-
31-
</div>
16+
### 버전별 최신 릴리스를 찾고 있나요?

locale/pt-br/download/releases.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,4 @@ modules: "<code>NODE_MODULE_VERSION</code> Se refere ao número de versão de AB
77
### io.js & Node.js
88
As versões 1.x até 3.x foram chamadas de "io.js", pois faziam parte do fork do io.js. A partir do Node.js 4.0.0 as antigas linhas de lançamento do io.js convergiram com o Node.js 0.12.x para as versões unificadas do Node.js.
99

10-
<div class="highlight-box">
11-
12-
#### Procurando pelo último lançamento de uma versão?
13-
14-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
15-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
16-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
17-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
18-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
19-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
20-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
21-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
22-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
23-
* [Todas versões](https://nodejs.org/dist/)
24-
25-
</div>
10+
### Procurando pelo último lançamento de uma versão?

locale/ro/download/releases.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,4 @@ modules: "<code>NODE_MODULE_VERSION</code> refers to the ABI (application binary
77
### io.js & Node.js
88
Releases 1.x through 3.x were called "io.js" as they were part of the io.js fork. As of Node.js 4.0.0 the former release lines of io.js converged with Node.js 0.12.x into unified Node.js releases.
99

10-
<div class="highlight-box">
11-
12-
#### Looking for latest release of a version branch?
13-
14-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
15-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
16-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
17-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
18-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
19-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
20-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
21-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
22-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
23-
* [All versions](https://nodejs.org/dist/)
24-
25-
</div>
10+
### Looking for latest release of a version branch?

locale/ru/download/releases.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,4 @@ modules: "<code>NODE_MODULE_VERSION</code> относится к номеру в
77
### io.js & Node.js
88
Релизы от 1.x до 3.x выходили под именем "io.js", так как они были частью форка io.js. Начиная с Node.js 4.0.0, предыдущие версии io.js перешли с Node.js 0.12.x в унифицированные версии Node.js.
99

10-
<div class="highlight-box">
11-
12-
#### Ищете последнюю версию ветки версии?
13-
14-
* [Node.js 13.x](https://nodejs.org/dist/latest-v13.x/)
15-
* [Node.js 12.x](https://nodejs.org/dist/latest-v12.x/)
16-
* [Node.js 11.x](https://nodejs.org/dist/latest-v11.x/)
17-
* [Node.js 10.x](https://nodejs.org/dist/latest-v10.x/)
18-
* [Node.js 8.x](https://nodejs.org/dist/latest-v8.x/)
19-
* [Node.js 6.x](https://nodejs.org/dist/latest-v6.x/)
20-
* [Node.js 4.x](https://nodejs.org/dist/latest-v4.x/)
21-
* [Node.js 0.12.x](https://nodejs.org/dist/latest-v0.12.x/)
22-
* [Node.js 0.10.x](https://nodejs.org/dist/latest-v0.10.x/)
23-
* [все версии](https://nodejs.org/dist/)
24-
25-
</div>
10+
### Ищете последнюю версию ветки версии?

0 commit comments

Comments
 (0)