[#202] refactor: isomorphic-dompurify로 마이그레이션#222
Merged
Conversation
There was a problem hiding this comment.
Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.
Once credits are available, push a new commit or reopen this pull request to trigger a review.
Collaborator
✅ Changeset detectedLatest commit: 7b7de6c
If no version change is needed, please add The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
|
Collaborator
NPM Packages📦 @naverpay/safe-html-react-parserTotal Sizes: 1.93 kB Total Changes: -2.63 kB (-58%) ✅ (Size Decreased)
🧩 Dependency Changes
powered by: naverpay size-action |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related Issue
Describe your changes
업스트림 메모리 누수 이슈(kkomelin/isomorphic-dompurify#368)를 우회하기 위해 도입했던 커스텀 DOMPurify 래퍼(jsdom/happy-dom/linkedom 중 선택 지원, LRU 캐시, recreate interval 등)를 제거하고, 누수가 해결된
isomorphic-dompurify를 직접 사용하도록 단순화합니다.Breaking Changes
configureDOMPurify함수 export 제거SafeParseOptions.domPurifyOptions옵션 제거DOMWindow,DOMWindowFactory,DOMPurifyOptions타입 export 제거jsdom/happy-dom/linkedom피어 의존성 제거 (별도 설치 불필요)Request