@docusaurus/core 0.0.0-4574 → 0.0.0-4575
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.
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import React from 'react';
|
|
9
9
|
import { type RouteComponentProps } from 'react-router-dom';
|
|
10
10
|
import type { RouteConfig } from 'react-router-config';
|
|
11
|
-
import type { Location } from '
|
|
11
|
+
import type { Location } from 'history';
|
|
12
12
|
import './nprogress.css';
|
|
13
13
|
interface Props extends RouteComponentProps {
|
|
14
14
|
readonly routes: RouteConfig[];
|
|
@@ -4,5 +4,4 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
|
|
8
|
-
export * from 'react-router-dom';
|
|
7
|
+
export { useHistory, useLocation, Redirect, matchPath } from 'react-router-dom';
|
|
@@ -4,6 +4,6 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
import type { Location } from '
|
|
7
|
+
import type { Location } from 'history';
|
|
8
8
|
declare function normalizeLocation<T extends Location>(location: T): T;
|
|
9
9
|
export default normalizeLocation;
|
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-4575",
|
|
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-4575",
|
|
45
|
+
"@docusaurus/logger": "0.0.0-4575",
|
|
46
|
+
"@docusaurus/mdx-loader": "0.0.0-4575",
|
|
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-4575",
|
|
49
|
+
"@docusaurus/utils-common": "0.0.0-4575",
|
|
50
|
+
"@docusaurus/utils-validation": "0.0.0-4575",
|
|
51
51
|
"@slorber/static-site-generator-webpack-plugin": "^4.0.0",
|
|
52
52
|
"@svgr/webpack": "^6.0.0",
|
|
53
53
|
"autoprefixer": "^10.3.5",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"webpackbar": "^5.0.2"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
|
-
"@docusaurus/module-type-aliases": "0.0.0-
|
|
108
|
-
"@docusaurus/types": "0.0.0-
|
|
107
|
+
"@docusaurus/module-type-aliases": "0.0.0-4575",
|
|
108
|
+
"@docusaurus/types": "0.0.0-4575",
|
|
109
109
|
"@types/copy-webpack-plugin": "^10.1.0",
|
|
110
110
|
"@types/detect-port": "^1.3.0",
|
|
111
111
|
"@types/mini-css-extract-plugin": "^2.5.1",
|
|
@@ -127,5 +127,5 @@
|
|
|
127
127
|
"engines": {
|
|
128
128
|
"node": ">=14"
|
|
129
129
|
},
|
|
130
|
-
"gitHead": "
|
|
130
|
+
"gitHead": "6f6bea788fa928f20f1c54d60f2e1bdd47369b3f"
|
|
131
131
|
}
|