Skip to content

Commit

Permalink
Auxiliary major dependencies, adding prop types to satisfy new versio…
Browse files Browse the repository at this point in the history
…n of linter.
  • Loading branch information
krulis-martin committed Jul 30, 2023
1 parent 8f3315b commit 66080b6
Show file tree
Hide file tree
Showing 4 changed files with 379 additions and 281 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"chai-immutable": "^2.1.0",
"classnames": "^2.3.2",
"cookie-parser": "^1.4.6",
"cross-fetch": "^3.1.8",
"cross-fetch": "^4.0.0",
"css-loader": "^6.8.1",
"deep-equal": "^2.2.2",
"ejs": "^3.1.9",
Expand All @@ -54,7 +54,7 @@
"file-saver": "^2.0.5",
"flat": "^5.0.2",
"font-awesome-animation": "^1.1.1",
"glob": "^8.1.0",
"glob": "^10.3.3",
"global": "^4.4.0",
"highlight.js": "^11.8.0",
"immutable": "^3.8.2",
Expand Down Expand Up @@ -84,7 +84,7 @@
"react-syntax-highlighter": "^15.5.0",
"react-toggle": "4.1.3",
"redux": "^4.2.1",
"redux-actions": "^2.6.5",
"redux-actions": "^3.0.0",
"redux-form": "^8.3.10",
"redux-promise-middleware": "^6.1.3",
"redux-storage": "^4.1.2",
Expand Down Expand Up @@ -130,7 +130,7 @@
"eslint-config-standard-react": "13.0.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-n": "^16.0.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.33.1",
Expand All @@ -140,7 +140,7 @@
"git-revision-webpack-plugin": "^5.0.0",
"image-webpack-loader": "^8.1.0",
"isomorphic-style-loader": "^5.3.2",
"jsdom": "^20.0.3",
"jsdom": "^22.1.0",
"json-loader": "^0.5.7",
"less": "^4.1.3",
"less-loader": "^11.1.3",
Expand All @@ -149,16 +149,16 @@
"mocha-lcov-reporter": "^1.3.0",
"mock-local-storage": "^1.1.24",
"postcss-loader": "^7.3.3",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"react-intl-translations-manager": "^5.0.3",
"request": "^2.88.2",
"scroll-behavior": "^0.11.0",
"strip-loader": "^0.1.2",
"style-loader": "^3.3.3",
"terser-webpack-plugin": "^5.3.9",
"webpack": "^5.88.2",
"webpack-cli": "^4.10.0",
"webpack-dev-middleware": "^5.3.3",
"webpack-cli": "^5.1.4",
"webpack-dev-middleware": "^6.1.1",
"webpack-dev-server": "^4.15.1",
"webpack-isomorphic-tools": "^4.0.0"
},
Expand Down
5 changes: 4 additions & 1 deletion src/components/Users/UsersListItem/UsersListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ const UsersListItem = ({ user, emailColumn = false, createdAtColumn = false, cre
);

UsersListItem.propTypes = {
user: PropTypes.object,
user: PropTypes.shape({
id: PropTypes.string.isRequired,
privateData: PropTypes.shape({ isAllowed: PropTypes.bool, role: PropTypes.string, createdAt: PropTypes.number }),
}),
emailColumn: PropTypes.bool,
createdAtColumn: PropTypes.bool,
createActions: PropTypes.func,
Expand Down
5 changes: 5 additions & 0 deletions src/pages/Users/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,11 @@ Users.propTypes = {
intl: PropTypes.object.isRequired,
};

Users.createActions.propTypes = {
id: PropTypes.string.isRequired,
privateData: PropTypes.shape({ isAllowed: PropTypes.bool }),
};

export default withLinks(
connect(
state => {
Expand Down

0 comments on commit 66080b6

Please sign in to comment.