Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all deps #795

Merged
merged 3 commits into from
May 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34,294 changes: 21,043 additions & 13,251 deletions package-lock.json

Large diffs are not rendered by default.

120 changes: 60 additions & 60 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,91 +67,91 @@
},
"homepage": "https://github.com/RedHatInsights/insights-chrome#readme",
"devDependencies": {
"@babel/core": "7.5.5",
"@babel/plugin-proposal-class-properties": "^7.4.0",
"@babel/plugin-proposal-decorators": "^7.4.0",
"@babel/plugin-proposal-object-rest-spread": "^7.4.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-object-rest-spread": "^7.2.0",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.4.1",
"@babel/preset-react": "^7.0.0",
"@types/node": "^12.7.2",
"@babel/core": "7.9.6",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-decorators": "^7.8.3",
"@babel/plugin-proposal-object-rest-spread": "^7.9.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-syntax-object-rest-spread": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.6",
"@babel/preset-env": "^7.9.6",
"@babel/preset-react": "^7.9.4",
"@types/node": "^13.13.4",
"babel-cli": "^6.26.0",
"babel-core": "^7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.5",
"babel-plugin-dynamic-import-node": "^2.2.0",
"babel-eslint": "^10.1.0",
"babel-jest": "^26.0.1",
"babel-loader": "^8.1.0",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-transform-inline-environment-variables": "^0.4.3",
"babel-runtime": "^6.26.0",
"concurrently": "^4.1.2",
"concurrently": "^5.2.0",
"del-cli": "^3.0.0",
"enzyme": "^3.10.0",
"eslint": "^4.19.1",
"eslint-config-prettier": "^2.9.0",
"eslint-plugin-react": "^7.11.1",
"enzyme": "^3.11.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-react": "^7.19.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.5.0",
"jest-fetch-mock": "^2.1.2",
"jest-mock-axios": "^3.1.0",
"jest": "^26.0.1",
"jest-fetch-mock": "^3.0.3",
"jest-mock-axios": "^4.0.0",
"localforage": "^1.7.3",
"mkdir": "0.0.2",
"ncp": "^2.0.0",
"node-sass": "^4.13.1",
"node-sass": "^4.14.1",
"npm-run-all": "^4.1.5",
"parcel": "^1.12.4",
"pug": "^2.0.3",
"pug": "^2.0.4",
"pug-cli": "^1.0.0-alpha6",
"redux-logger": "^3.0.6",
"redux-mock-store": "^1.5.3",
"stylelint": "^10.1.0",
"stylelint-config-recommended-scss": "^3.2.0",
"stylelint-scss": "^3.3.2"
"redux-mock-store": "^1.5.4",
"stylelint": "^13.3.3",
"stylelint-config-recommended-scss": "^4.2.0",
"stylelint-scss": "^3.17.1"
},
"dependencies": {
"@babel/polyfill": "^7.0.0",
"@babel/runtime": "^7.4.4",
"@patternfly/patternfly": "^2.57.0",
"@patternfly/react-core": "^3.134.2",
"@patternfly/react-icons": "^3.14.19",
"@redhat-cloud-services/entitlements-client": "^1.0.18",
"@redhat-cloud-services/frontend-components": "1.0.20",
"@babel/polyfill": "^7.8.7",
"@babel/runtime": "^7.9.6",
"@patternfly/patternfly": "^2.71.5",
"@patternfly/react-core": "^3.153.13",
"@patternfly/react-icons": "^3.15.16",
"@redhat-cloud-services/entitlements-client": "^1.0.63",
"@redhat-cloud-services/frontend-components": "1.0.24",
"@redhat-cloud-services/frontend-components-inventory": "1.0.28",
"@redhat-cloud-services/frontend-components-notifications": "^1.0.2",
"@redhat-cloud-services/frontend-components-remediations": "1.0.2",
"@redhat-cloud-services/frontend-components-utilities": "1.0.0",
"@redhat-cloud-services/frontend-components-notifications": "^1.0.3",
"@redhat-cloud-services/frontend-components-remediations": "1.0.3",
"@redhat-cloud-services/frontend-components-utilities": "1.0.3",
"@redhat-cloud-services/keycloak-js": "0.0.3",
"@redhat-cloud-services/rbac-client": "^1.0.49",
"@sentry/browser": "^5.4.3",
"axios": "^0.19.0",
"axios-cache-adapter": "^2.3.0",
"axios-mock-adapter": "^1.17.0",
"@redhat-cloud-services/rbac-client": "^1.0.63",
"@sentry/browser": "^5.15.5",
"axios": "^0.19.2",
"axios-cache-adapter": "^2.5.0",
"axios-mock-adapter": "^1.18.1",
"babel-plugin-rewire": "^1.2.0",
"babel-preset-es2015": "^6.24.1",
"broadcast-channel": "^2.1.9",
"broadcast-channel": "^3.1.0",
"classnames": "^2.2.6",
"core-js": "^3.2.1",
"enzyme-adapter-react-16": "^1.15.1",
"enzyme-adapter-utils": "^1.12.1",
"enzyme-to-json": "^3.4.3",
"core-js": "^3.6.5",
"enzyme-adapter-react-16": "^1.15.2",
"enzyme-adapter-utils": "^1.13.0",
"enzyme-to-json": "^3.4.4",
"font-awesome": "^4.7.0",
"jest-enzyme": "^7.1.2",
"js-cookie": "^2.2.0",
"js-cookie": "^2.2.1",
"js-yaml": "^3.13.1",
"jsdom": "^15.2.1",
"jsdom": "^16.2.2",
"jwt-redhat": "git+https://github.com/RedHatInsights/jwt-redhat.git#b7b00d8c4e400db9aeb7ceb18d263972e0cec66e",
"lodash": "^4.17.14",
"md5-file": "^4.0.0",
"lodash": "^4.17.15",
"md5-file": "^5.0.0",
"node-fetch": "^2.6.0",
"prop-types": "^15.6.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-redux": "^7.1.0",
"react-test-renderer": "^16.11.0",
"redux": "^4.0.4",
"urijs": "^1.19.1",
"url-parse": "^1.4.3"
"prop-types": "^15.7.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-redux": "^7.2.0",
"react-test-renderer": "^16.13.1",
"redux": "^4.0.5",
"urijs": "^1.19.2",
"url-parse": "^1.4.7"
},
"alias": {
"@patternfly/react-table": "./config/patternfly-table-externals.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,7 @@ exports[`ConnectedUserToggle -- not org admin should render correctly 1`] = `
>
<Toggle
ariaHasPopup={true}
bubbleEvent={false}
className="ins-c-toolbar__menu-user"
id="UserMenu"
isActive={false}
Expand Down Expand Up @@ -808,6 +809,7 @@ exports[`ConnectedUserToggle -- org admin should render correctly 1`] = `
>
<Toggle
ariaHasPopup={true}
bubbleEvent={false}
className="ins-c-toolbar__menu-user"
id="UserMenu"
isActive={false}
Expand Down
15 changes: 9 additions & 6 deletions src/js/App/Header/ToolbarToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ class ToolbarToggle extends Component {
// Because the urls are using 'a', don't use onClick for accessibility
// If it is a button, use the onClick prop
{
...url ? {
href: url,
target: '_blank',
rel: 'noopener noreferrer'
} : { onClick: (ev => this.onClick(ev, url, onClick)) }
...url ? {
href: url,
target: '_blank',
rel: 'noopener noreferrer'
} : { onClick: (ev => this.onClick(ev, url, onClick)) }
}
>
{ title }
Expand Down Expand Up @@ -80,7 +80,10 @@ class ToolbarToggle extends Component {

ToolbarToggle.propTypes = {
icon: PropTypes.func,
dropdownItems: PropTypes.array
dropdownItems: PropTypes.array,
widgetType: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
className: PropTypes.string,
id: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
};

export default ToolbarToggle;
4 changes: 3 additions & 1 deletion src/js/App/Header/UserToggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@ export class UserToggle extends Component {
UserToggle.propTypes = {
account: PropTypes.shape({
number: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
name: PropTypes.string
name: PropTypes.string,
username: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
isOrgAdmin: PropTypes.bool
}),
isSmall: PropTypes.bool,
extraItems: PropTypes.arrayOf(PropTypes.node)
Expand Down
14 changes: 13 additions & 1 deletion src/js/App/Sidenav/NavigationItem.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
import React from 'react';
import { NavItem } from '@patternfly/react-core';
import PropTypes from 'prop-types';

const basepath = document.baseURI;

const NavigationItem = ({ itemID, title, parent = '', navigate, ...props }) => (
const NavigationItem = ({ itemID, title, parent, navigate, ...props }) => (
<NavItem
{...props}
itemId={itemID}
Expand All @@ -14,4 +15,15 @@ const NavigationItem = ({ itemID, title, parent = '', navigate, ...props }) => (
</NavItem>
);

NavigationItem.propTypes = {
itemID: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
title: PropTypes.node,
navigate: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),
parent: PropTypes.oneOfType([PropTypes.number, PropTypes.string])
};

NavigationItem.defaultProps = {
parent: ''
};

export default NavigationItem;
2 changes: 1 addition & 1 deletion src/js/jwt/jwt.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Imports
import Keycloak from '@redhat-cloud-services/keycloak-js';
import BroadcastChannel from 'broadcast-channel';
import { BroadcastChannel } from 'broadcast-channel';
import cookie from 'js-cookie';
import { pageRequiresAuthentication } from '../utils';
import * as Sentry from '@sentry/browser';
Expand Down