Commit a1d0aef
tools: update doctool dependencies, migrate to ESM
- Migrated to ESM because some dependencies now require it.
- Did not update `highlight.js` to v11 because it has many breaking
changes.
- Used non-deprecated `highlight.js` API.
Refs: highlightjs/highlight.js#2277
Fixes: #38938
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: #38966
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>1 parent 902bb85 commit a1d0aefCopy full SHA for a1d0aef
File tree
Expand file treeCollapse file tree
26 files changed
+658
-427
lines changedOpen diff view settings
Filter options
- doc/api
- test
- common
- doctool
- tools/doc
Expand file treeCollapse file tree
26 files changed
+658
-427
lines changedOpen diff view settings
Collapse file
+18-18Lines changed: 18 additions & 18 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
338 | 338 | |
339 | 339 | |
340 | 340 | |
341 | | - |
| 341 | + |
342 | 342 | |
343 | 343 | |
344 | 344 | |
| ||
589 | 589 | |
590 | 590 | |
591 | 591 | |
592 | | - |
| 592 | + |
593 | 593 | |
594 | 594 | |
595 | 595 | |
596 | 596 | |
597 | | - |
| 597 | + |
598 | 598 | |
599 | 599 | |
600 | 600 | |
| ||
736 | 736 | |
737 | 737 | |
738 | 738 | |
739 | | - |
| 739 | + |
740 | 740 | |
741 | 741 | |
742 | | - |
| 742 | + |
743 | 743 | |
744 | | - |
| 744 | + |
745 | 745 | |
746 | 746 | |
747 | 747 | |
748 | | - |
749 | | - |
| 748 | + |
| 749 | + |
750 | 750 | |
751 | | - |
752 | | - |
753 | | - |
| 751 | + |
| 752 | + |
| 753 | + |
754 | 754 | |
755 | 755 | |
756 | | - |
757 | | - |
758 | | - |
| 756 | + |
| 757 | + |
| 758 | + |
759 | 759 | |
760 | | - |
761 | | - |
| 760 | + |
| 761 | + |
762 | 762 | |
763 | 763 | |
764 | | - |
765 | | - |
| 764 | + |
| 765 | + |
766 | 766 | |
767 | 767 | |
768 | 768 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
|
Collapse file
+2Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
| 33 | + |
33 | 34 | |
34 | 35 | |
35 | 36 | |
| ||
75 | 76 | |
76 | 77 | |
77 | 78 | |
| 79 | + |
78 | 80 | |
79 | 81 | |
80 | 82 | |
|
Collapse file
test/doctool/test-apilinks.js test/doctool/test-apilinks.mjstest/doctool/test-apilinks.js renamed to test/doctool/test-apilinks.mjs
Copy file name to clipboardExpand all lines: test/doctool/test-apilinks.mjs+12-11Lines changed: 12 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
10 | | - |
11 | | - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
12 | 13 | |
13 | 14 | |
14 | 15 | |
|
Collapse file
test/doctool/test-doctool-html.js test/doctool/test-doctool-html.mjstest/doctool/test-doctool-html.js renamed to test/doctool/test-doctool-html.mjs
Copy file name to clipboardExpand all lines: test/doctool/test-doctool-html.mjs+8-16Lines changed: 8 additions & 16 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
| 4 | + |
| 5 | + |
| 6 | + |
10 | 7 | |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
| 8 | + |
| 9 | + |
17 | 10 | |
18 | | - |
19 | | - |
| 11 | + |
20 | 12 | |
21 | 13 | |
22 | 14 | |
|
Collapse file
test/doctool/test-doctool-json.js test/doctool/test-doctool-json.mjstest/doctool/test-doctool-json.js renamed to test/doctool/test-doctool-json.mjs
Copy file name to clipboardExpand all lines: test/doctool/test-doctool-json.mjs+7-15Lines changed: 7 additions & 15 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
| 4 | + |
| 5 | + |
| 6 | + |
10 | 7 | |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
| 8 | + |
16 | 9 | |
17 | | - |
18 | | - |
| 10 | + |
19 | 11 | |
20 | 12 | |
21 | 13 | |
|
Collapse file
test/doctool/test-doctool-versions.js test/doctool/test-doctool-versions.mjstest/doctool/test-doctool-versions.js renamed to test/doctool/test-doctool-versions.mjs
Copy file name to clipboardExpand all lines: test/doctool/test-doctool-versions.mjs+10-9Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
| 2 | + |
2 | 3 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
| 13 | + |
13 | 14 | |
14 | 15 | |
15 | 16 | |
|
Collapse file
…ol/test-local-md-file-reference-regex.js …l/test-local-md-file-reference-regex.mjstest/doctool/test-local-md-file-reference-regex.js renamed to test/doctool/test-local-md-file-reference-regex.mjs test/doctool/test-local-md-file-reference-regex.js renamed to test/doctool/test-local-md-file-reference-regex.mjs
Copy file name to clipboardExpand all lines: test/doctool/test-local-md-file-reference-regex.mjs+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
| 1 | + |
2 | 2 | |
3 | | - |
4 | | - |
| 3 | + |
5 | 4 | |
6 | | - |
| 5 | + |
7 | 6 | |
8 | 7 | |
9 | 8 | |
|
Collapse file
test/doctool/test-make-doc.js test/doctool/test-make-doc.mjstest/doctool/test-make-doc.js renamed to test/doctool/test-make-doc.mjs
Copy file name to clipboardExpand all lines: test/doctool/test-make-doc.mjs+14-13Lines changed: 14 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | | - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
3 | 7 | |
4 | 8 | |
5 | 9 | |
6 | 10 | |
7 | 11 | |
8 | 12 | |
9 | 13 | |
10 | | - |
11 | | - |
12 | | - |
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
| ||
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
| 36 | + |
37 | 37 | |
38 | 38 | |
39 | 39 | |
| ||
56 | 56 | |
57 | 57 | |
58 | 58 | |
59 | | - |
60 | | - |
| 59 | + |
| 60 | + |
| 61 | + |
61 | 62 | |
62 | 63 | |
63 | 64 | |
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
78 | 78 | |
79 | 79 | |
80 | 80 | |
81 | | - |
| 81 | + |
82 | 82 | |
83 | 83 | |
84 | 84 | |
|
0 commit comments