@docusaurus/core 0.0.0-4572 → 0.0.0-4577

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 '@docusaurus/history';
11
+ import type { Location } from 'history';
12
12
  import './nprogress.css';
13
13
  interface Props extends RouteComponentProps {
14
14
  readonly routes: RouteConfig[];
@@ -4,4 +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
- export * from 'react-router-dom';
7
+ export { useHistory, useLocation, Redirect, matchPath } from 'react-router-dom';
@@ -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
- // eslint-disable-next-line no-restricted-syntax
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 '@docusaurus/history';
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-4572",
4
+ "version": "0.0.0-4577",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -31,27 +31,27 @@
31
31
  "url": "https://github.com/facebook/docusaurus/issues"
32
32
  },
33
33
  "dependencies": {
34
- "@babel/core": "^7.16.0",
35
- "@babel/generator": "^7.16.0",
34
+ "@babel/core": "^7.17.2",
35
+ "@babel/generator": "^7.17.0",
36
36
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
37
- "@babel/plugin-transform-runtime": "^7.16.10",
37
+ "@babel/plugin-transform-runtime": "^7.17.0",
38
38
  "@babel/preset-env": "^7.16.11",
39
- "@babel/preset-react": "^7.16.0",
40
- "@babel/preset-typescript": "^7.16.0",
41
- "@babel/runtime": "^7.16.3",
42
- "@babel/runtime-corejs3": "^7.16.3",
43
- "@babel/traverse": "^7.16.3",
44
- "@docusaurus/cssnano-preset": "0.0.0-4572",
45
- "@docusaurus/logger": "0.0.0-4572",
46
- "@docusaurus/mdx-loader": "0.0.0-4572",
39
+ "@babel/preset-react": "^7.16.7",
40
+ "@babel/preset-typescript": "^7.16.7",
41
+ "@babel/runtime": "^7.17.2",
42
+ "@babel/runtime-corejs3": "^7.17.2",
43
+ "@babel/traverse": "^7.17.0",
44
+ "@docusaurus/cssnano-preset": "0.0.0-4577",
45
+ "@docusaurus/logger": "0.0.0-4577",
46
+ "@docusaurus/mdx-loader": "0.0.0-4577",
47
47
  "@docusaurus/react-loadable": "5.5.2",
48
- "@docusaurus/utils": "0.0.0-4572",
49
- "@docusaurus/utils-common": "0.0.0-4572",
50
- "@docusaurus/utils-validation": "0.0.0-4572",
51
- "@slorber/static-site-generator-webpack-plugin": "^4.0.0",
52
- "@svgr/webpack": "^6.0.0",
53
- "autoprefixer": "^10.3.5",
54
- "babel-loader": "^8.2.2",
48
+ "@docusaurus/utils": "0.0.0-4577",
49
+ "@docusaurus/utils-common": "0.0.0-4577",
50
+ "@docusaurus/utils-validation": "0.0.0-4577",
51
+ "@slorber/static-site-generator-webpack-plugin": "^4.0.1",
52
+ "@svgr/webpack": "^6.2.1",
53
+ "autoprefixer": "^10.4.2",
54
+ "babel-loader": "^8.2.3",
55
55
  "babel-plugin-dynamic-import-node": "2.3.0",
56
56
  "boxen": "^5.0.1",
57
57
  "chokidar": "^3.5.3",
@@ -59,27 +59,27 @@
59
59
  "commander": "^5.1.0",
60
60
  "copy-webpack-plugin": "^10.2.4",
61
61
  "core-js": "^3.21.0",
62
- "css-loader": "^6.5.1",
62
+ "css-loader": "^6.6.0",
63
63
  "css-minimizer-webpack-plugin": "^3.4.1",
64
- "cssnano": "^5.0.16",
64
+ "cssnano": "^5.0.17",
65
65
  "del": "^6.0.0",
66
66
  "detect-port": "^1.3.0",
67
67
  "escape-html": "^1.0.3",
68
68
  "eta": "^1.12.3",
69
69
  "file-loader": "^6.2.0",
70
70
  "fs-extra": "^10.0.0",
71
- "html-minifier-terser": "^6.0.2",
71
+ "html-minifier-terser": "^6.1.0",
72
72
  "html-tags": "^3.1.0",
73
- "html-webpack-plugin": "^5.4.0",
73
+ "html-webpack-plugin": "^5.5.0",
74
74
  "import-fresh": "^3.3.0",
75
75
  "is-root": "^2.1.0",
76
76
  "leven": "^3.1.0",
77
- "lodash": "^4.17.20",
77
+ "lodash": "^4.17.21",
78
78
  "mini-css-extract-plugin": "^2.5.3",
79
79
  "nprogress": "^0.2.0",
80
- "postcss": "^8.3.7",
81
- "postcss-loader": "^6.1.1",
82
- "prompts": "^2.4.1",
80
+ "postcss": "^8.4.6",
81
+ "postcss-loader": "^6.2.1",
82
+ "prompts": "^2.4.2",
83
83
  "react-dev-utils": "^12.0.0",
84
84
  "react-helmet-async": "^1.2.2",
85
85
  "react-loadable": "npm:@docusaurus/react-loadable@5.5.2",
@@ -91,34 +91,32 @@
91
91
  "rtl-detect": "^1.0.4",
92
92
  "semver": "^7.3.4",
93
93
  "serve-handler": "^6.1.3",
94
- "shelljs": "^0.8.4",
95
- "terser-webpack-plugin": "^5.2.4",
94
+ "shelljs": "^0.8.5",
95
+ "terser-webpack-plugin": "^5.3.1",
96
96
  "tslib": "^2.3.1",
97
97
  "update-notifier": "^5.1.0",
98
98
  "url-loader": "^4.1.1",
99
- "wait-on": "^6.0.0",
99
+ "wait-on": "^6.0.1",
100
100
  "webpack": "^5.68.0",
101
- "webpack-bundle-analyzer": "^4.4.2",
102
- "webpack-dev-server": "^4.7.1",
101
+ "webpack-bundle-analyzer": "^4.5.0",
102
+ "webpack-dev-server": "^4.7.4",
103
103
  "webpack-merge": "^5.8.0",
104
104
  "webpackbar": "^5.0.2"
105
105
  },
