Skip to content

Commit

Permalink
fix(build): npm updates, regen lock (#887)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Mar 8, 2022
1 parent a3a242e commit fd6e47f
Show file tree
Hide file tree
Showing 9 changed files with 1,811 additions and 2,187 deletions.
64 changes: 32 additions & 32 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,31 +76,31 @@
},
"dependencies": {
"@joi/date": "^2.1.0",
"@patternfly/patternfly": "4.164.2",
"@patternfly/react-charts": "6.34.1",
"@patternfly/react-core": "4.181.1",
"@patternfly/react-icons": "4.32.1",
"@patternfly/react-styles": "4.31.1",
"@patternfly/react-table": "4.50.1",
"@patternfly/react-tokens": "4.33.1",
"@redhat-cloud-services/frontend-components": "3.6.0",
"@patternfly/patternfly": "4.171.1",
"@patternfly/react-charts": "6.45.15",
"@patternfly/react-core": "4.192.15",
"@patternfly/react-icons": "4.43.15",
"@patternfly/react-styles": "4.42.15",
"@patternfly/react-table": "4.61.15",
"@patternfly/react-tokens": "4.44.15",
"@redhat-cloud-services/frontend-components": "3.7.0",
"@redhat-cloud-services/frontend-components-notifications": "3.2.5",
"@redhat-cloud-services/frontend-components-utilities": "3.2.6",
"axios": "^0.25.0",
"@redhat-cloud-services/frontend-components-utilities": "3.2.8",
"axios": "^0.26.0",
"classnames": "^2.3.1",
"i18next": "^21.6.7",
"i18next": "^21.6.11",
"i18next-xhr-backend": "^3.2.2",
"joi": "^17.5.0",
"joi": "^17.6.0",
"js-cookie": "^3.0.1",
"locale-code": "^2.0.2",
"lodash": "^4.17.21",
"lru-cache": "^6.0.0",
"lru-cache": "^7.3.1",
"moment": "^2.29.1",
"numbro": "^2.3.6",
"prop-types": "^15.8.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-i18next": "^11.15.3",
"react-i18next": "^11.15.4",
"react-redux": "^7.2.6",
"react-router": "^5.2.1",
"react-router-dom": "^5.3.0",
Expand All @@ -110,42 +110,42 @@
"redux-promise-middleware": "^6.1.2",
"redux-thunk": "^2.4.1",
"reselect": "^4.1.5",
"victory": "36.2.0",
"victory-create-container": "36.2.0"
"victory": "36.3.0",
"victory-create-container": "36.3.0"
},
"devDependencies": {
"@babel/core": "7.16.10",
"@babel/eslint-parser": "^7.16.5",
"@redhat-cloud-services/frontend-components-config": "4.5.11",
"@babel/core": "7.17.5",
"@babel/eslint-parser": "^7.17.0",
"@redhat-cloud-services/frontend-components-config": "4.6.2",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
"apidoc-mock": "^4.0.2",
"babel-jest": "^27.4.6",
"babel-jest": "^27.5.1",
"babel-preset-react-app": "^10.0.1",
"copy-webpack-plugin": "^10.2.1",
"cspell": "^5.16.0",
"dotenv": "^14.2.0",
"dotenv-expand": "^6.0.1",
"dotenv-webpack": "^7.0.3",
"copy-webpack-plugin": "^10.2.4",
"cspell": "^5.18.5",
"dotenv": "^16.0.0",
"dotenv-expand": "^8.0.1",
"dotenv-webpack": "^7.1.0",
"enzyme": "^3.11.0",
"enzyme-to-json": "^3.6.2",
"eslint": "8.7.0",
"eslint": "8.9.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^8.3.0",
"eslint-config-prettier": "^8.4.0",
"eslint-config-react-app": "^7.0.0",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jest": "^25.7.0",
"eslint-plugin-jsdoc": "^37.6.1",
"eslint-plugin-jest": "^26.1.1",
"eslint-plugin-jsdoc": "^37.9.4",
"eslint-plugin-json": "^3.1.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-webpack-plugin": "^3.1.1",
"express": "^4.17.2",
"express": "^4.17.3",
"glob": "^7.2.0",
"jest": "27.4.7",
"jest-resolve": "27.4.6",
"jest": "27.5.1",
"jest-resolve": "27.5.1",
"jest-watch-typeahead": "1.0.0",
"moxios": "^0.4.0",
"npm-run-all": "^4.1.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@ exports[`Authentication Component should allow being disabled: disabled 1`] = `
>
<Maintenance
description="t(curiosity-auth.maintenanceCopy, ...)"
endTime="8am"
redirectLink="https://status.redhat.com/incidents"
startTime="6am"
timeZone="EST"
title="Maintenance in progress"
utcEndTime="12am"
utcStartTime="10am"
/>
</MessageView>
`;
Expand Down Expand Up @@ -194,13 +187,7 @@ exports[`Authentication Component should render a non-connected component error:
>
<NotAuthorized
actions={null}
description={<ContactBody />}
icon={[Function]}
prevPageButtonText="Return to previous page"
serviceName="Subscriptions"
showReturnButton={true}
toLandingPageText="Go to landing page"
>
<EmptyState
className="ins-c-not-authorized "
Expand Down Expand Up @@ -330,13 +317,7 @@ exports[`Authentication Component should return a message on 401 error: 401 erro
title={null}
>
<NotAuthorized
actions={null}
description={<ContactBody />}
icon={[Function]}
prevPageButtonText="Return to previous page"
serviceName="Subscriptions"
showReturnButton={true}
toLandingPageText="Go to landing page"
/>
</MessageView>
`;
Expand Down Expand Up @@ -478,13 +459,7 @@ exports[`Authentication Component should return a redirect on a specific 403 err
title={null}
>
<NotAuthorized
actions={null}
description={<ContactBody />}
icon={[Function]}
prevPageButtonText="Return to previous page"
serviceName="Subscriptions"
showReturnButton={true}
toLandingPageText="Go to landing page"
/>
</MessageView>
`;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ exports[`Select Component should allow being disabled with missing options: no o
hasInlineFilter={false}
hasPlaceholderStyle={false}
inlineFilterPlaceholderText={null}
inputAutoComplete="off"
inputIdPrefix=""
isCreatable={false}
isCreateSelectOptionObject={false}
Expand Down Expand Up @@ -158,6 +159,7 @@ exports[`Select Component should allow being disabled with missing options: opti
hasInlineFilter={false}
hasPlaceholderStyle={false}
inlineFilterPlaceholderText={null}
inputAutoComplete="off"
inputIdPrefix=""
isCreatable={false}
isCreateSelectOptionObject={false}
Expand Down Expand Up @@ -310,6 +312,7 @@ exports[`Select Component should allow being disabled with missing options: opti
hasInlineFilter={false}
hasPlaceholderStyle={false}
inlineFilterPlaceholderText={null}
inputAutoComplete="off"
inputIdPrefix=""
isCreatable={false}
isCreateSelectOptionObject={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ exports[`Pagination Component should render a non-connected component: non-conne
"ofWord": "of",
"optionsToggle": "Items per page",
"page": "",
"pages": "",
"paginationTitle": "Pagination",
"perPageSuffix": "per page",
"toFirstPage": "Go to first page",
Expand Down
4 changes: 2 additions & 2 deletions src/redux/selectors/graphCardSelectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import { apiQueries } from '../common';
* @type {object}
*/
const selectorCache = new LruCache({
maxAge: Number.parseInt(process.env.REACT_APP_SELECTOR_CACHE, 10),
ttl: Number.parseInt(process.env.REACT_APP_SELECTOR_CACHE, 10),
max: 10,
stale: true,
allowStale: true,
updateAgeOnGet: true
});

Expand Down
4 changes: 2 additions & 2 deletions src/redux/selectors/inventoryListSelectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ const createDeepEqualSelector = createSelectorCreator(defaultMemoize, _isEqual);
* @type {object}
*/
const selectorCache = new LruCache({
maxAge: Number.parseInt(process.env.REACT_APP_SELECTOR_CACHE, 10),
ttl: Number.parseInt(process.env.REACT_APP_SELECTOR_CACHE, 10),
max: 10,
stale: true,
allowStale: true,
updateAgeOnGet: true
});

Expand Down
2 changes: 1 addition & 1 deletion src/services/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const cancelTokens = {};
* @type {object}
*/
const responseCache = new LruCache({
maxAge: Number.parseInt(process.env.REACT_APP_AJAX_CACHE, 10),
ttl: Number.parseInt(process.env.REACT_APP_AJAX_CACHE, 10),
max: 100,
updateAgeOnGet: true
});
Expand Down
30 changes: 15 additions & 15 deletions tests/__snapshots__/dist.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,11 @@ Array [
"./dist/js/1750*js",
"./dist/js/1799*js",
"./dist/js/1858*js",
"./dist/js/1995*js",
"./dist/js/2024*js",
"./dist/js/2195*js",
"./dist/js/2243*js",
"./dist/js/2293*js",
"./dist/js/2590*js",
"./dist/js/2635*js",
"./dist/js/2664*js",
"./dist/js/2738*js",
Expand All @@ -37,7 +38,6 @@ Array [
"./dist/js/31*js",
"./dist/js/325*js",
"./dist/js/3267*js",
"./dist/js/3313*js",
"./dist/js/3366*js",
"./dist/js/3600*js",
"./dist/js/361*js",
Expand All @@ -56,6 +56,7 @@ Array [
"./dist/js/4291*txt",
"./dist/js/4314*js",
"./dist/js/4418*js",
"./dist/js/4446*js",
"./dist/js/4569*js",
"./dist/js/4569*txt",
"./dist/js/4590*js",
Expand All @@ -66,7 +67,6 @@ Array [
"./dist/js/5242*js",
"./dist/js/5394*js",
"./dist/js/5473*js",
"./dist/js/5555*js",
"./dist/js/5876*js",
"./dist/js/608*js",
"./dist/js/6321*js",
Expand All @@ -78,11 +78,11 @@ Array [
"./dist/js/6873*js",
"./dist/js/6937*js",
"./dist/js/6937*txt",
"./dist/js/7159*js",
"./dist/js/7159*txt",
"./dist/js/7235*js",
"./dist/js/7294*js",
"./dist/js/7294*txt",
"./dist/js/7382*js",
"./dist/js/7382*txt",
"./dist/js/7514*js",
"./dist/js/7585*js",
"./dist/js/7891*js",
Expand All @@ -93,34 +93,34 @@ Array [
"./dist/js/8216*txt",
"./dist/js/8232*js",
"./dist/js/8255*js",
"./dist/js/8299*js",
"./dist/js/8326*js",
"./dist/js/8341*js",
"./dist/js/8412*js",
"./dist/js/8503*js",
"./dist/js/8526*js",
"./dist/js/8551*js",
"./dist/js/8599*js",
"./dist/js/8683*js",
"./dist/js/8710*js",
"./dist/js/887*js",
"./dist/js/8900*js",
"./dist/js/9051*js",
"./dist/js/9145*js",
"./dist/js/9175*js",
"./dist/js/9267*js",
"./dist/js/9267*txt",
"./dist/js/9270*js",
"./dist/js/9297*js",
"./dist/js/930*js",
"./dist/js/931*js",
"./dist/js/939*js",
"./dist/js/9517*js",
"./dist/js/9618*js",
"./dist/js/9618*txt",
"./dist/js/9669*js",
"./dist/js/9844*js",
"./dist/js/9877*js",
"./dist/js/9928*js",
"./dist/js/9942*js",
"./dist/js/998*js",
"./dist/js/9995*js",
"./dist/js/App*js",
"./dist/locales/en-US.json",
"./dist/locales/en.json",
Expand All @@ -138,18 +138,18 @@ Array [
"./dist/sourcemaps/1750*map",
"./dist/sourcemaps/1799*map",
"./dist/sourcemaps/1858*map",
"./dist/sourcemaps/1995*map",
"./dist/sourcemaps/2024*map",
"./dist/sourcemaps/2195*map",
"./dist/sourcemaps/2243*map",
"./dist/sourcemaps/2293*map",
"./dist/sourcemaps/2590*map",
"./dist/sourcemaps/2738*map",
"./dist/sourcemaps/2881*map",
"./dist/sourcemaps/2896*map",
"./dist/sourcemaps/2902*map",
"./dist/sourcemaps/31*map",
"./dist/sourcemaps/325*map",
"./dist/sourcemaps/3267*map",
"./dist/sourcemaps/3313*map",
"./dist/sourcemaps/3366*map",
"./dist/sourcemaps/3600*map",
"./dist/sourcemaps/361*map",
Expand All @@ -166,6 +166,7 @@ Array [
"./dist/sourcemaps/4291*map",
"./dist/sourcemaps/4314*map",
"./dist/sourcemaps/4418*map",
"./dist/sourcemaps/4446*map",
"./dist/sourcemaps/4569*map",
"./dist/sourcemaps/4590*map",
"./dist/sourcemaps/4944*map",
Expand All @@ -174,7 +175,6 @@ Array [
"./dist/sourcemaps/5242*map",
"./dist/sourcemaps/5394*map",
"./dist/sourcemaps/5473*map",
"./dist/sourcemaps/5555*map",
"./dist/sourcemaps/5876*map",
"./dist/sourcemaps/608*map",
"./dist/sourcemaps/6321*map",
Expand All @@ -184,9 +184,9 @@ Array [
"./dist/sourcemaps/6816*map",
"./dist/sourcemaps/6873*map",
"./dist/sourcemaps/6937*map",
"./dist/sourcemaps/7159*map",
"./dist/sourcemaps/7235*map",
"./dist/sourcemaps/7294*map",
"./dist/sourcemaps/7382*map",
"./dist/sourcemaps/7514*map",
"./dist/sourcemaps/7585*map",
"./dist/sourcemaps/7891*map",
Expand All @@ -196,7 +196,6 @@ Array [
"./dist/sourcemaps/8216*map",
"./dist/sourcemaps/8232*map",
"./dist/sourcemaps/8255*map",
"./dist/sourcemaps/8299*map",
"./dist/sourcemaps/8326*map",
"./dist/sourcemaps/8341*map",
"./dist/sourcemaps/8412*map",
Expand All @@ -205,16 +204,17 @@ Array [
"./dist/sourcemaps/8551*map",
"./dist/sourcemaps/8683*map",
"./dist/sourcemaps/8710*map",
"./dist/sourcemaps/887*map",
"./dist/sourcemaps/8900*map",
"./dist/sourcemaps/9051*map",
"./dist/sourcemaps/9175*map",
"./dist/sourcemaps/9267*map",
"./dist/sourcemaps/9270*map",
"./dist/sourcemaps/9297*map",
"./dist/sourcemaps/930*map",
"./dist/sourcemaps/931*map",
"./dist/sourcemaps/939*map",
"./dist/sourcemaps/9517*map",
"./dist/sourcemaps/9618*map",
"./dist/sourcemaps/9669*map",
"./dist/sourcemaps/9844*map",
"./dist/sourcemaps/9877*map",
Expand Down
Loading

0 comments on commit fd6e47f

Please sign in to comment.