Skip to content

Commit

Permalink
Merge pull request #119 from Team-INSERT/Fix/DomPurify
Browse files Browse the repository at this point in the history
Fix: Change Lib Dompurify -> isomorphic-dompurify
  • Loading branch information
Ubinquitous authored Mar 29, 2024
2 parents 8a1c1e4 + c50654a commit 0a3ab2a
Show file tree
Hide file tree
Showing 4 changed files with 277 additions and 32 deletions.
2 changes: 1 addition & 1 deletion app/(docs)/docs/[title]/Docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import React, { FC, Suspense } from "react";
import "dayjs/locale/ko";
import { decodeContent } from "@/utils";
import DOMPurify from "dompurify";
import DOMPurify from "isomorphic-dompurify";
import Link from "next/link";
import { useQueries, useQueryClient, useSuspenseQuery } from "@tanstack/react-query";
import { docsQuery } from "@/services/docs/docs.query";
Expand Down
1 change: 0 additions & 1 deletion dompurify.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
"chart.js": "^4.4.2",
"classnames": "^2.5.1",
"dayjs": "^1.11.10",
"dompurify": "^3.0.9",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"isomorphic-dompurify": "^2.6.0",
"jotai": "^2.7.0",
"moment": "^2.30.1",
"next": "14.1.4",
Expand Down
Loading

0 comments on commit 0a3ab2a

Please sign in to comment.