Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: replace react-html-parser with html-react-parser #738

Closed
wants to merge 1 commit into from

Conversation

lwhiteley
Copy link
Contributor

@lwhiteley lwhiteley commented Oct 6, 2024

After an audit of the dependencies of this project, it was determined that react and a few libraries were outdated.

one of the dependencies preventing an upgrade is react-html-parser . it has a peer dependency of of react 16.
A successor of the package is html-react-parser

However, there is no storybook setup in the project or a way to test this easily.

How can i get diff data passed to this component to test in isolation or
Can someone gives steps to arrive at this view to test it in the UI to verify it works?

I also see that there are cypress tests but i dont believe this is covered

old package: https://www.npmjs.com/package/react-html-parser
proposed package: https://www.npmjs.com/package/html-react-parser

Copy link

linux-foundation-easycla bot commented Oct 6, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: lwhiteley / name: Layton Whiteley (265acfe)

Copy link

netlify bot commented Oct 6, 2024

Deploy Preview for endearing-brigadeiros-63f9d0 canceled.

Name Link
🔨 Latest commit 265acfe
🔍 Latest deploy log https://app.netlify.com/sites/endearing-brigadeiros-63f9d0/deploys/670264e5b9215b00089c5d4f

Copy link

codecov bot commented Oct 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.39%. Comparing base (890997b) to head (265acfe).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #738   +/-   ##
=======================================
  Coverage   57.39%   57.39%           
=======================================
  Files          46       46           
  Lines        1582     1582           
=======================================
  Hits          908      908           
  Misses        674      674           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@lwhiteley lwhiteley changed the title build: replace react-html-parser with html-react-parser refactor: replace react-html-parser with html-react-parser Oct 6, 2024
@lwhiteley
Copy link
Contributor Author

close in favour of #740

@lwhiteley lwhiteley closed this Oct 6, 2024
@lwhiteley lwhiteley deleted the html-react-parser branch October 6, 2024 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant