chore(deps): update dependency ejs to 3.1.7 [security]

* ignore lint errors (for now) to prioritize getting an updated version of the Comms MFE out with a compromised dependency
This commit is contained in:
renovate[bot]
2022-12-12 12:26:06 +00:00
committed by Justin Hynes
parent fca2cce77c
commit a2b2d55db0
6 changed files with 13003 additions and 12558 deletions

25555
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -62,7 +62,7 @@
},
"devDependencies": {
"@edx/browserslist-config": "^1.1.0",
"@edx/frontend-build": "9.2.2",
"@edx/frontend-build": "11.0.2",
"@testing-library/jest-dom": "5.16.5",
"@testing-library/react": "12.1.5",
"axios-mock-adapter": "1.21.2",

View File

@@ -205,6 +205,7 @@ function BulkEmailForm(props) {
} else {
setEmailFormStatus(FORM_SUBMIT_STATES.DEFAULT);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [isScheduled, editor.editMode, editor.isLoading, editor.errorRetrievingData, editor.formComplete]);
const AlertMessage = () => (

View File

@@ -46,6 +46,7 @@ function BulkEmailScheduledEmailsTable({ intl }) {
const fetchTableData = useCallback((args) => {
dispatch(getScheduledBulkEmailThunk(courseId, args.pageIndex + 1));
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
const handleViewEmail = (row) => {

View File

@@ -53,6 +53,7 @@ export default function PageContainer(props) {
});
}
fetchCourseMetadata();
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
if (courseMetadata) {

View File

@@ -37,6 +37,7 @@ export default function useMobileResponsive(breakpoint) {
window.addEventListener('resize', checkForMobile);
// return this function here to clean up the event listener
return () => window.removeEventListener('resize', checkForMobile);
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return isMobileWindow;
}