@docusaurus/core 0.0.0-4395 → 0.0.0-4414
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.
|
@@ -29,7 +29,9 @@ class ErrorBoundary extends React.Component {
|
|
|
29
29
|
tryAgain: () => this.setState({ error: null }),
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
return children
|
|
32
|
+
return (children !== null && children !== void 0 ? children :
|
|
33
|
+
// See https://github.com/facebook/docusaurus/issues/6337#issuecomment-1012913647
|
|
34
|
+
null);
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
export default ErrorBoundary;
|
package/lib/webpack/utils.js
CHANGED
|
@@ -295,7 +295,6 @@ function getMinimizer(useSimpleCssMinifier = false) {
|
|
|
295
295
|
},
|
|
296
296
|
compress: {
|
|
297
297
|
ecma: 5,
|
|
298
|
-
// @ts-expect-error: API change in new version?
|
|
299
298
|
warnings: false,
|
|
300
299
|
},
|
|
301
300
|
mangle: {
|
|
@@ -326,7 +325,6 @@ function getMinimizer(useSimpleCssMinifier = false) {
|
|
|
326
325
|
},
|
|
327
326
|
// CleanCss options
|
|
328
327
|
{
|
|
329
|
-
// @ts-expect-error: API change in new version?
|
|
330
328
|
inline: false,
|
|
331
329
|
level: {
|
|
332
330
|
1: {
|
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-
|
|
4
|
+
"version": "0.0.0-4414",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"access": "public"
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@babel/runtime": "^7.16.3",
|
|
42
42
|
"@babel/runtime-corejs3": "^7.16.3",
|
|
43
43
|
"@babel/traverse": "^7.16.3",
|
|
44
|
-
"@docusaurus/cssnano-preset": "0.0.0-
|
|
45
|
-
"@docusaurus/logger": "0.0.0-
|
|
46
|
-
"@docusaurus/mdx-loader": "0.0.0-
|
|
44
|
+
"@docusaurus/cssnano-preset": "0.0.0-4414",
|
|
45
|
+
"@docusaurus/logger": "0.0.0-4414",
|
|
46
|
+
"@docusaurus/mdx-loader": "0.0.0-4414",
|
|
47
47
|
"@docusaurus/react-loadable": "5.5.2",
|
|
48
|
-
"@docusaurus/utils": "0.0.0-
|
|
49
|
-
"@docusaurus/utils-common": "0.0.0-
|
|
50
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
48
|
+
"@docusaurus/utils": "0.0.0-4414",
|
|
49
|
+
"@docusaurus/utils-common": "0.0.0-4414",
|
|
50
|
+
"@docusaurus/utils-validation": "0.0.0-4414",
|
|
51
51
|
"@slorber/static-site-generator-webpack-plugin": "^4.0.0",
|
|
52
52
|
"@svgr/webpack": "^6.0.0",
|
|
53
53
|
"autoprefixer": "^10.3.5",
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"commander": "^5.1.0",
|
|
60
60
|
"copy-webpack-plugin": "^9.0.1",
|
|
61
61
|
"core-js": "^3.18.0",
|
|
62
|
-
"css-loader": "^5.1
|
|
63
|
-
"css-minimizer-webpack-plugin": "^3.
|
|
62
|
+
"css-loader": "^6.5.1",
|
|
63
|
+
"css-minimizer-webpack-plugin": "^3.3.1",
|
|
64
64
|
"cssnano": "^5.0.8",
|
|
65
65
|
"del": "^6.0.0",
|
|
66
66
|
"detect-port": "^1.3.0",
|
|
@@ -108,10 +108,9 @@
|
|
|
108
108
|
"webpackbar": "^5.0.0-3"
|
|
109
109
|
},
|
|
110
110
|
"devDependencies": {
|
|
111
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
112
|
-
"@docusaurus/types": "0.0.0-
|
|
111
|
+
"@docusaurus/module-type-aliases": "0.0.0-4414",
|
|
112
|
+
"@docusaurus/types": "0.0.0-4414",
|
|
113
113
|
"@types/copy-webpack-plugin": "^8.0.1",
|
|
114
|
-
"@types/css-minimizer-webpack-plugin": "^3.0.2",
|
|
115
114
|
"@types/detect-port": "^1.3.0",
|
|
116
115
|
"@types/mini-css-extract-plugin": "^1.4.3",
|
|
117
116
|
"@types/nprogress": "^0.2.0",
|
|
@@ -129,5 +128,5 @@
|
|
|
129
128
|
"engines": {
|
|
130
129
|
"node": ">=14"
|
|
131
130
|
},
|
|
132
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "7bc7106c62dd5044c2f900863a6d740982cf8c4c"
|
|
133
132
|
}
|