Brijesh Bhalala created ATLAS-5383:
--------------------------------------

             Summary: Atlas React UI: Upgrade sanitize-html dependency to 
version 2.17.6
                 Key: ATLAS-5383
                 URL: https://issues.apache.org/jira/browse/ATLAS-5383
             Project: Atlas
          Issue Type: Task
          Components:  atlas-core
    Affects Versions: 2.5.0, 3.0.0
            Reporter: Brijesh Bhalala
            Assignee: Brijesh Bhalala


This task tracks the effort to upgrade the `sanitize-html` library in the Atlas 
React UI (`/dashboard`) from its current version (`2.17.4`) to the patched 
version (`2.17.6`). 
> 
*Implementation Note:*
> Upgrading this package to `2.17.6` introduces a known Jest environment error 
> because its underlying dependency (`htmlparser2`) has switched to ESM syntax. 
> To fix the resulting 42 test suite failures, this upgrade must also include 
> implementing a Jest module mock for `sanitize-html` (e.g. inside 
> `jest.config.js` and `src/_{_}mocks{_}_`) so the test suite can run 
> successfully.

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to