Skip to content

Commit

Permalink
[CVE] Address CVE issues (#479)
Browse files Browse the repository at this point in the history
Signed-off-by: Eric <[email protected]>
  • Loading branch information
mengweieric authored Dec 4, 2024
1 parent 2651669 commit 030351a
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 2,167 deletions.
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"babel-polyfill": "^6.26.0",
"cron-validator": "^1.1.1",
"dompurify": "^2.4.1",
"dompurify": "^2.5.4",
"elastic-builder": "^2.7.1",
"enzyme-adapter-react-16": "^1.15.2",
"html2canvas": "1.4.1",
Expand All @@ -38,7 +38,7 @@
"react-router-dom": "^5.2.0",
"react-toast-notifications": "^2.4.0",
"set-interval-async": "1.0.33",
"showdown": "^1.9.1",
"showdown": "^2.1.0",
"svg-pathdata": "5.0.5"
},
"devDependencies": {
Expand All @@ -51,7 +51,7 @@
"@types/react-dom": "^16.9.8",
"@types/react-test-renderer": "^16.9.1",
"@types/set-interval-async": "^1.0.0",
"@types/showdown": "^1.9.3",
"@types/showdown": "^2.0.6",
"babel-jest": "^26.3.0",
"cypress": "^5.0.0",
"elastic-builder": "^2.7.1",
Expand Down Expand Up @@ -86,6 +86,10 @@
"browserify-sign": "^4.2.2",
"debug": "^4.3.1",
"**/@babel/traverse": "^7.23.2",
"braces": "^3.0.3"
"braces": "^3.0.3",
"path-to-regexp": "1.9.0",
"micromatch": "^4.0.8",
"dompurify": "^2.5.4",
"commander": "^5.1.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import {
EuiText,
EuiSpacer,
EuiRadioGroup,
EuiSelect,
EuiTextArea,
EuiCheckboxGroup,
EuiComboBox,
Expand All @@ -29,7 +28,6 @@ import {
HEADER_FOOTER_CHECKBOX,
REPORT_SOURCE_TYPES,
} from './report_settings_constants';
import Showdown from 'showdown';
import ReactMde from 'react-mde';
import 'react-mde/lib/styles/css/react-mde-all.css';
import {
Expand Down
1 change: 0 additions & 1 deletion server/routes/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
*/

import { CountersType } from './types';
import Showdown from 'showdown';

export enum FORMAT {
pdf = 'pdf',
Expand Down
Loading

0 comments on commit 030351a

Please sign in to comment.