@docusaurus/core 3.10.1 → 4.0.0-canary-6808

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.
Files changed (46) hide show
  1. package/bin/beforeCli.mjs +9 -11
  2. package/lib/client/BaseUrlIssueBanner/index.js +1 -1
  3. package/lib/client/exports/ComponentCreator.js +0 -2
  4. package/lib/client/exports/Link.d.ts +3 -3
  5. package/lib/client/exports/Link.js +17 -17
  6. package/lib/client/exports/isInternalUrl.js +1 -1
  7. package/lib/client/preload.js +1 -3
  8. package/lib/client/serverEntry.js +1 -6
  9. package/lib/client/serverHelmetUtils.js +0 -1
  10. package/lib/commands/build/buildLocale.d.ts +1 -1
  11. package/lib/commands/build/buildLocale.js +0 -4
  12. package/lib/commands/build/buildUtils.d.ts +1 -1
  13. package/lib/commands/cli.js +3 -0
  14. package/lib/commands/deploy.js +39 -56
  15. package/lib/commands/serve.js +3 -2
  16. package/lib/commands/start/start.d.ts +3 -0
  17. package/lib/commands/start/webpack.js +20 -2
  18. package/lib/commands/swizzle/actions.js +5 -0
  19. package/lib/commands/utils/listenToServer.d.ts +5 -0
  20. package/lib/commands/utils/listenToServer.js +24 -0
  21. package/lib/commands/utils/openBrowser/openBrowser.js +3 -3
  22. package/lib/commands/writeHeadingIds.js +3 -3
  23. package/lib/server/codegen/codegenRoutes.js +0 -1
  24. package/lib/server/config.js +1 -1
  25. package/lib/server/configValidation.js +11 -17
  26. package/lib/server/getHostPort.js +1 -2
  27. package/lib/server/htmlTags.js +2 -3
  28. package/lib/server/i18n.js +2 -6
  29. package/lib/server/plugins/plugins.js +1 -9
  30. package/lib/server/site.js +2 -1
  31. package/lib/server/siteMetadata.d.ts +6 -1
  32. package/lib/server/siteMetadata.js +15 -12
  33. package/lib/server/translations/translations.js +1 -1
  34. package/lib/ssg/ssgEnv.js +2 -3
  35. package/lib/ssg/ssgExecutor.js +22 -5
  36. package/lib/ssg/ssgGlobalResult.js +1 -10
  37. package/lib/ssg/ssgParams.d.ts +0 -1
  38. package/lib/ssg/ssgParams.js +0 -1
  39. package/lib/ssg/ssgRenderer.js +1 -5
  40. package/lib/ssg/ssgTemplate.js +4 -6
  41. package/lib/ssg/ssgWorkerThread.js +0 -1
  42. package/lib/webpack/base.js +12 -22
  43. package/lib/webpack/server.js +1 -1
  44. package/lib/webpack/utils/getHttpsConfig.d.ts +7 -1
  45. package/lib/webpack/utils/getHttpsConfig.js +93 -32
  46. package/package.json +41 -41
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.10.1",
4
+ "version": "4.0.0-canary-6808",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -33,31 +33,30 @@
33
33
  "url": "https://github.com/facebook/docusaurus/issues"
34
34
  },
