@docusaurus/core 4.0.0-canary-6859 → 4.0.0-canary-6861
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.
|
@@ -30,5 +30,5 @@ const Context = React.createContext({
|
|
|
30
30
|
});
|
|
31
31
|
export const useBrokenLinksContext = () => useContext(Context);
|
|
32
32
|
export function BrokenLinksProvider({ children, brokenLinks, }) {
|
|
33
|
-
return <Context
|
|
33
|
+
return <Context value={brokenLinks}>{children}</Context>;
|
|
34
34
|
}
|
|
@@ -21,5 +21,5 @@ const contextValue = {
|
|
|
21
21
|
};
|
|
22
22
|
export const Context = React.createContext(contextValue);
|
|
23
23
|
export function DocusaurusContextProvider({ children, }) {
|
|
24
|
-
return <Context
|
|
24
|
+
return <Context value={contextValue}>{children}</Context>;
|
|
25
25
|
}
|
|
@@ -27,5 +27,5 @@ function mergeContexts({ parent, value, }) {
|
|
|
27
27
|
export function RouteContextProvider({ children, value, }) {
|
|
28
28
|
const parent = React.useContext(Context);
|
|
29
29
|
const mergedValue = useMemo(() => mergeContexts({ parent, value }), [parent, value]);
|
|
30
|
-
return <Context
|
|
30
|
+
return <Context value={mergedValue}>{children}</Context>;
|
|
31
31
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/core",
|
|
3
3
|
"description": "Easy to Maintain Open Source Documentation Websites",
|
|
4
|
-
"version": "4.0.0-canary-
|
|
4
|
+
"version": "4.0.0-canary-6861",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -33,14 +33,14 @@
|
|
|
33
33
|
"url": "https://github.com/facebook/docusaurus/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@docusaurus/babel": "4.0.0-canary-
|
|
37
|
-
"@docusaurus/bundler": "4.0.0-canary-
|
|
38
|
-
"@docusaurus/glob": "4.0.0-canary-
|
|
39
|
-
"@docusaurus/logger": "4.0.0-canary-
|
|
40
|
-
"@docusaurus/mdx-loader": "4.0.0-canary-
|
|
41
|
-
"@docusaurus/utils": "4.0.0-canary-
|
|
42
|
-
"@docusaurus/utils-common": "4.0.0-canary-
|
|
43
|
-
"@docusaurus/utils-validation": "4.0.0-canary-
|
|
36
|
+
"@docusaurus/babel": "4.0.0-canary-6861",
|
|
37
|
+
"@docusaurus/bundler": "4.0.0-canary-6861",
|
|
38
|
+
"@docusaurus/glob": "4.0.0-canary-6861",
|
|
39
|
+
"@docusaurus/logger": "4.0.0-canary-6861",
|
|
40
|
+
"@docusaurus/mdx-loader": "4.0.0-canary-6861",
|
|
41
|
+
"@docusaurus/utils": "4.0.0-canary-6861",
|
|
42
|
+
"@docusaurus/utils-common": "4.0.0-canary-6861",
|
|
43
|
+
"@docusaurus/utils-validation": "4.0.0-canary-6861",
|
|
44
44
|
"boxen": "^8.0.1",
|
|
45
45
|
"cli-table3": "^0.6.5",
|
|
46
46
|
"combine-promises": "^1.2.0",
|
|
@@ -74,8 +74,8 @@
|
|
|
74
74
|
"webpack-merge": "^6.0.1"
|
|
75
75
|
},
|
|
76
76
|
"devDependencies": {
|
|
77
|
-
"@docusaurus/module-type-aliases": "4.0.0-canary-
|
|
78
|
-
"@docusaurus/types": "4.0.0-canary-
|
|
77
|
+
"@docusaurus/module-type-aliases": "4.0.0-canary-6861",
|
|
78
|
+
"@docusaurus/types": "4.0.0-canary-6861",
|
|
79
79
|
"@total-typescript/shoehorn": "^0.1.2",
|
|
80
80
|
"@types/escape-html": "^1.0.4",
|
|
81
81
|
"@types/history": "^4.7.11",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"utility-types": "^3.11.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
|
-
"@docusaurus/faster": "4.0.0-canary-
|
|
93
|
+
"@docusaurus/faster": "4.0.0-canary-6861",
|
|
94
94
|
"@mdx-js/react": "^3.1.1",
|
|
95
95
|
"react": "^19.3.0",
|
|
96
96
|
"react-dom": "^19.3.0"
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"engines": {
|
|
104
104
|
"node": ">=24.21"
|
|
105
105
|
},
|
|
106
|
-
"gitHead": "
|
|
106
|
+
"gitHead": "71ca412c14849c2ff468129c3d203bc7488d51c9"
|
|
107
107
|
}
|