@docusaurus/core 4.0.0-canary-6859 → 4.0.0-canary-6862

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.Provider value={brokenLinks}>{children}</Context.Provider>;
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.Provider value={contextValue}>{children}</Context.Provider>;
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.Provider value={mergedValue}>{children}</Context.Provider>;
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-6859",
4
+ "version": "4.0.0-canary-6862",
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-6859",
37
- "@docusaurus/bundler": "4.0.0-canary-6859",
38
- "@docusaurus/glob": "4.0.0-canary-6859",
39
- "@docusaurus/logger": "4.0.0-canary-6859",
40
- "@docusaurus/mdx-loader": "4.0.0-canary-6859",
41
- "@docusaurus/utils": "4.0.0-canary-6859",
42
- "@docusaurus/utils-common": "4.0.0-canary-6859",
43
- "@docusaurus/utils-validation": "4.0.0-canary-6859",
36
+ "@docusaurus/babel": "4.0.0-canary-6862",
37
+ "@docusaurus/bundler": "4.0.0-canary-6862",
38
+ "@docusaurus/glob": "4.0.0-canary-6862",
39
+ "@docusaurus/logger": "4.0.0-canary-6862",
40
+ "@docusaurus/mdx-loader": "4.0.0-canary-6862",
41
+ "@docusaurus/utils": "4.0.0-canary-6862",
42
+ "@docusaurus/utils-common": "4.0.0-canary-6862",
43
+ "@docusaurus/utils-validation": "4.0.0-canary-6862",
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-6859",
78
- "@docusaurus/types": "4.0.0-canary-6859",
77
+ "@docusaurus/module-type-aliases": "4.0.0-canary-6862",
78
+ "@docusaurus/types": "4.0.0-canary-6862",
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-6859",
93
+ "@docusaurus/faster": "4.0.0-canary-6862",
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": "e3da0b4153190a1001ad0c242a684a3201aff6d1"
106
+ "gitHead": "b21cd576b7f75d57b62d6c4441d7c0ac29fe1437"
107
107
  }