Skip to content

Commit

Permalink
feat: use built in linkify html type
Browse files Browse the repository at this point in the history
  • Loading branch information
ioanmo226 committed Dec 2, 2024
1 parent b88601d commit d699f0f
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { PgpBlockView } from '../pgp_block.js';
import { Ui } from '../../../js/common/browser/ui.js';
import { Lang } from '../../../js/common/lang.js';
import { Xss } from '../../../js/common/platform/xss.js';
import linkifyHtml from 'linkifyjs/html';

export class PgpBlockViewRenderModule {
private heightHist: number[] = [];
Expand Down
3 changes: 0 additions & 3 deletions extension/types/linkifyHtml.d.ts

This file was deleted.

32 changes: 32 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@types/chrome": "0.0.284",
"@types/dompurify": "3.2.0",
"@types/jquery": "3.5.32",
"@types/linkifyjs": "^2.1.7",
"@types/mailparser": "3.4.5",
"ava": "5.3.1",
"chai": "4.5.0",
Expand Down

0 comments on commit d699f0f

Please sign in to comment.