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

Update showdown.js #334

Merged
merged 4 commits into from
Apr 12, 2024
Merged

Conversation

Swiddis
Copy link
Collaborator

@Swiddis Swiddis commented Mar 28, 2024

Description

Coming from #323, this PR updates showdown.js to the latest versions. For the major version change, the breaking changes are regarding the supported node versions (the current node 18 is safe) and the CLI (which isn't relevant since we're using it as a library).

To be safe I also updated the types and checked all of the imports of showdown for any type errors, no type errors were found (but several unused imports were). It looks like we generally only use Showdown.Converter.makeHtml which doesn't have any breakage and I'd expect to generally stay stable anyways.

Issues Resolved

Closes #323

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Signed-off-by: Simeon Widdis <[email protected]>
Copy link

codecov bot commented Mar 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.05%. Comparing base (2f7ae07) to head (78e8897).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #334   +/-   ##
=======================================
  Coverage   71.05%   71.05%           
=======================================
  Files          31       31           
  Lines        2011     2011           
  Branches      432      432           
=======================================
  Hits         1429     1429           
  Misses        579      579           
  Partials        3        3           
Flag Coverage Δ
dashboards-report 71.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@joshuali925 joshuali925 merged commit d2a3cfa into opensearch-project:main Apr 12, 2024
12 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CVE-2024-1899 (Medium) detected in showdown-1.9.1.tgz
3 participants