mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Bump react-router (#52445)
This commit is contained in:
parent
9c203613db
commit
c6336c384b
13 changed files with 153 additions and 162 deletions
|
@ -80,6 +80,7 @@
|
|||
"resolutions": {
|
||||
"**/@types/node": "10.12.27",
|
||||
"**/@types/react": "^16.9.13",
|
||||
"**/@types/react-router": "^5.1.3",
|
||||
"**/@types/hapi": "^17.0.18",
|
||||
"**/@types/angular": "^1.6.56",
|
||||
"**/typescript": "3.7.2",
|
||||
|
@ -230,7 +231,7 @@
|
|||
"react-monaco-editor": "~0.27.0",
|
||||
"react-redux": "^5.1.2",
|
||||
"react-resize-detector": "^4.2.0",
|
||||
"react-router-dom": "^4.3.1",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-sizeme": "^2.3.6",
|
||||
"react-use": "^13.10.2",
|
||||
"reactcss": "1.2.3",
|
||||
|
@ -344,7 +345,8 @@
|
|||
"@types/react-dom": "^16.9.4",
|
||||
"@types/react-redux": "^6.0.6",
|
||||
"@types/react-resize-detector": "^4.0.1",
|
||||
"@types/react-router-dom": "^4.3.1",
|
||||
"@types/react-router": "^5.1.3",
|
||||
"@types/react-router-dom": "^5.1.3",
|
||||
"@types/react-virtualized": "^9.18.7",
|
||||
"@types/redux": "^3.6.31",
|
||||
"@types/redux-actions": "^2.2.1",
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"kbn:watch": "node scripts/build --source-maps --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/cli": "7.5.5",
|
||||
"@babel/cli": "^7.5.5",
|
||||
"@kbn/dev-utils": "1.0.0",
|
||||
"@kbn/babel-preset": "1.0.0",
|
||||
"typescript": "3.7.2"
|
||||
|
|
|
@ -6,29 +6,25 @@
|
|||
|
||||
import { EuiEmptyPrompt, EuiFlexGroup, EuiFlexItem, EuiPageContent } from '@elastic/eui';
|
||||
import React from 'react';
|
||||
import { withRouter } from 'react-router-dom';
|
||||
import { withRouter, RouteComponentProps } from 'react-router-dom';
|
||||
|
||||
interface LayoutProps {
|
||||
interface LayoutProps extends RouteComponentProps {
|
||||
children: React.ReactNode;
|
||||
title: string | React.ReactNode;
|
||||
actionSection?: React.ReactNode;
|
||||
modalClosePath?: string;
|
||||
}
|
||||
|
||||
export const NoDataLayout: React.FC<LayoutProps> = withRouter<any>(
|
||||
({ actionSection, title, modalClosePath, children, history }) => {
|
||||
return (
|
||||
<EuiFlexGroup justifyContent="spaceAround">
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiPageContent>
|
||||
<EuiEmptyPrompt
|
||||
iconType="logoBeats"
|
||||
title={<h2>{title}</h2>}
|
||||
body={children}
|
||||
actions={actionSection}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
);
|
||||
}
|
||||
) as any;
|
||||
export const NoDataLayout = withRouter(({ actionSection, title, children }: LayoutProps) => (
|
||||
<EuiFlexGroup justifyContent="spaceAround">
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiPageContent>
|
||||
<EuiEmptyPrompt
|
||||
iconType="logoBeats"
|
||||
title={<h2>{title}</h2>}
|
||||
body={children}
|
||||
actions={actionSection}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
));
|
||||
|
|
|
@ -6,22 +6,24 @@
|
|||
import React from 'react';
|
||||
|
||||
import { EuiLink } from '@elastic/eui';
|
||||
import { Link, withRouter } from 'react-router-dom';
|
||||
import { Link, withRouter, RouteComponentProps } from 'react-router-dom';
|
||||
|
||||
export function ConnectedLinkComponent({
|
||||
interface ConnectedLinkComponent extends RouteComponentProps {
|
||||
location: any;
|
||||
path: string;
|
||||
disabled: boolean;
|
||||
query: any;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export const ConnectedLinkComponent = ({
|
||||
location,
|
||||
path,
|
||||
query,
|
||||
disabled,
|
||||
children,
|
||||
...props
|
||||
}: {
|
||||
location: any;
|
||||
path: string;
|
||||
disabled: boolean;
|
||||
query: any;
|
||||
[key: string]: any;
|
||||
}) {
|
||||
}: ConnectedLinkComponent) => {
|
||||
if (disabled) {
|
||||
return <EuiLink aria-disabled="true" {...props} />;
|
||||
}
|
||||
|
@ -36,6 +38,6 @@ export function ConnectedLinkComponent({
|
|||
className={`euiLink euiLink--primary ${props.className || ''}`}
|
||||
/>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export const ConnectedLink = withRouter<any>(ConnectedLinkComponent);
|
||||
export const ConnectedLink = withRouter(ConnectedLinkComponent);
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import { parse, stringify } from 'querystring';
|
||||
import React from 'react';
|
||||
import { withRouter } from 'react-router-dom';
|
||||
import { withRouter, RouteComponentProps } from 'react-router-dom';
|
||||
import { FlatObject } from '../frontend_types';
|
||||
import { RendererFunction } from '../utils/typed_react';
|
||||
|
||||
|
@ -22,9 +22,7 @@ export interface URLStateProps<URLState = object> {
|
|||
) => void;
|
||||
urlState: URLState;
|
||||
}
|
||||
interface ComponentProps<URLState extends object> {
|
||||
history: any;
|
||||
match: any;
|
||||
interface ComponentProps<URLState extends object> extends RouteComponentProps {
|
||||
children: RendererFunction<URLStateProps<URLState>>;
|
||||
}
|
||||
|
||||
|
@ -66,8 +64,8 @@ export class WithURLStateComponent<URLState extends object> extends React.Compon
|
|||
}
|
||||
|
||||
const search: string = stringify({
|
||||
...(pastState as any),
|
||||
...(newState as any),
|
||||
...pastState,
|
||||
...newState,
|
||||
});
|
||||
|
||||
const newLocation = {
|
||||
|
@ -86,16 +84,12 @@ export class WithURLStateComponent<URLState extends object> extends React.Compon
|
|||
});
|
||||
};
|
||||
}
|
||||
export const WithURLState = withRouter<any>(WithURLStateComponent);
|
||||
export const WithURLState = withRouter(WithURLStateComponent);
|
||||
|
||||
export function withUrlState<OP>(
|
||||
UnwrappedComponent: React.ComponentType<OP & URLStateProps>
|
||||
): React.FC<any> {
|
||||
return (origProps: OP) => {
|
||||
return (
|
||||
<WithURLState>
|
||||
{(URLProps: URLStateProps) => <UnwrappedComponent {...URLProps} {...origProps} />}
|
||||
</WithURLState>
|
||||
);
|
||||
};
|
||||
export function withUrlState<OP>(UnwrappedComponent: React.ComponentType<OP & URLStateProps>) {
|
||||
return (origProps: OP) => (
|
||||
<WithURLState>
|
||||
{(URLProps: URLStateProps) => <UnwrappedComponent {...URLProps} {...origProps} />}
|
||||
</WithURLState>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
import React, { Component, Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Route, Switch, Redirect } from 'react-router-dom';
|
||||
import { Route, Switch, Redirect, withRouter } from 'react-router-dom';
|
||||
import { fatalError } from 'ui/notify';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { FormattedMessage } from '@kbn/i18n/react';
|
||||
|
@ -34,15 +34,13 @@ import {
|
|||
FollowerIndexEdit,
|
||||
} from './sections';
|
||||
|
||||
export class App extends Component {
|
||||
static contextTypes = {
|
||||
router: PropTypes.shape({
|
||||
history: PropTypes.shape({
|
||||
push: PropTypes.func.isRequired,
|
||||
createHref: PropTypes.func.isRequired
|
||||
}).isRequired
|
||||
}).isRequired
|
||||
}
|
||||
class AppComponent extends Component {
|
||||
static propTypes = {
|
||||
history: PropTypes.shape({
|
||||
push: PropTypes.func.isRequired,
|
||||
createHref: PropTypes.func.isRequired,
|
||||
}).isRequired,
|
||||
};
|
||||
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
|
@ -99,8 +97,13 @@ export class App extends Component {
|
|||
}
|
||||
|
||||
registerRouter() {
|
||||
const { router } = this.context;
|
||||
routing.reactRouter = router;
|
||||
const { history, location } = this.props;
|
||||
routing.reactRouter = {
|
||||
history,
|
||||
route: {
|
||||
location,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
render() {
|
||||
|
@ -196,3 +199,5 @@ export class App extends Component {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
export const App = withRouter(AppComponent);
|
||||
|
|
|
@ -19,7 +19,6 @@ describe('RedirectToLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs/stream?logFilter=(expression:'',kind:kuery)&logPosition=(position:(tiebreaker:0,time:1550671089404))&sourceId=default"
|
||||
/>
|
||||
`);
|
||||
|
@ -34,7 +33,6 @@ describe('RedirectToLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs/stream?logFilter=(expression:'FILTER_FIELD:FILTER_VALUE',kind:kuery)&logPosition=(position:(tiebreaker:0,time:1550671089404))&sourceId=default"
|
||||
/>
|
||||
`);
|
||||
|
@ -47,7 +45,6 @@ describe('RedirectToLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs/stream?logFilter=(expression:'',kind:kuery)&sourceId=SOME-OTHER-SOURCE"
|
||||
/>
|
||||
`);
|
||||
|
|
|
@ -35,7 +35,6 @@ describe('RedirectToNodeLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs?logFilter=(expression:'HOST_FIELD:%20HOST_NAME',kind:kuery)&sourceId=default"
|
||||
/>
|
||||
`);
|
||||
|
@ -48,7 +47,6 @@ describe('RedirectToNodeLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs?logFilter=(expression:'CONTAINER_FIELD:%20CONTAINER_ID',kind:kuery)&sourceId=default"
|
||||
/>
|
||||
`);
|
||||
|
@ -61,7 +59,6 @@ describe('RedirectToNodeLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs?logFilter=(expression:'POD_FIELD:%20POD_ID',kind:kuery)&sourceId=default"
|
||||
/>
|
||||
`);
|
||||
|
@ -76,7 +73,6 @@ describe('RedirectToNodeLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs?logFilter=(expression:'HOST_FIELD:%20HOST_NAME',kind:kuery)&logPosition=(position:(tiebreaker:0,time:1550671089404))&sourceId=default"
|
||||
/>
|
||||
`);
|
||||
|
@ -93,7 +89,6 @@ describe('RedirectToNodeLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs?logFilter=(expression:'(HOST_FIELD:%20HOST_NAME)%20and%20(FILTER_FIELD:FILTER_VALUE)',kind:kuery)&logPosition=(position:(tiebreaker:0,time:1550671089404))&sourceId=default"
|
||||
/>
|
||||
`);
|
||||
|
@ -108,7 +103,6 @@ describe('RedirectToNodeLogs component', () => {
|
|||
|
||||
expect(component).toMatchInlineSnapshot(`
|
||||
<Redirect
|
||||
push={false}
|
||||
to="/logs?logFilter=(expression:'HOST_FIELD:%20HOST_NAME',kind:kuery)&sourceId=SOME-OTHER-SOURCE"
|
||||
/>
|
||||
`);
|
||||
|
|
|
@ -6,21 +6,19 @@
|
|||
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { Switch, Route, Redirect } from 'react-router-dom';
|
||||
import { Switch, Route, Redirect, withRouter } from 'react-router-dom';
|
||||
|
||||
import { CRUD_APP_BASE_PATH, UIM_APP_LOAD } from './constants';
|
||||
import { registerRouter, setUserHasLeftApp, trackUiMetric, METRIC_TYPE } from './services';
|
||||
import { RemoteClusterList, RemoteClusterAdd, RemoteClusterEdit } from './sections';
|
||||
|
||||
export class App extends Component {
|
||||
static contextTypes = {
|
||||
router: PropTypes.shape({
|
||||
history: PropTypes.shape({
|
||||
push: PropTypes.func.isRequired,
|
||||
createHref: PropTypes.func.isRequired
|
||||
}).isRequired
|
||||
}).isRequired
|
||||
}
|
||||
class AppComponent extends Component {
|
||||
static propTypes = {
|
||||
history: PropTypes.shape({
|
||||
push: PropTypes.func.isRequired,
|
||||
createHref: PropTypes.func.isRequired,
|
||||
}).isRequired,
|
||||
};
|
||||
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
|
@ -29,8 +27,11 @@ export class App extends Component {
|
|||
|
||||
registerRouter() {
|
||||
// Share the router with the app without requiring React or context.
|
||||
const { router } = this.context;
|
||||
registerRouter(router);
|
||||
const { history, location } = this.props;
|
||||
registerRouter({
|
||||
history,
|
||||
route: { location },
|
||||
});
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
|
@ -56,3 +57,5 @@ export class App extends Component {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
export const App = withRouter(AppComponent);
|
||||
|
|
|
@ -6,22 +6,20 @@
|
|||
|
||||
import React, { Component } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { HashRouter, Switch, Route, Redirect } from 'react-router-dom';
|
||||
import { HashRouter, Switch, Route, Redirect, withRouter } from 'react-router-dom';
|
||||
|
||||
import { UIM_APP_LOAD } from '../../common';
|
||||
import { CRUD_APP_BASE_PATH } from './constants';
|
||||
import { registerRouter, setUserHasLeftApp, trackUiMetric, METRIC_TYPE } from './services';
|
||||
import { JobList, JobCreate } from './sections';
|
||||
|
||||
class ShareRouter extends Component {
|
||||
static contextTypes = {
|
||||
router: PropTypes.shape({
|
||||
history: PropTypes.shape({
|
||||
push: PropTypes.func.isRequired,
|
||||
createHref: PropTypes.func.isRequired
|
||||
}).isRequired
|
||||
}).isRequired
|
||||
}
|
||||
class ShareRouterComponent extends Component {
|
||||
static propTypes = {
|
||||
history: PropTypes.shape({
|
||||
push: PropTypes.func.isRequired,
|
||||
createHref: PropTypes.func.isRequired,
|
||||
}).isRequired,
|
||||
};
|
||||
|
||||
constructor(...args) {
|
||||
super(...args);
|
||||
|
@ -30,8 +28,8 @@ class ShareRouter extends Component {
|
|||
|
||||
registerRouter() {
|
||||
// Share the router with the app without requiring React or context.
|
||||
const { router } = this.context;
|
||||
registerRouter(router);
|
||||
const { history } = this.props;
|
||||
registerRouter({ history });
|
||||
}
|
||||
|
||||
render() {
|
||||
|
@ -39,6 +37,8 @@ class ShareRouter extends Component {
|
|||
}
|
||||
}
|
||||
|
||||
const ShareRouter = withRouter(ShareRouterComponent);
|
||||
|
||||
export class App extends Component { // eslint-disable-line react/no-multi-comp
|
||||
componentDidMount() {
|
||||
trackUiMetric(METRIC_TYPE.LOADED, UIM_APP_LOAD);
|
||||
|
|
|
@ -4,7 +4,6 @@ exports[`MonitorPageLink component renders a help link when link parameters pres
|
|||
<EuiLink>
|
||||
<Link
|
||||
data-test-subj="monitor-page-link-bad-ssl"
|
||||
replace={false}
|
||||
to="/monitor/YmFkLXNzbA==/selectedPingStatus=down"
|
||||
/>
|
||||
</EuiLink>
|
||||
|
@ -14,7 +13,6 @@ exports[`MonitorPageLink component renders the link properly 1`] = `
|
|||
<EuiLink>
|
||||
<Link
|
||||
data-test-subj="monitor-page-link-bad-ssl"
|
||||
replace={false}
|
||||
to="/monitor/YmFkLXNzbA=="
|
||||
/>
|
||||
</EuiLink>
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
"@types/react": "^16.9.11",
|
||||
"@types/react-dom": "^16.9.4",
|
||||
"@types/react-redux": "^6.0.6",
|
||||
"@types/react-router-dom": "^4.3.1",
|
||||
"@types/react-router-dom": "^5.1.3",
|
||||
"@types/react-sticky": "^6.0.3",
|
||||
"@types/react-test-renderer": "^16.9.1",
|
||||
"@types/recompose": "^0.30.6",
|
||||
|
@ -302,7 +302,7 @@
|
|||
"react-portal": "^3.2.0",
|
||||
"react-redux": "^5.1.2",
|
||||
"react-reverse-portal": "^1.0.4",
|
||||
"react-router-dom": "^4.3.1",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-shortcuts": "^2.0.0",
|
||||
"react-sticky": "^6.0.3",
|
||||
"react-syntax-highlighter": "^5.7.0",
|
||||
|
|
122
yarn.lock
122
yarn.lock
|
@ -2,7 +2,7 @@
|
|||
# yarn lockfile v1
|
||||
|
||||
|
||||
"@babel/cli@7.5.5", "@babel/cli@^7.5.5":
|
||||
"@babel/cli@^7.5.5":
|
||||
version "7.5.5"
|
||||
resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.5.5.tgz#bdb6d9169e93e241a08f5f7b0265195bf38ef5ec"
|
||||
integrity sha512-UHI+7pHv/tk9g6WXQKYz+kmXTI77YtuY3vqC59KIqcoWEjsJJSG6rAxKaLsgj3LDyadsPrCB929gVOKM6Hui0w==
|
||||
|
@ -1005,24 +1005,17 @@
|
|||
dependencies:
|
||||
regenerator-runtime "^0.12.0"
|
||||
|
||||
"@babel/runtime@7.5.5", "@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.5":
|
||||
"@babel/runtime@7.5.5":
|
||||
version "7.5.5"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.5.5.tgz#74fba56d35efbeca444091c7850ccd494fd2f132"
|
||||
integrity sha512-28QvEGyQyNkB0/m2B4FU7IEZGK2NUrcMtT6BZEFALTguLk+AUT6ofsHtPk5QyjAdUkpMJ+/Em+quwz4HOt30AQ==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.2"
|
||||
|
||||
"@babel/runtime@^7.4.4", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2":
|
||||
version "7.7.2"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.7.2.tgz#111a78002a5c25fc8e3361bedc9529c696b85a6a"
|
||||
integrity sha512-JONRbXbTXc9WQE2mAZd1p0Z3DZ/6vaQIkgYMSTP3KjRCyd7rCZCcfhCyX+YjwcKxcZ82UrxbRD358bpExNgrjw==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.2"
|
||||
|
||||
"@babel/runtime@^7.5.1", "@babel/runtime@^7.5.4", "@babel/runtime@^7.6.0", "@babel/runtime@^7.6.2":
|
||||
version "7.7.4"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.7.4.tgz#b23a856751e4bf099262f867767889c0e3fe175b"
|
||||
integrity sha512-r24eVUUr0QqNZa+qrImUk8fn5SPhHq+IfYvIoIMg0do3GdK9sMdiLKP3GYVVaxpPKORgm8KRKaNTEhAjgIpLMw==
|
||||
"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.0", "@babel/runtime@^7.4.2", "@babel/runtime@^7.4.4", "@babel/runtime@^7.4.5", "@babel/runtime@^7.5.0", "@babel/runtime@^7.5.1", "@babel/runtime@^7.5.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.0", "@babel/runtime@^7.6.2", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2":
|
||||
version "7.7.6"
|
||||
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.7.6.tgz#d18c511121aff1b4f2cd1d452f1bac9601dd830f"
|
||||
integrity sha512-BWAJxpNVa0QlE5gZdWjSxXtemZyZ9RmrmVozxt3NUXeZhVIJ5ANyqmMc0JDrivBZyxUuQvFxlvH4OWWOogGfUw==
|
||||
dependencies:
|
||||
regenerator-runtime "^0.13.2"
|
||||
|
||||
|
@ -3859,19 +3852,19 @@
|
|||
dependencies:
|
||||
"@types/react" "*"
|
||||
|
||||
"@types/react-router-dom@^4.3.1":
|
||||
version "4.3.1"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-router-dom/-/react-router-dom-4.3.1.tgz#71fe2918f8f60474a891520def40a63997dafe04"
|
||||
integrity sha512-GbztJAScOmQ/7RsQfO4cd55RuH1W4g6V1gDW3j4riLlt+8yxYLqqsiMzmyuXBLzdFmDtX/uU2Bpcm0cmudv44A==
|
||||
"@types/react-router-dom@^5.1.3":
|
||||
version "5.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-router-dom/-/react-router-dom-5.1.3.tgz#b5d28e7850bd274d944c0fbbe5d57e6b30d71196"
|
||||
integrity sha512-pCq7AkOvjE65jkGS5fQwQhvUp4+4PVD9g39gXLZViP2UqFiFzsEpB3PKf0O6mdbKsewSK8N14/eegisa/0CwnA==
|
||||
dependencies:
|
||||
"@types/history" "*"
|
||||
"@types/react" "*"
|
||||
"@types/react-router" "*"
|
||||
|
||||
"@types/react-router@*":
|
||||
version "4.0.32"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-4.0.32.tgz#501529e3d7aa7d5c738d339367e1a7dd5338b2a7"
|
||||
integrity sha512-VLQSifCIKCTpfMFrJN/nO5a45LduB6qSMkO9ASbcGdCHiDwJnrLNzk91Q895yG0qWY7RqT2jR16giBRpRG1HQw==
|
||||
"@types/react-router@*", "@types/react-router@^5.1.3":
|
||||
version "5.1.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/react-router/-/react-router-5.1.3.tgz#7c7ca717399af64d8733d8cb338dd43641b96f2d"
|
||||
integrity sha512-0gGhmerBqN8CzlnDmSgGNun3tuZFXerUclWkqEhozdLaJtfcJRUTGkKaEKk+/MpHd1KDS1+o2zb/3PkBUiv2qQ==
|
||||
dependencies:
|
||||
"@types/history" "*"
|
||||
"@types/react" "*"
|
||||
|
@ -14855,17 +14848,6 @@ history@^3.0.0:
|
|||
query-string "^4.2.2"
|
||||
warning "^3.0.0"
|
||||
|
||||
history@^4.7.2:
|
||||
version "4.7.2"
|
||||
resolved "https://registry.yarnpkg.com/history/-/history-4.7.2.tgz#22b5c7f31633c5b8021c7f4a8a954ac139ee8d5b"
|
||||
integrity sha512-1zkBRWW6XweO0NBcjiphtVJVsIQ+SXF29z9DVkceeaSLVMFXHool+fdCZD4spDCfZJCILPILc3bm7Bc+HRi0nA==
|
||||
dependencies:
|
||||
invariant "^2.2.1"
|
||||
loose-envify "^1.2.0"
|
||||
resolve-pathname "^2.2.0"
|
||||
value-equal "^0.4.0"
|
||||
warning "^3.0.0"
|
||||
|
||||
hjson@3.2.0:
|
||||
version "3.2.0"
|
||||
resolved "https://registry.yarnpkg.com/hjson/-/hjson-3.2.0.tgz#76203ea69bc1c7c88422b48402cc34df8ff8de0e"
|
||||
|
@ -14912,6 +14894,13 @@ hoist-non-react-statics@^3.0.0, hoist-non-react-statics@^3.3.0:
|
|||
dependencies:
|
||||
react-is "^16.7.0"
|
||||
|
||||
hoist-non-react-statics@^3.1.0:
|
||||
version "3.3.1"
|
||||
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.1.tgz#101685d3aff3b23ea213163f6e8e12f4f111e19f"
|
||||
integrity sha512-wbg3bpgA/ZqWrZuMOeJi8+SKMhr7X9TesL/rXMjTzh0p0JUBo3II8DHboYbuIXWRlttrUFxwcu/5kygrCw8fJw==
|
||||
dependencies:
|
||||
react-is "^16.7.0"
|
||||
|
||||
homedir-polyfill@^1.0.0, homedir-polyfill@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.1.tgz#4c2bbc8a758998feebf5ed68580f76d46768b4bc"
|
||||
|
@ -19395,6 +19384,15 @@ min-indent@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.0.tgz#cfc45c37e9ec0d8f0a0ec3dd4ef7f7c3abe39256"
|
||||
integrity sha1-z8RcN+nsDY8KDsPdTvf3w6vjklY=
|
||||
|
||||
mini-create-react-context@^0.3.0:
|
||||
version "0.3.2"
|
||||
resolved "https://registry.yarnpkg.com/mini-create-react-context/-/mini-create-react-context-0.3.2.tgz#79fc598f283dd623da8e088b05db8cddab250189"
|
||||
integrity sha512-2v+OeetEyliMt5VHMXsBhABoJ0/M4RCe7fatd/fBy6SMiKazUSEt3gxxypfnk2SHMkdBYvorHRoQxuGoiwbzAw==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.4.0"
|
||||
gud "^1.0.0"
|
||||
tiny-warning "^1.0.2"
|
||||
|
||||
mini-css-extract-plugin@0.8.0:
|
||||
version "0.8.0"
|
||||
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-0.8.0.tgz#81d41ec4fe58c713a96ad7c723cdb2d0bd4d70e1"
|
||||
|
@ -23450,23 +23448,40 @@ react-reverse-portal@^1.0.4:
|
|||
resolved "https://registry.yarnpkg.com/react-reverse-portal/-/react-reverse-portal-1.0.4.tgz#d127d2c9147549b25c4959aba1802eca4b144cd4"
|
||||
integrity sha512-WESex/wSjxHwdG7M0uwPNkdQXaLauXNHi4INQiRybmFIXVzAqgf/Ak2OzJ4MLf4UuCD/IzEwJOkML2SxnnontA==
|
||||
|
||||
react-router-dom@^4.3.1:
|
||||
version "4.3.1"
|
||||
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-4.3.1.tgz#4c2619fc24c4fa87c9fd18f4fb4a43fe63fbd5c6"
|
||||
integrity sha512-c/MlywfxDdCp7EnB7YfPMOfMD3tOtIjrQlj/CKfNMBxdmpJP8xcz5P/UAFn3JbnQCNUxsHyVVqllF9LhgVyFCA==
|
||||
react-router-dom@^5.1.2:
|
||||
version "5.1.2"
|
||||
resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-5.1.2.tgz#06701b834352f44d37fbb6311f870f84c76b9c18"
|
||||
integrity sha512-7BPHAaIwWpZS074UKaw1FjVdZBSVWEk8IuDXdB+OkLb8vd/WRQIpA4ag9WQk61aEfQs47wHyjWUoUGGZxpQXew==
|
||||
dependencies:
|
||||
history "^4.7.2"
|
||||
invariant "^2.2.4"
|
||||
"@babel/runtime" "^7.1.2"
|
||||
history "^4.9.0"
|
||||
loose-envify "^1.3.1"
|
||||
prop-types "^15.6.1"
|
||||
react-router "^4.3.1"
|
||||
warning "^4.0.1"
|
||||
prop-types "^15.6.2"
|
||||
react-router "5.1.2"
|
||||
tiny-invariant "^1.0.2"
|
||||
tiny-warning "^1.0.0"
|
||||
|
||||
react-router-redux@^4.0.8:
|
||||
version "4.0.8"
|
||||
resolved "https://registry.yarnpkg.com/react-router-redux/-/react-router-redux-4.0.8.tgz#227403596b5151e182377dab835b5d45f0f8054e"
|
||||
integrity sha1-InQDWWtRUeGCN32rg1tdRfD4BU4=
|
||||
|
||||
react-router@5.1.2:
|
||||
version "5.1.2"
|
||||
resolved "https://registry.yarnpkg.com/react-router/-/react-router-5.1.2.tgz#6ea51d789cb36a6be1ba5f7c0d48dd9e817d3418"
|
||||
integrity sha512-yjEuMFy1ONK246B+rsa0cUam5OeAQ8pyclRDgpxuSCrAlJ1qN9uZ5IgyKC7gQg0w8OM50NXHEegPh/ks9YuR2A==
|
||||
dependencies:
|
||||
"@babel/runtime" "^7.1.2"
|
||||
history "^4.9.0"
|
||||
hoist-non-react-statics "^3.1.0"
|
||||
loose-envify "^1.3.1"
|
||||
mini-create-react-context "^0.3.0"
|
||||
path-to-regexp "^1.7.0"
|
||||
prop-types "^15.6.2"
|
||||
react-is "^16.6.0"
|
||||
tiny-invariant "^1.0.2"
|
||||
tiny-warning "^1.0.0"
|
||||
|
||||
react-router@^3.2.0:
|
||||
version "3.2.1"
|
||||
resolved "https://registry.yarnpkg.com/react-router/-/react-router-3.2.1.tgz#b9a3279962bdfbe684c8bd0482b81ef288f0f244"
|
||||
|
@ -23480,19 +23495,6 @@ react-router@^3.2.0:
|
|||
prop-types "^15.5.6"
|
||||
warning "^3.0.0"
|
||||
|
||||
react-router@^4.3.1:
|
||||
version "4.3.1"
|
||||
resolved "https://registry.yarnpkg.com/react-router/-/react-router-4.3.1.tgz#aada4aef14c809cb2e686b05cee4742234506c4e"
|
||||
integrity sha512-yrvL8AogDh2X42Dt9iknk4wF4V8bWREPirFfS9gLU1huk6qK41sg7Z/1S81jjTrGHxa3B8R3J6xIkDAA6CVarg==
|
||||
dependencies:
|
||||
history "^4.7.2"
|
||||
hoist-non-react-statics "^2.5.0"
|
||||
invariant "^2.2.4"
|
||||
loose-envify "^1.3.1"
|
||||
path-to-regexp "^1.7.0"
|
||||
prop-types "^15.6.1"
|
||||
warning "^4.0.1"
|
||||
|
||||
react-select@^3.0.0:
|
||||
version "3.0.8"
|
||||
resolved "https://registry.yarnpkg.com/react-select/-/react-select-3.0.8.tgz#06ff764e29db843bcec439ef13e196865242e0c1"
|
||||
|
@ -27516,6 +27518,11 @@ tiny-warning@^1.0.0:
|
|||
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.2.tgz#1dfae771ee1a04396bdfde27a3adcebc6b648b28"
|
||||
integrity sha512-rru86D9CpQRLvsFG5XFdy0KdLAvjdQDyZCsRcuu60WtzFylDM3eAWSxEVz5kzL2Gp544XiUvPbVKtOA/txLi9Q==
|
||||
|
||||
tiny-warning@^1.0.2:
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754"
|
||||
integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==
|
||||
|
||||
tinycolor2@1.4.1, tinycolor2@^1.0.0, tinycolor2@^1.4.1:
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.4.1.tgz#f4fad333447bc0b07d4dc8e9209d8f39a8ac77e8"
|
||||
|
@ -29817,13 +29824,6 @@ warning@^3.0.0:
|
|||
dependencies:
|
||||
loose-envify "^1.0.0"
|
||||
|
||||
warning@^4.0.1:
|
||||
version "4.0.2"
|
||||
resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.2.tgz#aa6876480872116fa3e11d434b0d0d8d91e44607"
|
||||
integrity sha512-wbTp09q/9C+jJn4KKJfJfoS6VleK/Dti0yqWSm6KMvJ4MRCXFQNapHuJXutJIrWV0Cf4AhTdeIe4qdKHR1+Hug==
|
||||
dependencies:
|
||||
loose-envify "^1.0.0"
|
||||
|
||||
warning@^4.0.2:
|
||||
version "4.0.3"
|
||||
resolved "https://registry.yarnpkg.com/warning/-/warning-4.0.3.tgz#16e9e077eb8a86d6af7d64aa1e05fd85b4678ca3"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue