@docusaurus/core 3.8.1-canary-6389 → 3.8.1-canary-6392
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/server/i18n.js +1 -0
- package/package.json +12 -12
package/lib/server/i18n.js
CHANGED
|
@@ -66,6 +66,7 @@ function getDefaultDirection(localeStr) {
|
|
|
66
66
|
// see https://github.com/tc39/proposal-intl-locale-info
|
|
67
67
|
// see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getTextInfo
|
|
68
68
|
// Node 18.0 implements a former version of the getTextInfo() proposal
|
|
69
|
+
// TODO Docusaurus v4: remove the fallback to locale.textInfo
|
|
69
70
|
// @ts-expect-error: The TC39 proposal was updated
|
|
70
71
|
const textInto = locale.getTextInfo?.() ?? locale.textInfo;
|
|
71
72
|
return textInto.direction;
|
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": "3.8.1-canary-
|
|
4
|
+
"version": "3.8.1-canary-6392",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
"url": "https://github.com/facebook/docusaurus/issues"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@docusaurus/babel": "3.8.1-canary-
|
|
37
|
-
"@docusaurus/bundler": "3.8.1-canary-
|
|
38
|
-
"@docusaurus/logger": "3.8.1-canary-
|
|
39
|
-
"@docusaurus/mdx-loader": "3.8.1-canary-
|
|
40
|
-
"@docusaurus/utils": "3.8.1-canary-
|
|
41
|
-
"@docusaurus/utils-common": "3.8.1-canary-
|
|
42
|
-
"@docusaurus/utils-validation": "3.8.1-canary-
|
|
36
|
+
"@docusaurus/babel": "3.8.1-canary-6392",
|
|
37
|
+
"@docusaurus/bundler": "3.8.1-canary-6392",
|
|
38
|
+
"@docusaurus/logger": "3.8.1-canary-6392",
|
|
39
|
+
"@docusaurus/mdx-loader": "3.8.1-canary-6392",
|
|
40
|
+
"@docusaurus/utils": "3.8.1-canary-6392",
|
|
41
|
+
"@docusaurus/utils-common": "3.8.1-canary-6392",
|
|
42
|
+
"@docusaurus/utils-validation": "3.8.1-canary-6392",
|
|
43
43
|
"boxen": "^6.2.1",
|
|
44
44
|
"chalk": "^4.1.2",
|
|
45
45
|
"chokidar": "^3.5.3",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"webpack-merge": "^6.0.1"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
|
-
"@docusaurus/module-type-aliases": "3.8.1-canary-
|
|
81
|
-
"@docusaurus/types": "3.8.1-canary-
|
|
80
|
+
"@docusaurus/module-type-aliases": "3.8.1-canary-6392",
|
|
81
|
+
"@docusaurus/types": "3.8.1-canary-6392",
|
|
82
82
|
"@total-typescript/shoehorn": "^0.1.2",
|
|
83
83
|
"@types/detect-port": "^1.3.3",
|
|
84
84
|
"@types/react-dom": "^18.2.7",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"react-dom": "^18.0.0 || ^19.0.0"
|
|
97
97
|
},
|
|
98
98
|
"engines": {
|
|
99
|
-
"node": ">=
|
|
99
|
+
"node": ">=20.0"
|
|
100
100
|
},
|
|
101
|
-
"gitHead": "
|
|
101
|
+
"gitHead": "96837417fed22beeb181b478458eedf4a260fda2"
|
|
102
102
|
}
|