35
35
  "dependencies": {
36
- "@docusaurus/babel": "3.10.1",
37
- "@docusaurus/bundler": "3.10.1",
38
- "@docusaurus/logger": "3.10.1",
39
- "@docusaurus/mdx-loader": "3.10.1",
40
- "@docusaurus/utils": "3.10.1",
41
- "@docusaurus/utils-common": "3.10.1",
42
- "@docusaurus/utils-validation": "3.10.1",
36
+ "@docusaurus/babel": "4.0.0-canary-6808",
37
+ "@docusaurus/bundler": "4.0.0-canary-6808",
38
+ "@docusaurus/logger": "4.0.0-canary-6808",
39
+ "@docusaurus/mdx-loader": "4.0.0-canary-6808",
40
+ "@docusaurus/utils": "4.0.0-canary-6808",
41
+ "@docusaurus/utils-common": "4.0.0-canary-6808",
42
+ "@docusaurus/utils-validation": "4.0.0-canary-6808",
43
43
  "boxen": "^6.2.1",
44
- "chalk": "^4.1.2",
45
- "chokidar": "^3.5.3",
46
- "cli-table3": "^0.6.3",
47
- "combine-promises": "^1.1.0",
44
+ "chokidar": "^3.6.0",
45
+ "cli-table3": "^0.6.5",
46
+ "combine-promises": "^1.2.0",
48
47
  "commander": "^5.1.0",
49
- "core-js": "^3.31.1",
50
- "detect-port": "^1.5.1",
48
+ "core-js": "^3.50.0",
49
+ "detect-port": "^2.1.0",
51
50
  "escape-html": "^1.0.3",
52
- "eta": "^2.2.0",
51
+ "eta": "^4.6.0",
53
52
  "eval": "^0.1.8",
54
- "execa": "^5.1.1",
55
- "fs-extra": "^11.1.1",
56
- "html-tags": "^3.3.1",
57
- "html-webpack-plugin": "^5.6.0",
53
+ "execa": "^10.0.1",
54
+ "fs-extra": "^11.4.0",
55
+ "html-tags": "^5.1.0",
56
+ "html-webpack-plugin": "^5.6.8",
58
57
  "leven": "^3.1.0",
59
- "lodash": "^4.17.21",
60
- "open": "^8.4.0",
58
+ "lodash": "^4.18.1",
59
+ "open": "^11.0.2",
61
60
  "p-map": "^4.0.0",
62
61
  "prompts": "^2.4.2",
63
62
  "react-helmet-async": "npm:@slorber/react-helmet-async@1.3.0",
@@ -66,35 +65,36 @@
66
65
  "react-router": "^5.3.4",
67
66
  "react-router-config": "^5.1.1",
68
67
  "react-router-dom": "^5.3.4",
69
- "semver": "^7.5.4",
68
+ "semver": "^7.8.5",
70
69
  "serve-handler": "^6.1.7",
71
- "tinypool": "^1.0.2",
72
- "tslib": "^2.6.0",
70
+ "tinypool": "^2.1.2",
71
+ "tslib": "^2.8.1",
73
72
  "update-notifier": "^6.0.2",
74
- "webpack": "^5.95.0",
75
- "webpack-bundle-analyzer": "^4.10.2",
76
- "webpack-dev-server": "^5.2.2",
73
+ "webpack": "^5.110.3",
74
+ "webpack-bundle-analyzer": "^5.3.2",
75
+ "webpack-dev-server": "^6.0.0",
77
76
  "webpack-merge": "^6.0.1"
78
77
  },
79
78
  "devDependencies": {
80
- "@docusaurus/module-type-aliases": "3.10.1",
81
- "@docusaurus/types": "3.10.1",
79
+ "@docusaurus/module-type-aliases": "4.0.0-canary-6808",
80
+ "@docusaurus/types": "4.0.0-canary-6808",
82
81
  "@total-typescript/shoehorn": "^0.1.2",
83
- "@types/detect-port": "^1.3.3",
84
- "@types/react-dom": "^19.2.3",
85
- "@types/react-router-config": "^5.0.7",
82
+ "@types/escape-html": "^1.0.4",
83
+ "@types/history": "^4.7.11",
84
+ "@types/react-dom": "^19.3.0",
85
+ "@types/react-router-config": "^5.0.11",
86
+ "@types/react-router-dom": "^5.3.3",
86
87
  "@types/serve-handler": "^6.1.4",
87
- "@types/update-notifier": "^6.0.4",
88
+ "@types/update-notifier": "^6.0.8",
88
89
  "@types/webpack-bundle-analyzer": "^4.7.0",
89
90
  "@types/webpack-env": "^1.18.8",
90
- "tmp-promise": "^3.0.3",
91
- "tree-node-cli": "^1.6.0"
91
+ "tree-node-cli": "^3.0.0"
92
92
  },
93
93
  "peerDependencies": {
94
- "@docusaurus/faster": "*",
95
- "@mdx-js/react": "^3.0.0",
96
- "react": "^18.0.0 || ^19.0.0",
97
- "react-dom": "^18.0.0 || ^19.0.0"
94
+ "@docusaurus/faster": "4.0.0-canary-6808",
95
+ "@mdx-js/react": "^3.1.1",
96
+ "react": "^19.3.0",
97
+ "react-dom": "^19.3.0"
98
98
  },
99
99
  "peerDependenciesMeta": {
100
100
  "@docusaurus/faster": {
@@ -102,7 +102,7 @@
102
102
  }
103
103
  },
104
104
  "engines": {
105
- "node": ">=20.0"
105
+ "node": ">=24.14"
106
106
  },
107
- "gitHead": "41c1a458ecb07d61b6df2761ea4bc1b13db49d12"
107
+ "gitHead": "91e445730a91fbe20dd5fefae560303a0c655aa7"
108
108
  }