@docusaurus/core 0.0.0-5107 → 0.0.0-5115

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.
@@ -52,7 +52,13 @@ class PendingNavigation extends React.Component {
52
52
  this.routeUpdateCleanupCb();
53
53
  this.setState({ nextRouteHasLoaded: true });
54
54
  })
55
- .catch((e) => console.warn(e));
55
+ .catch((e) => {
56
+ console.warn(e);
57
+ // If chunk loading failed, it could be because the path to a chunk
58
+ // no longer exists due to a new deployment. Force refresh the page
59
+ // instead of just not navigating.
60
+ window.location.reload();
61
+ });
56
62
  return false;
57
63
  }
58
64
  render() {
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": "0.0.0-5107",
4
+ "version": "0.0.0-5115",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -43,13 +43,13 @@
43
43
  "@babel/runtime": "^7.18.3",
44
44
  "@babel/runtime-corejs3": "^7.18.3",
45
45
  "@babel/traverse": "^7.18.2",
46
- "@docusaurus/cssnano-preset": "0.0.0-5107",
47
- "@docusaurus/logger": "0.0.0-5107",
48
- "@docusaurus/mdx-loader": "0.0.0-5107",
46
+ "@docusaurus/cssnano-preset": "0.0.0-5115",
47
+ "@docusaurus/logger": "0.0.0-5115",
48
+ "@docusaurus/mdx-loader": "0.0.0-5115",
49
49
  "@docusaurus/react-loadable": "5.5.2",
50
- "@docusaurus/utils": "0.0.0-5107",
51
- "@docusaurus/utils-common": "0.0.0-5107",
52
- "@docusaurus/utils-validation": "0.0.0-5107",
50
+ "@docusaurus/utils": "0.0.0-5115",
51
+ "@docusaurus/utils-common": "0.0.0-5115",
52
+ "@docusaurus/utils-validation": "0.0.0-5115",
53
53
  "@slorber/static-site-generator-webpack-plugin": "^4.0.7",
54
54
  "@svgr/webpack": "^6.2.1",
55
55
  "autoprefixer": "^10.4.7",
@@ -101,13 +101,13 @@
101
101
  "wait-on": "^6.0.1",
102
102
  "webpack": "^5.73.0",
103
103
  "webpack-bundle-analyzer": "^4.5.0",
104
- "webpack-dev-server": "^4.9.1",
104
+ "webpack-dev-server": "^4.9.2",
105
105
  "webpack-merge": "^5.8.0",
106
106
  "webpackbar": "^5.0.2"
107
107
  },
108
108
  "devDependencies": {
109
- "@docusaurus/module-type-aliases": "0.0.0-5107",
110
- "@docusaurus/types": "0.0.0-5107",
109
+ "@docusaurus/module-type-aliases": "0.0.0-5115",
110
+ "@docusaurus/types": "0.0.0-5115",
111
111
  "@types/detect-port": "^1.3.2",
112
112
  "@types/react-dom": "^18.0.5",
113
113
  "@types/react-router-config": "^5.0.6",
@@ -127,5 +127,5 @@
127
127
  "engines": {
128
128
  "node": ">=16.14"
129
129
  },
130
- "gitHead": "e8a7e815b9c2d151dc3f1bfa62fcd29e0b587991"
130
+ "gitHead": "bb75d2b3b0b8a33b537ada84e0541dc32b3cc15d"
131
131
  }