Skip to content

Commit

Permalink
Update showdown.js (#334)
Browse files Browse the repository at this point in the history
Signed-off-by: Simeon Widdis <[email protected]>
  • Loading branch information
Swiddis authored Apr 12, 2024
1 parent 2f7ae07 commit d2a3cfa
Show file tree
Hide file tree
Showing 5 changed files with 450 additions and 123 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"react-router-dom": "^5.3.0",
"react-toast-notifications": "^2.4.0",
"set-interval-async": "1.0.33",
"showdown": "^1.9.1",
"showdown": "^2.1.0",
"tesseract.js": "^4.0.2"
},
"devDependencies": {
Expand All @@ -53,7 +53,7 @@
"@types/react-dom": "^16.9.8",
"@types/react-test-renderer": "^18.0.0",
"@types/set-interval-async": "^1.0.0",
"@types/showdown": "^1.9.3",
"@types/showdown": "^2.0.6",
"babel-jest": "^27.5.1",
"cypress": "^13.6.0",
"elastic-builder": "^2.7.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import {
} from '@elastic/eui';
import { ReportSettings } from '../report_settings';
import { generateReportFromDefinitionId } from '../../main/main_utils';
import { converter } from '../utils';
import {
permissionsMissingToast,
permissionsMissingActions,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ import {
EuiPageContent,
EuiPageContentBody,
EuiHorizontalRule,
EuiText,
EuiSpacer,
EuiRadioGroup,
EuiSelect,
EuiTextArea,
EuiCheckboxGroup,
EuiComboBox,
Expand All @@ -30,7 +28,6 @@ import {
REPORT_SOURCE_TYPES,
SAVED_SEARCH_FORMAT_OPTIONS,
} 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 d2a3cfa

Please sign in to comment.