@docusaurus/plugin-content-docs 3.10.1-canary-6615 → 3.10.1-canary-6618
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/sidebars/index.js +1 -1
- package/package.json +11 -11
- package/src/sidebars/index.ts +1 -1
package/lib/sidebars/index.js
CHANGED
|
@@ -73,7 +73,7 @@ async function loadSidebarsFileUnsafe(sidebarFilePath) {
|
|
|
73
73
|
return exports.DisabledSidebars;
|
|
74
74
|
}
|
|
75
75
|
// We don't want sidebars to be cached because of hot reloading.
|
|
76
|
-
const module = await (0, utils_1.loadFreshModule)(sidebarFilePath);
|
|
76
|
+
const module = await (0, utils_1.loadFreshModule)(sidebarFilePath, { default: true });
|
|
77
77
|
// TODO unsafe, need to refactor and improve validation
|
|
78
78
|
return module;
|
|
79
79
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-content-docs",
|
|
3
|
-
"version": "3.10.1-canary-
|
|
3
|
+
"version": "3.10.1-canary-6618",
|
|
4
4
|
"description": "Docs plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
},
|
|
36
36
|
"license": "MIT",
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@docusaurus/core": "3.10.1-canary-
|
|
39
|
-
"@docusaurus/logger": "3.10.1-canary-
|
|
40
|
-
"@docusaurus/mdx-loader": "3.10.1-canary-
|
|
41
|
-
"@docusaurus/module-type-aliases": "3.10.1-canary-
|
|
42
|
-
"@docusaurus/theme-common": "3.10.1-canary-
|
|
43
|
-
"@docusaurus/types": "3.10.1-canary-
|
|
44
|
-
"@docusaurus/utils": "3.10.1-canary-
|
|
45
|
-
"@docusaurus/utils-common": "3.10.1-canary-
|
|
46
|
-
"@docusaurus/utils-validation": "3.10.1-canary-
|
|
38
|
+
"@docusaurus/core": "3.10.1-canary-6618",
|
|
39
|
+
"@docusaurus/logger": "3.10.1-canary-6618",
|
|
40
|
+
"@docusaurus/mdx-loader": "3.10.1-canary-6618",
|
|
41
|
+
"@docusaurus/module-type-aliases": "3.10.1-canary-6618",
|
|
42
|
+
"@docusaurus/theme-common": "3.10.1-canary-6618",
|
|
43
|
+
"@docusaurus/types": "3.10.1-canary-6618",
|
|
44
|
+
"@docusaurus/utils": "3.10.1-canary-6618",
|
|
45
|
+
"@docusaurus/utils-common": "3.10.1-canary-6618",
|
|
46
|
+
"@docusaurus/utils-validation": "3.10.1-canary-6618",
|
|
47
47
|
"@types/react-router-config": "^5.0.7",
|
|
48
48
|
"combine-promises": "^1.1.0",
|
|
49
49
|
"fs-extra": "^11.2.0",
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=24.14"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "c36baefea652085c69acd0e008314f4541a174e1"
|
|
71
71
|
}
|
package/src/sidebars/index.ts
CHANGED
|
@@ -88,7 +88,7 @@ async function loadSidebarsFileUnsafe(
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
// We don't want sidebars to be cached because of hot reloading.
|
|
91
|
-
const module = await loadFreshModule(sidebarFilePath);
|
|
91
|
+
const module = await loadFreshModule(sidebarFilePath, {default: true});
|
|
92
92
|
|
|
93
93
|
// TODO unsafe, need to refactor and improve validation
|
|
94
94
|
return module as SidebarsConfig;
|