106
106
  "devDependencies": {
107
- "@docusaurus/module-type-aliases": "0.0.0-4572",
108
- "@docusaurus/types": "0.0.0-4572",
109
- "@types/copy-webpack-plugin": "^10.1.0",
110
- "@types/detect-port": "^1.3.0",
111
- "@types/mini-css-extract-plugin": "^2.5.1",
107
+ "@docusaurus/module-type-aliases": "0.0.0-4577",
108
+ "@docusaurus/types": "0.0.0-4577",
109
+ "@types/detect-port": "^1.3.2",
112
110
  "@types/nprogress": "^0.2.0",
113
- "@types/react-dom": "^17.0.9",
114
- "@types/react-router-config": "^5.0.1",
111
+ "@types/react-dom": "^17.0.11",
112
+ "@types/react-router-config": "^5.0.6",
115
113
  "@types/rtl-detect": "^1.0.0",
116
114
  "@types/serve-handler": "^6.1.1",
117
115
  "@types/update-notifier": "^5.1.0",
118
- "@types/wait-on": "^5.2.0",
116
+ "@types/wait-on": "^5.3.1",
119
117
  "@types/webpack-bundle-analyzer": "^4.4.1",
120
118
  "react-test-renderer": "^17.0.2",
121
- "tmp-promise": "^3.0.2"
119
+ "tmp-promise": "^3.0.3"
122
120
  },
123
121
  "peerDependencies": {
124
122
  "react": "^16.8.4 || ^17.0.0",
@@ -127,5 +125,5 @@
127
125
  "engines": {
128
126
  "node": ">=14"
129
127
  },
130
- "gitHead": "3752eeca2214b04d773aa4cda3bed157e9716fb0"
128
+ "gitHead": "93945044541f69cf508b244470f6ae6a321add84"
131
129
  }