Skip to content

Commit

Permalink
chore: updated deps
Browse files Browse the repository at this point in the history
  • Loading branch information
sr258 committed Jun 4, 2022
1 parent e4605cb commit 09755b7
Show file tree
Hide file tree
Showing 11 changed files with 5,146 additions and 5,259 deletions.
845 changes: 354 additions & 491 deletions client/package-lock.json

Large diffs are not rendered by default.

37 changes: 18 additions & 19 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@
"@material-ui/core": "4.12.4",
"@material-ui/icons": "4.11.3",
"@material-ui/styles": "4.11.5",
"@sentry/browser": "6.19.6",
"@sentry/react": "6.19.6",
"@sentry/browser": "7.0.0",
"@sentry/react": "7.0.0",
"clsx": "^1.1.1",
"debug": "^4.3.4",
"i18next": "21.6.15",
"i18next-http-backend": "1.4.0",
"i18next": "21.8.8",
"i18next-http-backend": "1.4.1",
"lodash": "4.17.21",
"nanoid": "^3.3.2",
"nanoid": "^3.3.4",
"notistack": "^1.0.10",
"path-browserify": "1.0.1",
"react": "18.0.0",
"react-dom": "18.0.0",
"react-i18next": "11.16.3",
"react": "17.0.1",
"react-dom": "17.0.2",
"react-i18next": "11.17.0",
"react-redux": "7.2.8",
"react-router": "^6.3.0",
"react-router-dom": "6.3.0",
"redux": "4.1.2",
"redux": "4.2.0",
"redux-thunk": "2.4.1",
"socket.io-client": "4.4.1",
"superagent": "7.1.1"
"socket.io-client": "4.5.1",
"superagent": "7.1.6"
},
"scripts": {
"start": "react-scripts start",
Expand Down Expand Up @@ -59,22 +59,21 @@
"@lumieducation/xapi-aggregator": "^1.0.1-alpha.7",
"@testing-library/jest-dom": "^5.16.4",
"@types/debug": "4.1.7",
"@types/jest": "27.4.1",
"@types/lodash": "4.14.181",
"@types/jest": "28.1.0",
"@types/lodash": "4.14.182",
"@types/path-browserify": "1.0.0",
"@types/react": "^17.0.44",
"@types/react-dom": "18.0.0",
"@types/react-redux": "7.1.23",
"@types/react-dom": "17.0.1",
"@types/react-router-dom": "5.3.3",
"@types/redux-mock-store": "1.0.3",
"@types/socket.io-client": "1.4.36",
"@types/superagent": "4.1.15",
"eslint-config-react-app": "^7.0.0",
"http-proxy-middleware": "^2.0.4",
"eslint-config-react-app": "^7.0.1",
"http-proxy-middleware": "^2.0.6",
"prettier": "2.6.2",
"react-scripts": "5.0.0",
"react-scripts": "5.0.1",
"redux-mock-store": "1.5.4",
"typescript": "4.6.3"
"typescript": "4.7.3"
},
"engines": {
"node": ">=16.0.0",
Expand Down
8 changes: 3 additions & 5 deletions client/src/state/H5PEditor/H5PEditorActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,9 @@ export function blurActiveElement(): IBlurActiveElementAction {

export function cancelExportH5P(contentId?: string) {
log.info(`canceling export`);
return async (dispatch: any) => {
dispatch({
payload: { contentId },
type: H5PEDITOR_EXPORT_CANCEL
});
return {
payload: { contentId },
type: H5PEDITOR_EXPORT_CANCEL
};
}

Expand Down
5 changes: 4 additions & 1 deletion client/src/views/Notifications.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,5 +105,8 @@ function mapDispatchToProps(dispatch: any): IDispatchProps {
);
}
export default withSnackbar(
connect(mapStateToProps, mapDispatchToProps)(NotificationsContainer)
connect(
mapStateToProps as any,
mapDispatchToProps as any
)(NotificationsContainer as any)
);
4 changes: 3 additions & 1 deletion client/src/views/components/ContentPaper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ interface IDispatchProps {}
interface IProps extends IStateProps, IDispatchProps {}

// tslint:disable-next-line: variable-name
const ContentPaper: React.FunctionComponent<IProps> = (props: IProps) => {
const ContentPaper: React.FunctionComponent<
React.PropsWithChildren<React.PropsWithChildren<IProps>>
> = (props: IProps) => {
const classes = useStyles();
return <Paper className={classes.paper}>{props.children}</Paper>;
};
Expand Down
4 changes: 3 additions & 1 deletion client/src/views/components/ErrorBoundary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ interface IComponentState {
hasError: boolean;
}

interface IProps extends IStateProps, IDispatchProps {}
interface IProps extends IStateProps, IDispatchProps {
children: React.ReactNode;
}

export default class ErrorBoundary extends React.Component<
IProps,
Expand Down
8 changes: 6 additions & 2 deletions client/src/views/components/H5PEditorH5PComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export class H5PEditorH5PComponent extends React.Component<IH5PEditorH5PComponen
<VisibilityOutlinedIcon
style={{ verticalAlign: 'middle' }}
/>{' '}
{i18next.t('editor.tab.view')}
<span>
{i18next.t('editor.tab.view') as string}
</span>
</div>
}
disabled={this.props.tab.viewDisabled}
Expand All @@ -90,7 +92,9 @@ export class H5PEditorH5PComponent extends React.Component<IH5PEditorH5PComponen
<EditOutlinedIcon
style={{ verticalAlign: 'middle' }}
/>{' '}
{i18next.t('editor.tab.edit')}
<span>
{i18next.t('editor.tab.edit') as string}
</span>
</div>
}
{...a11yProps(1)}
Expand Down

0 comments on commit 09755b7

Please sign in to comment.