Commit 480088d
committed
fix: upgrade Docusaurus from 2.0.0-beta to 3.9.2 to resolve all security vulnerabilities
Upgrade all three workspaces (website, doc, blog) from Docusaurus
2.0.0-beta.6/beta.8 to 3.9.2. This resolves all 1,605 npm audit
vulnerabilities (now 0).
Major changes:
- Migrate all docusaurus.config.js files to v3 format
- Fix 17 blog posts (en + zh) with MDX v3 incompatible syntax
- Delete obsolete v2 swizzled components (DocPage, DocSidebar,
SearchBar, CodeBlock) and replace with v3 equivalents
- Migrate all v2-only theme APIs to v3 counterparts
- Update CI workflows from Node 12/16 to Node 18
- Remove unused dependencies (patch-package, swiper)
- Add serialize-javascript resolution to fix transitive vulnerability
- Delete all patch-package patches (no longer needed with v3)
- Update tsconfig.json files for Docusaurus 3 compatibility1 parent a5c1b16 commit 480088d
File tree
78 files changed
+7858
-17347
lines changed- .github/workflows
- blog
- en
- blog
- 2021
- 07/14
- 08
- 10
- 16
- 12
- 08
- 22
- 2022/07/06
- 2023
- 01/02
- 03
- 09
- 23
- 07/27
- 2024
- 02/13
- 06/13
- patches
- src/theme
- BlogLayout
- BlogListPage
- BlogPostItem
- BlogPostPage
- BlogPosts
- BlogTagsPostsPage
- CodeBlock
- SearchBar
- zh
- blog
- 2021
- 07/14
- 08/10
- 11/30
- 12
- 08
- 22
- 2022
- 02/10
- 07/06
- 09/20
- doc
- patches
- src/theme
- CodeBlock
- DocPage
- DocSidebar
- Desktop
- SearchBar
- patches
- website
- docs/general
- src
- components/sections
- pages
- theme
- DocPage
- DocSidebar
- SearchBar
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
78 files changed
+7858
-17347
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | | - | |
| 113 | + | |
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
276 | | - | |
| 276 | + | |
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| |||
blog/en/blog/2023/01/02/accessing_apisix-dashboard_from_everywhere_with_keycloak_authentication.md
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
644 | 644 | | |
645 | 645 | | |
646 | 646 | | |
647 | | - | |
| 647 | + | |
648 | 648 | | |
649 | 649 | | |
650 | 650 | | |
| |||
889 | 889 | | |
890 | 890 | | |
891 | 891 | | |
892 | | - | |
| 892 | + | |
893 | 893 | | |
894 | 894 | | |
895 | 895 | | |
| |||
960 | 960 | | |
961 | 961 | | |
962 | 962 | | |
963 | | - | |
| 963 | + | |
964 | 964 | | |
965 | 965 | | |
966 | 966 | | |
| |||
0 commit comments